Function at 0x140012070
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov dword [rsp + 0x20], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
lea rdx, [rbp - 8]
call fcn.140003570
nop
mov rbx, qword [rbp - 8]
mov rdi, qword [rbp]
cmp rbx, rdi
je 0x140011ff8
nop dword [rax]
mov rdx, qword [rbx]
call fcn.140005850
add rbx, 8
cmp rbx, rdi
jne 0x1400115c0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov rdx, qword [0x14001d070]
lea rcx, [rbp - 0x20]
call fcn.1400071f0
nop
mov rcx, qword [rbp - 0x20]
cmp rcx, qword [rbp - 0x18]
je 0x140011f9a
movsd xmm0, qword [str.QFFY]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [str.jtoi]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14001604c]
mov word [rsp + 0x3c], ax
mov esi, dword [0x14001c090]
movdqa xmm6, xmmword [0x1400161f0]
cmp byte [0x14001604d], 0
je 0x140011770
xor r8d, r8d
cmp esi, 2
jl 0x140011726
movdqa xmm3, xmmword [0x140016220]
movdqa xmm2, xmmword [0x1400161c0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400161e0]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140016200]
movd xmm0, dword [str.QFFY]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x1400161d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400161e0]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140016200]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140011740
lea rdx, [rsp + 0x30]
lea rcx, [0x14001c0f0]
call fcn.1400127c0
movups xmm0, xmmword [str.ZG_EE_r]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x140016070]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x140016080]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x140016090]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1400160a0]
movups xmmword [rbp - 0x40], xmm0
mov eax, dword [0x1400160b0]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1400160b4]
mov word [rbp - 0x2c], ax
movzx eax, byte [0x1400160b6]
mov byte [rbp - 0x2a], al
xor r8d, r8d
cmp esi, 2
jl 0x1400118f7
movdqa xmm4, xmmword [0x1400161c0]
movdqa xmm3, xmmword [0x140016220]
movdqa xmm5, xmmword [0x1400161e0]
movdqa xmm0, xmmword [0x140016200]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x30]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x50
jl 0x140011810
cmp r8d, 0x57
jge 0x140011940
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x57
jl 0x140011910
lea rdx, [rbp - 0x80]
lea rcx, [0x14001c0f0]
call fcn.1400127c0
movups xmm0, xmmword [0x140016150]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x140016160]
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [0x140016170]
mov dword [rsp + 0x70], eax
movzx eax, byte [0x140016174]
mov byte [rsp + 0x74], al
xor r8d, r8d
cmp esi, 2
jl 0x140011aa7
movdqa xmm4, xmmword [0x1400161c0]
movdqa xmm3, xmmword [0x140016220]
movdqa xmm5, xmmword [0x1400161e0]
movdqa xmm0, xmmword [0x140016200]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1400119c0
cmp r8d, 0x25
jge 0x140011af0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x140011ac0
lea rdx, [rsp + 0x50]
lea rcx, [0x14001c0f0]
call fcn.1400127c0
movups xmm0, xmmword [0x140016138]
movups xmmword [rsp + 0x50], xmm0
movzx eax, word [0x140016148]
mov word [rsp + 0x60], ax
cmp byte [0x140016149], 0
je 0x140011c90
xor r8d, r8d
cmp esi, 2
jl 0x140011c48
movdqa xmm4, xmmword [0x1400161c0]
movdqa xmm3, xmmword [0x140016220]
movdqa xmm5, xmmword [0x1400161e0]
movdqa xmm0, xmmword [0x140016200]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140011b61
cmp r8d, 0x12
jge 0x140011c90
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140011c60
lea rdx, [rsp + 0x50]
lea rcx, [0x14001c0f0]
call fcn.1400127c0
mov rdi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
cmp rbx, rdi
je 0x140011dba
movzx eax, word [0x140016050]
mov word [rsp + 0x20], ax
movzx eax, byte [0x140016052]
mov byte [rsp + 0x20], 0x5c
xor byte [rsp + 0x21], 0x33
xor al, 0x34
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x20]
lea rcx, [0x14001c0f0]
call fcn.1400127c0
mov r8, qword [rbx + 0x10]
mov rcx, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x140011d0d
mov rdx, qword [rbx]
call fcn.140012a10
mov r8, rax
movzx eax, word [0x140016050]
mov word [rsp + 0x28], ax
jmp 0x140011d24
mov rdx, rbx
call fcn.140012a10
mov r8, rax
movzx ecx, word [0x140016050]
mov word [rsp + 0x28], cx
movzx eax, byte [0x140016052]
mov byte [rsp + 0x28], 0x5c
xor byte [rsp + 0x29], 0x33
xor al, 0x34
mov byte [rsp + 0x2a], al
lea rdx, [rsp + 0x28]
mov rcx, r8
call fcn.1400127c0
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe0
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140011d5e
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140011d6f
mov rcx, qword [rbx]
cmp r8, rax
jne 0x140011d7d
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140011dad
movzx eax, word [0x14001605c]
mov word [rsp + 0x24], ax
cmp byte [0x14001605d], 0
je 0x140011d9c
mov byte [rsp + 0x24], 0x2c
xor byte [rsp + 0x25], 0x33
lea rdx, [rsp + 0x24]
lea rcx, [0x14001c0f0]
call fcn.1400127c0
add rbx, 0x20
cmp rbx, rdi
jne 0x140011cb2
mov eax, dword [0x140016190]
mov dword [rsp + 0x20], eax
cmp byte [0x140016193], 0
je 0x140011e80
cmp esi, 2
jl 0x140011e45
movdqa xmm3, xmmword [0x1400161c0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140016220]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140016220]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400161e0]
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x140016200]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
jmp 0x140011e80
lea r9, [rsp + 0x20]
xor r8d, r8d
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140011e50
lea rdx, [rsp + 0x20]
lea rcx, [0x14001c0f0]
call fcn.1400127c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400161b0]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x20], 6
movups xmmword [rsp + 0x50], xmm0
mov ecx, dword [0x14001c168]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140011ef5
mov rax, qword [0x14001c138]
mov r8, qword [rax]
test r8, r8
je 0x140011ef5
mov rax, qword [0x14001c118]
mov rdx, qword [rax]
cmp r8, qword [0x14001c160]
cmovb r8, qword [0x14001c160]
sub r8, rdx
jmp 0x140011f2f
test cl, 4
jne 0x140011f25
mov rax, qword [0x14001c130]
mov rcx, qword [rax]
test rcx, rcx
je 0x140011f25
mov rax, qword [0x14001c110]
mov rdx, qword [rax]
mov rax, qword [0x14001c148]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140011f2f
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140011f3f
lea rcx, [rsp + 0x30]
call fcn.14000c6a0
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140011f96
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011f91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011f91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013404
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140011ff4
mov rdx, qword [rbp - 0x18]
call fcn.140008b60
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011fdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011fdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013404
mov qword [rbp - 0x20], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov rbx, qword [rbp - 8]
test rbx, rbx
je 0x140012038
mov rdx, qword [rbp + 8]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x140012030
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012030
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140013404
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400133a0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
jmp 0x140011560