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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7b95e8
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [eax], 0xffffffff
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x54]
cmp eax, ebx
je 0x48866a
mov al, byte [0x9eebd4]
test al, 1
jne 0x4882f6
mov dl, al
push fcn.004e4740
or dl, 1
mov byte [0x9eebd4], dl
call fcn.007a2d4c
add esp, 4
fild dword [esp + 0x9c]
mov ecx, dword [0x8b1784]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov edx, dword [0x8b1788]
fadd st(0), st(0)
fidiv dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
push 0x8b1794
lea eax, [esp + 0x50]
push ebx
push eax
mov dword [0x9eebe8], 0x3f800000
fsub dword [0x7e5668]
fdiv dword [0x8b1814]
fstp dword [0x9eebe0]
fild dword [esp + 0xac]
fadd st(0), st(0)
fidiv dword [esp + 0x24]
fsub dword [0x7e5668]
fdiv dword [0x8b1828]
fchs
fstp dword [0x9eebe4]
call fcn.0076fc8e
fld dword [esp + 0x6c]
fmul dword [0x9eebe8]
fld dword [esp + 0x5c]
fmul dword [0x9eebe4]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [0x9eebe0]
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x74]
fmul dword [0x9eebe8]
fld dword [esp + 0x64]
fmul dword [0x9eebe4]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [0x9eebe0]
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x78]
fmul dword [0x9eebe8]
fld dword [esp + 0x68]
fmul dword [0x9eebe4]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [0x9eebe0]
faddp st(1)
fstp dword [esp + 0x3c]
call fcn.00425bd0
push eax
lea ecx, [esp + 0x28]
call fcn.00426b10
mov dl, byte [esp + 0x13]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x3c], dl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov edi, dword [ebp + 0x54]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x94], ebx
call fcn.0048b4e0
cmp eax, edi
jae 0x488486
cmp edi, ebx
mov eax, edi
jge 0x488429
xor eax, eax
shl eax, 2
push eax
call fcn.007a2d8d
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.0073d2b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.006660a0
mov edx, dword [esp + 0x40]
push edx
call fcn.007a02e0
lea eax, [esi + edi*4]
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], eax
call fcn.004b2bf0
lea ecx, [esi + eax*4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x48]
push edx
call fcn.00647030
mov ebp, dword [ebp + 0x4c]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4884c1
add eax, 0x10
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0048b340
lea ecx, [esp + 0x14]
call fcn.00482e10
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x48849e
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
jne 0x4884cd
xor eax, eax
jmp 0x4884d6
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 2
push 0x488ce0
push 4
push eax
push ecx
call fcn.007a372a
add esp, 0x10
xor edi, edi
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x488656
mov ecx, dword [esp + 0x44]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x488656
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x274]
cmp al, bl
je 0x4885a9
mov ecx, dword [esi + 0x18c]
cmp ecx, ebx
jl 0x4885a9
cmp al, bl
je 0x48852e
cmp ecx, 4
jge 0x4885a9
mov ecx, dword [esi + 0x184]
cmp ecx, ebx
je 0x488554
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
lea eax, [esp + 0x30]
lea edx, [esi + 0xa4]
push eax
push edx
call fcn.0045a1a0
test al, al
jne 0x4885af
mov eax, dword [esi + 0x374]
cmp eax, ebx
je 0x488581
mov ecx, dword [eax + 0x134]
cmp ecx, ebx
je 0x488581
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
lea edx, [esp + 0x30]
add eax, 0x54
push edx
push eax
call fcn.0045a1a0
test al, al
jne 0x4885ed
cmp esi, ebx
je 0x4885a9
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.00471130
cmp al, 1
je 0x488618
inc edi
jmp 0x4884e9
mov edx, dword [esp + 0xa4]
mov eax, dword [esi + 0x4c8]
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.006660a0
mov edx, dword [esp + 0x40]
push edx
call fcn.007a02e0
add esp, 4
mov eax, esi
jmp 0x48866c
mov ecx, dword [esp + 0xa4]
mov eax, dword [esi + 0x4c8]
mov edx, dword [esp + 0x40]
mov dword [ecx], eax
push edx
mov dword [esp + 0x98], 0xffffffff
call fcn.007a02e0
add esp, 4
mov eax, esi
jmp 0x48866c
mov ecx, dword [esp + 0xa4]
mov eax, dword [esi + 0x4c8]
mov edx, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xffffffff
call fcn.006660a0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.007a02e0
add esp, 4
mov eax, esi
jmp 0x48866c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x94], 0xffffffff
call fcn.0071a830
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