Function at 0x1000de10
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ce61
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101e8118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x18]
call fcn.10005760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10005760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10005760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10013cc0
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0x410
mov ecx, dword [ebp - 0x38]
call fcn.1000d6e0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x38]
call fcn.1000d780
test eax, eax
jne 0x1000decb
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10013ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10006030
mov eax, dword [ebp - 0x28]
jmp 0x1000e0e2
cmp dword [ebp - 0x14], 0
je 0x1000df04
lea eax, [ebp - 0x2c]
push eax
call fcn.100b0b80
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x20]
call fcn.10005a10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10006030
jmp 0x1000df1c
lea eax, [ebp - 0x10]
push eax
push 0x410
lea ecx, [ebp - 0x20]
call fcn.10005f10
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.10005fe0
lea ecx, [ebp - 0x20]
call fcn.100059e0
test eax, eax
je 0x1000df89
cmp dword [ebp - 0x14], 0
je 0x1000df7c
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10013ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10006030
mov eax, dword [ebp - 0x30]
jmp 0x1000e0e2
push 0x10187d40
lea ecx, [ebp - 0x20]
call fcn.10005aa0
push str.e161255a_37c3_11d2_bcaa_00c04fd929dbe161255a_37c3_11d2_bcaa_00c04fd929db
mov ecx, dword [ebp - 0x20]
push ecx
push 0x10187df4
lea edx, [ebp - 0x18]
push edx
call fcn.10018e10
add esp, 0x10
push str.5e7e8100_9138_11d1_945a_00c04fc308ff00000000_0000_0000_0000_000000000000
mov eax, dword [ebp - 0x20]
push eax
push str._sData_s
lea ecx, [ebp - 0x24]
push ecx
call fcn.10018e10
add esp, 0x10
push 0x2001f
push 0x10187ec0
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.10013d50
test eax, eax
jne 0x1000e031
push 0
push 0x10187f2c
lea ecx, [ebp - 0x18]
call fcn.10005a00
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.1000db40
push 0x10187f3c
push 0
lea ecx, [ebp - 0x18]
call fcn.10005a00
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.1000db40
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.10005a00
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1000db40
lea ecx, [ebp - 0x1c]
call fcn.10013d10
push 0x2001f
push str.SoftwareMicrosoftProtected_Storage_System_Provider
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.10013d50
test eax, eax
jne 0x1000e0a5
push 0
push 0x10187fc4
lea ecx, [ebp - 0x18]
call fcn.10005a00
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.1000db40
push 0x10187fd4
push 0
lea ecx, [ebp - 0x18]
call fcn.10005a00
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.1000db40
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.10005a00
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1000db40
lea ecx, [ebp - 0x1c]
call fcn.10013d10
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10013ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10006030
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret