Function at 0x1400373f0
Capabilities:
Execute command
Get session user name
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1401960c0]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov dword [rsp + 0x58], 0x101
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x140037477
lea rdx, str.Failed_to_get_username._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14003cf60
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14003d140]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400376ec
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14010f280
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [str.C:Users_]
movups xmmword [rax], xmm0
movzx ecx, word [0x14017de80]
mov word [rax + 0x10], cx
mov word [rax + 0x12], si
lea rax, [rbp + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400374d3
cmp rbx, 6
ja 0x140037504
lea rax, [rbx + 9]
mov qword [rsp + 0x48], rax
lea rcx, [rdi + 0x12]
lea r8, [rbx + rbx]
lea rdx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx*2 + 0x12], si
jmp 0x140037520
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x70]
movzx r8d, byte [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14003d290
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, rdi
cmp rax, 8
jb 0x14003756b
lea rax, [rdi + 8]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rcx, 7
cmova rbx, qword [rsp + 0x38]
lea rcx, [rbx + rdi*2]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Desktop
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x10], si
jmp 0x140037590
mov qword [rsp + 0x20], 8
lea r9, str.Desktop
movzx r8d, byte [rsp + 0x30]
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.14003d290
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x1400375e7
lea rdx, str.Failed_to_change_directory._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14003cf60
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14003d140]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400376a7
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x14017ded0]
lea rcx, [rsp + 0x60]
call fcn.14003c220
nop
cmp qword [rbp - 0x18], 0
je 0x140037651
lea rdx, str.echo_Asus_Spoofing_has_started__crazy_right____niggerfile.txt
lea rcx, [rsp + 0x60]
call fcn.14003cf60
lea rcx, [rsp + 0x68]
call fcn.14003cb10
test rax, rax
jne 0x140037651
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.output.bat
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.14003c1b0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400376ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400376e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400376e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010f5d4
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14010eea0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret