Function at 0x140050360
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1400db100]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x58], r13d
call fcn.140050e10
mov dword [rbp - 0x80], 0xafb7d098
mov dword [rbp - 0x7c], 0xa1adb1a7
mov word [rbp - 0x78], 0xfb
mov byte [rbp - 0x76], 1
mov dword [rsp + 0x58], 0xaca1d198
mov dword [rsp + 0x5c], 0x100fea7
mov dword [rsp + 0x70], 0xb2a5cc98
mov dword [rsp + 0x74], 0xababaab1
mov dword [rsp + 0x78], 0xf5a3af
mov byte [rsp + 0x7c], 1
mov dword [rsp + 0x60], 0xa4b0c6ca
mov dword [rsp + 0x64], 0xa0aca0ff
mov dword [rsp + 0x68], 0x100aca5
mov ecx, r13d
nop dword [rax + rax]
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0xb
jb 0x140050410
mov byte [rsp + 0x7c], r13b
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x7b]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.14002bf40
nop
cmp byte [rsp + 0x6b], 0
je 0x140050465
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xa
jb 0x140050450
mov byte [rsp + 0x6b], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x6a]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.14002bf40
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14004d680
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400504d4
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400504ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400504ce
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140050513
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005050d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005050d
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
nop
lea rdx, [r12 + 0x258]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140050529
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.140043110
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.140046d40
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140050572
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140043110
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140047020
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400505c2
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140043110
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x110], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14005062c
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050627
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14005067c
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050676
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050676
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400506ba
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400506b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400506b5
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14005070a
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050704
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050704
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140050748
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050743
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050743
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rax, [rbp - 0x50]
mov qword [rbp + 0x50], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x50]
call fcn.14002ef10
mov rbx, rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x30]
call fcn.14002ef10
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.14005dbb0
nop
mov qword [rbp + 0x90], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x98]
call fcn.14004adb0
nop
mov dword [rsp + 0x48], 0xb2b3dad3
mov dword [rsp + 0x4c], 0xa1a4a3
mov byte [rsp + 0x50], 1
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 7
jb 0x1400507e0
mov byte [rsp + 0x50], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4f]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.14002bf40
nop
mov rbx, qword [rsp + 0x48]
movzx ecx, byte [rbp + 0x98]
test cl, cl
jne 0x14005083a
mov byte [rbp + 0x98], 1
call fcn.140049250
mov qword [rbp + 0xa0], rax
movzx ecx, byte [rbp + 0x98]
jmp 0x140050841
mov rax, qword [rbp + 0xa0]
cmp cl, 1
jne 0x140050855
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.14004ec50
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r13
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], 0
mov dword [rsp + 0x58], 0x3fac
cmp byte [rbx], 3
jne 0x140050897
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0xa8]
cmp rax, rdx
je 0x1400508b5
jmp 0x14005089a
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400508a8
mov rdx, qword [rdx]
lea rcx, [rbp + 0xa8]
call fcn.140050120
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400508f3
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400508ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400508ee
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x120]
call fcn.1400b1f10
lea rax, [0x1400be120]
mov qword [rbp + 0x120], rax
lea rax, [0x1400be128]
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x1b8]
call qword [0x1400b6578]
nop
mov dword [rsp + 0x58], 0x3fdc
xor r8d, r8d
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x120]
call qword [0x1400b6468]
nop
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x120], rdi
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x11c], edx
lea rcx, [rbp + 0x138]
call qword [0x1400b6670]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x1a0], r13
mov dword [rbp + 0x1a8], r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b04bc
mov rsi, rax
mov qword [rbp + 0xe8], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0xf8], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xf0], r15
lea r8, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova r8, qword [rbp + 0xc8]
lea rcx, [r12 + 0x278]
cmp qword [rcx + 0x18], 0xf
jbe 0x140050a20
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0xd8]
mov rdx, qword [r12 + 0x288]
call fcn.140065400
mov r14, rsi
cmp rsi, r15
je 0x140050aba
nop word [rax + rax]
movzx edi, byte [r14]
lea rdx, [0x140057f00]
lea rcx, [rbp + 0x130]
call qword [0x1400b6458]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x30
call qword [0x1400b6758]
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.1400b1dea
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov edx, edi
mov rcx, rbx
call qword [0x1400b6460]
inc r14
cmp r14, r15
jne 0x140050a50
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, [0x1400db058]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rbx, qword [0x1400db058]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x120]
call fcn.140060200
cmp qword [rax + 0x18], 0xf
jbe 0x140050af0
mov rax, qword [rax]
nop dword [rax + rax]
movd xmm2, dword [rax]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
psrad xmm2, 0x18
movd xmm0, dword [rbx]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm2, xmm0
movd xmm1, dword [rax + 4]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [rbx + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
orps xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd ebx, xmm2
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140050b99
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050b94
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
test ebx, ebx
je 0x140050c0a
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0xb8]
sub rax, rcx
cmp rax, 0x6b
jb 0x140050dfb
lea rax, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rax, qword [rbp + 0xa8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], WSAStartup
lea r9, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea r8, [rbp + 0xa8]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14002f070
lea rcx, [rbp - 0x50]
call fcn.1400566d0
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x70]
call fcn.14004d410
mov rdx, rax
mov rcx, r12
call fcn.14005b2e0
nop
test rsi, rsi
je 0x140050c60
sub r15, rsi
cmp r15, 0x1000
jb 0x140050c54
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140050cf1
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1400b04f8
nop
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x120], rdi
mov rax, qword [rbp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x11c], edx
lea rcx, [rbp + 0x138]
call fcn.14004dfa0
lea rcx, [rbp + 0x140]
call qword [0x1400b6470]
lea rcx, [rbp + 0x1b8]
call qword [0x1400b65a8]
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140050cfd
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050cf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050cf8
call qword [0x1400b6c60]
nop
call qword [0x1400b6c60]
nop
call fcn.1400b04f8
mov qword [rbp + 0xb8], r13
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], 0
movzx edx, byte [rbp + 0x98]
lea rcx, [rbp + 0xa0]
call fcn.140053da0
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140050d6e
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050d69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050d69
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc8], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x140050dcb
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050dc6
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400b0620
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400430b0
nop
int3