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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x18], 0
mov edi, dword [ebx + 8]
mov dword [esp + 0x1c], 0
test edi, edi
je 0x4b8e65
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4b8e65
mov al, byte [esi]
movzx ecx, al
mov byte [esp + 0xf], al
mov dword [esp + 0x10], ecx
lea eax, [ecx - 0x13]
cmp eax, 0x9c
ja case.0x4b8a67.20
movzx eax, byte [eax + 0x4b8e90]
jmp dword [eax*4 + 0x4b8e6c]
mov ecx, esi
call fcn.004b2860
cmp eax, esi
je 0x4b8a8e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.004b8a10
add esp, 0x10
jmp 0x4b8e2d
cmp dword [esp + 0x10], 0x2c
jne 0x4b8aed
mov esi, dword [ebp + 0x14]
mov eax, esi
dec dword [ebx + 0x38]
xor eax, 0x10
mov ecx, dword [ebx + 0x38]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov dword [esp + 0x1c], ecx
push dword [eax + 0xc]
push ebx
call fcn.004b8f30
mov eax, dword [ebp + 0xc]
push esi
push dword [ebp + 0x10]
push dword [eax + 0x10]
push ebx
call fcn.004b8a10
mov ecx, dword [edi + 0xc]
add esp, 0x20
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b8d49
push edx
mov edx, edi
call fcn.00499860
add esp, 4
jmp 0x4b8e2d
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push edi
push esi
push dword [eax + 0xc]
push ebx
call fcn.004b8a10
mov eax, dword [ebp + 0xc]
push edi
push esi
push dword [eax + 0x10]
push ebx
call fcn.004b8a10
add esp, 0x20
jmp 0x4b8e2d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esi + 0xc]
push ebx
call fcn.004b8f30
add esp, 0x10
jmp 0x4b8e2d
mov dl, byte [esi + 2]
xor eax, eax
cmp dl, 0xab
sete al
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4b8b54
test dword [eax + 4], 0x1000
je 0x4b8b54
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b8b44
mov eax, dword [eax + 8]
xor ecx, ecx
mov esi, dword [esi + 0xc]
cmp byte [eax + 4], cl
sete cl
xor eax, eax
cmp ecx, dword [esp + 0x14]
lea ecx, [eax + 0x10]
je 0x4b8b86
cmp dl, 0xab
cmove eax, ecx
push eax
push dword [ebp + 0x10]
push esi
push ebx
call fcn.004b8a10
add esp, 0x10
jmp 0x4b8e2d
cmp dl, 0xab
cmove eax, ecx
push eax
push dword [ebp + 0x10]
push esi
push ebx
call fcn.004b8f30
add esp, 0x10
jmp 0x4b8e2d
xor eax, eax
mov dword [esp + 0x14], 0x80
cmp ecx, 0x2d
sete al
add eax, 0x34
mov dword [esp + 0x10], eax
jmp 0x4b8bbf
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0xc]
mov al, byte [edx]
cmp al, 0xb0
jne 0x4b8bcb
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x4b8bd4
mov eax, dword [edx + 0x14]
jmp 0x4b8bde
cmp al, 0x8a
jne 0x4b8be7
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jg 0x4b8d5e
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.004b84e0
mov edi, dword [ebp + 0xc]
add esp, 4
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x1c]
mov edx, dword [edi + 0x10]
push eax
call fcn.004b84e0
mov ecx, dword [edi + 4]
add esp, 4
mov edx, dword [edi + 0xc]
shr ecx, 9
and ecx, 1
push ecx
push dword [esp + 0x18]
mov ecx, ebx
push dword [ebp + 0x10]
push eax
push esi
push dword [esp + 0x24]
push dword [edi + 0x10]
call fcn.004afef0
add esp, 0x1c
jmp 0x4b8e2d
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.004b84e0
mov ecx, dword [edi + 0x74]
add esp, 4
mov edx, eax
cmp dword [edi + 0x78], ecx
jg 0x4b8c6e
push 0
push dword [ebp + 0x10]
mov ecx, edi
push edx
mov edx, dword [esp + 0x1c]
call fcn.00499040
add esp, 0xc
jmp 0x4b8e2d
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
lea ecx, [eax + ecx*4]
mov al, byte [esp + 0xf]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov dword [ecx + 0xc], eax
mov byte [ecx + 1], al
jmp 0x4b8e20
push dword [ebp + 0x14]
mov edx, esi
mov ecx, ebx
push fcn.004b8a10
push dword [ebp + 0x10]
call fcn.004b8890
add esp, 0xc
jmp 0x4b8e2d
dec dword [ebx + 0x38]
mov edx, esi
mov ecx, dword [ebx + 0x38]
mov eax, ecx
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x14], ecx
cmovne eax, dword [ebp + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.004b4a20
mov ecx, dword [edi + 0x74]
add esp, 8
cmp dword [edi + 0x78], ecx
jg 0x4b8cf6
push 0
push dword [ebp + 0x10]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4b8d28
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b8d49
push edx
mov edx, edi
call fcn.00499860
add esp, 4
jmp 0x4b8e2d
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x4b8e2d
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 4]
mov eax, ecx
and eax, 0x10000001
cmp eax, 0x10000000
jne 0x4b8dba
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4b8d92
push 0
push dword [ebp + 0x10]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00499040
add esp, 0xc
jmp 0x4b8e2d
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
jmp 0x4b8e20
and ecx, 0x20000001
cmp ecx, 0x20000000
je 0x4b8e2d
lea eax, [esp + 0x18]
mov edx, esi
push eax
mov ecx, ebx
call fcn.004b84e0
mov ecx, dword [edi + 0x74]
xor edx, edx
add esp, 4
mov esi, eax
cmp dword [esp + 0x14], edx
setne dl
cmp dword [edi + 0x78], ecx
jg 0x4b8e02
push edx
push dword [ebp + 0x10]
mov edx, 0x12
mov ecx, edi
push esi
call fcn.00499040
add esp, 0xc
jmp 0x4b8e2d
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b8e49
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4b8e49
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4b8e65
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4b8e65
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret