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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
fld qword [ebp + 0x18]
fsub qword [ebp + 8]
fld qword [ebp + 0x20]
fsub qword [ebp + 0x10]
push ebx
push esi
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
faddp st(1)
mov ecx, dword [edi + 0xcc]
mov dword [esp + 0x40], ecx
fabs
fcomp qword [0x42bea0]
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
je 0x418f67
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ebx, 1
cmp ecx, ebx
jle 0x41914a
mov esi, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
sub eax, esi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x30]
sub eax, esi
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc8]
mov ecx, dword [esp + 0x10]
add eax, ecx
mov edx, dword [eax - 0x18]
mov ecx, dword [eax - 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [eax - 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
fld qword [esp + 0x30]
fsub qword [esp + 0x18]
fld qword [esp + 0x38]
fsub qword [esp + 0x20]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fabs
fcomp qword [0x42bea0]
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x419132
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.0040bef0
add esp, 0x4c
cmp eax, 1
jne 0x419132
lea ecx, [esp + 0x58]
call fcn.00425b00
lea ecx, [esp + 0x78]
call fcn.00425b00
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.00425b20
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [edi + 0xdc]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x78]
lea eax, [ecx + ebx*8]
push edx
lea ecx, [esp + 0x74]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [eax - 4]
mov eax, dword [eax - 8]
push ecx
push edx
push eax
lea edx, [esp + 0x70]
sub esp, 0x18
mov ecx, esp
push edx
call fcn.00425b50
mov ecx, edi
call fcn.00418520
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
fstp st(0)
fld qword [esp + 0x48]
fstp qword [eax + esi]
fld qword [esp + 0x70]
mov eax, dword [esp + 0x54]
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], edx
fstp qword [eax + esi]
inc ecx
add esi, 8
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
inc ebx
add ecx, 0x18
cmp ebx, eax
mov dword [esp + 0x10], ecx
jl 0x418f91
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c