Function at 0x419ef0
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x472ca7
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push edi
mov eax, dword [0x49274c]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x84]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov dword [esp + 0x10], esi
mov word [edi], ax
mov dword [esp + 0x26c], eax
xorps xmm0, xmm0
push 0x40
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
push eax
lea eax, [esi + 0x34]
push eax
movdqu xmmword [esi + 0x24], xmm0
call fcn.00455ee0
add esp, 0xc
xorps xmm0, xmm0
movdqu xmmword [esi + 0x74], xmm0
call fcn.0041eb70
mov al, byte [eax + 0x108]
test al, al
je 0x41a1b2
call fcn.0041eb70
xor ecx, ecx
mov dword [esp + 0x44], 0
push 0xffffffffffffffff
push ecx
mov word [esp + 0x3c], cx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0
push eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
call fcn.00406750
mov byte [esp + 0x26c], 1
call fcn.0041eb70
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x419ffe
lea ecx, [esp + 0x34]
call fcn.00415ed0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x41a024
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x41a024
push 1
push 0x48110c
lea ecx, [esp + 0x3c]
call fcn.00406670
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov byte [esp + 0x26c], 2
push 0x208
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call fcn.00455ee0
add esp, 0xc
mov dword [esp + 0x18], 0x104
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov word [esp + 0x252], ax
cmp word [esp + 0x4c], ax
jne 0x41a098
xor ecx, ecx
jmp 0x41a0af
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a0a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
call fcn.004073e0
mov edx, str.__r_t_n
lea ecx, [esp + 0x1c]
call fcn.00411320
mov edx, str.__r_t_n
lea ecx, [esp + 0x1c]
call fcn.00411390
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.004065b0
push 1
push 0x481f3c
lea ecx, [esp + 0x3c]
call fcn.00406670
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
push 0
add eax, 0x60
push eax
call fcn.004065b0
push 0xc
push 0x481f40
lea ecx, [esp + 0x3c]
call fcn.00406670
cmp byte [esp + 0x274], 0
je 0x41a13b
push 8
push str..pending
lea ecx, [esp + 0x3c]
call fcn.00406670
lea eax, [esp + 0x34]
cmp edi, eax
je 0x41a14f
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00406750
mov byte [esp + 0x26c], 1
cmp dword [esp + 0x30], 8
jb 0x41a16a
push dword [esp + 0x1c]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov byte [esp + 0x26c], al
cmp dword [esp + 0x48], 8
jb 0x41a19b
push dword [esp + 0x34]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x26c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0044fd7f
add esp, 0x264
ret 4