Function at 0x6706b850
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x68]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], 0
test eax, eax
je 0x6706b87e
mov byte [eax], 1
mov edx, dword [esp + 0x60]
xorps xmm2, xmm2
push edi
mov dword [esp + 0x4c], 0
mov edi, edx
mov dword [esp + 0x28], 0
mov dword [esp + 8], 0
mov cl, byte [edi]
mov al, cl
sub al, 1
cmp al, 0x1f
ja 0x6706b8bc
movzx ecx, cl
mov eax, 0x80001f00
dec ecx
shr eax, cl
test al, 1
je 0x6706b8bc
inc edi
jmp 0x6706b8a0
mov al, byte [edi]
cmp al, 0x2d
jne 0x6706b8cc
mov dword [esp + 8], 1
jmp 0x6706b8d0
cmp al, 0x2b
jne 0x6706b8d1
inc edi
mov al, byte [edi]
test al, al
jne 0x6706b8de
mov edi, edx
jmp 0x6706c80d
cmp al, 0x30
jne 0x6706b900
mov dword [esp + 0x28], 1
lea ebx, [ebx]
inc edi
cmp byte [edi], 0x30
je 0x6706b8f0
mov al, byte [edi]
test al, al
je 0x6706c80d
xor ecx, ecx
movsx eax, al
push esi
xor esi, esi
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], eax
cmp eax, 0x30
jl 0x6706b975
cmp eax, 0x39
jg 0x6706b971
cmp edx, 9
jge 0x6706b948
mov ecx, dword [esp + 0x5c]
lea esi, [esi + esi*4]
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], esi
jmp 0x6706b962
cmp edx, 0x10
jge 0x6706b962
mov esi, dword [esp + 0x5c]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
movsx eax, byte [edi + 1]
inc edi
inc edx
mov dword [esp + 0x5c], eax
cmp eax, 0x30
jge 0x6706b927
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], edx
cmp eax, 0x2e
jne 0x6706ba70
movsx eax, byte [edi + 1]
inc edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x5c], eax
test edx, edx
jne 0x6706b9db
cmp eax, 0x30
jne 0x6706b9bf
xor eax, eax
lea ebx, [ebx]
movsx ecx, byte [edi + 1]
inc edi
inc eax
mov dword [esp + 0x5c], ecx
cmp ecx, 0x30
je 0x6706b9a0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], edi
add eax, 0xffffffcf
cmp eax, 8
ja 0x6706ba6c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x14], edi
jmp 0x6706b9eb
add eax, 0xffffffd0
cmp eax, 9
ja 0x6706ba68
mov eax, dword [esp + 0x50]
inc eax
sub dword [esp + 0x5c], 0x30
mov dword [esp + 0x50], eax
je 0x6706ba56
add dword [esp + 0x30], eax
cmp eax, 1
jle 0x6706ba23
lea edi, [eax - 1]
mov eax, edx
inc edx
cmp eax, 9
jge 0x6706ba12
lea esi, [esi + esi*4]
add esi, esi
jmp 0x6706ba1c
cmp edx, 0x10
jg 0x6706ba1c
lea ecx, [ecx + ecx*4]
add ecx, ecx
dec edi
jne 0x6706ba03
mov edi, dword [esp + 0x34]
mov eax, edx
inc edx
mov dword [esp + 0x44], edx
cmp eax, 9
jge 0x6706ba3b
mov edx, dword [esp + 0x5c]
lea eax, [esi + esi*4]
lea esi, [edx + eax*2]
jmp 0x6706ba4a
cmp edx, 0x10
jg 0x6706ba4e
mov edx, dword [esp + 0x5c]
lea eax, [ecx + ecx*4]
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], 0
movsx eax, byte [edi + 1]
inc edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x5c], eax
jmp 0x6706b9db
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
cmp eax, 0x65
je 0x6706ba86
cmp eax, 0x45
jne 0x6706bb91
test edx, edx
jne 0x6706ba9f
cmp dword [esp + 0x50], edx
jne 0x6706ba9f
cmp dword [esp + 0x2c], edx
jne 0x6706ba9f
mov edi, dword [esp + 0x68]
jmp 0x6706c80c
movsx eax, byte [edi + 1]
mov dword [esp + 0x68], edi
inc edi
mov dword [esp + 0x34], eax
sub dword [esp + 0x34], 0x2b
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], eax
je 0x6706bace
sub dword [esp + 0x34], 2
jne 0x6706bad7
mov dword [esp + 0x1c], 1
movsx eax, byte [edi + 1]
inc edi
mov dword [esp + 0x38], eax
add eax, 0xffffffd0
cmp eax, 9
ja 0x6706bb8d
mov eax, dword [esp + 0x38]
cmp eax, 0x30
jne 0x6706bb06
lea esp, [esp]
movsx edx, byte [edi + 1]
inc edi
mov dword [esp + 0x38], edx
cmp edx, 0x30
je 0x6706baf0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
add eax, 0xffffffcf
cmp eax, 8
ja 0x6706bb89
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], edi
add eax, 0xffffffd0
inc edi
mov dword [esp + 0x5c], eax
movsx eax, byte [edi]
mov dword [esp + 0x34], eax
cmp eax, 0x30
jl 0x6706bb5b
mov ecx, dword [esp + 0x5c]
mov edi, edi
cmp eax, 0x39
jg 0x6706bb4f
mov edx, dword [esp + 0x34]
lea eax, [ecx - 6]
inc edi
lea eax, [ecx + eax*4]
lea ecx, [edx + eax*2]
movsx eax, byte [edi]
mov dword [esp + 0x34], eax
cmp eax, 0x30
jge 0x6706bb30
mov edx, dword [esp + 0x44]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x3c]
mov eax, edi
sub eax, dword [esp + 0x38]
cmp eax, 8
jg 0x6706bb71
mov eax, dword [esp + 0x5c]
cmp eax, 0x4e1f
jle 0x6706bb7a
mov eax, 0x4e1f
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x1c], 0
je 0x6706bb91
neg eax
mov dword [esp + 0x5c], eax
jmp 0x6706bb91
xor eax, eax
jmp 0x6706bb95
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
test edx, edx
jne 0x6706bbb6
cmp dword [esp + 0x50], edx
jne 0x6706c80c
cmp dword [esp + 0x2c], edx
jne 0x6706c80c
mov edi, dword [esp + 0x68]
jmp 0x6706c80c
sub eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
test eax, eax
movd xmm2, esi
cmove eax, edx
mov dword [esp + 0x24], eax
mov eax, 0x10
cmp edx, eax
cvtdq2pd xmm2, xmm2
cmovl eax, edx
mov dword [esp + 0x1c], eax
mov eax, esi
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x67249380]
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0x4c], xmm2
movsd qword [esp + 0x40], xmm2
cmp eax, 9
jle 0x6706bc38
movsd xmm1, qword [eax*8 + 0x6728ca78]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, xmm2
addsd xmm0, qword [ecx*8 + 0x67249380]
addsd xmm1, xmm0
movaps xmm2, xmm1
movsd qword [esp + 0x4c], xmm2
movsd qword [esp + 0x40], xmm2
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x68], 0
cmp edx, 0xf
jg 0x6706bcbf
test ecx, ecx
je 0x6706c80c
jle 0x6706bca3
cmp ecx, 0x16
jg 0x6706bc6d
movsd xmm0, qword [ecx*8 + 0x6728cac0]
mulsd xmm0, xmm2
movaps xmm2, xmm0
jmp 0x6706c80c
mov eax, 0xf
sub eax, edx
mov dword [esp + 0x2c], eax
add eax, 0x16
cmp ecx, eax
jg 0x6706bcbf
mov eax, dword [esp + 0x2c]
sub ecx, eax
movsd xmm0, qword [eax*8 + 0x6728cac0]
mulsd xmm0, xmm2
mulsd xmm0, qword [ecx*8 + 0x6728cac0]
movaps xmm2, xmm0
jmp 0x6706c80c
cmp ecx, 0xffffffea
jl 0x6706bcbf
lea eax, [ecx*8]
mov ecx, 0x6728cac0
sub ecx, eax
divsd xmm2, qword [ecx]
jmp 0x6706c80c
mov eax, ecx
sub eax, dword [esp + 0x1c]
add eax, edx
test eax, eax
jle 0x6706be4f
mov ecx, eax
and ecx, 0xf
je 0x6706bcf2
movsd xmm0, qword [ecx*8 + 0x6728cac0]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 0x4c], xmm2
movsd qword [esp + 0x40], xmm2
and eax, 0xfffffff0
je 0x6706bf14
cmp eax, 0x134
jg 0x6706c6c8
sar eax, 4
test eax, eax
je 0x6706bf14
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp eax, 1
jle 0x6706bd3f
lea esp, [esp]
test al, 1
je 0x6706bd33
mulsd xmm2, qword [ecx*8 + 0x6728cb78]
movsd qword [esp + 0x40], xmm2
sar eax, 1
inc ecx
cmp eax, 1
jg 0x6706bd20
mov dword [esp + 0x1c], ecx
movsd qword [esp + 0x28], xmm2
movzx ecx, byte [esp + 0x2f]
movzx eax, byte [esp + 0x2e]
shl ecx, 8
add eax, 0xfcb0
add ecx, eax
movzx eax, byte [esp + 0x2d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x2c]
shl ecx, 8
add ecx, eax
mov eax, ecx
mov byte [esp + 0x44], cl
shr eax, 0x18
mov byte [esp + 0x47], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x46], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x45], al
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [eax*8 + 0x6728cb78]
mulsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x18], xmm0
movzx ecx, byte [esp + 0x1f]
movzx eax, byte [esp + 0x1e]
shl ecx, 8
add ecx, eax
movsd qword [esp + 0x40], xmm0
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
and ecx, 0x7ff00000
cmp ecx, 0x7ca00000
ja 0x6706c6c8
cmp ecx, 0x7c900000
jbe 0x6706bdfd
mov dword [esp + 0x44], 0x7fefffff
mov dword [esp + 0x40], 0xffffffff
jmp 0x6706bf08
movsd qword [esp + 0x18], xmm0
movzx ecx, byte [esp + 0x1f]
movzx eax, byte [esp + 0x1e]
add eax, 0x350
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
mov eax, ecx
mov byte [esp + 0x44], cl
shr eax, 0x18
mov byte [esp + 0x47], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x46], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x45], al
jmp 0x6706bf08
jns 0x6706bf14
neg eax
mov ecx, eax
and ecx, 0xf
je 0x6706be73
divsd xmm2, qword [ecx*8 + 0x6728cac0]
movsd qword [esp + 0x4c], xmm2
movsd qword [esp + 0x40], xmm2
and eax, 0xfffffff0
je 0x6706bf14
sar eax, 4
cmp eax, 0x20
jge 0x6706c8ca
xor ecx, ecx
cmp eax, 1
jle 0x6706bea5
nop
test al, 1
je 0x6706be9d
mulsd xmm2, qword [ecx*8 + 0x6728cba0]
sar eax, 1
inc ecx
cmp eax, 1
jg 0x6706be90
movsd xmm3, qword [ecx*8 + 0x6728cba0]
movapd xmm1, xmm2
movapd xmm0, xmm3
mulsd xmm2, xmm0
movsd xmm0, qword [0x674652c0]
ucomisd xmm2, xmm0
movsd qword [esp + 0x4c], xmm2
movsd qword [esp + 0x40], xmm2
lahf
test ah, 0x44
jp 0x6706bf14
mulsd xmm1, qword [0x6724cfa8]
mulsd xmm1, xmm3
ucomisd xmm1, xmm0
movsd qword [esp + 0x40], xmm1
lahf
test ah, 0x44
jnp 0x6706c8ca
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 1
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x4c], xmm0
push esi
push edx
push dword [esp + 0x2c]
push dword [esp + 0x20]
call fcn.6706d370
mov dword [esp + 0x78], eax
lea ecx, [eax + 0xc]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 4]
mov esi, 1
mov ecx, eax
mov dword [esp + 0x2c], eax
shl esi, cl
add esp, 0x10
lea eax, [esi*4 + 0x14]
push eax
call dword [0x6724833c]
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x6706bf65
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x68]
mov dword [ecx + 8], esi
mov dword [ecx + 0x10], 0
add ecx, 0xc
mov dword [ecx], 0
mov eax, dword [eax + 0x10]
lea eax, [eax*4 + 8]
push eax
push dword [esp + 0x3c]
push ecx
call fcn.67226d54
movsd xmm0, qword [esp + 0x58]
lea eax, [esp + 0x20]
add esp, 0xc
push eax
lea eax, [esp + 0x40]
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.6706ab20
push 0x1c
mov dword [esp + 0x6c], eax
call dword [0x6724833c]
mov esi, eax
add esp, 0x14
mov dword [esp + 0x60], esi
test esi, esi
jne 0x6706bfd6
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov eax, dword [esp + 0x5c]
mov dword [esi + 4], 1
mov dword [esi + 8], 2
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x10], 1
test eax, eax
js 0x6706c013
mov dword [esp + 0x1c], 0
xor ecx, ecx
mov dword [esp + 0x34], eax
mov esi, eax
jmp 0x6706c023
neg eax
xor edx, edx
mov dword [esp + 0x1c], eax
mov ecx, eax
mov dword [esp + 0x34], edx
xor esi, esi
mov edx, dword [esp + 0x3c]
test edx, edx
js 0x6706c02f
add ecx, edx
jmp 0x6706c031
sub esi, edx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x24], ecx
add eax, edx
cmp eax, 0xfffffc02
jge 0x6706c04b
add edx, 0x433
jmp 0x6706c054
mov edx, 0x36
sub edx, dword [esp + 0x14]
add ecx, edx
add esi, edx
mov edx, dword [esp + 0x24]
cmp ecx, esi
mov eax, esi
mov dword [esp + 0x2c], ecx
cmovl eax, ecx
mov dword [esp + 0x30], esi
cmp eax, edx
cmovg eax, edx
test eax, eax
jle 0x6706c086
sub ecx, eax
sub esi, eax
sub edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x6706c0c6
mov esi, dword [esp + 0x60]
push eax
push esi
call fcn.6706b6b0
push dword [esp + 0x60]
mov dword [esp + 0x6c], eax
push eax
call fcn.6706b3a0
push dword [esp + 0x68]
mov esi, eax
call dword [0x67248338]
mov ecx, dword [esp + 0x40]
mov edx, esi
mov esi, dword [esp + 0x44]
add esp, 0x14
mov dword [esp + 0x58], edx
jmp 0x6706c0ca
mov edx, dword [esp + 0x58]
test ecx, ecx
jle 0x6706c0dc
push ecx
push edx
call fcn.6706b280
add esp, 8
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x6706c0f9
push eax
push dword [esp + 0x58]
call fcn.6706b6b0
mov ecx, eax
add esp, 8
mov dword [esp + 0x54], ecx
jmp 0x6706c0fd
mov ecx, dword [esp + 0x54]
test esi, esi
jle 0x6706c111
push esi
push ecx
call fcn.6706b280
mov ecx, eax
add esp, 8
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x6706c12f
mov esi, dword [esp + 0x60]
push eax
push esi
call fcn.6706b280
mov ecx, dword [esp + 0x5c]
add esp, 8
mov dword [esp + 0x60], eax
push ecx
push dword [esp + 0x5c]
call fcn.6706ae10
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
mov esi, dword [ecx + 0xc]
mov dword [ecx + 0xc], 0
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x30], esi
sub ecx, edx
jne 0x6706c19e
mov esi, dword [esp + 0x48]
lea ecx, [edx - 1]
add esi, 0x14
add eax, 0x10
lea ecx, [esi + ecx*4]
lea edx, [eax + edx*4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x6706c18c
cmp ecx, esi
jbe 0x6706c6f9
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x6706c177
mov eax, dword [ecx]
cmp eax, dword [edx]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
test ecx, ecx
js 0x6706c8ee
je 0x6706c6f9
push eax
push dword [esp + 0x4c]
call fcn.6706d260
movsd xmm0, qword [0x6724cfa8]
add esp, 8
movsd xmm1, qword [esp + 0x4c]
fstp qword [esp + 0x18]
movsd xmm2, qword [esp + 0x18]
comisd xmm0, xmm2
jb 0x6706c4dc
test esi, esi
je 0x6706c1f2
movsd xmm0, qword [0x67248630]
movsd qword [esp + 0x18], xmm0
jmp 0x6706c4c4
movsd qword [esp + 0x18], xmm1
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x18]
shrd ecx, eax, 0x18
shr eax, 0x18
movzx eax, byte [esp + 0x1a]
movzx ecx, cl
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x18]
shrd eax, edx, 8
shl ecx, 8
movzx eax, al
add ecx, eax
shr edx, 8
mov eax, dword [esp + 0x18]
shl ecx, 8
movzx eax, al
add ecx, eax
jne 0x6706c437
movsd qword [esp + 0x18], xmm1
movzx ecx, byte [esp + 0x1e]
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
test ecx, 0xfffff
jne 0x6706c437
movsd xmm0, qword [0x67248630]
comisd xmm0, xmm2
jbe 0x6706c281
movsd xmm0, qword [0x67248628]
movaps xmm2, xmm0
jmp 0x6706c289
mulsd xmm2, qword [0x67248628]
movsd xmm3, qword [0x67248628]
movsd xmm4, qword [0x67248640]
movaps xmm0, xmm2
xorpd xmm0, xmm4
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [0x67248630]
movsd qword [esp + 0x20], xmm1
movzx esi, byte [esp + 0x27]
movzx eax, byte [esp + 0x26]
shl esi, 8
add esi, eax
movzx eax, byte [esp + 0x25]
shl esi, 8
add esi, eax
movzx eax, byte [esp + 0x24]
shl esi, 8
add esi, eax
and esi, 0x7ff00000
cmp esi, 0x7fe00000
jne 0x6706c552
movsd qword [esp + 0x20], xmm1
sub esp, 8
movzx ecx, byte [esp + 0x2f]
movzx eax, byte [esp + 0x2e]
add eax, 0xfcb0
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x2d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x2c]
shl ecx, 8
add ecx, eax
mov eax, ecx
mov byte [esp + 0x4c], cl
shr eax, 0x18
mov byte [esp + 0x4f], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x4e], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x4d], al
movsd xmm0, qword [esp + 0x48]
movsd qword [esp], xmm0
call fcn.6706d440
fmul qword [esp + 0x20]
add esp, 8
fadd qword [esp + 0x40]
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x18], xmm0
movzx ecx, byte [esp + 0x1f]
movzx eax, byte [esp + 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
and ecx, 0x7ff00000
cmp ecx, 0x7ca00000
jb 0x6706c503
movsd qword [esp + 0x18], xmm1
movzx ecx, byte [esp + 0x1f]
movzx eax, byte [esp + 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
cmp ecx, 0x7fefffff
jne 0x6706c416
movsd qword [esp + 0x18], xmm1
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x18]
shrd ecx, eax, 0x18
shr eax, 0x18
movzx eax, byte [esp + 0x1a]
movzx ecx, cl
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x18]
shrd eax, edx, 8
shl ecx, 8
movzx eax, al
add ecx, eax
shr edx, 8
mov eax, dword [esp + 0x18]
shl ecx, 8
movzx eax, al
add ecx, eax
cmp ecx, 0xffffffff
je 0x6706c6c8
mov dword [esp + 0x44], 0x7fefffff
mov dword [esp + 0x40], 0xffffffff
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x4c], xmm0
jmp 0x6706c69a
movsd qword [esp + 0x18], xmm1
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x18]
shrd ecx, eax, 0x18
shr eax, 0x18
movzx eax, byte [esp + 0x1a]
movzx ecx, cl
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x18]
shrd eax, edx, 8
shl ecx, 8
movzx eax, al
add ecx, eax
shr edx, 8
mov eax, dword [esp + 0x18]
shl ecx, 8
movzx eax, al
add ecx, eax
cmp ecx, 1
jne 0x6706c4ae
movsd qword [esp + 0x18], xmm1
movzx ecx, byte [esp + 0x1f]
movzx eax, byte [esp + 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
je 0x6706c8ca
movsd xmm3, qword [0x6724cff8]
movsd xmm0, qword [0x67248630]
movsd qword [esp + 0x18], xmm3
movsd xmm3, qword [0x67248628]
movaps xmm2, xmm0
movsd xmm4, qword [0x67248640]
jmp 0x6706c2ae
movsd xmm3, qword [0x67248628]
mulsd xmm2, xmm3
test esi, esi
je 0x6706c291
movsd xmm4, qword [0x67248640]
movsd qword [esp + 0x18], xmm2
jmp 0x6706c2a6
movsd qword [esp + 0x18], xmm0
movzx ecx, byte [esp + 0x1f]
movzx eax, byte [esp + 0x1e]
add eax, 0x350
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
mov eax, ecx
mov byte [esp + 0x44], cl
shr eax, 0x18
mov byte [esp + 0x47], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x46], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x45], al
jmp 0x6706c5a6
cmp esi, 0x3400000
ja 0x6706c58a
comisd xmm2, xmm0
jb 0x6706c58a
cmp dword [esp + 0x30], 0
movaps xmm0, xmm2
addsd xmm0, xmm3
cvttsd2si eax, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
jne 0x6706c58a
xorpd xmm0, xmm4
movsd qword [esp + 0x18], xmm0
sub esp, 8
movsd qword [esp], xmm1
call fcn.6706d440
fmul qword [esp + 0x20]
add esp, 8
fadd qword [esp + 0x40]
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
movsd qword [esp + 0x18], xmm1
movzx ecx, byte [esp + 0x1f]
movzx eax, byte [esp + 0x1e]
shl ecx, 8
add ecx, eax
movsd qword [esp + 0x4c], xmm1
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
and ecx, 0x7ff00000
cmp esi, ecx
jne 0x6706c69a
cmp dword [esp + 0x30], 0
cvttsd2si eax, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
jne 0x6706c67a
movsd qword [esp + 0x18], xmm1
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x18]
shrd ecx, eax, 0x18
shr eax, 0x18
movzx eax, byte [esp + 0x1a]
movzx ecx, cl
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x18]
shrd eax, edx, 8
shl ecx, 8
movzx eax, al
add ecx, eax
shr edx, 8
mov eax, dword [esp + 0x18]
shl ecx, 8
movzx eax, al
add ecx, eax
jne 0x6706c67a
movsd qword [esp + 0x18], xmm1
movzx ecx, byte [esp + 0x1e]
movzx eax, byte [esp + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x1c]
shl ecx, 8
add ecx, eax
test ecx, 0xfffff
jne 0x6706c67a
movsd xmm0, qword [0x6728cbf0]
comisd xmm0, xmm2
jmp 0x6706c694
movsd xmm0, qword [0x6728cc08]
comisd xmm0, xmm2
ja 0x6706c7d6
comisd xmm2, xmmword [0x6728cc10]
ja 0x6706c7d6
push dword [esp + 0x58]
mov esi, dword [0x67248338]
call esi
push dword [esp + 0x58]
call esi
mov esi, dword [esp + 0x68]
push esi
mov esi, dword [0x67248338]
call esi
push dword [esp + 0x54]
call esi
mov eax, dword [esp + 0x78]
jmp 0x6706bf2e
mov eax, dword [esp + 0x70]
test eax, eax
je 0x6706c6d3
mov byte [eax], 0
cmp dword [esp + 0x68], 0
mov dword [esp + 0x44], 0x7ff00000
mov dword [esp + 0x40], 0
jne 0x6706c7ca
movsd xmm2, qword [esp + 0x40]
jmp 0x6706c80c
movsd xmm0, qword [esp + 0x4c]
mov edx, dword [esp + 0x30]
movsd qword [esp + 0x10], xmm0
movzx ecx, byte [esp + 0x16]
movzx eax, byte [esp + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x14]
shl ecx, 8
add ecx, eax
test edx, edx
je 0x6706c833
and ecx, 0xfffff
cmp ecx, 0xfffff
jne 0x6706c86a
movsd qword [esp + 0x10], xmm0
movzx ecx, byte [esp + 0x13]
movzx eax, byte [esp + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x10]
shl ecx, 8
add ecx, eax
cmp ecx, 0xffffffff
jne 0x6706c86a
movsd qword [esp + 0x10], xmm0
movzx ecx, byte [esp + 0x17]
movzx eax, byte [esp + 0x16]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x40], 0
movzx eax, byte [esp + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x14]
shl ecx, 8
add ecx, eax
and ecx, 0x7ff00000
add ecx, 0x100000
mov eax, ecx
mov byte [esp + 0x44], cl
shr eax, 0x18
mov byte [esp + 0x47], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x46], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x45], al
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x4c], xmm0
mov esi, dword [esp + 0x60]
push dword [esp + 0x58]
call dword [0x67248338]
push dword [esp + 0x58]
call dword [0x67248338]
push esi
mov esi, dword [0x67248338]
call esi
push dword [esp + 0x74]
call esi
push dword [esp + 0x58]
call esi
movsd xmm2, qword [esp + 0x60]
add esp, 0x14
pop esi
mov eax, dword [esp + 0x68]
test eax, eax
je 0x6706c817
mov dword [eax], edi
cmp dword [esp + 8], 0
pop edi
je 0x6706c827
xorpd xmm2, xmmword [0x67248640]
movsd qword [esp], xmm2
fld qword [esp]
add esp, 0x5c
ret
test ecx, 0xfffff
jne 0x6706c86a
movsd qword [esp + 0x10], xmm0
movzx ecx, byte [esp + 0x13]
movzx eax, byte [esp + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x10]
shl ecx, 8
add ecx, eax
je 0x6706c983
movsd qword [esp + 0x10], xmm0
test byte [esp + 0x10], 1
je 0x6706c7d6
sub esp, 8
movsd qword [esp], xmm0
test edx, edx
je 0x6706c89c
call fcn.6706d440
fadd qword [esp + 0x48]
add esp, 8
fstp qword [esp + 0x40]
jmp 0x6706c7ca
call fcn.6706d440
fsubr qword [esp + 0x48]
add esp, 8
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
ucomisd xmm0, qword [0x674652c0]
movsd qword [esp + 0x4c], xmm0
lahf
test ah, 0x44
jp 0x6706c7d6
mov eax, dword [esp + 0x70]
xorps xmm2, xmm2
movsd qword [esp + 0x4c], xmm2
test eax, eax
je 0x6706c8de
mov byte [eax], 0
cmp dword [esp + 0x68], 0
jne 0x6706c7d6
jmp 0x6706c80c
test esi, esi
jne 0x6706c7d6
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp + 0x10], xmm0
movzx ecx, byte [esp + 0x13]
movzx eax, byte [esp + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x10]
shl ecx, 8
add ecx, eax
jne 0x6706c7d6
movsd qword [esp + 0x10], xmm0
movzx ecx, byte [esp + 0x16]
movzx eax, byte [esp + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x14]
shl ecx, 8
add ecx, eax
test ecx, 0xfffff
jne 0x6706c7d6
push 1
push dword [esp + 0x4c]
call fcn.6706b280
mov esi, dword [esp + 0x68]
push esi
push eax
mov dword [esp + 0x58], eax
call fcn.6706aac0
add esp, 0x10
test eax, eax
jle 0x6706c7da
movsd xmm0, qword [esp + 0x4c]
jmp 0x6706c987
mov esi, dword [esp + 0x60]
movsd qword [esp + 0x10], xmm0
movzx ecx, byte [esp + 0x17]
movzx eax, byte [esp + 0x16]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x40], 0xffffffff
movzx eax, byte [esp + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x14]
shl ecx, 8
add ecx, eax
and ecx, 0x7ff00000
dec ecx
or ecx, 0xfffff
mov eax, ecx
mov byte [esp + 0x44], cl
shr eax, 0x18
mov byte [esp + 0x47], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x46], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x45], al
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x4c], xmm0
jmp 0x6706c7da