Function at 0x4af78a
Capabilities:
Get session user name

Disassembly:
push 0x430
mov eax, 0x54e2f3
call fcn.004f2a0c
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], 2
push eax
call fcn.00507ff9
mov dword [esp], 0x1fe
lea eax, [ebp - 0x414]
xor esi, esi
push esi
push eax
call fcn.004f5340
push 0x202
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.004f5340
add esp, 0x18
mov dword [ebp - 0x438], 0x101
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [ebp - 0x438], 0xc8
jbe 0x4af80d
xor eax, eax
mov word [ebp - 0x84], ax
push 0x57c9bc
lea eax, [ebp - 0x214]
push eax
push 0x57eaf8
lea eax, [ebp - 0x414]
push 0xff
push eax
call fcn.00507ff9
push 0x2c
call fcn.00507ff9
add esp, 0x18
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x4af851
mov ecx, eax
call fcn.004aead7
mov ebx, eax
jmp 0x4af853
mov ebx, esi
or dword [ebp - 4], 0xffffffff
push 4
call fcn.00507ff9
pop ecx
test eax, eax
je 0x4af86b
mov dword [eax], method.rna::serialization::DeserializerBase_class_rna::serialization::SerializableBase_.virtual_0
jmp 0x4af86d
mov eax, esi
lea edi, [ebx + 0x20]
push eax
mov ecx, edi
call fcn.004ab6fc
push 0x9c
call fcn.00507ff9
pop ecx
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4af8a2
push 0xc8
mov ecx, eax
call fcn.004aebb0
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 1
call fcn.005204e7
push 0x20
call fcn.00507ff9
pop ecx
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4af8d2
push esi
mov ecx, eax
call fcn.004aed0e
jmp 0x4af8d4
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0xc
mov dword [ebx + 0x14], eax
call fcn.00507ff9
mov dword [ebp - 0x430], eax
pop ecx
test eax, eax
je 0x4af8ff
mov ecx, dword [ebx + 0x14]
mov dword [eax], vtable.CefBrowserMessageCenter::LoopedTask.0
and dword [eax + 4], 0
mov dword [eax + 8], ecx
jmp 0x4af901
xor eax, eax
push ecx
mov ecx, esp
push eax
call fcn.00507ff9
mov ecx, esi
call fcn.004af709
mov ecx, esi
mov dword [ebx + 0xc], esi
call fcn.00507ff9
push 0x30
call fcn.00507ff9
pop ecx
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4af93d
mov ecx, eax
call fcn.005214d8
jmp 0x4af93f
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x34
mov dword [ebx + 0x10], eax
call fcn.00507ff9
mov dword [ebp - 0x430], eax
pop ecx
test eax, eax
je 0x4af966
push 1
push dword [ebx + 0x10]
mov ecx, eax
call fcn.00507ff9
jmp 0x4af968
xor eax, eax
push eax
lea ecx, [ebx + 0x18]
call fcn.00507ff9
push 0xe4
call fcn.00507ff9
pop ecx
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4af99c
mov ecx, dword [ebx + 0x10]
push dword [ecx + 0x28]
mov ecx, eax
call fcn.004aec87
jmp 0x4af99e
xor eax, eax
mov ecx, dword [ebx + 0xc]
or dword [ebp - 4], 0xffffffff
push 1
push edi
push eax
mov dword [ebx + 8], eax
call fcn.0051fe53
mov edi, dword [ebx + 8]
add edi, 0x70
push edi
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55e434]
mov ecx, edi
call esi
mov ecx, dword [ebx + 0x10]
push eax
call fcn.0052187e
mov ecx, dword [ebx + 0x10]
call fcn.00507ff9
and dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x42c]
xor eax, eax
mov dword [ebp - 0x430], 0xc8
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x418], 7
call fcn.0044d71b
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebx + 0x10]
call fcn.004c6e44
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x418]
cmp eax, 8
jb 0x4afa93
mov ecx, dword [ebp - 0x42c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x434], ecx
mov dword [ebp - 4], 6
cmp eax, 0x1000
jb 0x4afa8a
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00507ff9
mov eax, dword [ebp - 0x43c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x434]
push eax
push ecx
call fcn.00507ff9
pop ecx
pop ecx
mov eax, ebx
call fcn.004f29b6
ret