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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
movsd xmm0, qword [0x140067328]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x140067330]
mov dword [rsp + 0x28], eax
movzx eax, word [0x140067334]
mov word [rsp + 0x2c], ax
xor ebx, ebx
lea ecx, [rbx + 5]
lea edx, [rbx + 0x1f]
mov eax, dword [0x140078040]
cmp byte [0x140067335], bl
je 0x14002a233
mov r8d, ebx
cmp eax, 2
jl 0x14002a1ed
movdqa xmm4, xmmword [0x14006eef0]
movd xmm6, ecx
movd xmm5, edx
movdqa xmm2, xmmword [0x140065cf0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [0x140067328]
pxor xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x140065d00]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rsp + 0x24]
pxor xmm2, xmm0
movd dword [rsp + 0x24], xmm2
mov r8d, 8
mov eax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x14002a200
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], bl
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x14002a252
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x60]
call fcn.1400050f0
nop
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x20], rcx
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
mov r15, qword [rbp + 0x70]
sub rax, r15
cmp rax, rcx
jb 0x14002ab6c
lea r13, [rbp + 0x60]
mov r14, qword [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae r13, r14
cmp qword [rsi + 0x18], 0x10
jb 0x14002a2ab
mov rsi, qword [rsi]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rbx
lea r12, [r15 + rcx]
mov ebx, 0xf
lea rdi, [rbp + 0x40]
lea eax, [rbx + 7]
cmp r12, rbx
jbe 0x14002a340
mov rbx, r12
or rbx, 0xf
cmp rbx, rdx
jbe 0x14002a2dd
mov rbx, rdx
jmp 0x14002a2e4
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14002a32b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002ab72
mov rcx, rax
call fcn.1400612a4
test rax, rax
je 0x14002aad9
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14002a33c
test rcx, rcx
je 0x14002a337
call fcn.1400612a4
jmp 0x14002a339
xor eax, eax
mov rdi, rax
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], rbx
mov r8, r15
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r15 + rdi]
mov r8, qword [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r12], 0
movsd xmm0, qword [0x140067338]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [0x140067340]
mov ecx, 0x6f
mov word [rsp + 0x20], cx
xor word [rsp + 0x22], 0x31
xor word [rsp + 0x24], 0x32
xor word [rsp + 0x26], 0x33
xor ax, 0x34
mov word [rsp + 0x28], ax
xor ebx, ebx
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], bx
lea rax, [rsp + 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x14002a3d0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140013ac0
nop
movups xmm0, xmmword [0x140067348]
movups xmmword [rsp + 0x20], xmm0
pextrw eax, xmm0, 7
test ax, ax
je 0x14002a53f
mov r8d, ebx
cmp dword [0x140078040], 2
jl 0x14002a50d
movdqa xmm4, xmmword [0x14006eef0]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x140065cf0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.00000000]
movq xmm0, qword [0x140067348]
pxor xmm2, xmm0
movq qword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x140065d00]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.00000000]
movq xmm0, qword [rsp + 0x28]
pxor xmm2, xmm0
movq qword [rsp + 0x28], xmm2
jmp 0x14002a53f
lea r9, [rsp + 0x20]
mov eax, 0xa0a0a0a1
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x14002a512
mov qword [rbp], rbx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], 7
mov word [rbp], bx
lea rax, [rsp + 0x20]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002a560
lea rdx, [rsp + 0x20]
lea rcx, [rbp]
call fcn.140013ac0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov dword [rsp + 0x50], 0x70
mov dword [rsp + 0x54], 0x40
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rax, qword [rbp + 0x20]
mov qword [rsp + 0x60], rax
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov qword [rsp + 0x68], rax
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r13, qword [rbp + 0x50]
sub rax, r13
cmp rax, 3
jb 0x14002ab78
lea r12, [rbp + 0x40]
mov rsi, qword [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae r12, rsi
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
lea r15, [r13 + 3]
mov edi, 0xf
lea rbx, [rbp - 0x40]
cmp r15, rdi
jbe 0x14002a699
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x14002a630
mov rdi, rcx
jmp 0x14002a63d
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14002a684
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002ab66
mov rcx, rax
call fcn.1400612a4
test rax, rax
je 0x14002a9e6
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14002a695
test rcx, rcx
je 0x14002a690
call fcn.1400612a4
jmp 0x14002a692
xor eax, eax
mov rbx, rax
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], rdi
movzx eax, word [0x140066058]
mov word [rbx], ax
movzx eax, byte [0x14006605a]
mov byte [rbx + 2], al
lea rcx, [rbx + 3]
mov r8, r13
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r15], 0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x30]
add rdi, rdx
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
xor r15d, r15d
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
mov rdx, rdi
sub rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14005ff60
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140007110
nop
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x80], r15d
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14002a76a
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002a960
movups xmm0, xmmword [0x140067358]
movups xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [0x140067368]
movsd qword [rsp + 0x40], xmm1
mov eax, dword [0x140067370]
mov dword [rsp + 0x48], eax
cmp byte [0x140067373], 0
je 0x14002a93e
mov ecx, r15d
cmp dword [0x140078040], 2
jl 0x14002a8fc
movdqa xmm5, xmmword [0x140065cf0]
movdqa xmm4, xmmword [0x14006eef0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [str.3333]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x34]
mov r8d, dword [rsp + 0x20]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x14002a7f0
cmp ecx, 0x1c
jge 0x14002a93e
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x14002a910
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400012b0
mov rcx, rax
lea rdx, [0x140001020]
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]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14002a9a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a99e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a99e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400612e0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002a9f2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a9ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a9ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400612e0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14002aa45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aa40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002aa40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400612e0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14002aa99
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aa94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002aa94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400612e0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r15w
mov rax, qword [rbp + 0x58]
cmp rax, 0x10
jb 0x14002aae9
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14002aae0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002aae0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400612e0
nop
mov rax, qword [rbp + 0x78]
cmp rax, 0x10
jb 0x14002ab27
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002ab1f
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ab1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400612e0
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140061400
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001220
nop
call fcn.140001240
int3
call fcn.140001220
nop
call fcn.140001240
int3