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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73f178
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [eax], 0xffffffff
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x54]
push esi
cmp eax, ebp
push edi
je 0x47f61d
mov al, byte [0x93f92c]
test al, 1
jne 0x47f2e6
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f92c], dl
call fcn.00726f2f
add esp, 4
fild dword [esp + 0x9c]
mov ecx, dword [0x805754]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ecx
mov edx, dword [0x805758]
fadd st(0), st(0)
fidiv dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
push 0x805764
lea eax, [esp + 0x50]
push ebp
push eax
mov dword [0x93f938], 0x3f800000
fsub dword [0x765618]
fdiv dword [0x8057e4]
fstp dword [0x93f930]
fild dword [esp + 0xac]
fadd st(0), st(0)
fidiv dword [esp + 0x24]
fsub dword [0x765618]
fdiv dword [0x8057f8]
fchs
fstp dword [0x93f934]
call fcn.0070054e
fld dword [esp + 0x6c]
fmul dword [0x93f938]
fld dword [esp + 0x5c]
fmul dword [0x93f934]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [0x93f930]
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x74]
fmul dword [0x93f938]
fld dword [esp + 0x64]
fmul dword [0x93f934]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [0x93f930]
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x78]
fmul dword [0x93f938]
fld dword [esp + 0x68]
fmul dword [0x93f934]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [0x93f930]
faddp st(1)
fstp dword [esp + 0x3c]
call fcn.004255d0
push eax
lea ecx, [esp + 0x28]
call fcn.004345b0
mov dl, byte [esp + 0x13]
mov dword [esp + 0x40], ebp
mov byte [esp + 0x3c], dl
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov edi, dword [ebx + 0x54]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x94], ebp
call fcn.00482290
cmp eax, edi
jae 0x47f476
cmp edi, ebp
mov eax, edi
jge 0x47f419
xor eax, eax
shl eax, 2
push eax
call fcn.00726f70
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add esp, 4
mov esi, eax
push esi
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.00642560
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.006bc100
mov edx, dword [esp + 0x40]
push edx
call fcn.00726ea6
lea eax, [esi + edi*4]
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], eax
call fcn.0045f660
lea ecx, [esi + eax*4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x14]
lea ecx, [ebx + 0x48]
push edx
call fcn.006bc010
mov ebx, dword [ebx + 0x4c]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47f4b1
add eax, 0x10
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0046f080
lea ecx, [esp + 0x14]
call fcn.0047a400
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x47f48e
mov ecx, dword [esp + 0x40]
cmp ecx, ebp
jne 0x47f4bd
xor eax, eax
jmp 0x47f4c6
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 2
push 0x47fb90
push 4
push eax
push ecx
call fcn.0072790a
add esp, 0x10
xor edi, edi
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x47f5f6
mov ecx, dword [esp + 0x44]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x47f5f6
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x18c]
cmp eax, ebp
jl 0x47f587
cmp eax, 4
jge 0x47f587
mov ecx, dword [esi + 0x184]
cmp ecx, ebp
je 0x47f532
push ebp
lea edx, [esp + 0x34]
push ebp
push edx
lea eax, [esp + 0x30]
lea edx, [esi + 0xa4]
push eax
push edx
call fcn.00454420
test al, al
jne 0x47f58d
mov eax, dword [esi + 0x358]
cmp eax, ebp
je 0x47f55f
mov ecx, dword [eax + 0x134]
cmp ecx, ebp
je 0x47f55f
push ebp
lea edx, [esp + 0x34]
push ebp
push edx
lea edx, [esp + 0x30]
add eax, 0x54
push edx
push eax
call fcn.00454420
test al, al
jne 0x47f5cb
cmp esi, ebp
je 0x47f587
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.004696e0
cmp al, 1
je 0x47f5cb
inc edi
jmp 0x47f4d9
mov edx, dword [esp + 0xa4]
mov eax, dword [esi + 0x474]
mov ecx, dword [esp + 0x40]
mov dword [edx], eax
mov eax, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xffffffff
call fcn.006bc100
mov edx, dword [esp + 0x40]
push edx
call fcn.00726ea6
add esp, 4
mov eax, esi
jmp 0x47f61f
mov ecx, dword [esp + 0xa4]
mov eax, dword [esi + 0x474]
mov edx, dword [esp + 0x40]
mov dword [ecx], eax
push edx
mov dword [esp + 0x98], 0xffffffff
call fcn.00726ea6
add esp, 4
mov eax, esi
jmp 0x47f61f
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x94], 0xffffffff
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.006bc100
mov edx, dword [esp + 0x40]
push edx
call fcn.00726ea6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret 0xc