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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x4b5555
sub esp, 0x10c
mov eax, dword [esp + 0x110]
test eax, eax
je 0x4b550e
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x4b550e
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4b5361
movzx edx, byte [eax + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4b535b
or edx, 0x80
mov ebx, dword [esp + 0x58]
jmp 0x4b5367
xor edx, edx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4b539b
movzx ebp, byte [ecx + 0xf]
nop
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x4b5395
or ebp, 0x80
mov esi, dword [esp + 0x50]
jmp 0x4b53a1
xor ebp, ebp
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], eax
test edx, edx
je 0x4b53d5
test edx, 0x200
jne 0x4b53d5
mov edi, eax
lea eax, [0x7b31a4]
mov dword [esp + 0x2c], eax
mov eax, edi
jmp 0x4b540b
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004bcb70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
test ebp, ebp
je 0x4b542f
test ebp, 0x200
jne 0x4b542f
mov dword [esp + 0x30], eax
lea eax, [0x7b31a4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
jmp 0x4b5463
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004bcb70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp ebp, esi
jne 0x4b5488
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4b5497
mov byte [esp + 0x120], 0
add esp, 0x10c
ret
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.004690f9
lea edi, [esp + 0x78]
call fcn.004690db
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], ecx
call fcn.00453400
mov ecx, dword [esp]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], ecx
call fcn.004b3aa0
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x120], cl
add esp, 0x10c
ret
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x110]
cmp eax, ecx
je 0x4b5524
xor eax, eax
jmp 0x4b5547
mov dword [esp], ecx
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 8], eax
call fcn.004041b0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x120], al
add esp, 0x10c
ret
call fcn.00467a60
jmp fcn.004b52f0