Function at 0x41c760
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x4bf05b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4f55dc]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f55dc]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x274]
xor ecx, ecx
mov edx, dword [esp + 0x270]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], eax
mov word [esi], cx
mov dword [esp + 0x268], ecx
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], ecx
mov word [esi + 0x18], cx
mov byte [esp + 0x268], 1
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], ecx
mov word [esi + 0x30], cx
mov byte [esp + 0x268], 2
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], ecx
mov word [esi + 0x50], cx
mov byte [esp + 0x268], 3
mov dword [esi + 0x7c], 7
mov dword [esi + 0x78], ecx
mov word [esi + 0x68], cx
mov byte [esp + 0x268], 4
mov dword [esi + 0x94], 7
mov dword [esi + 0x90], ecx
mov word [esi + 0x80], cx
mov byte [esp + 0x268], 5
mov dword [esi + 0xac], 7
mov dword [esi + 0xa8], ecx
mov word [esi + 0x98], cx
mov byte [esp + 0x268], 6
mov dword [esi + 0xc4], 7
mov dword [esi + 0xc0], ecx
mov word [esi + 0xb0], cx
mov byte [esp + 0x268], 7
lea ecx, [esi + 0xc8]
xor edi, edi
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], di
mov byte [esp + 0x268], 8
lea ebx, [esi + 0xe0]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edi
mov word [ebx], di
mov byte [esp + 0x268], 9
lea edi, [esi + 0xf8]
xor ebp, ebp
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], bp
mov byte [esp + 0x268], 0xa
cmp ecx, edx
je 0x41c8f0
push 0xffffffffffffffff
push ebp
push edx
call fcn.00401fd0
mov eax, dword [esp + 0x30]
cmp ebx, eax
je 0x41c900
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00401fd0
mov eax, dword [0x4f8a94]
test al, 1
jne 0x41c933
or eax, 1
mov dword [0x4f8a94], eax
mov byte [esp + 0x268], 0xb
call fcn.0041b500
push 0x4cdde0
call fcn.0049c72f
add esp, 4
mov byte [esp + 0x268], 0xa
cmp edi, 0x4f8af8
je 0x41c94b
push 0xffffffffffffffff
push 0
push 0x4f8af8
mov ecx, edi
call fcn.00401fd0
push 4
push str..tmp
mov ecx, edi
call fcn.0040a5c0
push 0
call fcn.0049d9dc
add esp, 4
push eax
call fcn.0049d9cc
mov eax, dword [0x4f8a94]
add esp, 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov byte [esi + 0x110], 0
test al, 1
jne 0x41c9b4
or eax, 1
mov dword [0x4f8a94], eax
mov byte [esp + 0x268], 0xc
call fcn.0041b500
push 0x4cdde0
call fcn.0049c72f
add esp, 4
mov byte [esp + 0x268], 0xa
cmp byte [0x4f8ba0], 0
je 0x41cb09
lea ecx, [esi + 0xb0]
call fcn.0040bee0
cmp dword [esi + 0xc0], 0
je 0x41cb09
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x268], 0xd
push 0x208
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call fcn.004a1910
add esp, 0xc
mov dword [esp + 0x30], 0x104
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 0x34]
mov word [esp + 0x252], ax
lea eax, [esp + 0x4c]
push eax
call fcn.00403810
mov edx, str.__r_t_n
lea ecx, [esp + 0x34]
call fcn.00407020
mov edx, str.__r_t_n
lea ecx, [esp + 0x34]
call fcn.00407090
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x40]
call fcn.0040a970
lea eax, [esp + 0x34]
push eax
lea edx, [esi + 0xb0]
lea ecx, [esp + 0x1c]
call fcn.0040c770
add esp, 4
mov byte [esp + 0x268], 0xe
lea ecx, [esi + 0xb0]
push eax
call fcn.004075e0
mov byte [esp + 0x268], 0xd
cmp dword [esp + 0x2c], 8
jb 0x41cac0
push dword [esp + 0x18]
call fcn.0049c766
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov byte [esp + 0x268], 0xa
cmp dword [esp + 0x48], 8
jb 0x41caf2
push dword [esp + 0x34]
call fcn.0049c766
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x268], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0049bfa3
add esp, 0x258
ret 8