Function at 0x14004c4f0
Capabilities:
Delete file
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], 6
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp], r15
mov eax, dword [str.735411]
mov dword [rbp - 0x18], eax
movzx eax, word [0x14010bcc0]
mov word [rbp - 0x14], ax
mov byte [rbp - 0x12], r14b
lea r8, [rbp - 0x18]
lea rdx, [rbp + 0x28]
lea rcx, [0x1401766a0]
call fcn.140079700
nop
lea rbx, [r14 - 1]
movabs r12, 0x7fffffffffffffff
cmp byte [0x1401768b0], r14b
je 0x14004c955
lea r8d, [r14 + 0x22]
lea rdx, str.C:Volumeidchanger.exe
lea rcx, [rbp + 0x60]
call fcn.140061a60
nop
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
sub r8, rdx
lea rcx, [rbp + 0x60]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x68]
call fcn.1400630d0
test rax, rax
jne 0x14004c5c9
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [rbx + 3]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov byte [rsp + 0x5d], 0x33
mov byte [rsp + 0x5e], Ordinal_79
mov byte [rsp + 0x5f], reloc.WLDAP32.dll_Ordinal_32
mov byte [rsp + 0x60], Ordinal_50
mov byte [rsp + 0x61], reloc.WS2_32.dll_send
mov byte [rsp + 0x62], Ordinal_32
mov byte [rsp + 0x63], 1
mov byte [rsp + 0x64], Ordinal_32
mov byte [rsp + 0x65], reloc.WS2_32.dll_send
mov byte [rsp + 0x66], reloc.WLDAP32.dll_Ordinal_26
mov byte [rsp + 0x67], reloc.WS2_32.dll_select
mov byte [rsp + 0x68], reloc.WS2_32.dll_select
mov byte [rsp + 0x69], reloc.WS2_32.dll_socket
mov byte [rsp + 0x6a], reloc.WS2_32.dll_select
mov byte [rsp + 0x6b], reloc.WLDAP32.dll_Ordinal_22
mov byte [rsp + 0x6c], reloc.WS2_32.dll_recv
mov byte [rsp + 0x6d], 0xe5
mov byte [rsp + 0x6e], 0xf4
mov byte [rsp + 0x6f], 0xa2
mov byte [rsp + 0x70], 0xec
mov byte [rsp + 0x71], 0xf4
mov byte [rsp + 0x72], 0xe5
mov byte [rsp + 0x73], 0x84
movzx eax, byte [rsp + 0x5d]
mov r8, r14
movabs rsi, 0x86e3acae7258ae70
mov r9, rsi
lea rax, [rsp + 0x5d]
sub r9, rax
nop dword [rax]
lea rdx, [rsp + 0x5d]
add rdx, r8
movsx rdi, byte [rdx]
mov rcx, r8
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rax, rsi
shr rax, cl
and al, 0xf
add dl, r9b
xor al, dl
xor al, dil
mov byte [rsp + r8 + 0x5d], al
inc r8
cmp r8, 0x17
jb 0x14004c660
lea rcx, [rsp + 0x5d]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x38]
call fcn.14004c280
nop
mov byte [rsp + 0x50], reloc.WLDAP32.dll_Ordinal_22
mov byte [rsp + 0x51], ntohl
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x53], reloc.WLDAP32.dll_Ordinal_26
mov byte [rsp + 0x54], reloc.WS2_32.dll_ntohl
mov byte [rsp + 0x55], 4
mov byte [rsp + 0x56], 6
mov byte [rsp + 0x57], ntohl
mov byte [rsp + 0x58], 0x45
mov byte [rsp + 0x59], 4
mov byte [rsp + 0x5a], 0x5a
mov byte [rsp + 0x5b], 0x49
mov byte [rsp + 0x5c], 0x76
movzx eax, byte [rsp + 0x50]
mov r8, r14
movabs r10, 0xbb566ea9358b8a64
mov r9, r10
lea rax, [rsp + 0x50]
sub r9, rax
nop
lea rdx, [rsp + 0x50]
add rdx, r8
movsx rdi, byte [rdx]
mov rcx, r8
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rax, r10
shr rax, cl
and al, 0xf
add dl, r9b
xor al, dl
xor al, dil
mov byte [rsp + r8 + 0x50], al
inc r8
cmp r8, 0xd
jb 0x14004c710
lea rax, [rsp + 0x50]
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004c753
mov rax, r12
mov rdx, qword [rbp - 0x28]
sub rax, rdx
cmp rax, rcx
jb 0x14004ccc4
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rax, qword [rbp - 0x38]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
lea rcx, [rbp + 8]
call fcn.140064e00
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov byte [rsp + 0x74], 0x33
mov byte [rsp + 0x75], Ordinal_79
mov byte [rsp + 0x76], reloc.WLDAP32.dll_Ordinal_32
mov byte [rsp + 0x77], Ordinal_50
mov byte [rsp + 0x78], reloc.WS2_32.dll_send
mov byte [rsp + 0x79], Ordinal_32
mov byte [rsp + 0x7a], 1
mov byte [rsp + 0x7b], Ordinal_32
mov byte [rsp + 0x7c], reloc.WS2_32.dll_send
mov byte [rsp + 0x7d], reloc.WLDAP32.dll_Ordinal_26
mov byte [rsp + 0x7e], reloc.WS2_32.dll_select
mov byte [rsp + 0x7f], reloc.WS2_32.dll_select
mov byte [rbp - 0x80], reloc.WS2_32.dll_socket
mov byte [rbp - 0x7f], reloc.WS2_32.dll_select
mov byte [rbp - 0x7e], reloc.WLDAP32.dll_Ordinal_22
mov byte [rbp - 0x7d], reloc.WS2_32.dll_recv
mov byte [rbp - 0x7c], 0xe5
mov byte [rbp - 0x7b], 0xf4
mov byte [rbp - 0x7a], 0xa2
mov byte [rbp - 0x79], 0xec
mov byte [rbp - 0x78], 0xf4
mov byte [rbp - 0x77], 0xe5
mov byte [rbp - 0x76], 0x84
movzx eax, byte [rsp + 0x74]
mov r8, r14
mov r9, rsi
lea rax, [rsp + 0x74]
sub r9, rax
nop dword [rax]
lea rdx, [rsp + 0x74]
add rdx, r8
movsx rdi, byte [rdx]
mov rcx, r8
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rax, rsi
shr rax, cl
and al, 0xf
add dl, r9b
xor al, dl
xor al, dil
mov byte [rsp + r8 + 0x74], al
inc r8
cmp r8, 0x17
jb 0x14004c830
lea rcx, [rsp + 0x74]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x14004c8b4
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c8af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c8af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3fd0
movdqa xmm0, xmmword [0x14010e5a0]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14004c903
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c8fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c8fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3fd0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r15
mov byte [rbp - 0x38], 0
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x68]
call fcn.1400626f0
lea rcx, [rbp + 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 + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [0x1400429b0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.140065b00
mov qword [0x1401761e8], rax
mov byte [rbp + 0x1b0], 0xa0
mov byte [rbp + 0x1b1], 0xb3
mov byte [rbp + 0x1b2], 0xb5
mov byte [rbp + 0x1b3], 0xda
movzx eax, byte [rbp + 0x1b0]
mov r8, r14
movabs r10, 0x1b701780a8f433d6
mov r9, r10
lea rax, [rbp + 0x1b0]
sub r9, rax
nop dword [rax + rax]
lea rdx, [rbp + 0x1b0]
add rdx, r8
movsx rdi, byte [rdx]
mov rcx, r8
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rax, r10
shr rax, cl
and al, 0xf
add dl, r9b
xor al, dl
xor al, dil
mov byte [rbp + r8 + 0x1b0], al
inc r8
cmp r8, 4
jb 0x14004c9b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
lea rax, [rbp + 0x1b0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004ca06
mov r8, rbx
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x40]
call fcn.140064780
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x58]
lea rcx, [0x1401766a0]
call fcn.140083c50
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x18]
call fcn.140062c40
mov r8, rax
lea rdx, [rbp - 0x70]
lea rcx, [0x1401766a0]
call fcn.140079700
nop
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x20], 0
mov rdx, qword [rbp - 0x70]
mov rcx, qword [0x1401761e8]
call fcn.14006ae80
test rax, rax
jne 0x14004ca8f
mov rcx, qword [0x1401761e8]
call fcn.1400669c0
mov rcx, qword [0x1401761e8]
call fcn.1400669c0
mov rax, qword [rbp - 0x70]
cmp rax, qword [rbp - 0x68]
je 0x14004caa9
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rax, qword [rbp - 0x58]
mov qword [rbp - 0x48], r14
mov byte [rax], 0
mov rbx, r14
mov r8, r14
mov rsi, r14
mov rdi, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
sub rdi, rcx
je 0x14004cb3c
cmp rdi, r12
ja 0x14004ccca
cmp rdi, 0x1000
jb 0x14004cb0f
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14004ccbe
call fcn.1400d3c84
test rax, rax
je 0x14004cc0d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14004cb1a
mov rcx, rdi
call fcn.1400d3c84
mov rbx, rax
lea rsi, [rbx + rdi]
mov rdi, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x70]
sub rdi, rdx
mov r8, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea r8, [rbx + rdi]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], r8
mov rdx, qword [rbp - 0x60]
mov qword [rbp - 0x60], rsi
test rcx, rcx
je 0x14004cb86
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14004cb79
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004cc0d
mov rcx, rdi
call fcn.1400d3fd0
mov r8, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
sub r8, rbx
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
sub rcx, rdi
xor eax, eax
rep stosb byte [rdi], al
lea rdi, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdi, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x48]
rep stosb byte [rdi], al
call fcn.140042a90
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14004cc25
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cc14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cc14
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.1400d3fd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14004cc63
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cc5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cc5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3fd0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r15
mov byte [rbp - 0x58], 0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14004ccac
mov rdx, qword [rbp + 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cca7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cca7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3fd0
add rsp, 0x270
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140003430
nop
call fcn.140041920
nop
call fcn.140064f30
int3