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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x10cbf50]
mov ecx, dword [ebx + 0x10cbf54]
mov edx, dword [ebx + 0x10cbf58]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x10cbf5c]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10cbf68]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x10cbf6c]
push edi
mov edi, dword [ebx + 0x10cbf60]
mov dword [esp + 0x28], eax
sub eax, edi
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x10cbf64]
mov dword [esp + 0x2c], ecx
sbb ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fild qword [esp + 0x10]
mov ecx, dword [ebx + 0x10cc078]
mov esi, dword [ebx + 0x10cbbb4]
xor eax, eax
cmp esi, 4
fstp qword [esp + 0x70]
fld dword [ecx + 0x4ff0]
mov dword [esp + 0x3c], 0
fdivr qword [0x43d8c0]
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edx
fstp qword [esp + 0x78]
jl 0x41525b
mov ecx, dword [esp + 0x1c]
lea edi, [esi - 3]
add ecx, 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 0x41522e
mov edi, dword [esp + 0x20]
cmp eax, esi
jge 0x415275
nop
mov ecx, dword [esp + 0x1c]
fld dword [ecx + eax*4]
add eax, 1
cmp eax, esi
fstp qword [esp + eax*8 + 0x80]
jl 0x415260
add edi, 1
mov eax, edx
adc eax, 0
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jg 0x41543d
jl 0x4152b8
cmp edi, dword [esp + 0x28]
jb 0x4152b8
mov ecx, dword [ebp + 8]
mov dword [ebx + ecx*4 + 0x10cbf70], 0x64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, edi
sub ecx, dword [esp + 0x20]
sbb eax, edx
mov edx, dword [ebx + 0x10cc078]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
fild qword [esp + 0x50]
mov ecx, edi
sub ecx, dword [esp + 0x20]
xor eax, eax
fst qword [esp + 0x68]
imul ecx, esi
fdiv dword [edx + 0x4ff0]
test esi, esi
mov dword [esp + 0x34], eax
fsub qword [esp + 0x78]
fstp qword [esp + 0x80]
jle 0x4153ce
mov edx, dword [esp + 0x1c]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x30], ecx
lea esp, [esp]
fld dword [ecx]
mov ecx, dword [ebp + 8]
mov edi, dword [ebx + ecx*4 + 0x10cbff0]
fst qword [esp + eax*8 + 0x188]
cmp edi, dword [ebx + ecx*4 + 0x10cbff4]
jge 0x4153ae
fadd qword [esp + eax*8 + 0x88]
mov edx, dword [esp + 0x38]
mov ecx, edi
imul ecx, esi
fstp qword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x4c]
sub eax, edx
lea esi, [edx + ecx*8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
fld qword [eax + edi*8]
fmul qword [esp + 0x80]
fst qword [esp + 0x60]
call fcn.00425410
fmul qword [esp + 0x58]
mov eax, dword [esp + 0x48]
fadd qword [eax + esi]
fstp qword [eax + esi]
fld qword [esp + 0x60]
call fcn.00424ee0
fmul qword [esp + 0x58]
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
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 0x415353
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
jmp 0x4153b0
fstp st(0)
mov ecx, dword [esp + 0x30]
add eax, 1
add ecx, 4
cmp eax, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
jl 0x415310
mov edi, dword [esp + 0x10]
lea eax, [esi*8]
push eax
lea edx, [esp + 0x18c]
push edx
lea eax, [esp + 0x90]
push eax
call fcn.00425060
fld qword [esp + 0x74]
fdiv qword [esp + 0x7c]
add esp, 0xc
fmul qword [0x43d7d0]
call fcn.00423f00
cmp eax, dword [esp + 0x3c]
je 0x415415
mov ecx, dword [ebp + 8]
mov dword [ebx + ecx*4 + 0x10cbf70], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
add edi, 1
adc eax, 0
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jl 0x4152b0
jg 0x415454
cmp edi, dword [esp + 0x28]
jb 0x4152b0
mov edx, dword [ebp + 8]
mov dword [ebx + edx*4 + 0x10cbf70], 0x64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [ebx + eax*4 + 0x10cbf70], 0x64
pop ebx
mov esp, ebp
pop ebp
ret 4