Function at 0x180019640
Capabilities:
Get session user name

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
lea rdx, [rbp + 0x130]
mov dword [rbp + 0x130], 0x101
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
lea rax, [rbp - 0x30]
xorps xmm1, xmm1
mov rbx, 0xffffffffffffffff
movups xmmword [rbp - 0x50], xmm0
mov r8, rbx
movdqu xmmword [rbp - 0x40], xmm1
inc r8
cmp byte [rax + r8], 0
jne 0x180019694
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.180008740
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rbp + 0x140]
mov qword [rbp + 0x140], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_asctime]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x70], xmm0
movdqu xmmword [rbp - 0x60], xmm1
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800196e0
mov r8, rbx
lea rcx, [rbp - 0x70]
mov rdx, rax
call fcn.180008740
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rbp + 0x148]
mov qword [rbp + 0x148], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
xor ebx, ebx
xorps xmm0, xmm0
mov edx, dword [rax + 8]
mov r12d, dword [rax + 4]
mov r13d, dword [rax]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x30], bl
cmp edx, 0xa
jge 0x18001974f
mov qword [rsp + 0x40], 1
mov word [rsp + 0x30], 0x30
lea rcx, [rsp + 0x70]
call fcn.180029800
mov rcx, rax
mov r8, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x18001978c
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp r8, 0xf
jbe 0x180019784
mov rax, qword [rcx]
mov word [rax + rdx], 0x3a
jmp 0x1800197ab
xor r8d, r8d
mov qword [rsp + 0x20], 1
lea r9, [0x18006d5e0]
lea edx, [r8 + 1]
call fcn.180008e20
mov rcx, rax
movups xmm0, xmmword [rcx]
lea r9, [rsp + 0x50]
movups xmm1, xmmword [rcx + 0x10]
mov qword [rcx + 0x10], rbx
movq rdi, xmm0
mov qword [rcx + 0x18], 0xf
movups xmmword [rsp + 0x50], xmm0
mov byte [rcx], bl
mov rcx, qword [rsp + 0x48]
movdqa xmm0, xmm1
mov r15, qword [rsp + 0x40]
mov rax, rcx
psrldq xmm0, 8
movq rsi, xmm1
movq r14, xmm0
cmp r14, 0xf
movups xmmword [rsp + 0x60], xmm1
cmova r9, rdi
sub rax, r15
cmp rsi, rax
ja 0x180019838
cmp rcx, 0xf
lea rax, [rsi + r15]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmova rbx, qword [rsp + 0x30]
mov r8, rsi
mov rdx, r9
lea rcx, [rbx + r15]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
xor ebx, ebx
mov byte [rax + r15], 0
jmp 0x180019857
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.180008e20
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
cmp r14, 0xf
jbe 0x18001988a
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180019882
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800198bd
mov rcx, rdi
call fcn.180063d9c
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1800198c9
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800198c4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800198c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180063d9c
cmp r12d, 0xa
jge 0x180019926
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180019905
lea rax, [rcx + 1]
cmp rdx, 0xf
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmova rax, qword [rsp + 0x30]
mov word [rax + rcx], 0x30
jmp 0x180019926
xor r8d, r8d
mov qword [rsp + 0x20], 1
lea r9, [0x18006d5dc]
lea rcx, [rsp + 0x30]
lea edx, [r8 + 1]
call fcn.180008e20
mov edx, r12d
lea rcx, [rsp + 0x70]
call fcn.180029800
mov rcx, rax
mov r8, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x180019966
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp r8, 0xf
jbe 0x18001995e
mov rax, qword [rcx]
mov word [rax + rdx], 0x3a
jmp 0x180019985
xor r8d, r8d
mov qword [rsp + 0x20], 1
lea r9, [0x18006d5e0]
lea edx, [r8 + 1]
call fcn.180008e20
mov rcx, rax
movups xmm0, xmmword [rcx]
lea r9, [rsp + 0x50]
movups xmm1, xmmword [rcx + 0x10]
mov qword [rcx + 0x10], rbx
movq rdi, xmm0
mov qword [rcx + 0x18], 0xf
movups xmmword [rsp + 0x50], xmm0
mov byte [rcx], 0
mov rcx, qword [rsp + 0x48]
movdqa xmm0, xmm1
mov r15, qword [rsp + 0x40]
mov rax, rcx
psrldq xmm0, 8
movq rsi, xmm1
movq r14, xmm0
cmp r14, 0xf
movups xmmword [rsp + 0x60], xmm1
cmova r9, rdi
sub rax, r15
cmp rsi, rax
ja 0x180019a11
cmp rcx, 0xf
lea rax, [rsi + r15]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmova rbx, qword [rsp + 0x30]
mov r8, rsi
mov rdx, r9
lea rcx, [rbx + r15]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov byte [rax + r15], 0
jmp 0x180019a30
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.180008e20
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
cmp r14, 0xf
jbe 0x180019a63
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180019a5b
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180019a96
mov rcx, rdi
call fcn.180063d9c
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180019aa2
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019a9d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180019a9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180063d9c
cmp r13d, 0xa
jge 0x180019aff
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180019ade
lea rax, [rcx + 1]
cmp rdx, 0xf
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmova rax, qword [rsp + 0x30]
mov word [rax + rcx], 0x30
jmp 0x180019aff
xor r8d, r8d
mov qword [rsp + 0x20], 1
lea r9, [0x18006d5dc]
lea rcx, [rsp + 0x30]
lea edx, [r8 + 1]
call fcn.180008e20
mov edx, r13d
lea rcx, [rsp + 0x70]
call fcn.180029800
mov r9, rax
cmp qword [rax + 0x18], 0xf
mov rdi, qword [rax + 0x10]
jbe 0x180019b1d
mov r9, qword [rax]
mov rcx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x180019b63
cmp rcx, 0xf
lea rax, [rdi + rsi]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmova rbx, qword [rsp + 0x30]
mov r8, rdi
mov rdx, r9
lea rcx, [rbx + rsi]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov byte [rax + rsi], 0
jmp 0x180019b78
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.180008e20
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180019bb7
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019bb2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180019bb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180063d9c
call fcn.180032440
xorps xmm1, xmm1
mov ecx, 3
call fcn.1800395b0
lea rdx, [rbp + 0x138]
mov dword [rbp + 0x138], 0x3f800000
mov ecx, 4
mov dword [rbp + 0x13c], 0x3f800000
call fcn.180039520
xorps xmm1, xmm1
mov ecx, 2
call fcn.1800395b0
movaps xmm0, xmmword [0x18006ee60]
lea rdx, [rsp + 0x50]
mov ecx, 3
movups xmmword [rsp + 0x50], xmm0
call fcn.1800394c0
cmp byte [0x18006d5d9], 0
movsd xmm0, qword [str.gPFVFXWES9]
movzx eax, word [0x18006d5d8]
movsd qword [rsp + 0x50], xmm0
mov word [rsp + 0x58], ax
je 0x180019c6b
xor byte [rsp + 0x51], 0x31
xor byte [rsp + 0x52], 0x32
xor byte [rsp + 0x53], 0x33
xor byte [rsp + 0x54], 0x34
xor byte [rsp + 0x55], 0x35
xor byte [rsp + 0x56], 0x36
xor byte [rsp + 0x57], 0x37
xor byte [rsp + 0x58], 0x38
xor byte [rsp + 0x59], 0x39
mov byte [rsp + 0x50], 0x57
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x1f]
call fcn.18002b770
lea rcx, [rbp + 0x138]
mov qword [rbp + 0x138], 0
call fcn.18003c2c0
lea rcx, [rbp + 0x138]
mov dword [rbp + 0x138], 0x40a00000
mov dword [rbp + 0x13c], 0x40a00000
call fcn.18003c2c0
mov ecx, 1
call fcn.180038c30
mov ecx, 3
call fcn.180038c80
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180019d03
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019cfe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180019d83
call fcn.180063d9c
mov rdx, qword [rbp - 0x58]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
cmp rdx, 0xf
jbe 0x180019d51
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019d4c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180019d83
call fcn.180063d9c
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180019d8f
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019d8a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180019d8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180063d9c
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret