Function at 0x44f160
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d15c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.0041d4ed
mov ecx, 0x4a4b78
call fcn.00403100
mov ecx, eax
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004141c7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.004051c0
mov dword [ebp - 4], 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44f21a
push 0x47add4
lea ecx, [ebp - 0x28]
call fcn.00401ee0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x4a4b78
call fcn.0045de70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405260
lea ecx, [ebp - 0x14]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004141c7
push 0x401
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44f270
push 0x47ae00
lea ecx, [ebp - 0x2c]
call fcn.00401ee0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x4a4b78
call fcn.0045de70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405260
lea ecx, [ebp - 0x14]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004141c7
push 0x403
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44f2c6
push 0x47ae30
lea ecx, [ebp - 0x30]
call fcn.00401ee0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, 0x4a4b78
call fcn.0045de70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00405260
lea ecx, [ebp - 0x14]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004141c7
push 0x404
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44f31c
push 0x47ae60
lea ecx, [ebp - 0x34]
call fcn.00401ee0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x4a4b78
call fcn.0045de70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405260
lea ecx, [ebp - 0x14]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004141c7
push 1
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44f36f
push 0x47ae90
lea ecx, [ebp - 0x38]
call fcn.00401ee0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4a4b78
call fcn.0045de70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00405260
lea ecx, [ebp - 0x14]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004141c7
push 2
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44f3c2
push 0x47aea8
lea ecx, [ebp - 0x3c]
call fcn.00401ee0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x4a4b78
call fcn.0045de70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00405260
lea ecx, [ebp - 0x14]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004141c7
push 0x400
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44f47b
lea ecx, [ebp - 0x20]
call fcn.004051c0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x80], 0
je 0x44f40b
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x80]
call fcn.00407a90
push eax
lea ecx, [ebp - 0x20]
call fcn.00402990
lea ecx, [ebp - 0x20]
call fcn.00403350
movzx edx, al
test edx, edx
jne 0x44f429
lea ecx, [ebp - 0x20]
call fcn.004027a0
cmp eax, 0x12c
jle 0x44f451
mov dword [ebp - 0x24], pe_nt_image_headers32
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00402620
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00401b90
push 0x12c
mov ecx, dword [ebp - 0x1c]
call fcn.00408330
lea ecx, [ebp - 0x20]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004141c7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00405260
push 0x404
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44f4b4
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x80], 0
je 0x44f4b4
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x80]
call fcn.00406d70
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00408300
push 0x402
mov ecx, dword [ebp - 0x44]
call fcn.00414087
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44f4ec
push 0x12c
mov ecx, dword [ebp - 0x1c]
call fcn.00408330
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.004033f0
push eax
push 0x28
mov ecx, dword [ebp - 0x44]
call fcn.004040f0
mov dword [ebp - 0x40], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret