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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x4311ac
cmp ebx, edi
jne 0x430f48
lea eax, [esp + 0x78]
push eax
call fcn.00430c90
lea ecx, [esp + 0x44]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [0x585050]
lea eax, [esp + 0x14]
push edx
push eax
push edi
push 0x2004
lea edx, [esp + 0x90]
push ecx
push edx
call fcn.004a7320
add esp, 0x20
cmp eax, edi
jne 0x4313ce
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
and eax, 0xe00
cmp eax, 0x600
jne 0x430f41
fld qword [ecx + 0x40]
fcomp qword [0x584ab0]
fnstsw ax
test ah, 0x41
je 0x430f6d
call fcn.0054719e
jmp 0x430ed4
lea edx, [ebx + 0x30]
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x3c], ecx
mov eax, dword [edx]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
mov edx, dword [edx + 0xc]
mov dword [esp + 0x18], edx
lea eax, [ecx + 0x30]
mov esi, 1
push 0x578628
mov edx, dword [eax]
mov dword [0x578628], edx
mov edx, dword [eax + 4]
mov dword [0x57862c], edx
mov edx, dword [eax + 8]
mov dword [0x578630], edx
mov eax, dword [eax + 0xc]
mov dword [0x578634], eax
mov edx, dword [ecx + 0x40]
mov eax, dword [ecx + 0x44]
mov dword [0x578658], edx
mov dword [0x57865c], eax
mov edx, dword [ecx]
shr edx, 4
and edx, esi
mov dword [0x578610], edx
mov eax, dword [ecx + 0x68]
mov ecx, dword [ecx + 0x6c]
lea edx, [esp + 0x10]
push edx
push 0x5786d8
mov dword [0x578650], eax
mov dword [0x578654], ecx
call fcn.00418960
push 0x5786d8
call fcn.004189e0
mov eax, dword [0x56c228]
add esp, 0x10
cmp eax, 4
mov dword [0x578640], edi
fstp st(0)
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jne 0x43102f
mov ecx, dword [0x578658]
mov edx, dword [0x57865c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0x43103b
fld qword [0x578658]
fadd st(0), st(0)
fstp qword [esp + 0x20]
cmp dword [0x56c240], edi
je 0x4310db
cmp eax, 4
jne 0x4310ae
fld dword [0x56c244]
mov ax, word [0x56cbc0]
push 0x578640
push 8
lea ecx, [esp + 0x34]
sub esp, 8
lea edx, [esp + 0x74]
mov word [esp + 0x74], ax
fstp qword [esp]
push ecx
push edx
call fcn.004109f0
add esp, 0x18
test eax, eax
jne 0x4313c0
mov ecx, dword [0x578640]
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.00442030
fld dword [0x56c244]
fmul qword [0x550f40]
add esp, 8
fadd qword [esp + 0x54]
fstp qword [esp + 0x2c]
jmp 0x4310db
push 0x578640
call fcn.00430da0
add esp, 4
test eax, eax
jne 0x4313c0
fld dword [0x56c244]
fmul qword [0x555b58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
fstp qword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
call fcn.00468eb0
fld st(0)
fcomp qword [0x550f20]
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x431101
fld qword [esp + 0x20]
fdiv st(1)
fstp qword [esp + 0x20]
mov edx, dword [0x56c22c]
push 0x578640
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
fstp st(0)
call fcn.0042f9c0
add esp, 0x1c
test eax, eax
jne 0x4313c0
mov eax, dword [0x578640]
cmp eax, edi
je 0x4311b1
lea edx, [esp + 0x44]
push edx
push eax
call fcn.00442030
fld qword [esp + 0x5c]
fsub qword [esp + 0x4c]
mov eax, dword [0x56c23c]
add esp, 8
cmp eax, edi
fmul qword [0x550f68]
fstp qword [0x578758]
fld qword [esp + 0x44]
fadd qword [esp + 0x54]
fmul qword [0x551128]
fstp qword [esp + 0x2c]
je 0x431182
fld qword [0x551128]
jmp 0x431188
fld qword [0x550f40]
fld dword [0x56c244]
mov ecx, dword [0x578640]
lea eax, [esp + 0x2c]
fmul st(1)
push eax
push ecx
fstp qword [esp + 0x3c]
fstp st(0)
call fcn.004a9e70
add esp, 8
jmp 0x4311b1
mov esi, 1
fld dword [0x56c248]
fadd st(0), st(0)
mov dword [0x5786e8], esi
fcomp qword [0x578658]
fnstsw ax
test ah, 1
jne 0x4311d2
mov dword [0x5786e8], edi
cmp ebx, edi
mov dword [0x578768], 0
mov dword [0x57876c], 0
jne 0x431283
mov eax, dword [0x57862c]
mov ecx, dword [0x578630]
mov edx, dword [0x578628]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [0x581668]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edx
mov edx, dword [0x578634]
push 0x42bef0
push eax
push ecx
mov dword [0x578de0], esi
mov dword [0x578ddc], esi
mov dword [esp + 0x24], edx
call fcn.00455370
add esp, 0xc
cmp eax, 2
mov dword [0x578ddc], edi
mov dword [0x578de0], edi
je 0x4313c0
cmp eax, edi
je 0x431261
cmp dword [ebp + 8], edi
jne 0x4313ce
jmp 0x430ed4
mov eax, dword [0x584c60]
cmp eax, 3
je 0x43126f
cmp eax, esi
jne 0x4312bb
lea edx, [esp + 0xc]
push esi
push edx
call fcn.0042bff0
lea eax, [esp + 0x14]
push 2
push eax
jmp 0x4312b3
lea ecx, [ebx + 0x20]
push esi
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x20], eax
call fcn.0042bff0
lea edx, [esp + 0x14]
push 2
push edx
call fcn.0042bff0
add esp, 0x10
cmp dword [0x578638], edi
je 0x4312e0
mov eax, dword [0x57876c]
mov ecx, dword [0x578768]
mov edx, dword [0x578640]
push edi
push eax
push ecx
push edx
call fcn.004a9d60
add esp, 0x10
mov eax, dword [0x578640]
push 0x578680
push eax
call fcn.004a9e70
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
push ecx
call fcn.004313e0
add esp, 0xc
test eax, eax
jne 0x4313c0
cmp dword [ebp + 8], edi
je 0x431313
call fcn.0042bb10
mov edx, dword [esp + 0x1c]
push edi
push edx
call fcn.004309a0
mov eax, dword [esp + 0x24]
add esp, 8
cmp ebx, edi
je 0x43132c
mov dword [ebx + 0x70], eax
push eax
call fcn.00433300
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4313b2
mov edx, dword [0x578680]
lea eax, [esi + 0x54]
mov ecx, eax
push 0xbff00000
push edi
push eax
mov dword [ecx], edx
mov edx, dword [0x578684]
mov dword [ecx + 4], edx
mov edx, dword [0x578688]
mov dword [ecx + 8], edx
mov edx, dword [0x57868c]
mov dword [ecx + 0xc], edx
call fcn.00418af0
mov ecx, dword [0x578628]
lea eax, [esi + 0x64]
add esp, 0xc
mov dword [eax], ecx
mov edx, dword [0x57862c]
mov dword [eax + 4], edx
mov ecx, dword [0x578630]
mov dword [eax + 8], ecx
mov edx, dword [0x578634]
mov dword [eax + 0xc], edx
mov eax, dword [0x578610]
mov dword [esi + 0x18], eax
fld qword [0x578658]
fstp dword [esi + 0x2c]
fld qword [0x578650]
fstp dword [esi + 0x30]
cmp dword [ebp + 8], edi
jne 0x4313cc
cmp ebx, edi
jne 0x4313cc
jmp 0x430ed4
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret