Function at 0x1400c4ae0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14050d700]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xor esi, esi
mov rdx, rcx
lea rcx, [rbp - 0x40]
call fcn.1400bda90
nop
call fcn.1400d3e80
mov rdi, rax
test rax, rax
je 0x1400c4eca
movups xmm0, xmmword [0x1404f34f0]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x1404f3500]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1404f3508]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1404f350c]
mov word [rsp + 0x4c], ax
cmp byte [0x1404f350d], sil
je 0x1400c4cde
mov ecx, esi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400c4c9d
movdqa xmm4, xmmword [0x1404f52e0]
movdqa xmm3, xmmword [0x1404f5820]
movdqa xmm5, xmmword [0x1404f53a0]
movdqa xmm0, xmmword [0x1404f5440]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rsp + 0x34]
movdqa xmm6, xmmword [0x1404f5410]
mov r8d, dword [rbp - 0x60]
movd xmm2, ecx
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
paddd xmm1, xmm2
psrad xmm1, 5
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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, 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 0x1400c4bb1
cmp ecx, 0x1e
jge 0x1400c4cde
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [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, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x1400c4cb0
lea r8, [0x140586568]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14007d140
nop
mov r8d, 1
lea rdx, [0x1404f339c]
mov rcx, rax
call fcn.14005a6a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400c4d49
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14005a6a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x50]
call fcn.14005a640
nop
lea rcx, [rsp + 0x70]
call fcn.14005a640
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
call fcn.140063870
nop
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov edx, 0x2712
mov rcx, rdi
call fcn.1400d6fb0
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r8, qword [rbp - 0x30]
mov edx, 0x271f
mov rcx, rdi
call fcn.1400d6fb0
mov r8, qword [rbp - 0x20]
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov rcx, rdi
call fcn.1400d6fb0
mov edx, Ordinal_50
mov r8d, 1
mov rcx, rdi
call fcn.1400d6fb0
lea rdx, str.Content_Type:_application_json
xor ecx, ecx
call fcn.1400d4240
mov rsi, rax
mov r8, rax
mov edx, 0x2727
mov rcx, rdi
call fcn.1400d6fb0
mov rcx, rdi
call fcn.1400d3ef0
mov r14d, eax
test eax, eax
je 0x1400c4e5b
lea rdx, str.Falha_na_requisi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140065f10
mov rbx, rax
mov ecx, r14d
call fcn.1400d7a30
mov rdx, rax
mov rcx, rbx
call fcn.140065f10
jmp 0x1400c4e94
lea r8, [rbp - 0x70]
mov edx, 0x200002
mov rcx, rdi
call fcn.1400d3e50
cmp dword [rbp - 0x70], 0xc8
je 0x1400c4ea4
lea rdx, [0x1404f2ea8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140065f10
mov edx, dword [rbp - 0x70]
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___long_int____ptr64]
lea rdx, [0x1400660f0]
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]
mov rcx, rsi
call fcn.1400d42e0
mov rcx, rdi
call fcn.1400d3e20
nop
lea rcx, [rbp - 0x30]
call fcn.14005a640
nop
lea rcx, [rbp - 0x60]
call fcn.14005a640
jmp 0x1400c4eee
lea rdx, str.Falha_na_inicializa
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140065f10
lea rdx, [0x1400660f0]
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
movzx edx, byte [rbp - 0x40]
lea rcx, [rbp - 0x38]
call fcn.1400654e0
nop
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140131aa0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret