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

Disassembly:
sub esp, 0xb0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.005035c0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x64]
mov ebx, dword [0x5d7d84]
mov dword [esp + 0xc], eax
mov dl, byte [eax + 0x64]
test dl, dl
je 0x47a6c7
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x48]
add eax, 0x10
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], edx
call fcn.004033b0
lea ecx, [esp + 0x7c]
call fcn.004ff4a0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
call fcn.004ff7c0
mov eax, dword [esi + 0x30]
push eax
call fcn.004692f0
push eax
mov dword [esi + 0x30], eax
call fcn.00469030
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add esp, 8
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi]
call fcn.00464dc0
fld dword [esp + 0x18]
fsub dword [esp + 0x24]
mov eax, dword [esp + 0xc]
fld dword [esp + 0x1c]
push eax
fsub dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x24]
lea ecx, [esp + 0x1c]
fsub dword [esp + 0x30]
push ecx
mov ecx, dword [esi]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], edx
fxch st(1)
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x20]
push edx
push eax
fstp dword [esp + 0x2c]
call fcn.00465bd0
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
add eax, 0x30
mov dword [esp + 0x30], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov edi, dword [ecx]
lea ecx, [esp + 0x7c]
add edi, 0x10
push ecx
mov ecx, edi
call fcn.00500000
mov edx, dword [ebx + 0x34]
mov eax, dword [edx]
push eax
call fcn.0056bb80
add edi, 0x20
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.004ff2b0
fchs
mov ecx, dword [ebx + 0x18]
fstp dword [esp + 8]
add esp, 8
call fcn.004f4930
mov ebx, dword [ebx + 0x3c]
test ebx, ebx
je 0x47a6d4
push 0x3e4ccccd
push 1
mov ecx, ebx
call fcn.00469530
jmp 0x47a6d4
mov edx, dword [esp + 0xc0]
push edx
call fcn.00465c20
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00464df0
mov edi, 1
mov ecx, dword [esi + edi*4 - 4]
mov eax, dword [esp + 0x10]
cmp dword [ecx + 0x50], eax
je 0x47a713
mov ecx, dword [eax + 0x58]
test ecx, ecx
jne 0x47a713
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + edi*4]
push edx
push eax
call fcn.00465bd0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + edi*4]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00464df0
inc edi
cmp edi, 0xc
jl 0x47a6f4
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 0x10]
fld dword [edx + 0x34]
pop edi
fmul dword [0x5adb4c]
fsubr dword [0x5adb48]
fst dword [esi + 0x38]
mov eax, dword [0x5d7d84]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x194]
inc edx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fmul dword [0x5adb44]
fadd dword [0x5b5af8]
fmul st(1)
fmul dword [0x5a1568]
fstp dword [esi + 0x38]
pop esi
pop ebx
fstp st(0)
add esp, 0xb0
ret 8