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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7b95c8
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x68
mov dword [eax], 0xffffffff
mov al, 1
push ebx
push ebp
push esi
mov esi, ecx
mov cl, byte [0x9eebd4]
push edi
test al, cl
jne 0x487f9b
mov dl, cl
push fcn.004e4740
or dl, al
mov byte [0x9eebd4], dl
call fcn.007a2d4c
add esp, 4
fild dword [esp + 0x88]
mov ecx, dword [0x8b1784]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
fadd st(0), st(0)
fidiv dword [esp + 0x10]
mov edx, dword [0x8b1788]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
push 0x8b1794
lea eax, [esp + 0x3c]
push ebx
push eax
mov dword [0x9eebe8], 0x3f800000
fsub dword [0x7e5668]
fdiv dword [0x8b1814]
fstp dword [0x9eebe0]
fild dword [esp + 0x98]
fadd st(0), st(0)
fidiv dword [esp + 0x1c]
fsub dword [0x7e5668]
fdiv dword [0x8b1828]
fchs
fstp dword [0x9eebe4]
call fcn.0076fc8e
fld dword [esp + 0x58]
fmul dword [0x9eebe8]
fld dword [esp + 0x48]
fmul dword [0x9eebe4]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
faddp st(1)
fld dword [0x9eebe0]
fmul dword [esp + 0x3c]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x60]
fmul dword [0x9eebe8]
fld dword [esp + 0x50]
fmul dword [0x9eebe4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [0x9eebe0]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x64]
fmul dword [0x9eebe8]
fld dword [esp + 0x54]
fmul dword [0x9eebe4]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [0x9eebe0]
faddp st(1)
fstp dword [esp + 0x2c]
call fcn.00425bd0
push eax
lea ecx, [esp + 0x30]
call fcn.00426b10
cmp dword [esi + 0x34], ebx
je 0x488284
mov dl, byte [esp + 0x90]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], dl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x88]
lea ecx, [esi + 0x28]
push eax
mov dword [esp + 0x84], ebx
call fcn.00647030
mov ebp, dword [esi + 0x2c]
mov edi, dword [esi + 0x34]
lea ecx, [esp + 0x10]
call fcn.0048b4e0
cmp eax, edi
jae 0x488152
cmp edi, ebx
mov eax, edi
jge 0x4880ef
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.007a2d8d
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x14]
push esi
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0073d2b0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.006660a0
mov eax, dword [esp + 0x14]
push eax
call fcn.007a02e0
lea ecx, [esi + edi*4]
add esp, 4
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x10]
call fcn.004b2bf0
lea eax, [esi + eax*4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
jmp 0x48815a
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x88]
cmp ecx, ebp
je 0x488192
add ecx, 0x10
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0048b340
lea ecx, [esp + 0x88]
call fcn.00482e10
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x18]
cmp ecx, ebp
jne 0x488165
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x48819a
xor eax, eax
jmp 0x48819f
sub eax, esi
sar eax, 2
push 0x488ce0
push 4
push eax
push esi
call fcn.007a372a
mov ebp, dword [esp + 0xa4]
mov edx, dword [esp + 0x24]
add esp, 0x10
xor edi, edi
cmp edx, ebx
je 0x488270
mov eax, dword [esp + 0x18]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x488270
mov esi, dword [edx + edi*4]
mov al, byte [esi + 0x274]
cmp al, bl
je 0x48823f
mov ecx, dword [esi + 0x18c]
cmp ecx, ebx
jl 0x48823f
cmp al, bl
je 0x4881f6
cmp ecx, 4
jge 0x48823f
mov eax, dword [esi + 0x490]
cmp eax, ebx
je 0x488215
cmp byte [eax + 0x151], bl
je 0x488215
mov ecx, dword [eax + 0x134]
add eax, 0x54
cmp ecx, ebx
jne 0x488225
mov ecx, dword [esi + 0x184]
lea eax, [esi + 0xa4]
cmp ecx, ebx
je 0x48823f
push ebx
lea edx, [esp + 0x24]
push ebp
push edx
lea edx, [esp + 0x38]
push edx
push eax
call fcn.0045a1a0
cmp al, bl
jne 0x488245
mov edx, dword [esp + 0x14]
inc edi
jmp 0x4881bd
mov ecx, dword [esp + 0x90]
mov eax, dword [esi + 0x4c8]
mov edx, dword [esp + 0x14]
mov dword [ecx], eax
push edx
mov dword [esp + 0x84], 0xffffffff
call fcn.007a02e0
add esp, 4
mov eax, esi
jmp 0x488286
push edx
mov dword [esp + 0x84], 0xffffffff
call fcn.007a02e0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x10