Function at 0x140052bd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rsp + 0x160], xmm6
mov rax, qword [0x140130138]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rdx
mov ecx, 1
call qword [sym.imp.USER32.dll_BlockInput]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140050600
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140055c60
nop
mov r8d, 0x8708
lea rdx, [0x1400c0f80]
lea rcx, [rbp + 0x10]
call fcn.1400573e0
test al, al
jne 0x140052c7c
lea rcx, [rbp + 0x30]
call fcn.1400105b0
lea rcx, [rbp + 0x10]
call fcn.1400105b0
nop
mov rcx, r15
call fcn.140050ba0
nop
mov rcx, r14
call fcn.1400105b0
xor al, al
jmp 0x14005331d
mov ecx, 1
call qword [sym.imp.USER32.dll_BlockInput]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140050690
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140054840
nop
xor r12d, r12d
mov qword [rbp - 0x40], r12
lea rcx, [rbp - 0x40]
call fcn.140054f80
lea rcx, [rbp - 0x30]
call fcn.140054b10
mov rbx, rax
movsd xmm0, qword [str.tJrXYYTYM_kSRR_]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [0x1400c9710]
mov dword [rsp + 0x50], ecx
movzx ecx, word [0x1400c9714]
mov word [rsp + 0x54], cx
movzx ecx, byte [0x1400c9716]
mov byte [rsp + 0x56], cl
mov r8d, r12d
lea edi, [r12 + 0x1f]
lea r11d, [r12 + 4]
mov r10d, dword [reloc.WS2_32.dll_accept]
cmp r10d, 2
jl 0x140052e21
movdqa xmm4, xmmword [0x1400c9a20]
movd xmm6, r11d
movd xmm5, edi
movdqa xmm2, xmmword [0x14011ea10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14011ea40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400c9a10]
movd xmm0, dword [str.tJrXYYTYM_kSRR_]
pxor xmm2, xmm0
movd dword [rsp + 0x48], xmm2
movdqa xmm3, xmmword [0x14011ea20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14011ea40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400c9a10]
movd xmm0, dword [rsp + 0x4c]
pxor xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
mov r8d, 8
mov eax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x140052e30
movsd xmm0, qword [str._FGDYT]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x1400c9700]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x1400c9704]
mov byte [rsp + 0x44], al
mov ecx, r12d
cmp r10d, 2
jl 0x140052f9a
movdqa xmm4, xmmword [0x1400c9a20]
movd xmm6, r11d
movd xmm5, edi
movdqa xmm2, xmmword [0x14011ea10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14011ea40]
packuswb xmm2, xmm2
mov eax, dword [0x1400c9a10]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [str._FGDYT]
pxor xmm2, xmm1
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x14011ea20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14011ea40]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x3c]
pxor xmm2, xmm1
movd dword [rsp + 0x3c], xmm2
mov ecx, 8
mov eax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x140052fb0
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.140055160
test rax, rax
je 0x14005312c
mov r8, rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.140055300
test rax, rax
je 0x14005312c
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14004fe10
movzx esi, al
mov ecx, 1
call qword [sym.imp.USER32.dll_BlockInput]
test sil, sil
je 0x14005313a
mov ecx, 1
call qword [sym.imp.USER32.dll_BlockInput]
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140054bf0
lea rax, [0x1400c99d0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140054d60
lea rcx, [rbp - 0x30]
call fcn.140054b20
lea rcx, [rbp - 0x30]
call fcn.140054b10
mov rbx, rax
lea rcx, [rbp - 0x30]
call fcn.140054b00
mov r9, rbx
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400554c0
lea rcx, [rbp - 0x30]
call fcn.140054af0
lea rdx, [rdi + rax]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14004f720
test al, al
je 0x1400530e7
cmp dword [rsp + 0x30], r12d
jge 0x14005317a
movzx eax, word [0x1400c9718]
mov word [rsp + 0x30], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], r12b
je 0x140053106
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x31], 0x32
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140010f30
lea rdx, [0x140011100]
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]
xor sil, sil
jmp 0x14005317a
xor sil, sil
mov ecx, 1
call qword [sym.imp.USER32.dll_BlockInput]
movzx eax, word [0x1400c971c]
mov word [rsp + 0x30], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], r12b
je 0x140053159
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x31], 0x32
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140010f30
lea rdx, [0x140011100]
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]
lea rcx, [rbp + 0x10]
call fcn.140057dc0
test al, al
jne 0x1400531c7
movzx eax, word [0x1400c9720]
mov word [rsp + 0x30], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], r12b
je 0x1400531a6
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x31], 0x32
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140010f30
lea rdx, [0x140011100]
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]
lea rcx, [rbp - 0x40]
call fcn.140055140
test al, al
jne 0x140053214
movzx eax, word [0x1400c9724]
mov word [rsp + 0x30], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], r12b
je 0x1400531f3
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x31], 0x32
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140010f30
lea rdx, [0x140011100]
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]
lea rcx, [rbp + 0x10]
call fcn.140056050
test al, al
jne 0x140053261
movzx eax, word [0x1400c9728]
mov word [rsp + 0x30], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], r12b
je 0x140053240
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x31], 0x32
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140010f30
lea rdx, [0x140011100]
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]
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400532ac
mov rdx, qword [rbp - 8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005329b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400532dd
call fcn.1400bbea0
mov qword [rbp - 0x18], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400532f5
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400532e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400532e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbea0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
lea rcx, [rbp + 0x30]
call fcn.1400105b0
lea rcx, [rbp + 0x10]
call fcn.1400105b0
nop
mov rcx, r15
call fcn.140050ba0
nop
mov rcx, r14
call fcn.1400105b0
movzx eax, sil
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400bbe80
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret