Function at 0x140038de0
Capabilities:
Get session user name

Disassembly:
mov qword ss:[rsp + 8], rbx
push rbp
sub rsp, 0x340
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14013c040]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor ebx, ebx
mov dword [rbp + 0x40], 0x101
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x60], rbx
lea rax, [rbp + 0x1c0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140038e43
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x48]
call fcn.1400082c0
nop
movabs rax, 0x9c1f31ee862d874a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0xdb239a58ba04469c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
movabs rdx, 0xf96b5f81c503ae6d
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rcx, 0xdb239a58ba0432f2
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0x10], xmm0
movabs rax, 0x9c032cf3a074c11d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs rax, 0xb64ef51b97245e9e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs rax, 0x16942071ab900c0e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
movabs rax, 0x7b25ddef431c11d2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movabs rax, 0xc7bd629014d704c3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rax, 0xbabeb4cc253fbb3b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0x411edfa8b41be4e7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
movabs rax, 0x5d0c944580fefccc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
movabs rax, 0x5c90e9315f1a4cc4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
movabs rax, 0xd17bff44f17c6f4a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movabs rax, 0x5d1ac40f565f10fa
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
movabs rax, 0xc4ef1aa59a1643a1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
movabs rax, 0x7b885df00cfdc476
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
movabs rax, 0xec4121d497fe7a47
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x78dd08538bf4626f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x19408ac226777ea4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xe7c911f561a66191
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0xced693ec4c4dee16
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x2e7bf0878e689493
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rax, 0x3562f836e7ca85a8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
movabs rax, 0x72fdc709397339b5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0xb01e8d20940c063a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0x703ae37b33313e97
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0x94cf7ecaf26226ec
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x1fe71fdd2ca99739
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xec4121d497d95a3e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x140], ymm1
vmovdqu ymm0, ymmword [rbp + 0x160]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x160], ymm1
vmovdqu ymm0, ymmword [rbp + 0x180]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x180], ymm1
vmovdqa xmm0, xmmword [rbp + 0x1a0]
vxorps xmm0, xmm0, xmmword [rbp + 0x120]
vmovdqa xmmword [rbp + 0x1a0], xmm0
lea rax, [rbp + 0x140]
mov rcx, 0xffffffffffffffff
vzeroupper
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400391e5
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0x58]
sub rax, rdx
cmp rax, rcx
jb 0x140039399
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x60], 0xf
cmova rax, qword [rbp + 0x48]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x140]
lea rcx, [rbp + 0x20]
call fcn.1400296c0
nop
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140039242
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x20]
call fcn.1400269a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x20]
call fcn.140004ca0
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rcx, qword [rbp + 0x68]
lea rdx, [0x14011e27c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
movdqa xmm1, xmmword [0x140125c90]
movdqu xmmword [rbp + 0x98], xmm1
mov byte [rbp + 0x88], 0
test rax, rax
je 0x140039354
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
nop
test eax, eax
jne 0x14003934a
nop dword [rax]
nop dword [rax + rax]
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14003933d
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140039320
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x88]
call fcn.1400269a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x1400392f0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
nop
lea rcx, ds:[rbp + 0x88]
call fcn.140004ca0
nop
lea rcx, [rbp + 0x68]
call fcn.140004ca0
nop
lea rcx, [rbp + 0x48]
call fcn.140004ca0
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140096d90
mov rbx, qword [rsp + 0x350]
add rsp, 0x340
pop rbp
ret
call fcn.1400057e0
nop
int3