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

Disassembly:
sub esp, 0x27c
mov eax, dword [ebx + 0x10cbf50]
mov edx, dword [ebx + 0x10cbf58]
mov ecx, dword [ebx + 0x10cbf54]
push ebp
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x10cbf68]
push esi
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x10cbf6c]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x10cbf60]
mov dword [esp + 0x14], eax
sub eax, edx
push edi
mov edi, dword [ebx + 0x10cbf64]
mov dword [esp + 0x1c], ecx
sbb ecx, edi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x10cc078]
mov dword [esp + 0x14], ecx
fild qword [esp + 0x10]
mov esi, dword [ebx + 0x10cbbb4]
mov ebp, dword [ebx + 0x10cbf5c]
mov dword [esp + 0x3c], 0
fstp qword [esp + 0x70]
mov dword [esp + 0x24], esi
fld dword [eax + 0x4ff0]
xor eax, eax
cmp esi, 4
fdivr qword [0x443440]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
fstp qword [esp + 0x78]
jl 0x4161af
lea edi, [esi - 3]
lea ecx, [ebp + 8]
fld dword [ecx - 8]
add eax, 4
fstp qword [esp + eax*8 + 0x68]
add ecx, 0x10
cmp eax, edi
fld dword [ecx - 0x14]
fstp qword [esp + eax*8 + 0x70]
fld dword [ecx - 0x10]
fstp qword [esp + eax*8 + 0x78]
fld dword [ecx - 0xc]
fstp qword [esp + eax*8 + 0x80]
jl 0x416182
mov edi, dword [esp + 0x34]
cmp eax, esi
jge 0x4161c5
fld dword [ebp + eax*4]
add eax, 1
cmp eax, esi
fstp qword [esp + eax*8 + 0x80]
jl 0x4161b3
mov ebp, edx
add ebp, 1
adc edi, 0
cmp edi, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
jg 0x41639d
jl 0x416214
cmp ebp, dword [esp + 0x18]
jb 0x416214
mov ecx, dword [esp + 0x28c]
mov dword [ebx + ecx*4 + 0x10cbf70], 0x64
pop edi
pop esi
pop ebp
add esp, 0x27c
ret 4
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x10cc078]
mov ecx, ebp
sub ecx, edx
mov edx, edi
sbb edx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
fild qword [esp + 0x50]
mov ecx, ebp
sub ecx, dword [esp + 0x30]
fst qword [esp + 0x68]
imul ecx, esi
fdiv dword [eax + 0x4ff0]
xor eax, eax
test esi, esi
mov dword [esp + 0x2c], eax
fsub qword [esp + 0x78]
fstp qword [esp + 0x80]
jle 0x41632e
mov edx, dword [esp + 0x4c]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x28], ecx
jmp 0x416270
fld dword [ecx]
mov ecx, dword [esp + 0x28c]
mov edi, dword [ebx + ecx*4 + 0x10cbff0]
fst qword [esp + eax*8 + 0x188]
cmp edi, dword [ebx + ecx*4 + 0x10cbff4]
jge 0x41630e
fadd qword [esp + eax*8 + 0x88]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ecx, edi
imul ecx, esi
fstp qword [esp + 0x58]
add ecx, eax
lea esi, [edx + ecx*8]
sub ebp, edx
mov eax, dword [esp + 0x48]
fld qword [eax + edi*8]
fmul qword [esp + 0x80]
fst qword [esp + 0x60]
call fcn.0043b520
fmul qword [esp + 0x58]
fadd qword [esi + ebp]
fstp qword [esi + ebp]
fld qword [esp + 0x60]
call fcn.0043b2a0
fmul qword [esp + 0x58]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28c]
fadd qword [esi]
add eax, eax
add eax, eax
add eax, eax
fstp qword [esi]
add edi, 1
add esi, eax
cmp edi, dword [ebx + ecx*4 + 0x10cbff4]
jl 0x4162af
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
jmp 0x416310
fstp st(0)
mov ecx, dword [esp + 0x28]
add eax, 1
add ecx, 4
cmp eax, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jl 0x416270
mov edi, dword [esp + 0x14]
lea eax, [esi*8]
push eax
lea edx, [esp + 0x18c]
push edx
lea eax, [esp + 0x90]
push eax
call fcn.00431210
fld qword [esp + 0x74]
fdiv qword [esp + 0x7c]
add esp, 0xc
fmul qword [0x4434c8]
call fcn.004278f0
cmp eax, dword [esp + 0x3c]
je 0x416379
mov ecx, dword [esp + 0x28c]
mov dword [ebx + ecx*4 + 0x10cbf70], eax
mov dword [esp + 0x3c], eax
add ebp, 1
adc edi, 0
cmp edi, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
jl 0x416210
jg 0x4163bb
cmp ebp, dword [esp + 0x18]
jb 0x416210
mov edx, dword [esp + 0x28c]
mov dword [ebx + edx*4 + 0x10cbf70], 0x64
pop edi
pop esi
pop ebp
add esp, 0x27c
ret 4
mov eax, dword [esp + 0x28c]
pop edi
pop esi
mov dword [ebx + eax*4 + 0x10cbf70], 0x64
pop ebp
add esp, 0x27c
ret 4