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

Disassembly:
mov al, byte [esp + 0x18]
sub esp, 0x58
test al, al
push ebx
push esi
push edi
jne 0x4888a2
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov esi, dword [0xf56544]
push 3
push 3
push edi
push ebx
mov ecx, 0xbca350
call fcn.00489050
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x68]
sar edx, 3
mov eax, edx
push 8
shr eax, 0x1f
add edx, eax
add edx, esi
push edx
push 3
push 3
push edi
push ebx
push ecx
call fcn.0047bf50
add esp, 0x1c
pop edi
pop esi
pop ebx
add esp, 0x58
ret 0x18
mov eax, dword [esp + 0x68]
xor edi, edi
mov esi, eax
mov dword [esp + 0x7c], edi
shl esi, 5
add esi, eax
shl esi, 3
movsx eax, word [esi + 0x7999e0]
movsx ecx, word [esi + 0x7999de]
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
mov edx, dword [0xbca2d8]
add edx, ecx
mov ecx, dword [0xbca2e0]
lea eax, [eax + eax*2]
cmp ecx, 6
lea eax, [edx + eax*4]
ja case.0x4888e3.1
jmp dword [ecx*4 + 0x488bfc]
xor ecx, ecx
mov cl, byte [esi + 0x7999db]
lea ecx, [ecx + ecx*2]
shl ecx, 4
mov ecx, dword [ecx + 0x5cc890]
jmp 0x488930
mov edx, dword [0x5cc8c0]
add edx, eax
mov dword [esp + 0x7c], edx
jmp case.0x4888e3.1
xor ecx, ecx
mov cl, byte [esi + 0x7999db]
mov ecx, dword [ecx*8 + 0x5cc8b8]
jmp 0x488930
xor edx, edx
mov dl, byte [esi + 0x7999db]
imul edx, edx, 0x38
mov ecx, dword [edx + 0x5cc888]
add ecx, eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x7c]
xor eax, eax
fld qword [0x56f5a8]
mov al, byte [ecx + 0xadc36c]
push ebp
mov dword [esp + 0x18], eax
call fcn.0056133c
mov ebp, dword [esp + 0x7c]
mov ecx, eax
imul ecx, ebp
mov eax, dword [esp + 0x18]
or ebx, 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x7c], ecx
test eax, eax
mov dword [esp + 0x14], ebx
mov edi, 1
je 0x488a0b
cmp word [esi + 0x799a18], 0
jle 0x488a0b
mov esi, dword [0xbca34c]
mov eax, 0x66666667
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jge 0x4889b1
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 4
jmp 0x488a0b
cmp dword [0xd386d4], edi
je 0x4889e1
fild dword [esp + 0x7c]
inc esi
mov dword [esp + 0x10], 2
mov dword [esp + 0x7c], esi
fild dword [esp + 0x7c]
fdivp st(1)
fmul qword [0x56f658]
call fcn.0056133c
mov dword [esp + 0x14], eax
jmp 0x488a0b
mov ecx, dword [0x78d7c4]
mov edx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x10], 3
mov al, byte [ecx + edx + 0xacf85c]
mov ecx, 7
cdq
idiv ecx
mov dword [esp + 0x14], edx
mov eax, 0x66666667
mov ecx, 2
imul ebp
sar edx, 2
mov eax, edx
mov dword [esp + 0x2c], ebx
shr eax, 0x1f
add edx, eax
mov eax, 0xfffffffe
mov ebp, edx
xor edx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
lea ebx, [esp + 0x24]
jmp 0x488a7e
xor edx, edx
mov edi, dword [ebx - 4]
mov esi, dword [esp + 0x70]
imul edi, dword [0x70e45c]
add edi, esi
mov esi, dword [ebx]
imul esi, dword [0x70e44c]
mov ecx, dword [esp + 0x74]
add esi, ecx
cmp ebp, 5
jl 0x488aab
mov ecx, dword [esp + 0x78]
add ecx, 5
jmp 0x488ab2
mov eax, dword [esp + 0x78]
lea ecx, [eax + ebp]
cmp ecx, dword [0x126517c]
mov eax, ecx
jl 0x488abe
xor eax, eax
shl eax, 6
movsx edx, word [eax + 0x10d6a0e]
mov eax, dword [0x70e448]
add eax, eax
sub eax, edx
add esi, eax
push esi
push edi
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
sub ebp, 2
mov dword [esp + 0x7c], ebp
jns 0x488af5
mov dword [esp + 0x7c], 0
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x488bda
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp eax, edx
jne 0x488bda
mov eax, dword [0x78d79c]
test eax, eax
jg 0x488bda
xor eax, eax
dec ecx
je 0x488b65
dec ecx
je 0x488b45
dec ecx
jne 0x488b86
mov ecx, dword [esp + 0x80]
mov al, byte [ecx + 0xacf85c]
mov ecx, 7
cdq
idiv ecx
mov eax, dword [0xf560ac]
jmp 0x488b7c
mov ecx, dword [esp + 0x80]
xor eax, eax
mov al, byte [ecx + 0xacf85c]
mov ecx, 7
add eax, edx
cdq
idiv ecx
mov eax, dword [0xf5609c]
jmp 0x488b7c
mov edx, dword [0x78d7cc]
mov eax, dword [esp + 0x6c]
sar edx, 3
add edx, eax
mov eax, dword [0xf560a4]
and edx, 7
mov ecx, dword [esp + 0x18]
add eax, edx
lea eax, [eax + ecx*8 - 8]
mov ebp, dword [0x126517c]
mov ecx, eax
cmp eax, ebp
jl 0x488b94
xor ecx, ecx
mov edx, dword [0x70e45c]
shl ecx, 6
movsx ecx, word [ecx + 0x10d6a1a]
sub edx, ecx
cmp eax, ebp
mov ecx, eax
jl 0x488bae
xor ecx, ecx
shl ecx, 6
add edx, edi
movsx ebp, word [ecx + 0x10d6a1c]
mov ecx, dword [0x70e44c]
lea ecx, [ecx + ecx*2]
sub ecx, ebp
lea ecx, [ecx + esi - 5]
push ecx
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
add ebx, 8
inc eax
cmp eax, 9
mov dword [esp + 0x1c], eax
jl 0x488a7c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret 0x18