Function at 0x140001390
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
movsxd r12, ecx
mov rbx, rdx
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0xe8], r13
mov eax, 8
lea rdx, [r12 + 1]
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.1400071b4
mov r15, rax
mov r13, r12
test r12d, r12d
je 0x140001456
mov qword [rsp + 0xe0], rsi
mov r13, 0xffffffffffffffff
mov qword [rsp + 0xf8], r14
mov rsi, r12
mov r14, rax
sub r14, rbx
nop dword [rax]
mov rdx, qword [rbx]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rdi, [rax + 1]
mov eax, 2
mul rdi
cmovo rax, r13
mov rcx, rax
call fcn.1400071b4
mov qword [r14 + rbx], rax
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x140001400
mov r14, qword [rsp + 0xf8]
mov r13, r12
mov rsi, qword [rsp + 0xe0]
xor edi, edi
mov qword [r15 + r13*8], rdi
mov r13, qword [rsp + 0xe8]
cmp r12d, 2
jne 0x140001921
lea ecx, [rdi + 1]
call fcn.140007170
lea ecx, [rdi + 0x46]
mov qword [rbp + 0x77], rax
xor edx, edx
mov rbx, rax
call fcn.140001380
lea ecx, [rdi + 0x6f]
mov word [rbp - 0x59], ax
lea edx, [rdi + 1]
call fcn.140001380
lea ecx, [rdi + 0x72]
mov word [rbp - 0x57], ax
mov edx, r12d
call fcn.140001380
lea ecx, [rdi + 0x74]
mov word [rbp - 0x55], ax
lea edx, [rdi + 3]
call fcn.140001380
lea ecx, [rdi + 0x6e]
mov word [rbp - 0x53], ax
lea edx, [rdi + 4]
call fcn.140001380
lea ecx, [rdi + 0x69]
mov word [rbp - 0x51], ax
lea edx, [rdi + 5]
call fcn.140001380
lea ecx, [rdi + 0x74]
mov word [rbp - 0x4f], ax
lea edx, [rdi + 6]
call fcn.140001380
lea ecx, [rdi + 0x65]
mov word [rbp - 0x4d], ax
lea edx, [rdi + 7]
call fcn.140001380
lea ecx, [rdi + 0x43]
mov word [rbp - 0x4b], ax
lea edx, [rdi + 8]
call fcn.140001380
lea ecx, [rdi + 0x6c]
mov word [rbp - 0x49], ax
lea edx, [rdi + 9]
call fcn.140001380
lea ecx, [rdi + 0x69]
mov word [rbp - 0x47], ax
lea edx, [rdi + 0xa]
call fcn.140001380
lea ecx, [rdi + 0x65]
mov word [rbp - 0x45], ax
lea edx, [rdi + 0xb]
call fcn.140001380
lea ecx, [rdi + 0x6e]
mov word [rbp - 0x43], ax
lea edx, [rdi + 0xc]
call fcn.140001380
lea ecx, [rdi + 0x74]
mov word [rbp - 0x41], ax
lea edx, [rdi + 0xd]
call fcn.140001380
lea ecx, [rdi + 0x2d]
mov word [rbp - 0x3f], ax
lea edx, [rdi + 0xe]
call fcn.140001380
lea ecx, [rdi + 0x57]
mov word [rbp - 0x3d], ax
lea edx, [rdi + 0xf]
call fcn.140001380
lea ecx, [rdi + 0x69]
mov word [rbp - 0x3b], ax
lea edx, [rdi + 0x10]
call fcn.140001380
lea ecx, [rdi + 0x6e]
mov word [rbp - 0x39], ax
lea edx, [rdi + 0x11]
call fcn.140001380
lea ecx, [rdi + 0x36]
mov word [rbp - 0x37], ax
lea edx, [rdi + 0x12]
call fcn.140001380
mov word [rbp - 0x35], ax
lea ecx, [rdi + 0x34]
lea edx, [rdi + 0x13]
call fcn.140001380
lea ecx, [rdi + 0x2d]
mov word [rbp - 0x33], ax
lea edx, [rdi + 0x14]
call fcn.140001380
lea ecx, [rdi + 0x53]
mov word [rbp - 0x31], ax
lea edx, [rdi + 0x15]
call fcn.140001380
lea ecx, [rdi + 0x68]
mov word [rbp - 0x2f], ax
lea edx, [rdi + 0x16]
call fcn.140001380
lea ecx, [rdi + 0x69]
mov word [rbp - 0x2d], ax
lea edx, [rdi + 0x17]
call fcn.140001380
lea ecx, [rdi + 0x70]
mov word [rbp - 0x2b], ax
lea edx, [rdi + 0x18]
call fcn.140001380
lea ecx, [rdi + 0x70]
mov word [rbp - 0x29], ax
lea edx, [rdi + 0x19]
call fcn.140001380
lea ecx, [rdi + 0x69]
mov word [rbp - 0x27], ax
lea edx, [rdi + 0x1a]
call fcn.140001380
lea ecx, [rdi + 0x6e]
mov word [rbp - 0x25], ax
lea edx, [rdi + 0x1b]
call fcn.140001380
lea ecx, [rdi + 0x67]
mov word [rbp - 0x23], ax
lea edx, [rdi + 0x1c]
call fcn.140001380
lea ecx, [rdi + 0x2e]
mov word [rbp - 0x21], ax
lea edx, [rdi + 0x1d]
call fcn.140001380
lea ecx, [rdi + 0x65]
mov word [rbp - 0x1f], ax
lea edx, [rdi + 0x1e]
call fcn.140001380
lea ecx, [rdi + 0x78]
mov word [rbp - 0x1d], ax
lea edx, [rdi + 0x1f]
call fcn.140001380
lea ecx, [rdi + 0x65]
mov word [rbp - 0x1b], ax
lea edx, [rdi + 0x20]
call fcn.140001380
xor ecx, ecx
mov word [rbp - 0x19], ax
lea edx, [rdi + 0x21]
call fcn.140001380
movzx ecx, word [0x140009434]
lea edx, [rdi + 0x22]
mov word [rbp - 0x17], ax
call fcn.140001380
movzx ecx, word [0x140009436]
lea edx, [rdi + 0x23]
mov word [rbp - 0x15], ax
call fcn.140001380
movzx ecx, word [str.Target_Process_not_found__n]
lea edx, [rdi + 0x24]
mov word [rbp - 0x13], ax
call fcn.140001380
movzx ecx, word [0x14000943a]
lea edx, [rdi + 0x25]
mov word [rbp - 0x11], ax
call fcn.140001380
movzx ecx, word [0x14000943c]
lea edx, [rdi + 0x26]
mov word [rbp - 0xf], ax
call fcn.140001380
movzx ecx, word [0x14000943e]
lea edx, [rdi + 0x27]
mov word [rbp - 0xd], ax
call fcn.140001380
movzx ecx, word [0x140009440]
lea edx, [rdi + 0x28]
mov word [rbp - 0xb], ax
call fcn.140001380
movzx ecx, word [0x140009442]
lea edx, [rdi + 0x29]
mov word [rbp - 9], ax
call fcn.140001380
movzx ecx, word [0x140009444]
lea edx, [rdi + 0x2a]
mov word [rbp - 7], ax
call fcn.140001380
movzx ecx, word [0x140009446]
lea edx, [rdi + 0x2b]
mov word [rbp - 5], ax
call fcn.140001380
movzx ecx, word [0x140009448]
lea edx, [rdi + 0x2c]
mov word [rbp - 3], ax
call fcn.140001380
movzx ecx, word [0x14000944a]
lea edx, [rdi + 0x2d]
mov word [rbp - 1], ax
call fcn.140001380
movzx ecx, word [0x14000944c]
lea edx, [rdi + 0x2e]
mov word [rbp + 1], ax
call fcn.140001380
movzx ecx, word [0x14000944e]
lea edx, [rdi + 0x2f]
mov word [rbp + 3], ax
call fcn.140001380
movzx ecx, word [0x140009450]
lea edx, [rdi + 0x30]
mov word [rbp + 5], ax
call fcn.140001380
movzx ecx, word [0x140009452]
lea edx, [rdi + 0x31]
mov word [rbp + 7], ax
call fcn.140001380
movzx ecx, word [0x140009454]
lea edx, [rdi + 0x32]
mov word [rbp + 9], ax
call fcn.140001380
movzx ecx, word [0x140009456]
lea edx, [rdi + 0x33]
mov word [rbp + 0xb], ax
call fcn.140001380
movzx ecx, word [str.Target_Process_Id_is_:__i_n]
lea edx, [rdi + 0x34]
mov word [rbp + 0xd], ax
call fcn.140001380
movzx ecx, word [0x14000945a]
lea edx, [rdi + 0x35]
mov word [rbp + 0xf], ax
call fcn.140001380
movzx ecx, word [0x14000945c]
lea edx, [rdi + 0x36]
mov word [rbp + 0x11], ax
call fcn.140001380
movzx ecx, word [0x14000945e]
lea edx, [rdi + 0x37]
mov word [rbp + 0x13], ax
call fcn.140001380
movzx ecx, word [0x140009460]
lea edx, [rdi + 0x38]
mov word [rbp + 0x15], ax
call fcn.140001380
movzx ecx, word [0x140009462]
lea edx, [rdi + 0x39]
mov word [rbp + 0x17], ax
call fcn.140001380
movzx ecx, word [0x140009464]
lea edx, [rdi + 0x3a]
mov word [rbp + 0x19], ax
call fcn.140001380
movzx ecx, word [0x140009466]
lea edx, [rdi + 0x3b]
mov word [rbp + 0x1b], ax
call fcn.140001380
movzx ecx, word [0x140009468]
lea edx, [rdi + 0x3c]
mov word [rbp + 0x1d], ax
call fcn.140001380
movzx ecx, word [0x14000946a]
lea edx, [rdi + 0x3d]
mov word [rbp + 0x1f], ax
call fcn.140001380
movzx ecx, word [0x14000946c]
lea edx, [rdi + 0x3e]
mov word [rbp + 0x21], ax
call fcn.140001380
movzx ecx, word [0x14000946e]
lea edx, [rdi + 0x3f]
mov word [rbp + 0x23], ax
call fcn.140001380
movzx ecx, word [0x140009470]
lea edx, [rdi + 0x40]
mov word [rbp + 0x25], ax
call fcn.140001380
movzx ecx, word [0x140009472]
lea edx, [rdi + 0x41]
mov word [rbp + 0x27], ax
call fcn.140001380
movzx ecx, word [0x140009474]
lea edx, [rdi + 0x42]
mov word [rbp + 0x29], ax
call fcn.140001380
mov word [rbp + 0x2b], ax
mov ecx, edi
xor eax, eax
mov edx, edi
mov word [rbp + 0x2d], ax
mov r8d, 0x133
nop dword [rax]
lea eax, [r8 + rcx]
inc ecx
xor word [rbp + rdx*2 - 0x59], ax
movsxd rdx, ecx
cmp rdx, 0x43
jb 0x140001900
mov word [rbp + 0x2d], di
lea r8, [rbp - 0x59]
mov rcx, rbx
jmp 0x14000193c
cmp r12d, 3
jne 0x140001945
lea ecx, [r12 - 2]
call fcn.140007170
mov r8, qword [r15 + 0x10]
mov rcx, rax
mov qword [rbp + 0x77], rax
mov rdx, qword [r15 + 8]
call fcn.140002f10
xor eax, eax
add rsp, 0xb0
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret