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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x533b27
sub esp, 0xa0
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov byte [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x14], eax
call fcn.004bd620
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov byte [esp + 0x90], 0
mov eax, dword [0x7f1b14]
lea ecx, [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
call fcn.004b39a0
mov eax, dword [0x7ef834]
lea ecx, [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004b3c50
mov eax, dword [0x7f1b0c]
lea ecx, [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
call fcn.004b39a0
mov eax, dword [0x7ef834]
lea ecx, [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004b3c50
mov eax, dword [0x7f1b08]
lea ecx, [esp + 0x60]
mov dword [esp], ecx
lea edx, [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b39a0
mov eax, dword [0x7f1b10]
lea ecx, [esp + 0x50]
mov dword [esp], ecx
lea edx, [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b39a0
lea eax, [esp + 0x40]
mov dword [esp], eax
lea ecx, [esp + 0x90]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.004b3750
lea eax, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
call fcn.004b3500
mov eax, dword [0x7f1b0c]
lea ecx, [esp + 0x60]
mov dword [esp], ecx
lea edx, [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b39a0
mov eax, dword [0x7f1b14]
lea ecx, [esp + 0x50]
mov dword [esp], ecx
lea edx, [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b39a0
lea eax, [esp + 0x30]
mov dword [esp], eax
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.004b3750
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.004b4130
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
lea ebx, [esp + 0x30]
mov dword [esp], ebx
call fcn.004b4130
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x533a9a
xor eax, eax
jmp 0x533aaf
movzx eax, byte [esp + 0x40]
test al, al
je 0x533aaa
mov eax, 0xffffffff
jmp 0x533aaf
mov eax, 1
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x533abb
xor ecx, ecx
jmp 0x533ad0
movzx ecx, byte [esp + 0x30]
test cl, cl
je 0x533acb
mov ecx, 0xffffffff
jmp 0x533ad0
mov ecx, 1
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xb0], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0xb4], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xa0
ret
call fcn.00465910
jmp fcn.005337a0