Function at 0x10007180
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100503f2
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x1006e090]
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 - 0x2bc], edi
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
call fcn.1002dbe0
add esp, 0xc
mov dword [ebp - 0x2c0], 0x104
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push dword [ebp - 0x2c0]
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 7
push eax
call fcn.10002af0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 2
push eax
call fcn.10004830
add esp, 4
cmp byte [edi + 0x98], 0
mov byte [ebp - 4], 3
jne 0x10007371
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.10003ad0
add esp, 8
test al, al
je 0x10007371
push 0
lea eax, [ebp - 0x2a8]
push 0x1a
push eax
call fcn.10004720
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x10007306
mov ecx, eax
call fcn.100027b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x238], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x2a8]
call fcn.100027b0
push 0
lea eax, [ebp - 0x2a8]
push 0x1c
push eax
call fcn.10004720
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x10007361
mov ecx, eax
call fcn.100027b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x220], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x2a8]
call fcn.100027b0
jmp 0x10007530
lea eax, [ebp - 0x278]
push eax
call fcn.10004850
add esp, 4
push 0x42
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call fcn.10002630
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push str.AppData
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x2a8]
push 0x80000003
push eax
call fcn.10002890
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x10007401
mov ecx, eax
call fcn.100027b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x238], xmm0
mov word [esi], ax
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x10007441
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007437
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100077b7
push edx
push ecx
call fcn.1001642e
add esp, 8
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push str.Local_AppData
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x2a8]
push 0x80000003
push eax
call fcn.10002890
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x100074ac
mov ecx, eax
call fcn.100027b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x220], xmm0
mov word [esi], ax
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x100074ec
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100074e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100077bc
push edx
push ecx
call fcn.1001642e
add esp, 8
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x10007530
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007526
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100077c1
push edx
push ecx
call fcn.1001642e
add esp, 8
add edi, 0x38
lea eax, [ebp - 0x248]
cmp edi, eax
je 0x10007559
cmp dword [ebp - 0x234], 8
mov ecx, edi
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.10002af0
mov esi, dword [ebp - 0x2bc]
lea eax, [ebp - 0x230]
add esi, 0x50
cmp esi, eax
je 0x10007588
cmp dword [ebp - 0x21c], 8
mov ecx, esi
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.10002af0
push edi
call fcn.10003a30
add esp, 4
test eax, eax
jne 0x100075a3
push 1
push 0x1005667c
mov ecx, edi
call fcn.10002630
push esi
call fcn.10003a30
add esp, 4
test eax, eax
jne 0x100075be
push 1
push 0x1005667c
mov ecx, esi
call fcn.10002630
mov eax, dword [ebp - 0x2bc]
lea esi, [eax + 0x20]
cmp esi, edi
je 0x100075e6
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100075d5
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, esi
push eax
call fcn.10002af0
mov eax, dword [ebp - 0x2bc]
cmp dword [eax + 0x94], 8
lea ecx, [eax + 0x80]
jb 0x100075fb
mov ecx, dword [eax + 0x80]
push dword [eax + 0x90]
push ecx
mov ecx, esi
call fcn.10002630
push esi
call fcn.10003a30
add esp, 4
test eax, eax
jne 0x10007624
push 1
push 0x1005667c
mov ecx, esi
call fcn.10002630
mov dword [ebp - 0x294], 0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 5
jb 0x1000763a
mov esi, dword [esi]
lea eax, [ebp - 0x2b8]
push eax
push esi
call fcn.10004520
mov ecx, dword [ebp - 0x294]
add esp, 8
test ecx, ecx
je 0x10007668
mov edx, dword [ecx]
lea eax, [ebp - 0x2b8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x100076a8
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000769e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100077c6
push edx
push ecx
call fcn.1001642e
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
cmp edx, 8
jb 0x10007705
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100076fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100077cb
push edx
push ecx
call fcn.1001642e
add esp, 8
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x1000775e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007754
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100077d0
push edx
push ecx
call fcn.1001642e
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1000779a
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007790
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100077d5
push edx
push ecx
call fcn.1001642e
add esp, 8
mov al, 1
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.100169ed
mov esp, ebp
pop ebp
ret
call fcn.10031d09
call fcn.10031d09
call fcn.10031d09
call fcn.10031d09
call fcn.10031d09
call fcn.10031d09
call fcn.10031d09
int3