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

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x64]
cmp byte [ebp + 0x1090], 0
push esi
push edi
mov edi, dword [esp + 0x70]
mov esi, eax
jne 0x655fd2
cmp dword [ebp + 0x18], 0
je 0x655fd2
cmp dword [ebp + 0x14], 0
je 0x655fd2
lea ebx, [ebp + 0xffd]
mov ecx, esi
mov eax, ebx
call fcn.00408a40
fld qword [esi + 0x40]
fstp qword [ebx + 0x40]
fld qword [esi + 0x48]
fstp qword [ebx + 0x48]
fld qword [esi + 0x50]
fstp qword [ebx + 0x50]
mov al, byte [esi + 0x58]
fldz
mov byte [ebx + 0x58], al
fcomp qword [ebp + 0x103d]
fnstsw ax
test ah, 0x44
jp 0x655fb8
fld qword [0x7237b8]
fstp qword [ebp + 0x103d]
mov ecx, dword [ebp + 0x18]
xor edi, edi
push edi
push ecx
call fcn.00604990
cmp eax, edi
mov dword [ebp + 0x1070], eax
jne 0x655fe5
mov edi, dword [esp + 0x70]
push 2
call fcn.0067f880
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
mov edx, dword [ebp + 0x1358]
push edx
call fcn.00604cf0
cmp eax, edi
mov dword [ebp + 0x1064], eax
je 0x655fce
mov eax, dword [ebp + 0x1070]
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 0x1358]
mov dword [ebp + 0x1068], eax
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 0x1068]
mov dword [edx + 8], edi
mov eax, dword [ebp + 0xbe3]
cmp eax, 0x13
je 0x656033
cmp eax, 0x14
je 0x656033
mov byte [esp + 0x6c], 0
jmp 0x656048
mov eax, dword [ebp + 0x1068]
mov byte [esp + 0x6c], 1
mov dword [eax + 0x348], 0xf
mov ecx, dword [ebp + 0x1068]
mov eax, dword [ecx + 0x30]
call fcn.00604550
mov edx, dword [ebp + 0x1068]
mov dword [edx + 0x328], eax
cmp byte [ebp + 0x159c], 0
je 0x6560ae
mov ecx, dword [ebp + 0x1358]
sub ecx, 5
cmp ecx, 0x88
ja 0x6560ae
mov eax, dword [ebp + 0x1005]
fld qword [ebp + 0x103d]
imul eax, dword [ebp + 0x1001]
push eax
mov eax, dword [ebp + 0x1594]
sub esp, 8
lea edx, [ebp + 0x1368]
lea esi, [ebp + 0x1364]
fstp qword [esp]
push edx
call fcn.0064a240
mov eax, dword [ebp + 0x1360]
cmp eax, 1
jne 0x65614e
mov eax, dword [ebp + 0x1358]
cmp eax, 0x8d
je 0x6560f2
cmp eax, 0xa9
je 0x6560f2
mov eax, dword [ebp + 0x1068]
or dword [eax + 0x58], 2
mov eax, dword [ebp + 0x1594]
mov ecx, dword [ebp + 0x1068]
imul eax, eax, 0x76
mov dword [ecx + 0x50], eax
jmp 0x65624f
mov edx, dword [ebp + 0x1068]
mov dword [edx + 0x1f4], edi
mov eax, dword [ebp + 0x1068]
mov dword [eax + 0x1f8], 0x3f
mov eax, dword [ebp + 0x1358]
cmp eax, 0xa9
jne 0x656129
mov ecx, dword [ebp + 0x1068]
mov dword [ecx + 0x48], edi
jmp 0x65624f
cmp eax, 0x8d
jne 0x65624f
mov edx, dword [ebp + 0x1368]
mov eax, dword [ebp + 0x1068]
imul edx, edx, 0x3e8
mov dword [eax + 0x48], edx
jmp 0x65624f
cmp eax, edi
jne 0x65624f
mov ecx, dword [ebp + 0x1364]
mov edx, dword [ebp + 0x1068]
imul ecx, ecx, 0x3e8
mov dword [edx + 0x48], ecx
mov eax, dword [ebp + 0x1068]
mov dword [eax + 0x220], edi
mov eax, dword [ebp + 0x1364]
cmp dword [ebp + 0x1368], eax
jae 0x65618e
lea ecx, [eax + eax]
mov dword [ebp + 0x1368], ecx
mov edx, dword [ebp + 0x1368]
mov eax, dword [ebp + 0x1068]
imul edx, edx, 0x3e8
mov dword [eax + 0x21c], edx
mov eax, dword [ebp + 0xbe3]
cmp eax, 0x13
jne 0x6561d3
mov eax, dword [ebp + 0x9d]
call fcn.0064a170
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp + 0x1068]
imul ecx, ecx, 0x3e8
mov dword [edx + 0x20c], ecx
jmp 0x656214
cmp eax, 0x14
jne 0x6561fa
mov eax, dword [ebp + 0x4b5]
call fcn.0064a190
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp + 0x1068]
imul eax, eax, 0x3e8
mov dword [ecx + 0x20c], eax
jmp 0x656214
mov esi, dword [ebp + 0x1068]
fild dword [esi + 0x48]
fmul qword [0x723b30]
call fcn.006b24a0
mov dword [esi + 0x20c], eax
mov ecx, dword [ebp + 0x1068]
cmp dword [ecx + 0x234], edi
jne 0x65623a
mov eax, dword [ecx + 0x20c]
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ecx + 0x234], eax
mov edx, dword [ebp + 0x1368]
mov eax, dword [ebp + 0x1068]
imul edx, edx, 0x3e8
mov dword [eax + 0x4c], edx
cmp byte [ebp + 0x1376], 0
je 0x656336
mov ecx, dword [ebp + 0x1068]
mov dword [ecx + 0x20c], 0x1c0000
mov edx, dword [ebp + 0x18]
mov dword [edx + 0x430], 0x99cf00
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x434], 0x800
mov ecx, dword [ebp + 0x1068]
mov dword [ecx + 0x2a8], 1
mov edx, dword [ebp + 0x1134]
push edx
call fcn.0069c8fa
add esp, 4
call fcn.004c90f0
and eax, 0xfffffffe
cmp eax, 0x3d0900
jae 0x6562b8
xor eax, eax
jmp 0x6562ca
push 0x734220
push 0x1e8480
call fcn.0069c1fd
add esp, 8
mov dword [ebp + 0x1134], eax
xor eax, eax
mov dword [ebp + 0x1138], eax
mov dword [ebp + 0x1118], eax
mov dword [ebp + 0x111c], eax
mov dword [ebp + 0x1120], eax
mov dword [ebp + 0x1124], eax
mov dword [ebp + 0x1140], eax
mov byte [ebp + 0x1144], al
mov dword [ebp + 0x1354], eax
lea eax, [ebp + 0xdf4]
lea edi, [ebp + 0x1146]
mov dword [ebp + 0x1128], 0x3ffff800
call fcn.004ad090
cmp byte [ebp + 0x137b], 0
jne 0x65632d
mov byte [ebp + 0x137b], 1
mov byte [ebp + 0x134e], 0
xor edi, edi
mov ecx, dword [ebp + 0x1588]
cmp ecx, edi
je 0x656361
mov eax, dword [ebp + 0x158c]
cmp eax, edi
je 0x656361
mov dword [ebp + 0x1005], eax
mov eax, 1
mov dword [ebp + 0x1001], ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
cmp byte [ebp + 0x1376], 0
jne 0x656377
cmp dword [ebp + 0x1358], 0x19
jne 0x656411
cmp byte [ebp + 0x1377], 0
mov dword [ebp + 0x1001], 0x2d0
je 0x65639c
fld qword [0x7235f8]
mov dword [ebp + 0x1005], 0x240
jmp 0x6563ac
fld qword [0x723858]
mov dword [ebp + 0x1005], 0x1e0
cmp byte [ebp + 0x137a], 0
fstp qword [ebp + 0x103d]
lea ecx, [esp + 0x18]
je 0x6563d1
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], 9
jmp 0x6563e1
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 3
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
sub esp, 8
mov eax, esp
mov dword [eax + 4], ecx
mov dword [eax], edx
mov edx, dword [ebp + 0x1005]
mov eax, dword [ebp + 0x1001]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.006412c0
mov ecx, eax
mov esi, ebx
call fcn.004d0cb0
mov eax, dword [ebp + 0x1358]
cmp eax, 0x6c
jne 0x656428
fild dword [ebp + 0xbdf]
fstp qword [ebp + 0x103d]
cmp eax, 0x16
jne 0x65644c
fld qword [0x723dd8]
fcomp qword [ebp + 0x103d]
fnstsw ax
test ah, 0x41
jp 0x65644c
fld qword [0x723820]
fstp qword [ebp + 0x103d]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov edi, 0x71ea08
mov esi, eax
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x656487
mov edi, 0x71ea0c
mov esi, eax
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x656487
mov esi, eax
mov edi, 0x71ea10
mov ecx, 4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x65648e
mov ecx, ebx
call fcn.004d3ff0
cmp byte [ebp + 0x1590], 0
mov edx, 1
je 0x6564c2
fld qword [0x723858]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], edx
fstp qword [ebp + 0x103d]
mov dword [ebp + 0x1001], 0x140
mov dword [ebp + 0x1005], 0xf0
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
mov edi, 0x71ea14
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x6564ee
mov eax, 0xfffffffc
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], edx
and dword [ebp + 0x1001], eax
and dword [ebp + 0x1005], eax
mov eax, dword [ebp + 0x1358]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x656503.3
movzx ecx, byte [eax + 0x6569a0]
jmp dword [ecx*4 + 0x656990]
mov eax, dword [ebp + 0x1001]
test al, 1
je 0x65652f
add eax, 1
mov dword [ebp + 0x1001], eax
jmp 0x65652f
cmp byte [ebp + 0x1376], 0
jne case.0x656503.3
and dword [ebp + 0x1001], 0xfffffff0
mov eax, dword [ebp + 0x1005]
test al, 1
je case.0x656503.3
add eax, 1
mov dword [ebp + 0x1005], eax
jmp case.0x656503.3
mov eax, dword [ebp + 0x1001]
test al, 1
je case.0x656503.3
add eax, 1
mov dword [ebp + 0x1001], eax
cmp byte [esp + 0x6c], 0
je 0x65656e
lea edx, [ebp + 0x1c]
push edx
mov ecx, ebx
call fcn.0064a1b0
mov edx, 1
mov eax, dword [ebp + 0x1068]
mov ecx, dword [ebp + 0x1001]
mov dword [eax + 0x78], ecx
mov eax, dword [ebp + 0x1068]
mov ecx, dword [ebp + 0x1005]
mov dword [eax + 0x7c], ecx
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x6565e1
mov eax, dword [ebp + 0x1009]
cmp eax, 0xff
mov ecx, dword [ebp + 0x100d]
jg 0x6565db
cmp ecx, 0xff
jg 0x6565db
mov edx, dword [ebp + 0x1068]
mov dword [edx + 0xe0], eax
mov edx, dword [ebp + 0x1068]
mov dword [edx + 0xe4], ecx
mov edx, dword [ebp + 0x1070]
mov dword [edx + 0x50], eax
mov eax, dword [ebp + 0x1070]
mov dword [eax + 0x54], ecx
jmp 0x6565e1
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], edx
mov eax, dword [ebp + 0x18]
or dword [eax + 0x43c], 5
cmp byte [ebp + 0x1379], 0
je 0x656601
mov eax, dword [ebp + 0x18]
or dword [eax + 0x43c], 0x20040000
fld1
sub esp, 8
fdiv qword [ebp + 0x103d]
fstp qword [esp]
push 0xf4628
call fcn.00605500
mov ecx, dword [ebp + 0x1068]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp + 0x1068]
cmp dword [eax + 0x30], 0xd
jne 0x65665e
cmp dword [eax + 0x6c], 0xffff
jle 0x65665e
fld1
sub esp, 8
fdiv qword [ebp + 0x103d]
fstp qword [esp]
push 0xffff
call fcn.00605500
mov ecx, dword [ebp + 0x1068]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov ecx, dword [ebp + 0x1068]
mov edx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x1064]
mov esi, dword [edx + 0x14]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x10], eax
je 0x6567af
mov eax, 0x3e9
mov edx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x30]
cmp eax, edx
mov dword [esp + 0x20], 0x5dc0
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x19
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0x7530
mov dword [esp + 0x40], 0x1e
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x32
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0xea60
mov dword [esp + 0x58], 0x3c
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
je 0x656703
cmp eax, 2
jne 0x656707
lea esi, [esp + 0x20]
fld qword [0x7237d8]
xor ecx, ecx
cmp dword [esi], edi
fldz
fld st(0)
je 0x656790
mov eax, esi
jmp 0x65671d
fxch st(2)
mov edx, dword [eax + 4]
test edx, edx
je 0x656790
mov ebx, dword [esp + 0x10]
cmp ebx, dword [eax]
jne 0x656732
cmp dword [esp + 0x14], edx
je 0x65678e
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fidiv dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x656790
fxch st(2)
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x656770
fld st(2)
fsub qword [ebp + 0x103d]
fabs
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x65677e
fstp st(0)
mov edi, ecx
fld st(1)
fsub qword [ebp + 0x103d]
fabs
add ecx, 1
cmp dword [esi + ecx*8], 0
lea eax, [esi + ecx*8]
jne 0x65671b
fstp st(2)
jmp 0x656792
mov edi, ecx
fstp st(0)
mov eax, dword [ebp + 0x1068]
fstp st(1)
mov ecx, dword [esi + edi*8 + 4]
fstp st(0)
mov dword [eax + 0x68], ecx
mov edx, dword [ebp + 0x1068]
mov eax, dword [esi + edi*8]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp + 0x1068]
cmp dword [eax + 0x6c], 0
jne 0x6567c2
mov dword [eax + 0x6c], 1
cmp dword [ebp + 0x1360], 0
jne 0x656846
mov eax, dword [ebp + 0x1068]
cmp dword [eax + 0x30], 0x1a
jne 0x6567e8
mov ecx, dword [eax + 0x7c]
imul ecx, dword [eax + 0x78]
add ecx, ecx
add ecx, ecx
mov dword [eax + 0x20c], ecx
cmp byte [esp + 0x6c], 0
mov esi, dword [ebp + 0x1068]
je 0x656826
mov edx, dword [esi + 0x68]
fild dword [esi + 0x20c]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fidiv dword [esp + 0x1c]
fdivp st(1)
call fcn.006b24a0
mov ecx, dword [esi + 0x48]
cmp ecx, eax
jge 0x656821
mov eax, ecx
mov dword [esi + 0x48], eax
jmp 0x656846
fild dword [esi + 0x48]
fdiv qword [ebp + 0x103d]
call fcn.006b24a0
mov ecx, dword [esi + 0x20c]
cmp ecx, eax
jle 0x656840
mov eax, ecx
mov dword [esi + 0x20c], eax
mov ecx, dword [ebp + 0x1064]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x656857
mov eax, dword [eax]
jmp 0x656859
xor eax, eax
mov edx, dword [ebp + 0x1068]
mov dword [edx + 0x8c], eax
mov esi, dword [ebp + 0x1068]
mov eax, dword [esi + 0x30]
cmp eax, 0x19
je 0x6568a8
cmp eax, 2
je 0x6568a8
mov eax, dword [ebp + 0x1064]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x6568a8
mov ecx, dword [edx]
cmp ecx, 0xffffffff
je 0x6568a8
mov eax, dword [ebp + 0xffd]
call fcn.0065e340
cmp eax, ecx
je 0x6568a2
add edx, 4
jne 0x656885
jmp 0x6568a8
mov dword [esi + 0x8c], ecx
cmp byte [ebp + 0x1376], 0
je 0x6568de
cmp byte [ebp + 0x1377], 0
je 0x6568cc
mov edx, dword [ebp + 0x1068]
mov dword [edx + 0x88], 0xf
jmp 0x656918
mov eax, dword [ebp + 0x1068]
mov dword [eax + 0x88], 0x12
jmp 0x656918
mov ecx, dword [ebp + 0x1068]
mov eax, dword [ecx + 0x30]
cmp eax, 6
jl 0x65690e
cmp eax, 7
jle 0x656902
cmp eax, 0xd
jne 0x65690e
mov dword [ecx + 0x88], 0x12c
jmp 0x656918
mov dword [ecx + 0x88], 1
jmp 0x656918
mov dword [ecx + 0x88], 0xc
mov eax, dword [ebp + 0x1068]
mov ecx, dword [eax + 0x30]
mov edx, 2
cmp ecx, edx
jne 0x656932
mov dword [eax + 0x9c], edx
jmp 0x65693d
cmp ecx, 1
jne 0x65693d
mov dword [eax + 0x128], edx
cmp dword [ebp + 0x1360], 0
jne 0x656974
cmp byte [esp + 0x6c], 0
jne 0x656974
mov esi, dword [ebp + 0x1068]
fild dword [esi + 0x48]
fdiv qword [ebp + 0x103d]
fild dword [esi + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x656972
call fcn.006b24a0
mov dword [esi + 0x4c], eax
jmp 0x656974
fstp st(0)
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
push ecx
push esi
push ebp
call fcn.006587d0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc