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

Disassembly:
mov al, byte [esp + 4]
sub esp, 0x94
test al, al
push ebx
push esi
push edi
mov esi, ecx
je 0x431258
mov eax, dword [esi]
call dword [eax + 0x2c]
mov ecx, dword [0x4c0ca0]
mov edx, dword [ecx]
call dword [edx + 0x108]
mov edi, eax
lea eax, [esp + 0x54]
xor ebx, ebx
push eax
mov ecx, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x64], 0x3f800000
call fcn.00426d30
lea eax, [esi + 0xe88]
mov dword [esi + 0x42ec], ebx
mov ecx, eax
mov edx, 0x14
add ecx, 0x14
dec edx
jne 0x43130c
add eax, 0x10
mov ecx, 0x14
mov edx, dword [eax]
add eax, 0x14
dec edx
dec ecx
mov dword [eax - 0x14], edx
jne 0x43131a
lea eax, [esi + 0x103c]
mov ecx, 0xfa
mov edx, dword [eax]
add eax, 0x34
inc edx
dec ecx
mov dword [eax - 0x34], edx
jne 0x431331
fld dword [esi + 0x28]
fmul dword [0x49ec5c]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x4354]
cmp eax, ebx
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x48]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ebx
jle 0x4315f9
push ebp
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], 0
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x4315cd
mov edx, dword [esp + 0x28]
lea ebp, [edx + 0x14]
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], ecx
mov edx, dword [edi]
lea eax, [esp + 0x64]
lea ecx, [ebp - 0xc]
push eax
push ecx
push ebp
mov ecx, edi
call dword [edx + 0x2c]
test al, al
je 0x43159d
fld dword [esi + 0x28]
fmul dword [0x49e3cc]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [esp + 0x5c]
mov ecx, esi
fadd dword [esi + 0xc80]
fstp dword [esp]
push 0
push edx
push ebx
push eax
call fcn.00433a80
test al, al
je 0x43159d
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
shl ebx, 3
push eax
push ebx
mov ecx, esi
mov dword [esp + 0x9c], edx
call fcn.00431010
add eax, 0x18
mov dword [esp + 0x54], 8
mov dword [esp + 0x34], eax
jmp 0x431448
mov eax, dword [esp + 0x34]
mov edx, dword [edi]
lea ecx, [esp + 0x64]
push ecx
lea ecx, [eax - 0xc]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x2c]
test al, al
je 0x43153b
mov edx, dword [esi + 0xc80]
lea eax, [esp + 0x58]
push edx
push 0
push ebp
push ebx
push eax
mov ecx, esi
call fcn.004339c0
test al, al
je 0x43153b
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0xc80]
imul edi, ebp
push ecx
push 0
push ebp
lea edx, [esp + 0x64]
push ebx
push edx
mov ecx, esi
add edi, ebx
call fcn.00433b50
fabs
fstp dword [esp + 0x50]
xor eax, eax
lea ebp, [esi + 0x1018]
mov dword [esp + 0x30], eax
cmp dword [ebp + 0xc], edi
je 0x4314c7
inc eax
add ebp, 0x34
cmp eax, 0xfa
jl 0x4314b1
mov dword [esp + 0x30], eax
jmp 0x4314fa
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
inc edi
push ecx
push edx
mov ecx, esi
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], eax
mov dword [esp + 0x28], edi
call fcn.004332b0
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x30]
cmp eax, 0xfa
jne 0x431533
mov ecx, esi
call fcn.00431610
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
push eax
push ebx
lea edi, [esi + edx*4 + 0x1018]
mov ecx, esi
push edi
call fcn.00433140
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [edi + 0x28], ecx
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x18]
fld dword [esp + 0x94]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
fadd dword [esi + 0x28]
inc ebx
add ecx, 0x30
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], eax
fstp dword [esp + 0x94]
jne 0x431444
fld dword [esp + 0x9c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
fadd dword [esi + 0x28]
mov ebx, dword [esp + 0x10]
inc edx
inc ebp
dec eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ebp
fstp dword [esp + 0x9c]
mov dword [esp + 0x40], eax
jne 0x431418
mov ebp, dword [esp + 0x44]
fld dword [esp + 0x14]
fadd dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x34]
inc ebx
add edx, 0x20
add ebp, 0x20
cmp ebx, eax
fstp dword [esp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], ebp
jl 0x431392
xor ebx, ebx
fld dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
fadd dword [esp + 0x24]
mov ecx, dword [esi + 0x38]
inc eax
add edx, 8
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
fstp dword [esp + 0x24]
jl 0x431370
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x94
ret 4