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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b8970
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
cmp dword [eax], 0x80
jbe 0x4b8695
nop
mov dword [esp], eax
call fcn.004b65a0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x88]
cmp dword [ecx], 0x80
jbe 0x4b86bb
nop
mov dword [esp], ecx
call fcn.004b65a0
mov eax, dword [esp + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
mov edx, dword [eax]
add edx, dword [ecx]
inc edx
shl edx, 3
add edx, 4
movzx ebx, byte [eax + 0xd]
dec ebx
movzx ebx, bl
test edx, ebx
jne 0x4b8957
movzx ebx, byte [ecx + 0xd]
dec ebx
movzx ebx, bl
test edx, ebx
jne 0x4b8957
mov dword [esp + 0x78], ecx
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x4b8700
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x4b8809
lea eax, [0x5e2160]
mov dword [esp], eax
shr edx, 2
lea ecx, [edx + 7]
shr ecx, 3
add ecx, 3
and ecx, 0xfffffffc
mov dword [esp + 0x3c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
test edx, edx
je 0x4b876c
mov dword [esp], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 8
call fcn.004b8980
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
shl edx, 3
shr edx, 2
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x4b87ba
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
lea ebp, [edx + 2]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 8
call fcn.004b8980
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx]
shl ebp, 3
shr ebp, 2
lea esi, [edx + ebp + 2]
mov edi, esi
shr esi, 3
mov ebx, dword [esp + 0x3c]
cmp esi, ebx
jae 0x4b894e
movzx ebx, byte [eax + esi]
and edi, 7
mov ecx, edi
mov edx, 1
shl edx, cl
or ebx, edx
mov byte [eax + esi], bl
mov edx, dword [esp + 0x44]
lea edx, [edx + ebp + 3]
shl edx, 2
mov ebx, dword [esp + 0x34]
cmp edx, ebx
jne 0x4b8936
mov ebx, edx
mov ebp, eax
jmp 0x4b880d
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x68], ebp
lea eax, [0x5ff1e0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov byte [eax + 0xd], 4
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov byte [eax + 0xf], 0x19
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4b8853
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x14], ecx
jmp 0x4b885f
lea edi, [eax + 0x14]
mov eax, dword [esp + 0x68]
call fcn.00463730
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004b5410
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call fcn.004b5410
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x48]
mov dword [esp], edx
lea edx, [0x60c1ab]
mov dword [esp + 4], edx
mov dword [esp + 8], 7
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
lea edx, [0x60b3d5]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x6604ac]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
call fcn.0044de00
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov word [esp + 0x10], 0
call fcn.004b4f90
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00460540
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x18], eax
mov dword [esp + 0x8c], ecx
sub esp, 0xffffff80
ret
lea eax, [0x5e1fa0]
mov dword [esp], eax
lea eax, [0x6616e4]
mov dword [esp + 4], eax
call fcn.00435720
mov eax, esi
mov ecx, ebx
call fcn.004637c0
lea eax, [0x5e1fa0]
mov dword [esp], eax
lea eax, [0x6616dc]
mov dword [esp + 4], eax
call fcn.00435720
nop
call fcn.00462320
jmp fcn.004b8660