Function at 0x1003f02f
Capabilities:
Get session user name

Disassembly:
push 0x2a0
mov eax, 0x100ee879
call fcn.10082248
mov ebx, ecx
push 7
xor edi, edi
xor eax, eax
pop esi
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x264], esi
mov word [ebp - 0x278], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], esi
mov word [ebp - 0x260], ax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.100a25c0
add esp, 0xc
mov dword [ebp - 0x2ac], 0x104
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push dword [ebp - 0x2ac]
xor eax, eax
mov dword [ebp - 0x238], edi
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], esi
push eax
call fcn.10003260
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 2
push eax
call fcn.10052f11
pop ecx
cmp byte [ebx + 0x7c], 0
mov byte [ebp - 4], 3
jne 0x1003f174
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.100361f3
pop ecx
pop ecx
test al, al
je 0x1003f174
push edi
lea eax, [ebp - 0x230]
push 0x1a
push eax
call fcn.10040ac5
add esp, 0xc
lea ecx, [ebp - 0x278]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x230]
call fcn.10001ee0
push edi
lea eax, [ebp - 0x230]
push 0x1c
push eax
call fcn.10040ac5
add esp, 0xc
lea ecx, [ebp - 0x260]
push eax
call fcn.10001fe0
jmp 0x1003f221
lea eax, [ebp - 0x230]
push eax
call fcn.1005309a
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
mov dword [esp], str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
call fcn.1003768b
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push str.AppData
cmovae eax, dword [ebp - 0x230]
mov esi, SysStringLen
push eax
lea eax, [ebp - 0x290]
push esi
push eax
call fcn.1005293b
add esp, 0x10
lea ecx, [ebp - 0x278]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x290]
call fcn.10001ee0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push str.Local_AppData
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x290]
push esi
push eax
call fcn.1005293b
add esp, 0x10
lea ecx, [ebp - 0x260]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x290]
call fcn.10001ee0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.10001ee0
lea eax, [ebp - 0x278]
lea esi, [ebx + 0x34]
push eax
mov ecx, esi
call fcn.1003440e
lea eax, [ebp - 0x260]
lea edi, [ebx + 0x4c]
push eax
mov ecx, edi
call fcn.1003440e
push esi
call fcn.1003565b
pop ecx
test eax, eax
jne 0x1003f265
push 0x100f58d0
mov ecx, esi
call fcn.1003768b
push edi
call fcn.1003565b
pop ecx
test eax, eax
jne 0x1003f27c
push 0x100f58d0
mov ecx, edi
call fcn.1003768b
cmp dword [esi + 0x14], 8
jb 0x1003f284
mov esi, dword [esi]
push 0x100f5980
push esi
lea eax, [ebp - 0x290]
push str._s_s_
push eax
call fcn.100350d8
add esp, 0x10
lea esi, [ebx + 0x1c]
mov ecx, esi
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x290]
call fcn.10001ee0
cmp dword [esi + 0x14], 8
jb 0x1003f2bc
mov esi, dword [esi]
push esi
call fcn.1004095b
pop ecx
lea ecx, [ebp - 0x2a8]
call fcn.10001ee0
lea ecx, [ebp - 0x248]
call fcn.10001ee0
lea ecx, [ebp - 0x260]
call fcn.10001ee0
lea ecx, [ebp - 0x278]
call fcn.10001ee0
mov al, 1
call fcn.100821f2
ret