Function at 0x140005280
Capabilities:
Contain obfuscated stackstrings
Execute command
Get disk information
Get disk size
Set console window title

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 - 0x20]
sub rsp, 0x120
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp + 0x18], rax
xor r12d, r12d
mov edx, 0x20
lea rcx, [rsp + 0x70]
call fcn.140004d50
cmp qword [rax + 0x18], 0xf
jbe 0x1400052ce
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140005316
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005311
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005311
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400080ac
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x14000c520]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [str.0_7__i____qRYRROPTC_n_t]
movdqu xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x14000c440]
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], 0x150c4417
mov dword [rbp - 0x5c], 0xb1d1b47
mov dword [rbp - 0x58], 0x41819
mov word [rbp - 0x54], 8
mov byte [rbp - 0x52], 1
lea rcx, [rsp + 0x70]
call fcn.140005a50
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140006b80
lea rdx, [0x140006d60]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [0x140012ac0]
lea rdi, [0x140012d80]
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x40], 0x736c63
mov byte [rsp + 0x44], r12b
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400053d5
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007380
lea rdx, [0x140006d60]
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]
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
add rbx, 0x20
cmp rbx, rdi
jl 0x1400053b0
call fcn.1400022d0
mov dword [rsp + 0x40], 0x736c63
mov byte [rsp + 0x44], r12b
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rsp + 0x54], 0x2e6465
mov dword [rsp + 0x48], 0x6d657577
mov dword [rsp + 0x4c], 0x20696c65
mov dword [rsp + 0x50], 0x6d6d7563
mov byte [rsp + 0x58], r12b
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140006b80
lea rdx, [0x140006d60]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
lea edx, [rax + 1]
mov eax, 2
mul rdx
mov rsi, 0xffffffffffffffff
cmovb rax, rsi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x1400054a9
mov eax, esi
jmp 0x1400059d7
mov rdx, r15
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [r15], r12w
je 0x1400059cc
movabs rdi, 0x7ffffffffffffffe
movabs r13, 0x7fffffffffffffff
mov r14d, 0xa
nop dword [rax + rax]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
cmp ebx, 3
jne 0x140005979
mov dword [rsp + 0x64], 0x736c63
mov byte [rsp + 0x68], 0
lea rcx, [rsp + 0x64]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov rbx, rsi
nop dword [rax + rax]
inc rbx
cmp word [r15 + rbx*2], 0
jne 0x140005550
cmp rbx, rdi
ja 0x140005a35
cmp rbx, 7
ja 0x140005593
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
add rbx, rbx
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx - 0x50], r12w
jmp 0x140005628
mov rsi, rbx
or rsi, 7
cmp rsi, rdi
jbe 0x1400055df
mov rsi, rdi
lea rcx, [r13*2]
cmp rcx, 0x1000
jb 0x1400055fe
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005a47
mov rcx, rax
call fcn.140008070
test rax, rax
je 0x140005a12
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140005606
cmp rsi, 0xa
cmovb rsi, r14
lea rcx, [rsi + 1]
cmp rcx, r13
ja 0x140005a47
add rcx, rcx
jne 0x1400055aa
mov rdi, r12
jmp 0x140005606
call fcn.140008070
mov rdi, rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rsi
add rbx, rbx
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400050d0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov edi, 2
cmp qword [rax + 0x10], rdi
cmovb rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005658
mov r14, qword [rax]
cmp rdi, r13
ja 0x140005a41
cmp rdi, 0xf
ja 0x14000568c
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x30], 0
jmp 0x140005721
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
jbe 0x1400056ab
mov rbx, r13
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400056dc
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400056c6
mov rsi, r12
jmp 0x140005703
cmp rcx, 0x1000
jb 0x1400056fb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005a3b
mov rcx, rax
call fcn.140008070
test rax, rax
je 0x140005a04
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140005703
call fcn.140008070
mov rsi, rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rbx
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000575c
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005757
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a04
call fcn.1400080ac
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp], xmm1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400057a8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a0b
call fcn.1400080ac
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1400057f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a12
call fcn.1400080ac
mov edx, 4
lea rcx, [rbp - 0x50]
call fcn.140004f10
mov rbx, rax
mov word [rsp + 0x60], 0x1e
mov byte [rsp + 0x62], 1
mov edx, 4
lea rcx, [rbp - 0x30]
call fcn.140004f10
nop
mov word [rsp + 0x40], 0x13
mov byte [rsp + 0x42], 1
mov dword [rsp + 0x48], 0x43595b65
mov dword [rsp + 0x4c], 0x5e505d5a
mov dword [rsp + 0x50], 0x1d080d
mov byte [rsp + 0x54], 1
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140006da0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140005885
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400058cb
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a19
call fcn.1400080ac
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140005917
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a20
call fcn.1400080ac
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140005962
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000595d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a27
call fcn.1400080ac
mov r14d, 0xa
mov rsi, 0xffffffffffffffff
movabs rdi, 0x7ffffffffffffffe
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea r15, [r15 + rax*2]
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400059c1
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a2e
call fcn.1400080ac
cmp word [r15], 0
jne 0x1400054e0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140008050
lea r11, [rsp + 0x120]
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002070
nop
call fcn.140001fd0
int3
call fcn.140002070
nop
call fcn.140001fd0
int3