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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x290
mov eax, dword [esi + 0x10cbf50]
mov edx, dword [esi + 0x10cbf68]
mov ecx, dword [esi + 0x10cbf60]
and dword [esp + 0x1c], 0
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x10cbf54]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x10cbf58]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x10cbf5c]
push ebx
mov ebx, dword [esi + 0x10cbf6c]
mov dword [esp + 0x14], edx
sub edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x10cbf64]
mov dword [esp + 0x18], ebx
sbb ebx, eax
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x10cc078]
mov dword [esp + 0x10], ebx
fild qword [esp + 0xc]
push edi
mov edi, dword [esi + 0x10cbbb4]
mov dword [esp + 0x28], edi
fstp qword [esp + 0x80]
mov dword [esp + 0x38], ecx
fld dword [edx + 0x4ff0]
xor edx, edx
test edi, edi
fdivr qword [0x441658]
mov dword [esp + 0x3c], eax
fstp qword [esp + 0x88]
jle 0x41339f
mov ebx, dword [esp + 0x2c]
fld dword [ebx + edx*4]
inc edx
cmp edx, edi
fstp qword [esp + edx*8 + 0x90]
jl 0x41338c
mov ebx, ecx
add ebx, 1
adc eax, 0
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jg 0x41357c
jl 0x4133cf
cmp ebx, dword [esp + 0x18]
jae 0x41357c
jmp 0x4133cf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov edx, ebx
sub edx, ecx
sbb eax, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
fild qword [esp + 0x60]
mov eax, dword [esi + 0x10cc078]
and dword [esp + 0xc], 0
fstp qword [esp + 0x70]
fld dword [eax + 0x4ff0]
mov eax, ebx
fdivr qword [esp + 0x70]
sub eax, ecx
fsub qword [esp + 0x88]
imul eax, edi
fstp qword [esp + 0x78]
test edi, edi
jle 0x41350e
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + eax*4]
mov dword [esp + 0x30], eax
fld dword [eax]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [esi + eax*4 + 0x10cbff0]
shl edx, 3
cmp ebx, dword [esi + eax*4 + 0x10cbff4]
lea ecx, [esp + edx + 0x198]
fstp qword [ecx]
mov dword [esp + 0x4c], ecx
jge 0x4134f1
lea eax, [esp + edx + 0x98]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, ebx
imul eax, edi
add eax, dword [esp + 0xc]
lea edi, [edx + eax*8]
mov eax, dword [esp + 0x44]
sub eax, edx
mov dword [esp + 0x50], eax
jmp 0x413479
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
fld qword [eax]
mov eax, dword [esp + 0x48]
fadd qword [ecx]
push ecx
push ecx
fstp qword [esp + 0x60]
fld qword [eax + ebx*8]
fmul qword [esp + 0x80]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fstp qword [esp]
call fcn.00421f30
fstp qword [esp + 0x98]
fld qword [esp + 0x70]
fstp qword [esp]
call fcn.00421c20
fld qword [esp + 0x60]
mov eax, dword [esp + 0x58]
fmul qword [esp + 0x98]
add eax, edi
inc ebx
pop ecx
fadd qword [eax]
pop ecx
fstp qword [eax]
mov eax, dword [esp + 0x28]
shl eax, 3
fmul qword [esp + 0x58]
fadd qword [edi]
fstp qword [edi]
add edi, eax
mov eax, dword [ebp + 8]
cmp ebx, dword [esi + eax*4 + 0x10cbff4]
jl 0x413475
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
inc dword [esp + 0xc]
add eax, 4
cmp dword [esp + 0xc], edi
mov dword [esp + 0x30], eax
jl 0x413421
mov ebx, dword [esp + 0x10]
mov eax, edi
shl eax, 3
push eax
lea eax, [esp + 0x19c]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.004208b0
fld qword [esp + 0x7c]
fdiv qword [esp + 0x8c]
add esp, 0xc
fmul qword [0x4416e0]
call fcn.004248a0
cmp eax, dword [esp + 0x24]
je 0x413556
mov ecx, dword [ebp + 8]
mov dword [esi + ecx*4 + 0x10cbf70], eax
mov dword [esp + 0x24], eax
add ebx, 1
adc dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
jl 0x4133c7
jg 0x41357c
cmp ebx, dword [esp + 0x18]
jb 0x4133c7
mov eax, dword [ebp + 8]
pop edi
mov dword [esi + eax*4 + 0x10cbf70], 0x64
pop ebx
mov esp, ebp
pop ebp
ret 4