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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bf350
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
cmp dword [eax], 0x80
jbe 0x4bf075
nop
mov dword [esp], eax
call fcn.004bcf80
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x88]
cmp dword [ecx], 0x80
jbe 0x4bf09b
nop
mov dword [esp], ecx
call fcn.004bcf80
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 0x4bf337
movzx ebx, byte [ecx + 0xd]
dec ebx
movzx ebx, bl
test edx, ebx
jne 0x4bf337
mov dword [esp + 0x78], ecx
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x4bf0e0
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x4bf1e9
lea eax, [0x5f0f40]
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.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
test edx, edx
je 0x4bf14c
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.004bf360
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 0x4bf19a
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.004bf360
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 0x4bf32e
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 0x4bf316
mov ebx, edx
mov ebp, eax
jmp 0x4bf1ed
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x68], ebp
lea eax, [0x60efc0]
mov dword [esp], eax
call fcn.0040bdb0
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 [0x7e2780]
test ecx, ecx
jne 0x4bf233
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x14], ecx
jmp 0x4bf23f
lea edi, [eax + 0x14]
mov eax, dword [esp + 0x68]
call fcn.00463860
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004bbdf0
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.004bbdf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x48]
mov dword [esp], edx
lea edx, [0x61c7b0]
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, [0x61b995]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x672d70]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
call fcn.0044df30
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.004bb970
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00460670
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, [0x5f0d80]
mov dword [esp], eax
lea eax, [0x6740bc]
mov dword [esp + 4], eax
call fcn.00435790
mov eax, esi
mov ecx, ebx
call fcn.004638f0
lea eax, [0x5f0d80]
mov dword [esp], eax
lea eax, [0x6740b4]
mov dword [esp + 4], eax
call fcn.00435790
nop
call fcn.00462450
jmp fcn.004bf040