Function at 0x10153be0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aa19e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10222354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x18]
call fcn.1000b9c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000b9c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.1000b9c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10003f70
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0x410
mov ecx, dword [ebp - 0x3c]
call fcn.101534a0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x3c]
call fcn.10153540
test eax, eax
jne 0x10153c9b
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10003fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.1000ba80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000ba80
mov eax, dword [ebp - 0x2c]
jmp 0x10153eb5
cmp dword [ebp - 0x14], 0
je 0x10153cd4
lea eax, [ebp - 0x30]
push eax
call fcn.100e0a40
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.10007b80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.1000ba80
jmp 0x10153cec
lea eax, [ebp - 0x10]
push eax
push 0x410
lea ecx, [ebp - 0x24]
call fcn.1000bac0
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.1000bb00
lea ecx, [ebp - 0x24]
call fcn.10008000
movzx ecx, al
test ecx, ecx
je 0x10153d5c
cmp dword [ebp - 0x14], 0
je 0x10153d4f
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10003fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.1000ba80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000ba80
mov eax, dword [ebp - 0x34]
jmp 0x10153eb5
push 0x101d780c
lea ecx, [ebp - 0x24]
call fcn.1000baa0
push str.e161255a_37c3_11d2_bcaa_00c04fd929dbe161255a_37c3_11d2_bcaa_00c04fd929db
mov edx, dword [ebp - 0x24]
push edx
push 0x101d78cc
lea eax, [ebp - 0x18]
push eax
call fcn.1000adf0
add esp, 0x10
push str.5e7e8100_9138_11d1_945a_00c04fc308ff00000000_0000_0000_0000_000000000000
mov ecx, dword [ebp - 0x24]
push ecx
push str._sData_s
lea edx, [ebp - 0x28]
push edx
call fcn.1000adf0
add esp, 0x10
push 0x2001f
push 0x101d7998
push SysReAllocStringLen
lea ecx, [ebp - 0x20]
call fcn.100041c0
test eax, eax
jne 0x10153e04
push 0
push 0x101d7a04
lea ecx, [ebp - 0x18]
call fcn.10007f90
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.10153900
push 0x101d7a14
push 0
lea ecx, [ebp - 0x18]
call fcn.10007f90
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.10153900
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10007f90
push eax
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.10153900
lea ecx, [ebp - 0x20]
call fcn.100040f0
push 0x2001f
push str.SoftwareMicrosoftProtected_Storage_System_Provider
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.100041c0
test eax, eax
jne 0x10153e78
push 0
push 0x101d7aac
lea ecx, [ebp - 0x18]
call fcn.10007f90
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.10153900
push 0x101d7abc
push 0
lea ecx, [ebp - 0x18]
call fcn.10007f90
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.10153900
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10007f90
push eax
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.10153900
lea ecx, [ebp - 0x20]
call fcn.100040f0
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10003fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.1000ba80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000ba80
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret