Function at 0x180077500
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1802e9b90]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov r15, r8
mov rbx, rdx
mov r12, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp], r8
xor r14d, r14d
mov dword [rsp + 0x40], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], r14b
mov dword [rbp - 8], r14d
mov rdx, r8
lea rcx, [rbp + 0x28]
call fcn.18006eba0
nop
lea ecx, [r14 + 3]
call fcn.1800b7b40
call fcn.1800b78c0
mov rdi, rax
mov r13d, dword [reloc.WS2_32.dll_accept]
test rax, rax
je 0x180077833
mov r8, rbx
mov edx, 0x2712
mov rcx, rax
call fcn.1800bb630
lea r8, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae r8, qword [rbp + 0x28]
mov edx, 0x271f
mov rcx, rdi
call fcn.1800bb630
lea rdx, str.Content_Type:_application_json
xor ecx, ecx
call fcn.1800b7c50
mov r8, rax
mov edx, 0x2727
mov rcx, rdi
call fcn.1800bb630
lea r8, [0x18006c630]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1800bb630
lea r8, [rbp + 8]
mov edx, 0x2711
mov rcx, rdi
call fcn.1800bb630
mov rcx, rdi
call fcn.1800b7980
mov esi, eax
test eax, eax
je 0x180077815
movups xmm0, xmmword [str.PAGZh_XIBcM_M.0.llf___._wnO]
movups xmmword [rbp + 0x48], xmm0
movsd xmm0, qword [0x1801489f0]
movsd qword [rbp + 0x58], xmm0
mov eax, dword [0x1801489f8]
mov dword [rbp + 0x60], eax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_79]
mov byte [rbp + 0x64], al
mov r8d, r14d
cmp r13d, 2
jl 0x1800777a3
movdqa xmm5, xmmword [0x18014bc30]
movdqa xmm4, xmmword [0x18014bd60]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x18014bc50]
mov eax, Ordinal_32
movd xmm8, eax
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp + 0x4c]
mov edx, dword [rsp + 0x30]
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, 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
andps xmm2, xmmword [0x18014bc90]
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, 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
andps xmm2, xmmword [0x18014bc90]
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, 0x18
jl 0x1800776a0
cmp r8d, 0x1d
jge 0x1800777e0
movsxd rax, r8d
lea r9, [rbp + 0x48]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x1800777b0
lea rdx, [rbp + 0x48]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180013d80
mov rbx, rax
mov ecx, esi
call fcn.1800b8780
mov rdx, rax
mov rcx, rbx
call fcn.180013d80
lea rdx, [0x180022200]
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 r8, [rbp - 8]
mov edx, 0x200002
mov rcx, rdi
call fcn.1800b7890
mov rcx, rdi
call fcn.1800b7870
call fcn.1800b7b00
mov eax, dword [str.GQMB7]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x180148a04]
mov byte [rsp + 0x20], reloc.WS2_32.dll_WSACleanup
xor byte [rsp + 0x21], 0x34
xor byte [rsp + 0x22], 0x35
xor byte [rsp + 0x23], 0x36
xor al, 0x37
mov byte [rsp + 0x24], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180077880
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.180015810
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov rsi, qword [rbp + 0x18]
lea r14, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae r14, qword [rbp + 8]
movabs rdi, 0x7fffffffffffffff
cmp rsi, rdi
ja 0x180077cd3
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x1800778ec
mov qword [rbp - 0x80], rsi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x70], xmm0
jmp 0x180077939
mov rax, rsi
or rax, 0xf
cmp rax, rdi
ja 0x180077907
mov rdi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rdi, rcx
mov rdx, rdi
add rdx, 1
cmovb rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.180006480
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
movsd xmm0, qword [str.__TBBKfYTXX_]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x180148a10]
mov dword [rsp + 0x38], eax
cmp byte [0x180148a13], 0
je 0x180077ac0
xor r8d, r8d
cmp r13d, 2
jl 0x180077a7b
movdqa xmm4, xmmword [0x18014bd60]
mov eax, 4
movd xmm6, eax
mov eax, Ordinal_32
movd xmm5, eax
movdqa xmm2, xmmword [0x18014bc30]
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 [0x18014bc50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
mov eax, dword [str.3333333333333333]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.__TBBKfYTXX_]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x18014bc40]
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 [0x18014bc50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18014bc90]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180077a90
mov ecx, dword [rbp - 8]
lea r10, [rbp + 0x5d]
test ecx, ecx
jns 0x180077b10
neg ecx
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x180077ad0
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x180077b39
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x180077b10
lea r9, [rsp + 0x28]
lea r8, [rbp + 0x5d]
mov rdx, r10
lea rcx, [rbp - 0x30]
call fcn.180006e80
mov dword [rsp + 0x40], 6
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180077b70
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.180015810
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1801e6270]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.18002bee0
mov dword [rsp + 0x40], 7
lea r9, [fcn.18002e230]
mov edx, 0x40
lea r8d, [rdx - 0x3e]
lea rcx, [rsp + 0x50]
call fcn.180105c44
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x180077c2c
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180077c27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180077c27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180105d50
movdqa xmm0, xmmword [0x1801e6270]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x180077c7b
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180077c76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180077c76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180105d50
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], 0
mov rdx, r15
mov rcx, r15
call fcn.180016a50
mov rax, r12
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.180106370
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x58]
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 rdi
pop rsi
pop rbp
ret
call fcn.180001ef0
int3