Function at 0x180005630
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x18019aa08]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
mov r13, rcx
mov qword [rbp + 0xf0], rdx
xor r12d, r12d
call fcn.180006330
mov dword [rbp + 0xf8], 0x64
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x140]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x110], r12
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], r12b
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800056c1
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x100]
call fcn.180007b10
nop
mov dword [rsp + 0x68], 0x948e97d1
mov dword [rsp + 0x6c], 0x9a948e9e
mov word [rsp + 0x70], Ordinal_200
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x30], 0x979896d1
mov dword [rsp + 0x34], 0x100c19e
mov dword [rsp + 0x78], 0x899c8bd1
mov dword [rsp + 0x7c], 0x90929588
mov dword [rbp - 0x80], 0x3c6496
mov byte [rbp - 0x7c], 1
mov dword [rsp + 0x58], 0x899c95d1
mov dword [rsp + 0x5c], 0x9b9a9d88
mov word [rsp + 0x60], Ordinal_200
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x38], 0x8f9a88d1
mov dword [rsp + 0x3c], 0xc38f9988
mov word [rsp + 0x40], 0x100
mov dword [rsp + 0x48], 0x9f898183
mov dword [rsp + 0x4c], 0x999290c6
mov word [rsp + 0x50], 0x100
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x98]
call fcn.180005e30
mov rbx, rax
lea r9, [rbp + 0x100]
mov r14, qword [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae r9, r14
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
mov rdx, qword [rbp + 0x110]
cmp rdx, rax
ja 0x1800057e6
lea r15, [rcx + rdx]
mov qword [rbx + 0x10], r15
mov rsi, rbx
cmp r8, 0x10
jb 0x1800057d1
mov rsi, qword [rbx]
add rcx, rsi
mov r8, rdx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rsi], 0
jmp 0x1800057fd
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.180008ba0
mov rbx, rax
mov r14, qword [rbp + 0x100]
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x78]
call fcn.180004710
nop
mov rdx, rdi
mov rcx, rax
call fcn.180006f50
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x58]
call fcn.180005530
nop
lea rdx, [r13 + 0x260]
mov rcx, rax
call fcn.180006f50
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.180004610
nop
mov rdx, r13
mov rcx, rax
call fcn.180006f50
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x18]
call fcn.180004710
nop
lea rdx, [r13 + 0x20]
mov rcx, rax
call fcn.180006f50
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180005962
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000595d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000595d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1800059b1
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800059ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800059ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1800059ef
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800059ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800059ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180005a3e
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005a38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005a38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x180005a7c
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005a77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005a77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x180005acb
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005ac5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005ac5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x180005b0c
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005b07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005b07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180005b61
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005b5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005b5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x180005ba5
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005ba0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005ba0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d78
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], 0
lea rax, [rbp - 8]
mov qword [rbp + 0xb8], rax
lea rdx, [r13 + 0xa0]
lea rcx, [rbp - 8]
call fcn.180007090
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0xc0], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x28]
call fcn.180007090
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
lea r12, [rbp + 0x120]
mov rsi, qword [rbp + 0xd0]
movups xmm1, xmmword [rbp + 0xe0]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0x10
cmovae r12, rsi
movq r15, xmm1
cmp r15, 0x10
jae 0x180005c4e
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180005cc7
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180005ca2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180005e1e
mov rcx, rax
call fcn.1800d1d3c
mov rcx, rax
test rax, rax
je 0x180005d15
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180005cb0
test rcx, rcx
je 0x180005cae
call fcn.1800d1d3c
jmp 0x180005cb0
xor eax, eax
mov qword [rbp - 0x78], rax
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rbx
mov r9, qword [rbp - 0x50]
mov r8, rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x48]
call fcn.180005fa0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180005d21
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005d1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005d1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800d1d78
call fcn.180006330
nop
cmp r13, 0x10
jb 0x180005d62
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180005d59
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005d59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800d1d78
nop
mov rax, qword [rbp + 0x118]
cmp rax, 0x10
jb 0x180005da4
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180005d9b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005d9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1800d1d78
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180005dda
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180005dd5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005e17
mov rcx, r8
call fcn.1800d1d78
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800d22b0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180001ad0
nop
int3