Function at 0x415c50
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x46e1c7
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push edi
mov eax, dword [0x48c74c]
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.00451ce0
add esp, 0xc
xorps xmm0, xmm0
movdqu xmmword [esi + 0x74], xmm0
call fcn.0041ab10
mov al, byte [eax + 0x108]
test al, al
je 0x415f12
call fcn.0041ab10
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.00403a60
mov byte [esp + 0x26c], 1
call fcn.0041ab10
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x415d5e
lea ecx, [esp + 0x34]
call fcn.00413870
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x415d84
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x415d84
push 1
push 0x47cba0
lea ecx, [esp + 0x3c]
call fcn.00403980
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.00451ce0
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 0x415df8
xor ecx, ecx
jmp 0x415e0f
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415e00
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
call fcn.00403b80
mov edx, str.__r_t_n
lea ecx, [esp + 0x1c]
call fcn.0040f130
mov edx, str.__r_t_n
lea ecx, [esp + 0x1c]
call fcn.0040f1a0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.004038c0
push 1
push 0x47cd5c
lea ecx, [esp + 0x3c]
call fcn.00403980
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
push 0
add eax, 0x60
push eax
call fcn.004038c0
push 0xc
push 0x47cd60
lea ecx, [esp + 0x3c]
call fcn.00403980
cmp byte [esp + 0x274], 0
je 0x415e9b
push 8
push str..pending
lea ecx, [esp + 0x3c]
call fcn.00403980
lea eax, [esp + 0x34]
cmp edi, eax
je 0x415eaf
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00403a60
mov byte [esp + 0x26c], 1
cmp dword [esp + 0x30], 8
jb 0x415eca
push dword [esp + 0x1c]
call fcn.0044b7dc
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 0x415efb
push dword [esp + 0x34]
call fcn.0044b7dc
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.0044b7e1
add esp, 0x264
ret 4