Function at 0x6704a7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ebx
push esi
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
cmp eax, ecx
je 0x6704a7c8
mov byte [eax], 1
mov edi, dword [ebp + 8]
fldz
movzx eax, byte [edi]
fstp qword [esp + 0x70]
mov ebx, dword [sym.imp.MSVCR100.dll_isspace]
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x70], ecx
mov esi, edi
mov dword [esp + 0x24], edi
call ebx
add esp, 4
test eax, eax
je 0x6704a809
movzx ecx, byte [esi + 1]
inc esi
push ecx
call ebx
add esp, 4
test eax, eax
jne 0x6704a7f6
mov dword [esp + 0x20], esi
mov al, byte [esi]
cmp al, 0x2d
jne 0x6704a819
mov dword [esp + 0x6c], 1
jmp 0x6704a81d
cmp al, 0x2b
jne 0x6704a822
inc esi
mov dword [esp + 0x20], esi
mov al, byte [esi]
test al, al
jne 0x6704a82f
mov esi, edi
jmp 0x6704b69c
cmp al, 0x30
jne 0x6704a854
mov dword [esp + 0x54], 1
jmp 0x6704a840
inc esi
cmp byte [esi], 0x30
je 0x6704a840
mov al, byte [esi]
mov dword [esp + 0x20], esi
test al, al
je 0x6704b69c
movsx eax, al
xor ecx, ecx
xor edx, edx
xor edi, edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x4c], ecx
cmp eax, 0x30
jl 0x6704a8a8
cmp eax, 0x39
jg 0x6704a89c
cmp edi, 9
jge 0x6704a885
lea edx, [edx + edx*4]
lea edx, [eax + edx*2 - 0x30]
jmp 0x6704a891
cmp edi, 0x10
jge 0x6704a891
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2 - 0x30]
movsx eax, byte [esi + 1]
inc esi
inc edi
cmp eax, 0x30
jge 0x6704a872
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x58], edi
cmp eax, 0x2e
jne 0x6704a976
movsx eax, byte [esi + 1]
inc esi
mov dword [esp + 0x20], esi
test edi, edi
jne 0x6704a8f7
cmp eax, 0x30
jne 0x6704a8df
jmp 0x6704a8d0
movsx eax, byte [esi + 1]
inc esi
inc ebx
cmp eax, 0x30
je 0x6704a8d0
mov dword [esp + 0x20], esi
lea edx, [eax - 0x31]
cmp edx, 8
ja 0x6704a976
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], esi
xor ebx, ebx
jmp 0x6704a8ff
lea edx, [eax - 0x30]
cmp edx, 9
ja 0x6704a976
inc ebx
sub eax, 0x30
je 0x6704a96b
add dword [esp + 0x4c], ebx
cmp ebx, 1
jle 0x6704a938
dec ebx
nop
mov edx, edi
inc edi
cmp edx, 9
jge 0x6704a927
mov edx, dword [esp + 0x24]
lea edx, [edx + edx*4]
add edx, edx
mov dword [esp + 0x24], edx
jmp 0x6704a931
cmp edi, 0x10
jg 0x6704a931
lea ecx, [ecx + ecx*4]
add ecx, ecx
dec ebx
jne 0x6704a910
mov dword [esp + 0x3c], ecx
mov edx, edi
inc edi
cmp edx, 9
jge 0x6704a95a
mov edx, dword [esp + 0x24]
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
xor ebx, ebx
inc esi
mov dword [esp + 0x24], eax
movsx eax, byte [esi]
mov dword [esp + 0x20], esi
jmp 0x6704a8f7
cmp edi, 0x10
jg 0x6704a969
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2]
mov dword [esp + 0x3c], ecx
xor ebx, ebx
movsx eax, byte [esi + 1]
inc esi
mov dword [esp + 0x20], esi
jmp 0x6704a8f7
xor ecx, ecx
cmp eax, 0x65
je 0x6704a986
cmp eax, 0x45
jne 0x6704aa45
test edi, edi
jne 0x6704a99c
test ebx, ebx
jne 0x6704a99c
cmp dword [esp + 0x54], ecx
jne 0x6704a99c
mov esi, dword [ebp + 8]
jmp 0x6704b69c
movsx eax, byte [esi + 1]
mov dword [ebp + 8], esi
inc esi
mov edx, eax
sub edx, 0x2b
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], esi
je 0x6704a9c0
sub edx, 2
jne 0x6704a9c9
mov dword [esp + 0x40], 1
movsx eax, byte [esi + 1]
inc esi
mov dword [esp + 0x20], esi
lea edx, [eax - 0x30]
cmp edx, 9
ja 0x6704aa3e
cmp eax, 0x30
jne 0x6704a9e4
movsx eax, byte [esi + 1]
inc esi
cmp eax, 0x30
je 0x6704a9d6
mov dword [esp + 0x20], esi
lea ecx, [eax - 0x31]
cmp ecx, 8
ja 0x6704aa3a
mov edx, esi
inc esi
lea ecx, [eax - 0x30]
movsx eax, byte [esi]
mov dword [esp + 0x20], esi
cmp eax, 0x30
jl 0x6704aa19
mov edi, edi
cmp eax, 0x39
jg 0x6704aa15
lea ecx, [ecx + ecx*4]
inc esi
lea ecx, [eax + ecx*2 - 0x30]
movsx eax, byte [esi]
cmp eax, 0x30
jge 0x6704aa00
mov dword [esp + 0x20], esi
mov eax, esi
sub eax, edx
cmp eax, 8
jg 0x6704aa2a
cmp ecx, 0x4e1f
jle 0x6704aa2f
mov ecx, 0x4e1f
cmp dword [esp + 0x40], 0
je 0x6704aa45
neg ecx
jmp 0x6704aa45
xor ecx, ecx
jmp 0x6704aa45
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], esi
test edi, edi
jne 0x6704aa63
test ebx, ebx
jne 0x6704b69c
cmp dword [esp + 0x54], ebx
jne 0x6704b69c
mov esi, dword [ebp + 8]
jmp 0x6704b69c
sub ecx, dword [esp + 0x4c]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x54], ecx
jne 0x6704aa76
mov dword [esp + 0x58], edi
mov edx, edi
cmp edi, 0x10
jl 0x6704aa82
mov edx, 0x10
mov eax, dword [esp + 0x24]
fild dword [esp + 0x24]
test eax, eax
jns 0x6704aa94
fadd qword [0x6719fff0]
fst qword [esp + 0x70]
cmp edx, 9
jle 0x6704aabc
mov eax, dword [esp + 0x3c]
fmul qword [edx*8 + 0x6719fe78]
fild dword [esp + 0x3c]
test eax, eax
jns 0x6704aab6
fadd qword [0x6719fff0]
faddp st(1)
fst qword [esp + 0x70]
mov dword [esp + 0x3c], 0
cmp edi, 0xf
jg 0x6704ab20
test ecx, ecx
je 0x6704b6a0
jle 0x6704ab07
cmp ecx, 0x16
jg 0x6704aae4
fmul qword [ecx*8 + 0x6719fec0]
jmp 0x6704b6a0
mov eax, 0xf
sub eax, edi
lea ebx, [eax + 0x16]
cmp ecx, ebx
jg 0x6704ab20
fmul qword [eax*8 + 0x6719fec0]
sub ecx, eax
fmul qword [ecx*8 + 0x6719fec0]
jmp 0x6704b6a0
cmp ecx, 0xffffffea
jl 0x6704ab20
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, 0x6719fec0
sub edx, ecx
fdiv qword [edx]
jmp 0x6704b6a0
mov eax, ecx
sub eax, edx
add eax, edi
test eax, eax
jle 0x6704ac7a
mov ecx, eax
and ecx, 0xf
je 0x6704ab40
fmul qword [ecx*8 + 0x6719fec0]
fst qword [esp + 0x70]
and eax, 0xfffffff0
je 0x6704ad13
cmp eax, 0x134
jg 0x6704b645
sar eax, 4
test eax, eax
je 0x6704ad13
xor ecx, ecx
cmp eax, 1
jle 0x6704ab7d
test al, 1
je 0x6704ab71
fmul qword [ecx*8 + 0x6719ff78]
sar eax, 1
inc ecx
cmp eax, 1
jg 0x6704ab66
fst qword [esp + 0x70]
fstp qword [esp + 0x4c]
movzx eax, byte [esp + 0x53]
movzx edx, byte [esp + 0x52]
fld qword [ecx*8 + 0x6719ff78]
shl eax, 8
lea eax, [eax + edx + 0xfcb0]
movzx edx, byte [esp + 0x51]
shl eax, 8
add eax, edx
movzx edx, byte [esp + 0x50]
shl eax, 8
add eax, edx
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x77], dl
mov edx, eax
shr edx, 0x10
mov byte [esp + 0x76], dl
mov edx, eax
mov byte [esp + 0x74], al
shr edx, 8
mov byte [esp + 0x75], dl
fmul qword [esp + 0x70]
fst qword [esp + 0x70]
fst qword [esp + 0x4c]
movzx eax, byte [esp + 0x53]
movzx ecx, byte [esp + 0x52]
movzx edx, byte [esp + 0x51]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x50]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
and eax, 0x7ff00000
cmp eax, 0x7ca00000
ja 0x6704b645
cmp eax, 0x7c900000
jbe 0x6704ac2a
mov dword [esp + 0x74], 0x7fefffff
mov dword [esp + 0x70], 0xffffffff
jmp 0x6704ad13
fstp qword [esp + 0x4c]
movzx edx, byte [esp + 0x53]
movzx eax, byte [esp + 0x52]
movzx ecx, byte [esp + 0x51]
shl edx, 8
lea eax, [edx + eax + 0x350]
movzx edx, byte [esp + 0x50]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0x77], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x76], dl
mov byte [esp + 0x75], cl
mov byte [esp + 0x74], al
jmp 0x6704ad15
jns 0x6704ad13
neg eax
mov ecx, eax
and ecx, 0xf
je 0x6704ac94
fdiv qword [ecx*8 + 0x6719fec0]
fst qword [esp + 0x70]
and eax, 0xfffffff0
je 0x6704ad13
sar eax, 4
cmp eax, 0x20
jge 0x6704b626
xor ecx, ecx
cmp eax, 1
jle 0x6704acbf
test al, 1
je 0x6704acb7
fmul qword [ecx*8 + 0x6719ffa0]
sar eax, 1
inc ecx
cmp eax, 1
jg 0x6704acac
fld st(0)
fld qword [ecx*8 + 0x6719ffa0]
fmulp st(2)
fxch st(1)
fst qword [esp + 0x70]
fld qword [0x67258a90]
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x6704ad11
fxch st(1)
fadd st(0), st(0)
fmul qword [ecx*8 + 0x6719ffa0]
fst qword [esp + 0x70]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x6704b628
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 1
jmp 0x6704ad15
fstp st(1)
fstp st(0)
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
push edx
push edi
push eax
mov eax, dword [esp + 0x70]
call fcn.67049440
add esp, 0xc
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov ebx, dword [ecx + 4]
mov ecx, ebx
mov esi, 1
shl esi, cl
lea edx, [esi*4 + 0x14]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x6704ad5c
call sym.QtCore_Ad_4.dll_void___cdecl_qBadAlloc_void_
mov ecx, dword [esp + 0x3c]
lea eax, [edi + 0xc]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov dword [edi + 0x10], 0
mov dword [eax], 0
mov edx, dword [ecx + 0x10]
lea edx, [edx*4 + 8]
push edx
add ecx, 0xc
push ecx
push eax
mov dword [esp + 0x44], edi
call sub.MSVCR100.dll_memcpy
fld qword [esp + 0x7c]
add esp, 0xc
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x50]
push ecx
sub esp, 8
fstp qword [esp]
call fcn.67049d80
push 0x1c
mov dword [esp + 0x44], eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x6704adc5
call sym.QtCore_Ad_4.dll_void___cdecl_qBadAlloc_void_
mov eax, 1
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 8], 2
mov dword [esi + 0xc], 0
mov dword [esp + 0x2c], esi
test eax, eax
js 0x6704adf3
xor edx, edx
xor ebx, ebx
jmp 0x6704adfb
mov edx, eax
neg edx
mov ebx, edx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x6704ae0f
add ebx, eax
jmp 0x6704ae13
sub dword [esp + 0x24], eax
mov ecx, dword [esp + 0x64]
lea ecx, [eax + ecx - 1]
mov dword [esp + 0x34], ebx
cmp ecx, 0xfffffc02
jge 0x6704ae2e
add eax, 0x433
jmp 0x6704ae37
mov eax, 0x36
sub eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
add ecx, eax
add ebx, eax
mov dword [esp + 0x24], ecx
cmp ebx, ecx
jge 0x6704ae49
mov ecx, ebx
cmp ecx, dword [esp + 0x34]
jle 0x6704ae53
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x6704ae61
sub dword [esp + 0x24], ecx
sub ebx, ecx
sub dword [esp + 0x34], ecx
test edx, edx
jle 0x6704ae91
push edx
push esi
call fcn.6704a6b0
mov esi, dword [esp + 0x38]
push esi
push eax
mov dword [esp + 0x3c], eax
call fcn.670495e0
push esi
mov dword [esp + 0x54], eax
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [esp + 0x54]
add esp, 0x14
mov dword [esp + 0x30], edx
test ebx, ebx
jle 0x6704aea7
mov eax, dword [esp + 0x30]
push ebx
push eax
call fcn.670497d0
add esp, 8
mov dword [esp + 0x30], eax
cmp dword [esp + 0x58], 0
jle 0x6704aec0
mov ecx, dword [esp + 0x58]
push ecx
push edi
call fcn.6704a6b0
add esp, 8
mov dword [esp + 0x38], eax
cmp dword [esp + 0x24], 0
jle 0x6704aedd
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
push edx
push eax
call fcn.670497d0
add esp, 8
mov dword [esp + 0x38], eax
cmp dword [esp + 0x34], 0
jle 0x6704aefa
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.670497d0
add esp, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
call fcn.67049910
mov esi, dword [esp + 0x30]
mov edi, eax
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], 0
mov ecx, dword [esi + 0x10]
add esp, 4
sub eax, ecx
mov dword [esp + 0x34], edi
jne 0x6704af59
lea edx, [edi + 0x14]
lea eax, [edx + ecx*4 - 4]
lea ecx, [esi + ecx*4 + 0x10]
mov esi, dword [eax]
cmp esi, dword [ecx]
jne 0x6704af4f
cmp eax, edx
jbe 0x6704b4d1
mov esi, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp esi, dword [ecx]
je 0x6704af3a
mov edx, dword [eax]
cmp edx, dword [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x6704b3e8
je 0x6704b4d1
mov esi, dword [esp + 0x2c]
call fcn.67049f50
fld qword [0x671667c8]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x6704b098
test ebx, ebx
je 0x6704af98
fstp st(0)
fld1
fst qword [esp + 0x58]
fst qword [esp + 0x40]
jmp 0x6704b0b4
fld qword [esp + 0x70]
fst qword [esp + 0x58]
movzx eax, byte [esp + 0x5b]
movzx ecx, byte [esp + 0x5a]
movzx edx, byte [esp + 0x59]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x58]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
jne 0x6704b027
fst qword [esp + 0x58]
movzx edx, byte [esp + 0x5e]
movzx eax, byte [esp + 0x5d]
movzx ecx, byte [esp + 0x5c]
shl edx, 8
add edx, eax
shl edx, 8
add edx, ecx
test edx, 0xfffff
jne 0x6704b027
fld1
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x6704b00e
fstp st(1)
fld qword [0x671628a8]
fst qword [esp + 0x40]
fld st(0)
fchs
fstp qword [esp + 0x58]
jmp 0x6704b0ba
fxch st(1)
fmul qword [0x671628a8]
fst qword [esp + 0x40]
fld st(0)
fchs
fstp qword [esp + 0x58]
jmp 0x6704b0ba
fstp st(1)
fst qword [esp + 0x58]
movzx edx, byte [esp + 0x5b]
movzx eax, byte [esp + 0x5a]
movzx ecx, byte [esp + 0x59]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x58]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
cmp edx, 1
jne 0x6704b086
fst qword [esp + 0x58]
movzx ecx, byte [esp + 0x5f]
movzx edx, byte [esp + 0x5e]
movzx eax, byte [esp + 0x5d]
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x5c]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
je 0x6704b626
mov edi, dword [esp + 0x34]
fld1
fst qword [esp + 0x40]
fld qword [0x67162c18]
fstp qword [esp + 0x58]
jmp 0x6704b0ba
fmul qword [0x671628a8]
fst qword [esp + 0x40]
test ebx, ebx
je 0x6704b0ac
fst qword [esp + 0x58]
jmp 0x6704b0b4
fld st(0)
fchs
fstp qword [esp + 0x58]
fld qword [esp + 0x70]
fxch st(1)
fxch st(1)
fst qword [esp + 0x24]
movzx esi, byte [esp + 0x2b]
movzx eax, byte [esp + 0x2a]
movzx ecx, byte [esp + 0x29]
movzx edx, byte [esp + 0x28]
shl esi, 8
add esi, eax
shl esi, 8
add esi, ecx
shl esi, 8
add esi, edx
and esi, 0x7ff00000
cmp esi, 0x7fe00000
jne 0x6704b284
fstp st(1)
sub esp, 8
fst qword [esp + 0x80]
fstp qword [esp + 0x2c]
movzx eax, byte [esp + 0x33]
movzx ecx, byte [esp + 0x32]
movzx edx, byte [esp + 0x31]
shl eax, 8
lea eax, [eax + ecx + 0xfcb0]
movzx ecx, byte [esp + 0x30]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x7f], dl
mov ecx, eax
mov edx, eax
shr ecx, 0x10
shr edx, 8
mov byte [esp + 0x7e], cl
mov byte [esp + 0x7d], dl
mov byte [esp + 0x7c], al
fld qword [esp + 0x78]
fstp qword [esp]
call fcn.67049ac0
fmul qword [esp + 0x60]
add esp, 8
fadd qword [esp + 0x70]
fst qword [esp + 0x70]
fst qword [esp + 0x58]
movzx eax, byte [esp + 0x5f]
movzx ecx, byte [esp + 0x5e]
movzx edx, byte [esp + 0x5d]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x5c]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
and eax, 0x7ff00000
cmp eax, 0x7ca00000
jb 0x6704b233
fstp st(0)
fld qword [esp + 0x78]
fst qword [esp + 0x58]
movzx edx, byte [esp + 0x5f]
movzx eax, byte [esp + 0x5e]
movzx ecx, byte [esp + 0x5d]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x5c]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
cmp edx, 0x7fefffff
jne 0x6704b21c
fstp qword [esp + 0x58]
movzx ecx, byte [esp + 0x5b]
movzx edx, byte [esp + 0x5a]
movzx eax, byte [esp + 0x59]
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x58]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
cmp ecx, 0xffffffff
je 0x6704b647
mov edi, dword [esp + 0x34]
mov dword [esp + 0x74], 0x7fefffff
mov dword [esp + 0x70], 0xffffffff
jmp 0x6704b3c2
fstp st(0)
mov dword [esp + 0x74], 0x7fefffff
mov dword [esp + 0x70], 0xffffffff
jmp 0x6704b3c2
fstp qword [esp + 0x58]
movzx eax, byte [esp + 0x5f]
movzx ecx, byte [esp + 0x5e]
movzx edx, byte [esp + 0x5d]
shl eax, 8
lea eax, [eax + ecx + 0x350]
movzx ecx, byte [esp + 0x5c]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x77], dl
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 8
mov byte [esp + 0x76], cl
mov byte [esp + 0x75], dl
mov byte [esp + 0x74], al
fld qword [esp + 0x70]
jmp 0x6704b2dc
cmp esi, 0x3400000
ja 0x6704b2bc
fld1
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x6704b2bc
fxch st(1)
fadd qword [0x671628a8]
call fcn.671496d0
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fst qword [esp + 0x58]
test ebx, ebx
jne 0x6704b2c0
fchs
fstp qword [esp + 0x58]
jmp 0x6704b2c2
fstp st(1)
jmp 0x6704b2c2
fstp st(0)
sub esp, 8
fstp qword [esp]
call fcn.67049ac0
fmul qword [esp + 0x60]
add esp, 8
fadd qword [esp + 0x70]
fst qword [esp + 0x70]
fst qword [esp + 0x58]
movzx eax, byte [esp + 0x5f]
movzx ecx, byte [esp + 0x5e]
movzx edx, byte [esp + 0x5d]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x5c]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
and eax, 0x7ff00000
cmp esi, eax
jne 0x6704b3c0
fld qword [esp + 0x40]
fld st(0)
call fcn.671496d0
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fsubp st(1)
test ebx, ebx
jne 0x6704b390
fxch st(1)
fst qword [esp + 0x58]
movzx edx, byte [esp + 0x5b]
movzx eax, byte [esp + 0x5a]
movzx ecx, byte [esp + 0x59]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x58]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
jne 0x6704b394
fstp qword [esp + 0x58]
movzx ecx, byte [esp + 0x5e]
movzx edx, byte [esp + 0x5d]
movzx eax, byte [esp + 0x5c]
shl ecx, 8
add ecx, edx
shl ecx, 8
add ecx, eax
test ecx, 0xfffff
jne 0x6704b396
fcomp qword [0x6719ffe8]
fnstsw ax
test ah, 5
jnp 0x6704b66c
mov edi, dword [esp + 0x34]
jmp 0x6704b3c2
fstp st(1)
jmp 0x6704b396
fstp st(0)
fld qword [0x6719ffe0]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x6704b66a
fcomp qword [0x6719ffd8]
fnstsw ax
test ah, 0x41
je 0x6704b66c
mov edi, dword [esp + 0x34]
jmp 0x6704b3c2
fstp st(0)
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.MSVCR100.dll_free]
push ecx
call esi
mov edx, dword [esp + 0x3c]
push edx
call esi
mov eax, dword [esp + 0x34]
push eax
call esi
push edi
call esi
add esp, 0x10
jmp 0x6704ad30
test ebx, ebx
jne 0x6704b66c
fld qword [esp + 0x70]
fst qword [esp + 0x64]
movzx ecx, byte [esp + 0x67]
movzx edx, byte [esp + 0x66]
movzx eax, byte [esp + 0x65]
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x64]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
jne 0x6704b66a
fstp qword [esp + 0x64]
movzx eax, byte [esp + 0x6a]
movzx ecx, byte [esp + 0x69]
movzx edx, byte [esp + 0x68]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
test eax, 0xfffff
jne 0x6704b66c
mov eax, dword [esp + 0x34]
push 1
push eax
call fcn.670497d0
mov edx, eax
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x34], edx
call fcn.670498c0
test eax, eax
jle 0x6704b66c
fld qword [esp + 0x70]
fstp qword [esp + 0x64]
movzx eax, byte [esp + 0x6b]
movzx edx, byte [esp + 0x6a]
movzx ecx, byte [esp + 0x69]
shl eax, 8
add eax, edx
movzx edx, byte [esp + 0x68]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
and eax, 0x7ff00000
dec eax
or eax, 0xfffff
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0x77], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x76], dl
mov byte [esp + 0x75], cl
mov byte [esp + 0x74], al
mov dword [esp + 0x70], 0xffffffff
jmp 0x6704b66c
fld qword [esp + 0x70]
fst qword [esp + 0x64]
test ebx, ebx
je 0x6704b599
movzx ecx, byte [esp + 0x6a]
movzx edx, byte [esp + 0x69]
movzx eax, byte [esp + 0x68]
shl ecx, 8
add ecx, edx
shl ecx, 8
add ecx, eax
and ecx, 0xfffff
cmp ecx, 0xfffff
jne 0x6704b5e6
fst qword [esp + 0x64]
movzx ecx, byte [esp + 0x67]
movzx edx, byte [esp + 0x66]
movzx eax, byte [esp + 0x65]
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x64]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
cmp ecx, 0xffffffff
jne 0x6704b5e6
fstp qword [esp + 0x64]
movzx eax, byte [esp + 0x6b]
movzx ecx, byte [esp + 0x6a]
movzx edx, byte [esp + 0x69]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x68]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
and eax, 0x7ff00000
add eax, 0x100000
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x77], dl
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 8
mov byte [esp + 0x76], cl
mov byte [esp + 0x75], dl
mov byte [esp + 0x74], al
mov dword [esp + 0x70], 0
jmp 0x6704b66c
movzx eax, byte [esp + 0x6a]
movzx ecx, byte [esp + 0x69]
movzx edx, byte [esp + 0x68]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
test eax, 0xfffff
jne 0x6704b5e6
fst qword [esp + 0x64]
movzx eax, byte [esp + 0x67]
movzx ecx, byte [esp + 0x66]
movzx edx, byte [esp + 0x65]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x64]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
je 0x6704b473
fst qword [esp + 0x78]
test byte [esp + 0x78], 1
je 0x6704b66a
sub esp, 8
fstp qword [esp]
call fcn.67049ac0
add esp, 8
test ebx, ebx
je 0x6704b60d
fadd qword [esp + 0x70]
fstp qword [esp + 0x70]
jmp 0x6704b66c
fsubr qword [esp + 0x70]
fst qword [esp + 0x70]
fld qword [0x67258a90]
fucompp
fnstsw ax
test ah, 0x44
jp 0x6704b66c
jmp 0x6704b628
fstp st(0)
fldz
mov eax, dword [ebp + 0x10]
fst qword [esp + 0x70]
test eax, eax
je 0x6704b638
mov byte [eax], 0
cmp dword [esp + 0x3c], 0
jne 0x6704b66a
mov esi, dword [esp + 0x20]
jmp 0x6704b6a0
fstp st(0)
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6704b651
mov byte [eax], 0
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x7ff00000
mov dword [esp + 0x70], 0
je 0x6704b698
jmp 0x6704b66c
fstp st(0)
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.MSVCR100.dll_free]
push edx
call esi
mov eax, dword [esp + 0x3c]
push eax
call esi
mov ecx, dword [esp + 0x34]
push ecx
call esi
mov edx, dword [esp + 0x48]
push edx
call esi
mov eax, dword [esp + 0x44]
push eax
call esi
add esp, 0x14
mov esi, dword [esp + 0x20]
fld qword [esp + 0x70]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6704b6a9
mov dword [eax], esi
cmp dword [esp + 0x6c], 0
je 0x6704b6b2
fchs
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret