Function at 0x10001200
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bfc7
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x424], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x434], edi
push str.LOCALAPPDATA
mov dword [ebp - 0x430], 0
call fcn.1000cb77
mov ecx, eax
xorps xmm0, xmm0
mov esi, ecx
mov dword [ebp - 0x424], ecx
movups xmmword [edi], xmm0
add esp, 4
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea edx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10001280
sub esi, edx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x100014a0
mov dword [edi + 0x14], 7
cmp esi, 7
ja 0x100012c2
mov dword [edi + 0x10], esi
add esi, esi
push esi
push ecx
push edi
call fcn.10006560
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x100013a3
mov eax, dword [edi + 0x14]
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x100012e6
mov eax, 0x7ffffffe
mov dword [ebp - 0x42c], eax
mov eax, 0x7fffffff
add eax, eax
jmp 0x10001331
mov edx, eax
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp dword [edi + 0x14], eax
jbe 0x1000130a
mov eax, 0x7ffffffe
mov dword [ebp - 0x42c], eax
mov eax, 0x7fffffff
add eax, eax
jmp 0x10001331
mov eax, dword [edi + 0x14]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
mov dword [ebp - 0x42c], ecx
lea eax, [ecx + 1]
cmp eax, 0x7fffffff
ja 0x1000149b
add eax, eax
cmp eax, 0x1000
jb 0x10001360
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1000149b
push ecx
call fcn.1000531e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100014a5
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x42c]
jmp 0x10001377
test eax, eax
je 0x10001375
push eax
call fcn.1000531e
mov ecx, dword [ebp - 0x42c]
add esp, 4
jmp 0x10001377
xor eax, eax
mov dword [edi + 0x10], esi
add esi, esi
push esi
push dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
push eax
mov dword [edi], eax
mov dword [edi + 0x14], ecx
call fcn.10006560
mov eax, dword [ebp - 0x428]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
mov dword [ebp - 4], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x430], 1
jne 0x1000147e
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x104
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str.C:Users_sAppDataLocal
push eax
call fcn.10001b20
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1000898f
add esp, 0x14
test eax, eax
jne 0x1000147e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001412
sub ecx, edx
mov edx, dword [edi + 0x14]
sar ecx, 1
cmp ecx, edx
ja 0x10001462
mov dword [ebp - 0x428], edi
mov eax, edi
cmp edx, 7
jbe 0x1000143d
mov eax, dword [edi]
mov dword [ebp - 0x428], eax
lea esi, [ecx + ecx]
mov dword [edi + 0x10], ecx
push esi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.10006560
mov eax, dword [ebp - 0x428]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x1000147e
lea eax, [ebp - 0x218]
mov byte [ebp - 0x428], 0
push eax
push dword [ebp - 0x428]
push ecx
mov ecx, edi
call fcn.10001b60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005310
mov esp, ebp
pop ebp
ret
call fcn.10001150
call fcn.100011f0
call fcn.1000d0e6
int3