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

Disassembly:
sub esp, 0x1c
mov eax, dword [0x598c90]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x28]
mov byte [esp + 8], 0x49
mov byte [esp + 9], 0x48
mov byte [esp + 0xa], 0x44
mov byte [esp + 0xb], 0x52
mov byte [esp + 0xc], 0
cmp eax, 6
ja case.0x4b68d4.3
jmp dword [eax*4 + 0x4b6b4c]
lea eax, [ebx - 1]
cmp eax, 0xf
ja case.0x4b68d4.3
movzx eax, byte [eax + 0x4b6b70]
jmp dword [eax*4 + 0x4b6b68]
mov byte [esi + 0xea], 1
jmp 0x4b694f
cmp ebx, 8
je 0x4b68f5
cmp ebx, 0x10
je 0x4b68f5
mov ecx, esi
call fcn.004abfd0
mov byte [esi + 0xea], 3
jmp 0x4b694f
lea eax, [ebx - 1]
cmp eax, 7
ja case.0x4b68d4.3
movzx ecx, byte [eax + 0x4b6b88]
jmp dword [ecx*4 + 0x4b6b80]
cmp ebx, 8
je 0x4b6925
cmp ebx, 0x10
je 0x4b6925
mov ecx, esi
call fcn.004abfd0
mov byte [esi + 0xea], 2
jmp 0x4b694f
cmp ebx, 8
je 0x4b693f
cmp ebx, 0x10
je 0x4b693f
mov ecx, esi
call fcn.004abfd0
mov byte [esi + 0xea], 4
jmp 0x4b694f
mov ecx, esi
call fcn.004abfd0
xor ecx, ecx
cmp dword [esp + 0x34], ecx
je 0x4b695b
mov dword [esp + 0x34], ecx
test byte [esi + 0x1e4], 4
je 0x4b6984
test dword [esi + 0x28], 0x1000
jne 0x4b6984
mov edx, dword [esp + 0x30]
cmp edx, 2
je 0x4b697b
cmp edx, 6
jne 0x4b6988
cmp dword [esp + 0x38], 0x40
je 0x4b6992
jmp 0x4b6988
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x38], ecx
je 0x4b6992
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x3c]
cmp eax, ecx
je 0x4b69ab
cmp eax, 1
je 0x4b69ab
mov dword [esp + 0x3c], 1
mov eax, dword [esp + 0x3c]
mov cl, byte [esi + 0xea]
mov byte [esi + 0xe3], al
mov al, byte [esp + 0x34]
mov byte [esi + 0x208], al
mov al, cl
imul bl
mov byte [esi + 0xe6], dl
mov dl, byte [esp + 0x38]
mov byte [esi + 0xe9], al
cmp al, 8
mov byte [esi + 0xe7], bl
mov byte [esi + 0x1ec], dl
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], ebp
movzx eax, al
jb 0x4b69fc
shr eax, 3
imul eax, edi
jmp 0x4b6a05
imul eax, edi
add eax, 7
shr eax, 3
mov dword [esi + 0x98], eax
mov byte [esi + 0xeb], cl
mov eax, edi
lea ecx, [esp + 0x10]
mov dword [esi + 0x94], edi
mov byte [esi + 0xe8], bl
call fcn.004b6460
mov eax, ebp
lea ecx, [esp + 0x14]
call fcn.004b6460
mov cl, byte [esp + 0x30]
mov dl, byte [esp + 0x34]
mov al, byte [esp + 0x38]
mov byte [esp + 0x19], cl
mov cl, byte [esp + 0x3c]
mov byte [esp + 0x1a], dl
lea edx, [esp + 0x10]
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], cl
push 0xd
push edx
lea ecx, [esp + 0x10]
mov eax, esi
mov byte [esp + 0x20], bl
call fcn.004b64b0
add esp, 8
cmp byte [esi + 0xe5], 0
pop ebp
mov dword [esi + 0x54], 0x4aba60
mov dword [esi + 0x58], fcn.004abaa0
mov dword [esi + 0x5c], esi
pop ebx
jne 0x4b6aaa
cmp byte [esi + 0xe6], 3
je 0x4b6aa3
cmp byte [esi + 0xe7], 8
jb 0x4b6aa3
mov byte [esi + 0xe5], 0xf8
jmp 0x4b6aaa
mov byte [esi + 0xe5], 8
mov eax, dword [esi + 0x2c]
test al, 1
jne 0x4b6ac3
xor ecx, ecx
cmp byte [esi + 0xe5], 8
setne cl
mov dword [esi + 0x84], ecx
test al, 2
jne 0x4b6ace
mov dword [esi + 0x74], 0xffffffff
test al, 4
jne 0x4b6adc
mov dword [esi + 0x80], 8
test al, 8
jne 0x4b6ae7
mov dword [esi + 0x7c], 0xf
test al, 0x10
jne 0x4b6af2
mov dword [esi + 0x78], 8
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
push edx
mov edx, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x74]
push ecx
push edx
push eax
lea eax, [esi + 0x34]
call fcn.00492c80
add esp, 0x14
test eax, eax
je 0x4b6b22
mov ecx, esi
call fcn.004abfd0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x18]
xor ecx, esp
mov dword [esi + 0x44], edx
mov dword [esi + 0x60], 0
mov dword [esi + 0x28], 1
call fcn.0051e437
add esp, 0x1c
ret