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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.00425b00
lea ecx, [esp + 0x40]
call fcn.00425b00
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x4197d784
call fcn.00412650
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x68], ecx
lea eax, [ebp + 8]
lea ecx, [esp + 0x58]
push eax
push ecx
mov dword [esp + 0x74], edx
call fcn.00425d80
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
fstp qword [esp + 0x30]
add esp, 8
lea ecx, [esp + 0x78]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00412650
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x50], edx
lea ecx, [ebp + 8]
lea edx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x5c], eax
call fcn.00425d80
fstp qword [esp + 0x28]
mov esi, dword [ebp + 0x34]
mov edi, dword [ebp + 0x30]
add esp, 8
mov dword [esp + 0x3c], 0
fld qword [ebp + 0x20]
fadd qword [ebp + 0x28]
lea edx, [esp + 0x78]
fmul qword [0x42ae20]
fst qword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
fstp qword [edi]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00412650
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x14]
lea eax, [ebp + 8]
mov dword [esi + 0x14], edx
push eax
push esi
call fcn.00425d80
fst qword [esp + 0x18]
fsub qword [esp + 0x20]
add esp, 8
fabs
fcomp qword [0x42be30]
fld qword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x418818
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4187b9
fld qword [esp + 0x10]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x41878d
fld qword [ebp + 0x20]
fadd qword [edi]
lea eax, [esp + 0x90]
fmul qword [0x42ae20]
fstp qword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00412650
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x68], ecx
lea eax, [ebp + 8]
lea ecx, [esp + 0x58]
push eax
push ecx
mov dword [esp + 0x74], edx
call fcn.00425d80
fstp qword [esp + 0x78]
fld qword [ebp + 0x28]
fadd qword [edi]
add esp, 8
lea ecx, [esp + 0xa8]
fmul qword [0x42ae20]
fstp qword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00412650
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x50], edx
lea ecx, [ebp + 8]
lea edx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x5c], eax
call fcn.00425d80
fcomp qword [esp + 0x78]
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x41879c
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jmp 0x4187f2
fld qword [esp + 0x10]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4187b9
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x4187f2
fld qword [esp + 0x10]
fcomp qword [esp + 0x28]
fld qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x418818
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x418814
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x2c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x18], edx
cmp eax, 0x64
mov dword [esp + 0x3c], eax
jl 0x418605
fld qword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30