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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x4321ff
cmp edi, ebx
jne 0x43223e
lea eax, [esp + 0xc8]
push eax
call fcn.00430c90
mov eax, dword [0x585050]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x1c]
push 0x578648
push edx
push ebx
push 0x2004
lea ecx, [esp + 0xe0]
push eax
push ecx
call fcn.004a7320
add esp, 0x20
cmp eax, ebx
jne 0x4327e3
mov edx, dword [0x578648]
mov eax, dword [edx]
and eax, 0xe00
cmp eax, 0x400
je 0x4321a2
call fcn.0054719e
jmp 0x432134
mov eax, dword [0x585050]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [0x58167c]
lea edx, [esp + 0x38]
push 0x578644
push edx
push ebx
push 0x2004
push eax
push ecx
call fcn.004a7320
add esp, 0x1c
cmp eax, 2
je 0x4327d5
cmp eax, ebx
jne 0x432134
mov edx, dword [0x578644]
mov eax, dword [edx]
and eax, 0xe00
cmp eax, 0x400
je 0x43227a
call fcn.0054719e
jmp 0x432134
lea ecx, [esi + 0x34]
mov edx, dword [esi + 0x34]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esi + 0x44]
mov dword [esp + 0x20], eax
mov edx, dword [ecx]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x40], eax
jmp 0x43227a
mov eax, dword [edi + 0x44]
lea edx, [esp + 0x14]
push edx
mov dword [0x578648], eax
mov ecx, dword [edi + 0x48]
push 0x3fe00000
push ebx
push eax
mov dword [0x578644], ecx
call fcn.00440080
mov ecx, dword [0x578644]
lea eax, [esp + 0x44]
push eax
push 0x3fe00000
push ebx
push ecx
call fcn.00440080
add esp, 0x20
mov eax, dword [0x578648]
push 0x578660
lea edx, [eax + 0x10]
add eax, 0x30
mov ecx, dword [edx]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x88], edx
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x90], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [0x578644]
mov dword [esp + 0x98], edx
lea ecx, [eax + 0x10]
add eax, 0x30
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x64], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [eax]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x5c]
mov edx, dword [eax + 8]
push ecx
mov dword [esp + 0x78], edx
lea edx, [esp + 0x80]
mov eax, dword [eax + 0xc]
push edx
mov dword [esp + 0x80], eax
call fcn.0045eaa0
add esp, 0xc
test eax, eax
jne 0x432344
call fcn.0054719e
cmp esi, ebx
jne 0x4327c9
jmp 0x432134
lea eax, [esp + 0x14]
push 0x578660
push eax
push 0x5785f0
call fcn.00418960
push 0x5785f0
call fcn.004189e0
lea ecx, [esp + 0x44]
push 0x578660
push ecx
push 0x5785e0
fstp st(0)
call fcn.00418960
push 0x5785e0
call fcn.004189e0
push 0x5785e0
push 0x5785f0
fstp st(0)
call fcn.00418ab0
call fcn.00547db0
fmul qword [0x550f60]
push 0x5785e0
push 0x5785f0
mov dword [0x5786ec], ebx
fstp qword [0x578650]
call fcn.00418ad0
fcomp qword [0x550f20]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x4323e5
fld qword [0x550f28]
fsub qword [0x578650]
mov dword [0x5786ec], 1
fstp qword [0x578650]
cmp esi, ebx
jne 0x43250e
lea edx, [esp + 0x34]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x9c]
push eax
push ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [0x578640], ebx
call fcn.004189a0
push 0x3fe00000
lea edx, [esp + 0xa8]
push ebx
push edx
call fcn.00418af0
mov edx, dword [0x56c230]
push 0x578640
lea eax, [esp + 0xb4]
push edi
lea ecx, [esp + 0x64]
push eax
mov eax, dword [0x578654]
push ecx
mov ecx, dword [0x578650]
push edx
push eax
push ecx
call fcn.0042f9c0
add esp, 0x34
test eax, eax
jne 0x4327d5
mov eax, dword [0x578640]
cmp eax, ebx
je 0x43250e
lea edx, [esp + 0xa8]
push edx
push eax
call fcn.00442030
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xc0]
push eax
push ecx
push 0x578600
call fcn.00418960
fld qword [0x578600]
fmul qword [0x550f68]
mov eax, dword [0x56c23c]
add esp, 0x14
cmp eax, ebx
fstp qword [0x578758]
fld qword [esp + 0xa8]
fadd qword [esp + 0xb8]
fmul qword [0x551128]
fstp qword [esp + 0x44]
je 0x4324e7
fld qword [0x551128]
jmp 0x4324ed
fld qword [0x550f40]
fld dword [0x56c244]
mov eax, dword [0x578640]
lea edx, [esp + 0x44]
fmul st(1)
push edx
push eax
fstp qword [esp + 0x54]
fstp st(0)
call fcn.004a9e70
add esp, 8
lea ecx, [esp + 0x34]
push 0x578660
push ecx
mov dword [0x578768], 0
mov dword [0x57876c], 0
call fcn.00418a80
fstp qword [0x578658]
fld dword [0x56c248]
fadd st(0), st(0)
add esp, 8
cmp edi, ebx
fstp qword [0x578760]
fld dword [0x56c244]
fmul qword [0x550f68]
fstp qword [0x578748]
jne 0x4325d8
mov eax, dword [0x581668]
lea edx, [esp + 0x14]
push 0x42bef0
push edx
push eax
mov dword [0x578de0], 1
call fcn.00455370
add esp, 0xc
cmp eax, 2
mov dword [0x578de0], ebx
je 0x4327d5
cmp eax, ebx
je 0x4325a0
cmp esi, ebx
jne 0x4327e3
jmp 0x432134
mov eax, dword [0x584c60]
cmp eax, 3
je 0x4325af
cmp eax, 1
jne 0x4325ca
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.0042bff0
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0042bff0
add esp, 0x10
cmp dword [0x5786d0], ebx
jne 0x432134
jmp 0x432604
lea esi, [edi + 0x30]
push 1
push esi
call fcn.0042bff0
push 2
push esi
call fcn.0042bff0
lea esi, [edi + 0x20]
push 1
push esi
call fcn.0042bff0
push 2
push esi
call fcn.0042bff0
mov esi, dword [ebp + 8]
add esp, 0x20
mov eax, dword [0x578680]
mov ecx, dword [0x578684]
mov edx, dword [0x578688]
mov dword [esp + 0x24], eax
mov eax, dword [0x57868c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov eax, dword [0x56c23c]
cmp eax, ebx
mov dword [esp + 0x2c], edx
jne 0x432651
cmp dword [0x578804], ebx
je 0x432651
fld dword [0x56c244]
fmul qword [0x555b40]
fsubr qword [0x578688]
fstp qword [esp + 0x2c]
mov edx, dword [0x578640]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004a9e70
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
call fcn.00431890
add esp, 0xc
test eax, eax
jne 0x4327d5
cmp esi, ebx
je 0x432684
call fcn.0042bb10
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call fcn.004309a0
mov eax, dword [esp + 0x18]
add esp, 8
cmp edi, ebx
je 0x43269d
mov dword [edi + 0x70], eax
push eax
call fcn.00433300
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4327bb
mov eax, dword [0x578670]
lea edx, [esi + 0x34]
push 0xbff00000
push ebx
mov dword [edx], eax
mov ecx, dword [0x578674]
mov dword [edx + 4], ecx
mov eax, dword [0x578678]
mov dword [edx + 8], eax
mov ecx, dword [0x57867c]
mov dword [edx + 0xc], ecx
mov eax, dword [0x578690]
lea edx, [esi + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [0x578694]
mov dword [edx + 4], ecx
mov eax, dword [0x578698]
mov dword [edx + 8], eax
mov ecx, dword [0x57869c]
lea eax, [esi + 0x54]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov edx, eax
push eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
call fcn.00418af0
mov edx, dword [0x578648]
lea eax, [esi + 0x84]
add edx, 0x10
add esp, 0xc
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
lea ecx, [esi + 0x94]
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [0x578644]
add eax, 0x10
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
lea edx, [esi + 0xa4]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x578648]
add ecx, 0x20
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [0x578644]
add edx, 0x20
add esi, 0xb4
mov eax, dword [edx]
mov dword [esi], eax
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov ecx, dword [edx + 0xc]
mov dword [esi + 0xc], ecx
cmp dword [ebp + 8], ebx
jne 0x4327e1
cmp edi, ebx
jne 0x4327e1
jmp 0x432134
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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