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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
push esi
mov esi, dword [ecx]
movzx eax, byte [ebp + 0x10]
push edi
mov dword [esp + 0x24], ecx
mov edi, dword [esi]
lea edx, [eax + eax*8]
mov dword [esp + 0x6c], edi
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x68], ebp
lea eax, [eax + edx*8]
lea edx, [esp + 0x20]
add eax, 8
push edx
push dword [ecx + 8]
mov edx, ebx
mov ecx, edi
push eax
push dword [esp + 0x90]
push dword [esp + 0x90]
call fcn.004f6ac0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x5c], ebx
test ebx, ebx
je 0x4f8b92
xor eax, eax
mov dword [ebp + 0x24], 0x400
mov word [ebp + 0x12], ax
mov edx, ebp
mov word [ebp + 0x28], ax
mov byte [ebp + 0x1c], al
mov eax, dword [ebx]
mov ecx, dword [edi]
push eax
mov dword [esp + 0x4c], eax
call fcn.004f6e10
add esp, 4
test eax, eax
je 0x4f8b9f
mov ecx, dword [edi]
mov edx, ebx
call fcn.00486680
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov edi, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x78]
xor edx, edx
push eax
push dword [esp + 0x24]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
mov ecx, dword [esp + 0x40]
call fcn.004f85c0
mov esi, eax
add esp, 0x1c
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4f8e21
mov ecx, dword [esp + 0x78]
mov edx, edi
mov eax, ecx
not edx
not eax
mov dword [esp + 0x2c], edx
and edx, dword [ebp + 4]
mov dword [esp + 0x28], eax
and eax, dword [ebp]
mov dword [esp + 0x60], eax
or eax, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], edx
jne 0x4f8c05
test eax, eax
je 0x4f8e21
xor edx, edx
xorps xmm0, xmm0
mov dword [esp + 0x18], edx
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x50], xmm0
lea esi, [edx + 1]
test eax, eax
je 0x4f8c78
lea eax, [esp + 0x14]
mov edx, esi
push eax
push dword [esp + 0x24]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
mov ecx, dword [esp + 0x40]
call fcn.004f85c0
mov ecx, dword [esp + 0x44]
mov esi, eax
and ecx, dword [ebp]
add esp, 0x1c
mov edi, dword [esp + 0x2c]
mov eax, ecx
and edi, dword [ebp + 4]
or eax, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
jne 0x4f8c6c
mov edx, 1
mov dword [esp + 0x18], edx
jmp 0x4f8c6e
xor edx, edx
test esi, esi
jne 0x4f8e21
jmp 0x4f8c88
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov ebp, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], eax
nop
mov ecx, dword [esp + 0x48]
or esi, 0xffffffff
or edi, 0xffffffff
test ecx, ecx
jle 0x4f8d07
mov eax, dword [esp + 0x4c]
mov ebp, ecx
mov edx, dword [ebx + 4]
add edx, 8
mov eax, dword [eax + 0x14]
mov ebx, eax
nop
mov eax, dword [edx]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [ebx + eax*8 + 0x20]
mov eax, dword [ebx + eax*8 + 0x24]
and eax, dword [esp + 0x2c]
and ecx, dword [esp + 0x28]
cmp eax, dword [esp + 0x38]
jb 0x4f8cf3
ja 0x4f8ce5
cmp ecx, dword [esp + 0x30]
jbe 0x4f8cf3
cmp eax, edi
ja 0x4f8cf3
jb 0x4f8cef
cmp ecx, esi
jae 0x4f8cf3
mov esi, ecx
mov edi, eax
add edx, 0xc
sub ebp, 1
jne 0x4f8cc0
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
mov eax, esi
mov dword [esp + 0x30], esi
and eax, edi
mov dword [esp + 0x38], edi
cmp eax, 0xffffffff
je 0x4f8dad
cmp esi, dword [esp + 0x60]
jne 0x4f8d28
cmp edi, dword [esp + 0x64]
je 0x4f8d99
cmp esi, dword [esp + 0x3c]
jne 0x4f8d34
cmp edi, dword [esp + 0x40]
je 0x4f8d99
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x84]
or esi, ecx
push ebx
or edi, eax
xor edx, edx
push edi
push esi
push eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.004f85c0
mov ecx, dword [esp + 0x94]
mov esi, eax
mov eax, dword [esp + 0x84]
add esp, 0x1c
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
jne 0x4f8d9f
mov edi, dword [esp + 0x7c]
cmp dword [eax + 4], edi
jne 0x4f8d9f
cmp dword [esp + 0x14], 0
mov edx, 1
mov eax, edx
mov dword [esp + 0x18], edx
cmove ebp, eax
mov dword [esp + 0x44], ebp
jmp 0x4f8da3
mov esi, dword [esp + 0x1c]
jmp 0x4f8da3
mov edx, dword [esp + 0x18]
test esi, esi
je 0x4f8ca0
jmp 0x4f8e21
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x4f8e21
mov edi, dword [esp + 0x7c]
test edx, edx
jne 0x4f8df3
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x80]
push ebx
push edi
push eax
push edi
push eax
call fcn.004f85c0
add esp, 0x1c
mov ecx, 1
cmp dword [esp + 0x14], 0
mov esi, eax
cmove ebp, ecx
test esi, esi
jne 0x4f8e21
jmp 0x4f8df8
mov ecx, 1
test ebp, ebp
jne 0x4f8e21
lea eax, [esp + 0x14]
mov edx, ecx
mov ecx, dword [esp + 0x24]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x80]
push ebx
push edi
push eax
push edi
push eax
call fcn.004f85c0
add esp, 0x1c
mov esi, eax
cmp dword [ebx + 0x1c], 0
je 0x4f8e32
push dword [ebx + 0x18]
call fcn.004865c0
add esp, 4
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4f8e9e
cmp dword [ecx + 0x1f8], 0
je 0x4f8e56
mov edx, ebx
call fcn.00486630
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp ebx, dword [ecx + 0x14c]
jae 0x4f8e9e
cmp ebx, dword [ecx + 0x144]
jb 0x4f8e7e
mov eax, dword [ecx + 0x140]
mov dword [ebx], eax
mov eax, esi
mov dword [ecx + 0x140], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp ebx, dword [ecx + 0x148]
jb 0x4f8e9e
mov eax, dword [ecx + 0x138]
mov dword [ebx], eax
mov eax, esi
mov dword [ecx + 0x138], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push ebx
call fcn.004865c0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret