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

Disassembly:
push 0xffffffffffffffff
push 0x5b25b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x620368]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
cmp dword [eax], 0x54525059
push edi
mov edi, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], edi
je 0x4a5891
xor al, al
jmp 0x4a5a83
push esi
lea esi, [eax + 4]
cmp byte [esi], 0xd
jne 0x4a5a72
cmp byte [esi + 1], 0xa
jne 0x4a5a72
push ebx
xor ebx, ebx
push ebp
add esi, 2
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], vtable.CTokenVector.0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], ebx
call fcn.004fb880
mov eax, dword [esp + 0x74]
push esi
add eax, 0xfffffffa
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 1
call fcn.004fbd70
push ebx
lea ecx, [esp + 0x30]
call fcn.004fb870
push 0xffffffffffffffff
push ebx
lea esi, [edi + 0x1c]
push eax
mov ecx, esi
call fcn.00403eb0
mov eax, dword [esi + 0x18]
mov ebp, 0x10
cmp eax, ebp
jb 0x4a5910
mov esi, dword [esi + 4]
jmp 0x4a5913
add esi, 4
push esi
call fcn.0057bcba
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [edi + 0x3c], eax
mov dword [esp + 0x10], 1
call fcn.004fb840
cmp eax, 1
jbe 0x4a5a2d
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0x5ccae0
lea ecx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.004fbbd0
test al, al
je 0x4a5a11
mov eax, dword [esp + 0x20]
push eax
call fcn.004ff3d0
mov ecx, dword [esp + 0x24]
add esp, 4
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00403eb0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push esi
push eax
lea ecx, [eax + 0x1c]
push edx
push ecx
mov byte [esp + 0x78], 2
call fcn.004442b0
mov eax, dword [esp + 0x34]
push edi
lea edx, [esp + 0x30]
push edx
lea ecx, [eax - 0x1c]
push eax
push ecx
call fcn.004095c0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x78]
sub ecx, 0x1c
add esp, 0x20
cmp eax, ebp
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
jae 0x4a59da
lea eax, [esp + 0x44]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.004a5770
cmp dword [esp + 0x58], ebp
mov byte [esp + 0x68], 1
jb 0x4a5a01
mov edx, dword [esp + 0x44]
push edx
call fcn.0057ad56
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov edx, dword [esp + 0x10]
inc edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], edx
call fcn.004fb840
cmp dword [esp + 0x10], eax
jb 0x4a5941
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], bl
call fcn.004fb8a0
mov eax, dword [esp + 0x20]
pop ebp
cmp eax, ebx
mov dword [esp + 0x14], vtable.CTokenVector.0
pop ebx
je 0x4a5a6e
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.004095c0
mov edx, dword [esp + 0x28]
push edx
call fcn.0057ad56
add esp, 0x14
mov al, 1
jmp 0x4a5a82
push ecx
push 0x5ccaa0
call fcn.004fa1e0
add esp, 8
xor al, al
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x50]
pop edi
xor ecx, esp
call fcn.0057b3d4
add esp, 0x5c
ret 0xc