[Asm] 纯文本查看 复制代码 00000001007d5d43 mov rbp, rsp
00000001007d5d46 mov eax, dword [rdi]
00000001007d5d48 mov ecx, 0x80000000
00000001007d5d4d cmp rax, rcx
00000001007d5d50 jne loc_1007d5d5c
00000001007d5d52 movsd xmm0, qword [double_value_2_14748E09] ; double_value_2_14748E09
00000001007d5d5a jmp loc_1007d5d9b
loc_1007d5d5c:
00000001007d5d5c mov ecx, eax ; CODE XREF=sub_1007d5d42+14
00000001007d5d5e mov rdx, rax
00000001007d5d61 shr rdx, 0x19
00000001007d5d65 and edx, 0x38
00000001007d5d68 lea rsi, qword [double_value_1_34218E08+8] ; 0x1010da1b0
00000001007d5d6f cvtsi2sd xmm1, qword [rdx+rsi]
00000001007d5d75 and ecx, 0x7ffffff
00000001007d5d7b cvtsi2sd xmm0, ecx
00000001007d5d7f test eax, eax
00000001007d5d81 js loc_1007d5d89
00000001007d5d83 mulsd xmm0, xmm1
00000001007d5d87 jmp loc_1007d5d8d
loc_1007d5d89:
00000001007d5d89 divsd xmm0, xmm1 ; CODE XREF=sub_1007d5d42+63
loc_1007d5d8d:
00000001007d5d8d bt eax, 0x1b ; CODE XREF=sub_1007d5d42+69
00000001007d5d91 jae loc_1007d5d9b
00000001007d5d93 xorpd xmm0, xmmword [double_value_14+16] ; 0x1010ce030
loc_1007d5d9b:
00000001007d5d9b pop rbp ; CODE XREF=sub_1007d5d42+24, sub_1007d5d42+79
00000001007d5d9c ret
; endp
不知道是哪个函数转换
好像具体思路
c1da2928(hex)=>40A846EB851EB852(hex)=>3107.46 (得到上步数据就可以直接转double了)
|