Function at 0x10007070
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f332
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x1006d090]
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.1002cb20
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.100047b0
add esp, 4
cmp byte [edi + 0x98], 0
mov byte [ebp - 4], 3
jne 0x10007261
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.10003a50
add esp, 8
test al, al
je 0x10007261
push 0
lea eax, [ebp - 0x2a8]
push 0x1a
push eax
call fcn.100046a0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x100071f6
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.100046a0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x10007251
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 0x10007420
lea eax, [ebp - 0x278]
push eax
call fcn.100047d0
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 0x100072f1
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 0x10007331
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007327
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076a7
push edx
push ecx
call fcn.1001544a
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 0x1000739c
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 0x100073dc
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100073d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076ac
push edx
push ecx
call fcn.1001544a
add esp, 8
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x10007420
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076b1
push edx
push ecx
call fcn.1001544a
add esp, 8
add edi, 0x38
lea eax, [ebp - 0x248]
cmp edi, eax
je 0x10007449
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 0x10007478
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.100039b0
add esp, 4
test eax, eax
jne 0x10007493
push 1
push 0x1005565c
mov ecx, edi
call fcn.10002630
push esi
call fcn.100039b0
add esp, 4
test eax, eax
jne 0x100074ae
push 1
push 0x1005565c
mov ecx, esi
call fcn.10002630
mov eax, dword [ebp - 0x2bc]
lea esi, [eax + 0x20]
cmp esi, edi
je 0x100074d6
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100074c5
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 0x100074eb
mov ecx, dword [eax + 0x80]
push dword [eax + 0x90]
push ecx
mov ecx, esi
call fcn.10002630
push esi
call fcn.100039b0
add esp, 4
test eax, eax
jne 0x10007514
push 1
push 0x1005565c
mov ecx, esi
call fcn.10002630
mov dword [ebp - 0x294], 0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 5
jb 0x1000752a
mov esi, dword [esi]
lea eax, [ebp - 0x2b8]
push eax
push esi
call fcn.100044a0
mov ecx, dword [ebp - 0x294]
add esp, 8
test ecx, ecx
je 0x10007558
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 0x10007598
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000758e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076b6
push edx
push ecx
call fcn.1001544a
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 0x100075f5
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100075eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076bb
push edx
push ecx
call fcn.1001544a
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 0x1000764e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007644
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076c0
push edx
push ecx
call fcn.1001544a
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1000768a
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007680
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100076c5
push edx
push ecx
call fcn.1001544a
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.10015a09
mov esp, ebp
pop ebp
ret
call fcn.10030c49
call fcn.10030c49
call fcn.10030c49
call fcn.10030c49
call fcn.10030c49
call fcn.10030c49
call fcn.10030c49
int3