Function at 0x44ae66
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x44ae98
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x48]
push 0
push dword [ebp - 0x38]
call fcn.00452c10
add esp, 0xc
jmp 0x44b082
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x44b03d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x44af1d
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x44af18
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x44b03b
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x44af57
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffee
jne 0x44b03b
mov dword [ebp - 0x20], 0xd21f1eb3
mov dword [ebp - 0xc], 0xfffffffb
mov dword [ebp - 0x18], 0xb5411457
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x44af93
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
cmp dword [ebp - 0x20], 0
jne 0x44afee
cmp dword [ebp - 0xc], 0x890c5440
je 0x44afab
mov dword [ebp - 0x28], 1
jmp 0x44afaf
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xee76373a
je 0x44afc1
mov dword [ebp - 0x14], 1
jmp 0x44afc5
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], eax
jg 0x44afdc
mov dword [ebp - 0x1c], 1
jmp 0x44afe0
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jge 0x44afee
and dword [ebp - 0x24], 0
jmp 0x44aff5
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x24], eax
jle 0x44b006
mov dword [ebp - 0x10], 1
jmp 0x44b00a
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, 0x801fc3ee
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp dword [ecx], eax
jg 0x44b02a
mov dword [ebp - 0x2c], 1
jmp 0x44b02e
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x44af4c
jmp 0x44b082
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
push 0x5eb9
push 0x77e8
push 1
push 0x3745
push 0
push 0
push 0x3871
push 0x267a
push dword [ebp - 0x84]
push 0x15e0
push 0x1831
push 0x16a
call fcn.00451e73
add esp, 0x30
mov esp, ebp
pop ebp
ret