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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.0054a8e0
xor ebx, ebx
mov dword [esp + 0x50], eax
cmp eax, ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
je 0x47a9b6
push ebx
mov ecx, eax
call fcn.00547260
mov esi, eax
cmp esi, ebx
je 0x47a9b6
mov ecx, dword [esi]
call fcn.00549f70
mov ecx, dword [ebp + 8]
push eax
call fcn.0054ade0
mov ecx, dword [esi]
mov edi, dword [eax]
call fcn.00549f80
cmp eax, 0xb
jne 0x47a879
mov ecx, dword [esi]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.005655a0
cmp eax, ebx
je 0x47a6f0
mov ecx, dword [eax]
push eax
fld qword [ecx]
fmul qword [0x5e7c20]
fld qword [ecx + 8]
fmul qword [0x5e7c20]
fld qword [esp + 0x38]
fmul qword [0x5e7c20]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x3c], ebx
fstp qword [esp + 0x1c]
fld qword [esp + 0x40]
fmul qword [0x5e7c20]
fxch st(1)
mov dword [esp + 0x44], ecx
mov ecx, dword [esi]
mov dword [esp + 0x40], edx
fsub st(1)
fstp qword [esp + 0x2c]
fstp st(0)
fsub qword [esp + 0x1c]
fld st(0)
fmul st(1)
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
faddp st(1)
fsqrt
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fstp st(0)
call fcn.00565610
xor ebx, ebx
cmp eax, ebx
jne 0x47a674
mov ecx, dword [esi]
mov eax, 0x2710
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov edx, dword [ecx]
lea eax, [esp + 0x74]
push eax
call dword [edx + 0x34]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xbc], ecx
mov ecx, edi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xc0], edx
call fcn.00426a20
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ebx
fild qword [esp + 0xd4]
fmul qword [0x5e7c20]
fld st(0)
fmul qword [0x5eaff8]
fld qword [esp + 0xc4]
fsub qword [esp + 0xb4]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x47a862
fld qword [esp + 0xbc]
fsub qword [esp + 0xcc]
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x47a864
fmul qword [0x5e7c18]
fdivr qword [esp + 0x20]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
jmp 0x47a9a1
fstp st(0)
fld qword [esp + 0x20]
fdiv st(1)
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fstp st(0)
jmp 0x47a9a1
mov ecx, dword [esi]
call fcn.00549f80
cmp eax, 7
jne 0x47a9a1
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x2710
mov dword [esp + 0x74], ebx
call fcn.00568690
fld qword [esp + 0x54]
fmul qword [0x5e7c20]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xe0], edx
fst qword [esp + 0x18]
fld qword [esp + 0x34]
fmul qword [0x5e7c20]
mov dword [esp + 0xe8], ecx
mov ecx, edi
mov dword [esp + 0xe4], eax
fstp qword [esp + 0x28]
fld qword [esp + 0x3c]
fmul qword [0x5e7c20]
fxch st(1)
fsub st(1)
fxch st(1)
fstp st(0)
fld qword [esp + 0x18]
fsub qword [esp + 0x28]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x18]
fstp st(0)
fstp st(0)
call fcn.00426a20
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ebx
fild qword [esp + 0xac]
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x34], edx
fmul qword [0x5e7c20]
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
fdivr qword [esp + 0x18]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push ebx
push esi
call fcn.00547400
mov esi, eax
cmp esi, ebx
jne 0x47a637
fld qword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4