Function at 0x140039d24
Capabilities:
Delete file
Encode data using xor
Execute command
Set console window title
Terminate process

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 - 0x70]
sub rsp, 0x170
mov rax, qword [0x140065f98]
xor rax, rsp
mov qword [rbp + 0x60], rax
call fcn.140036ffc
lea rcx, [0x140042550]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, 0x1e
lea rcx, [rsp + 0x60]
call fcn.140037ff8
cmp qword [rax + 0x18], 0x10
jb 0x140039d81
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140039dca
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039dc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039dc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a8ac
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], dil
movups xmm0, xmmword [0x1400427e8]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1400427f8]
movups xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [0x140042808]
movsd qword [rbp - 0x60], xmm0
movzx eax, word [0x140042810]
mov word [rbp - 0x58], ax
mov al, byte [0x140042812]
mov byte [rbp - 0x56], al
mov r8d, edi
lea r9, [rbp - 0x80]
mov r12d, 0x4ec4ec4f
mov r13b, 0x38
lea r15d, [rdi + 1]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x2b
jl 0x140039e32
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140030624
movups xmm0, xmmword [0x140042818]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x140042828]
movups xmmword [rbp - 0x70], xmm1
mov eax, dword [0x140042838]
mov dword [rbp - 0x60], eax
mov al, byte [0x14004283c]
mov byte [rbp - 0x5c], al
mov r8d, edi
lea r9, [rbp - 0x80]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x25
jl 0x140039e97
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140030624
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400303dc
lea rcx, [rsp + 0x60]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 0x10
cmovae rcx, rsi
mov rbx, qword [rsp + 0x70]
cmp rbx, r15
jne 0x140039f12
mov r8, rbx
lea rdx, [0x140042a98]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140039f8b
lea rcx, [rsp + 0x60]
cmp r14, 0x10
cmovae rcx, rsi
cmp rbx, r15
jne 0x140039f37
mov r8, rbx
lea rdx, [0x1400422b0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140039f8b
lea rcx, [rsp + 0x60]
cmp r14, 0x10
cmovae rcx, rsi
cmp rbx, 3
jne 0x140039f5d
mov r8, rbx
lea rdx, [0x140042a9c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140039f8b
lea rcx, [rsp + 0x60]
cmp r14, 0x10
cmovae rcx, rsi
cmp rbx, 3
jne 0x14003a285
mov r8, rbx
lea rdx, [0x140042aa0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003a285
mov ecx, r15d
call qword [sym.imp.USER32.dll_BlockInput]
xor edx, edx
mov rcx, qword [0x140066898]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [rbp - 0x40]
lea rax, [0x140000000]
lea rax, [rax + 0x42840]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov ebx, 0x80
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + rbx - 0x10], xmm0
movups xmm1, xmmword [rax + rbx]
movups xmmword [rcx + rbx], xmm1
mov al, byte [rax + rbx + 0x10]
mov byte [rcx + rbx + 0x10], al
mov r8d, edi
lea r9, [rbp - 0x40]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x91
jl 0x14003a010
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rbp - 0x40]
lea rcx, [0x140000000]
lea rcx, [rcx + 0x428e0]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
add rdx, rbx
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm1
movups xmm0, xmmword [rcx + rbx]
movups xmmword [rdx], xmm0
mov eax, dword [rcx + rbx + 0x10]
mov dword [rdx + 0x10], eax
mov al, byte [rcx + rbx + 0x14]
mov byte [rdx + 0x14], al
mov r8d, edi
lea r9, [rbp - 0x40]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x95
jl 0x14003a0b2
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movaps xmm0, xmmword [0x140042980]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x140042990]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [0x1400429a0]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm1, xmmword [0x1400429b0]
movaps xmmword [rbp - 0x50], xmm1
mov r8d, edi
lea r9, [rbp - 0x80]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x40
jl 0x14003a118
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, 5
mov rcx, qword [0x140066898]
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [rsp + 0x28], r15
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14003114c
mov rcx, rax
call fcn.140031718
lea rcx, [0x140042550]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rbx, str.e_1_34m
mov rcx, rbx
call fcn.14003747c
lea rdx, [0x140042aa8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140030624
mov rcx, rax
lea rdx, [0x140041c98]
call fcn.140030624
mov rcx, rax
lea rdx, [0x140042aa4]
call fcn.140030624
cmp qword [0x140065df8], 0x10
cmovae rbx, qword [str.e_1_34m]
mov r8, qword [0x140065df0]
mov rdx, rbx
mov rcx, rax
call fcn.140030c0c
mov r10, rax
movups xmm0, xmmword [0x1400429c0]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1400429d0]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [0x1400429d8]
mov dword [rsp + 0x58], ecx
movzx ecx, word [0x1400429dc]
mov word [rsp + 0x5c], cx
cmp byte [0x1400429dd], dil
je 0x14003a24f
mov r8d, edi
lea r9, [rsp + 0x40]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x1e
jl 0x14003a229
lea rdx, [rsp + 0x40]
mov rcx, r10
call fcn.140030624
mov qword [rsp + 0x28], r15
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14003114c
mov rcx, rax
call fcn.140031718
lea rcx, [0x140042550]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x1400429e0]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1400429f0]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x1400429f8]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1400429fc]
mov word [rsp + 0x5c], ax
mov al, byte [0x1400429fe]
mov byte [rsp + 0x5e], al
mov r8d, edi
lea r9, [rsp + 0x40]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x1f
jl 0x14003a2c7
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
movups xmm0, xmmword [0x140042a00]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x140042a10]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x140042a18]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140042a1c]
mov word [rsp + 0x5c], ax
mov al, byte [0x140042a1e]
mov byte [rsp + 0x5e], al
mov r8d, edi
lea r9, [rsp + 0x40]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x1f
jl 0x14003a33a
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
lea rcx, [0x140042550]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, 0x1e
lea rcx, [rsp + 0x40]
call fcn.140037ff8
cmp qword [rax + 0x18], 0x10
jb 0x14003a399
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14003a3e2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a3dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a3dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a8ac
movups xmm0, xmmword [str.oXSOUSY]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x140042a30]
movsd qword [rsp + 0x50], xmm0
cmp byte [0x140042a37], dil
je 0x14003a433
mov r8d, edi
lea r9, [rsp + 0x40]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x18
jl 0x14003a40d
lea rcx, [rsp + 0x40]
call fcn.14003a6f8
lea rbx, [0x140066ae8]
cmp qword [0x1400667d8], rdi
jne 0x14003a504
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r15
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.1400311e0
mov rcx, rax
call fcn.140031718
movups xmm0, xmmword [0x140042a38]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x140042a48]
movups xmmword [rbp - 0x70], xmm1
movzx eax, word [0x140042a58]
mov word [rbp - 0x60], ax
mov r8d, edi
lea r9, [rbp - 0x80]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x22
jl 0x14003a49a
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140038298
mov dword [0x140066af0], eax
mov ecx, eax
call fcn.140037dec
mov qword [0x1400667d8], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400311e0
mov rcx, rax
call fcn.140031718
cmp qword [0x1400667d8], rdi
je 0x14003a45b
mov byte [rsp + 0x20], dil
movups xmm0, xmmword [str.HK_HO]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x140042a70]
mov dword [rsp + 0x50], eax
cmp byte [0x140042a73], dil
je 0x14003a556
mov r8d, edi
lea r9, [rsp + 0x40]
mov eax, r12d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, r13b
xor byte [r9], al
add r8d, r15d
add r9, r15
cmp r8d, 0x14
jl 0x14003a530
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [0x140042550]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140038370
test al, al
jne 0x14003a5f0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140032a7c
mov r9, rax
cmp byte [rax + 0xd], dil
je 0x14003a5c0
mov r8, rax
mov eax, r12d
mul edi
shr edx, 4
movsx ecx, dl
imul edx, ecx, 0x34
mov al, dil
sub al, dl
add al, r13b
xor byte [r8], al
add edi, r15d
add r8, r15
cmp edi, 0xe
jl 0x14003a59c
mov rcx, r9
call fcn.14003a6f8
mov dword [rsp + 0x28], 3
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400303d0
mov rcx, rax
call fcn.1400316f8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rbx
call fcn.140039550
test al, al
jne 0x14003a66b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140032aa0
mov r9, rax
cmp byte [rax + 0xc], dil
je 0x14003a63b
mov r8, rax
mov eax, r12d
mul edi
shr edx, 4
movsx ecx, dl
imul edx, ecx, 0x34
mov al, dil
sub al, dl
add al, r13b
xor byte [r8], al
add edi, r15d
add r8, r15
cmp edi, 0xd
jl 0x14003a617
mov rcx, r9
call fcn.14003a6f8
mov dword [rsp + 0x28], 3
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400303d0
mov rcx, rax
call fcn.1400316f8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rbx
call fcn.1400381d8
mov qword [0x1400667d0], rax
call fcn.1400372dc
call fcn.140037024
call fcn.140032edc
call fcn.140032d80
nop
cmp r14, 0x10
jb 0x14003a6c9
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003a6c1
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a6c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14003a8ac
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14003ae30
lea r11, [rsp + 0x170]
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