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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x7c
push ebx
mov ebx, eax
mov al, byte [esi + 0x19]
test al, al
je 0x4b8116
inc byte [esi + 0x1b]
mov eax, dword [esi]
mov byte [esi + 0x19], 0
fld dword [eax + 0x18]
fchs
mov ecx, dword [edi + 4]
fld dword [eax + 0x18]
mov edx, ecx
fxch st(1)
sar edx, 0x1f
fadd dword [eax + 0x48]
mov edx, dword [edi]
test edx, edx
mov dword [esp + 0x1c], 0
fstp dword [esp + 0x10]
mov dword [esp + 0x2c], 0
fld dword [eax + 0x4c]
fstp dword [esp + 0x14]
fld dword [eax + 0x50]
fstp dword [esp + 0x18]
fadd dword [eax + 0x48]
fstp dword [esp + 0x20]
fld dword [eax + 0x4c]
fstp dword [esp + 0x24]
fld dword [eax + 0x50]
mov dword [esp + 0x78], 0
fstp dword [esp + 0x28]
fild dword [edi]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
jge 0x4b81f6
fadd dword [0x5befa4]
test ecx, ecx
fmul dword [0x5bf014]
je 0x4b821e
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
jge 0x4b8210
fadd dword [0x5befa4]
fmul dword [0x5bf010]
fmul dword [0x5bf00c]
faddp st(1)
fld st(0)
lea ecx, [esp + 0x40]
fmul dword [eax + 0x68]
fstp dword [esp + 0x30]
fld dword [eax + 0x6c]
fmul st(1)
fstp dword [esp + 0x34]
fmul dword [eax + 0x70]
fadd dword [eax + 0x60]
fld dword [eax + 0x5c]
fadd dword [esp + 0x34]
fld dword [esp + 0x30]
fadd dword [eax + 0x58]
lea eax, [esp + 0x30]
push eax
push ecx
fstp dword [esp + 0x38]
mov dword [esp + 0x44], 0
fstp dword [esp + 0x3c]
fstp dword [esp + 0x40]
call fcn.004213f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x50]
call fcn.00460320
fld dword [eax + 4]
mov edx, dword [eax]
mov ecx, dword [esp + 0x20]
fstp dword [esp + 0x14]
fld dword [eax + 8]
sub esp, 0x10
fstp dword [esp + 0x28]
fld dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
fstp dword [esp + 0x2c]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x50]
call fcn.00460320
fld dword [eax]
fld dword [eax + 4]
fld dword [eax + 8]
fstp dword [esp + 0x28]
fld dword [eax + 0xc]
mov eax, dword [esi]
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fadd dword [eax + 0x38]
fstp dword [esp + 0x10]
fld dword [eax + 0x3c]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [eax + 0x40]
mov ecx, dword [ebp + 8]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fxch st(1)
fadd dword [eax + 0x38]
fstp dword [esp + 0x20]
fld dword [eax + 0x3c]
fadd st(1)
fstp dword [esp + 0x24]
fstp st(0)
fld dword [eax + 0x40]
lea eax, [esp + 0x40]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
call fcn.0042c6e0
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x10]
sub esp, 0x10
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x50]
mov dword [esp + 0x8c], 0x3f800000
call fcn.00460320
fld dword [eax + 4]
mov ecx, dword [eax]
fstp dword [esp + 0x14]
fld dword [eax + 8]
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
fstp dword [esp + 0x28]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x50]
call fcn.00460320
fld dword [eax]
fld dword [eax + 4]
mov ecx, dword [edi]
fld dword [eax + 8]
mov eax, dword [esi + 0x10]
add eax, 2
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
lea eax, [esi + edx*8]
mov edx, dword [edi + 4]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x38]
fxch st(1)
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x38]
fstp dword [eax + 0xc]
mov dword [eax + 0x14], edx
fstp dword [eax + 0x10]
mov ecx, dword [edi]
mov dword [eax + 0x18], ecx
mov edx, dword [edi + 4]
mov dword [eax + 0x1c], edx
movzx ecx, byte [esi + 0x1b]
mov dword [eax + 0x20], ecx
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
inc eax
cmp eax, edx
mov dword [esi + 0x10], eax
mov ecx, 1
jl 0x4b8442
mov byte [esi + 0x1a], cl
mov dword [esi + 0x10], 0
movzx edx, byte [esi + 0x1b]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], edx
mov eax, dword [ebx]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 0x38], edx
fld dword [ebx + 0xc]
fstp dword [esi + 0x3c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov edx, dword [edi]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 4]
mov dword [esi + 0x44], eax
pop ebx
mov esp, ebp
pop ebp
ret 4