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

Disassembly:
sub esp, 0x168
lea eax, [esp + 0x12c]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x130]
push eax
push ecx
call fcn.004ac270
mov edx, dword [ebp + 0x124]
mov eax, dword [ebp + 0x128]
add esp, 8
mov ebx, dword [edx + 4]
cmp ebx, eax
je 0x4b0008
mov eax, dword [ebx]
lea edi, [esp + 0x88]
mov ecx, dword [eax + 0x124]
mov edx, dword [eax + 0x30c]
lea eax, [esp + 0x88]
lea esi, [ecx + ecx*2]
mov ecx, 0xc
shl esi, 4
add esi, edx
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x140]
lea edx, [esp + 0x134]
push ecx
push edx
call fcn.004ac7f0
mov ebx, dword [ebx + 4]
mov eax, dword [ebp + 0x128]
add esp, 0xc
cmp ebx, eax
jne 0x4affb7
mov eax, dword [ebp + 0x118]
mov ecx, dword [ebp + 0x11c]
mov eax, dword [eax + 4]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x4b028e
jmp 0x4b0029
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jne 0x4b0043
mov ecx, dword [ebx + 0x120]
test ecx, ecx
je 0x4b0279
lea ecx, [esp + 0x148]
push ecx
mov ecx, ebx
call fcn.004aff80
mov ecx, 0xc
mov esi, eax
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.004ae020
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x68]
fmul dword [esp + 0x90]
fld dword [esp + 0x58]
fmul dword [esp + 0x8c]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esp + 0x88]
faddp st(1)
fadd dword [esp + 0x78]
fld dword [esp + 0x6c]
fmul dword [esp + 0x90]
fld dword [esp + 0x5c]
fmul dword [esp + 0x8c]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0x88]
faddp st(1)
fadd dword [esp + 0x7c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x70]
fmul dword [esp + 0x90]
fld dword [esp + 0x60]
fmul dword [esp + 0x8c]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x88]
faddp st(1)
fadd dword [esp + 0x80]
fstp dword [esp + 0x20]
fld dword [esp + 0x74]
fmul dword [esp + 0x90]
fld dword [esp + 0x64]
fmul dword [esp + 0x8c]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [esp + 0x88]
faddp st(1)
fadd dword [esp + 0x84]
fdivr dword [0x58d5d4]
fst dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x14]
fmul dword [esp + 0x1c]
mov dword [esp + 0xb8], edx
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x48]
fstp dword [esp + 0x30]
fld dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
fstp dword [esp + 0x34]
fld dword [esp + 0x50]
fstp dword [esp + 0x38]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
fld dword [esp + 0x58]
fstp dword [esp + 0x3c]
fld dword [esp + 0x5c]
fstp dword [esp + 0x40]
fld dword [esp + 0x60]
fstp dword [esp + 0x44]
fld dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xd0], edx
fstp dword [esp + 0x24]
fld dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0xd4], eax
fstp dword [esp + 0x28]
fld dword [esp + 0x70]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xd8], ecx
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10c], edx
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0xb8]
mov dword [esp + 0x110], eax
push edx
mov dword [esp + 0x118], ecx
call fcn.004aca70
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x140]
push eax
lea edx, [esp + 0x138]
push ecx
push edx
call fcn.004ac330
mov eax, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x11c]
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x4b0025
lea eax, [esp + 0x118]
push eax
call fcn.004ac9b0
mov eax, dword [esp + 0x180]
mov ecx, 0xc
lea esi, [esp + 0x11c]
mov edi, eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 4