Function at 0x140080490
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x128
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
xor edi, edi
mov dword [rbp + 0x80], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1401377c0]
movdqu xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x60], dil
call fcn.14008eb40
mov qword [rbp - 8], rax
test rax, rax
je 0x140080ef4
movdqa xmm6, xmmword [0x140138140]
movdqu xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x30], 0x5e004b43
mov word [rsp + 0x34], 0x5e46
mov byte [rsp + 0x36], 0x2e
mov r14d, 8
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov qword [rbp - 0x10], rbx
lea rsi, [0x140273458]
mov eax, dword [r14 + rbx]
cmp dword [0x14027308c], eax
jle 0x1400805ad
lea rcx, [0x14027308c]
call fcn.1400c6f30
cmp dword [0x14027308c], 0xffffffff
jne 0x1400805ad
mov edx, edi
movups xmmword [0x140273458], xmm6
mov eax, dword [rsp + 0x30]
mov dword [0x140273468], eax
movzx eax, word [rsp + 0x34]
mov word [0x14027346c], ax
mov byte [0x14027346e], 0x2e
nop dword [rax]
inc edx
cmp edx, 0x17
jb 0x140080570
movsxd r8, edx
cmp r8, 0x17
jae 0x140080595
movzx eax, byte [rsp + r8 + 0x20]
mov byte [r8 + rsi], al
inc edx
lea r8, [r8 + 1]
cmp edx, 0x17
jb 0x140080580
lea rcx, [0x1401065e0]
call fcn.1400c72a0
lea rcx, [0x14027308c]
call fcn.1400c6ec4
cmp byte [0x14027346e], 0
je 0x1400805ed
movdqa xmm1, xmmword [0x140137b00]
movdqu xmm0, xmmword [0x140273458]
xorps xmm1, xmm0
movdqu xmmword [0x140273458], xmm1
mov eax, reloc.WS2_32.dll_recv
nop word [rax + rax]
xor byte [rax + rsi], 0x2e
inc rax
cmp rax, 0x17
jb 0x1400805e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r12, 0xffffffffffffffff
mov r8, r12
inc r8
cmp byte [rsi + r8], 0
jne 0x140080606
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14008a990
nop
mov eax, dword [r14 + rbx]
cmp dword [0x14027183c], eax
jle 0x14008065f
lea rcx, [0x14027183c]
call fcn.1400c6f30
cmp dword [0x14027183c], 0xffffffff
jne 0x14008065f
mov word [0x140272c90], 0x2e11
lea rcx, [0x1401065d0]
call fcn.1400c72a0
lea rcx, [0x14027183c]
call fcn.1400c6ec4
movzx eax, byte [0x140272c91]
test al, al
je 0x140080679
xor byte [0x140272c90], 0x2e
xor al, 0x2e
mov byte [0x140272c91], al
lea rdx, [0x140272c90]
mov r8, r12
inc r8
cmp byte [rdx + r8], 0
jne 0x140080683
lea rcx, [rbp - 0x60]
call fcn.140087910
lea rcx, [rbp - 0x40]
call fcn.140083620
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1400806aa
mov rax, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400806c0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008a990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r15, rdi
mov qword [rsp + 0x30], rdi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x20], r15b
mov dword [rbp + 0x80], 1
mov rdx, qword [0x140271478]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x140080720
lea rcx, [rsp + 0x40]
call fcn.14008a990
nop
mov eax, dword [rbp - 0x70]
mov r14d, edi
mov r8, qword [rbp - 0x80]
test eax, eax
je 0x140080ee4
mov rdx, rdi
mov rcx, rdi
movzx esi, byte [rbp + 0x79]
mov r9, qword [rbp - 0x68]
nop dword [rax]
nop dword [rax + rax]
dec eax
mov dword [rbp + 0x88], eax
lea rax, [rbp - 0x80]
cmp r9, 0xf
cmova rax, r8
cmp byte [rax + rdx], 0x3d
je 0x1400809a4
lea rax, [rbp - 0x80]
cmp r9, 0xf
cmova rax, r8
movzx eax, byte [rax + rdx]
mov byte [rbp + rcx + 0x78], al
inc r14d
inc rcx
inc rdx
mov qword [rbp - 0x18], rdx
cmp rcx, 4
jne 0x140080992
lea rbx, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
cmp r13, 0xf
cmova rbx, rsi
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x1400807e3
movsx edx, byte [rbp + 0x78]
mov r8, r14
mov rcx, rbx
call fcn.1401026b0
test rax, rax
je 0x1400807e3
sub rax, rbx
jmp 0x1400807e6
mov rax, r12
mov byte [rbp + 0x78], al
lea rbx, [rsp + 0x40]
cmp r13, 0xf
cmova rbx, rsi
test r14, r14
je 0x140080817
movsx edx, byte [rbp + 0x79]
mov r8, r14
mov rcx, rbx
call fcn.1401026b0
mov rsi, rax
test rax, rax
je 0x140080817
sub rsi, rbx
jmp 0x14008081a
mov rsi, r12
mov byte [rbp + 0x79], sil
lea r13, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r13, qword [rsp + 0x40]
test r14, r14
je 0x140080850
movsx edx, byte [rbp + 0x7a]
mov r8, r14
mov rcx, r13
call fcn.1401026b0
mov rbx, rax
test rax, rax
je 0x140080850
sub rbx, r13
jmp 0x140080853
mov rbx, r12
mov byte [rbp + 0x7a], bl
lea r13, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r13, qword [rsp + 0x40]
test r14, r14
je 0x140080888
movsx edx, byte [rbp + 0x7b]
mov r8, r14
mov rcx, r13
call fcn.1401026b0
mov rcx, rax
test rax, rax
je 0x140080888
sub rcx, r13
jmp 0x14008088b
mov rcx, r12
mov byte [rbp + 0x7b], cl
movzx r14d, bl
shr r14b, 2
and r14b, 0xf
movzx eax, sil
shl al, 4
add r14b, al
shl bl, 6
add bl, cl
mov byte [rbp + 0x72], bl
movzx r9d, sil
shr r9b, 4
and r9b, 3
movzx eax, byte [rbp + 0x78]
shl al, 2
add r9b, al
mov rcx, qword [rsp + 0x38]
cmp r15, rcx
jae 0x1400808f0
lea rax, [r15 + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + r15], r9b
mov byte [rax + r15 + 1], 0
jmp 0x1400808fa
lea rcx, [rsp + 0x20]
call fcn.14008b260
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x14008092c
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r14b
mov byte [rax + rcx + 1], 0
jmp 0x14008093a
movzx r9d, r14b
lea rcx, [rsp + 0x20]
call fcn.14008b260
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x14008096b
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], bl
mov byte [rax + rcx + 1], 0
jmp 0x140080979
movzx r9d, bl
lea rcx, [rsp + 0x20]
call fcn.14008b260
mov r14d, edi
mov rcx, rdi
mov r15, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x80]
mov r9, qword [rbp - 0x68]
jmp 0x140080996
movzx esi, byte [rbp + 0x79]
mov eax, dword [rbp + 0x88]
test eax, eax
jne 0x140080760
mov qword [rbp + 0x88], r15
test r14d, r14d
je 0x140080edf
mov r13, qword [rsp + 0x40]
jle 0x140080a1d
mov rbx, rdi
mov rax, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
movsxd r15, r14d
nop dword [rax + rax]
lea rsi, [rsp + 0x40]
cmp rdi, 0xf
cmova rsi, r13
test rax, rax
je 0x1400809fc
movsx edx, byte [rbp + rbx + 0x78]
mov r8, rax
mov rcx, rsi
call fcn.1401026b0
test rax, rax
je 0x1400809fc
sub rax, rsi
jmp 0x1400809ff
mov rax, r12
mov byte [rbp + rbx + 0x78], al
inc rbx
cmp rbx, r15
mov rax, qword [rsp + 0x50]
jl 0x1400809d0
movzx esi, byte [rbp + 0x79]
xor edi, edi
mov r15, qword [rbp + 0x88]
movzx ecx, sil
shr cl, 4
and cl, 3
movzx eax, byte [rbp + 0x78]
shl al, 2
add cl, al
mov byte [rbp + 0x70], cl
movzx eax, byte [rbp + 0x7a]
shr al, 2
and al, 0xf
shl sil, 4
add al, sil
mov byte [rbp + 0x71], al
lea eax, [r14 - 1]
movsxd rsi, eax
test eax, eax
jle 0x140080ab9
mov rbx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rbp + rbx + 0x70]
mov r12, qword [rsp + 0x38]
cmp r15, r12
jae 0x140080a94
lea rax, [r15 + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp r12, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + r15], r9b
mov byte [rax + r15 + 1], 0
jmp 0x140080a9e
lea rcx, [rsp + 0x20]
call fcn.14008b260
inc rbx
cmp rbx, rsi
jge 0x140080aad
mov r15, qword [rsp + 0x30]
jmp 0x140080a60
mov r13, qword [rsp + 0x40]
mov r12, 0xffffffffffffffff
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
cmp rax, 0xf
jbe 0x140080afa
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140080af2
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080efa
mov rcx, r13
call fcn.1400c72b8
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x20]
cmp rbx, 0xf
cmova rdx, qword [rsp + 0x20]
nop dword [rax]
inc r12
cmp byte [rdx + r12], 0
jne 0x140080b20
mov r8, r12
lea rcx, [rbp - 0x60]
call fcn.140087910
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140080b75
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080b6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080f00
call fcn.1400c72b8
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140080bb1
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080bab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080f06
call fcn.1400c72b8
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140080bec
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080be7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080f0c
call fcn.1400c72b8
movdqa xmm6, xmmword [0x140138340]
movdqu xmmword [rbp - 0x40], xmm6
movdqa xmm7, xmmword [0x140138040]
movdqu xmmword [rbp - 0x30], xmm7
mov byte [rbp - 0x20], 0x2e
lea rsi, [0x140271e30]
mov rbx, qword [rbp - 0x10]
mov r14d, 8
mov eax, dword [r14 + rbx]
cmp dword [0x140273a38], eax
jle 0x140080c9d
lea rcx, [0x140273a38]
call fcn.1400c6f30
cmp dword [0x140273a38], 0xffffffff
jne 0x140080c9d
mov edx, edi
movups xmmword [0x140271e30], xmm6
movups xmmword [0x140271e40], xmm7
mov byte [0x140271e50], 0x2e
inc edx
cmp edx, 0x21
jb 0x140080c53
movsxd r8, edx
cmp r8, 0x21
jae 0x140080c85
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + r8 - 0x40]
mov byte [r8 + rsi], al
inc edx
lea r8, [r8 + 1]
cmp edx, 0x21
jb 0x140080c70
lea rcx, [0x1401065b0]
call fcn.1400c72a0
lea rcx, [0x140273a38]
call fcn.1400c6ec4
cmp byte [0x140271e50], 0
je 0x140080cdd
movdqa xmm1, xmmword [0x140137b00]
nop
movdqu xmm0, xmmword [rdi + rsi]
xorps xmm0, xmm1
movdqu xmmword [rdi + rsi], xmm0
add rdi, 0x10
cmp rdi, 0x20
jb 0x140080cb0
cmp rdi, 0x21
jae 0x140080cdd
nop dword [rax]
xor byte [rdi + rsi], 0x2e
inc rdi
cmp rdi, 0x21
jb 0x140080cd0
mov r8, rsi
lea rcx, [rbp - 0x60]
call fcn.1400877f0
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov edx, 0x2712
mov rdi, qword [rbp - 8]
mov rcx, rdi
call fcn.140090f10
lea r8, [0x140084320]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.140090f10
lea r8, [rsp + 0x60]
mov edx, 0x2711
mov rcx, rdi
call fcn.140090f10
mov rcx, rdi
call fcn.14008ec10
test eax, eax
jne 0x140080f12
mov rcx, rdi
call fcn.14008eb20
mov eax, dword [r14 + rbx]
cmp dword [0x1402721a0], eax
jle 0x140080d92
lea rcx, [0x1402721a0]
call fcn.1400c6f30
cmp dword [0x1402721a0], 0xffffffff
jne 0x140080d92
mov dword [0x1402720ac], 0x4a4a4a56
mov word [0x1402720b0], 0x2e1f
lea rcx, [0x140106590]
call fcn.1400c72a0
lea rcx, [0x1402721a0]
call fcn.1400c6ec4
movzx eax, byte [0x1402720b1]
test al, al
je 0x140080dc8
xor byte [0x1402720ac], 0x2e
xor byte [0x1402720ad], 0x2e
xor byte [0x1402720ae], 0x2e
xor byte [0x1402720af], 0x2e
xor byte [0x1402720b0], 0x2e
xor al, 0x2e
mov byte [0x1402720b1], al
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
lea rdx, [0x1402720ac]
call case.0x14000806e.3
lea rcx, [rsp + 0x60]
test rax, rax
jne 0x140080f18
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
cmp r9, 0xf
cmova rcx, r8
lea rdx, [0x1402713c8]
sub rdx, rcx
nop
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140080e10
lea rdi, [rsp + 0x60]
cmp r9, 0xf
cmova rdi, r8
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140080e6f
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080e6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080fd7
call fcn.1400c72b8
movdqa xmm0, xmmword [0x1401377c0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140080eb9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080eb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080eee
call fcn.1400c72b8
xor eax, eax
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x100]
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rbx, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
jmp 0x140080abe
call fcn.1400e16e0
nop
call fcn.14006a2c0
nop
call fcn.1400e16e0
nop
call fcn.1400e16e0
nop
call fcn.1400e16e0
nop
call fcn.1400e16e0
int3
call fcn.14006a2c0
int3
call fcn.140087730
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140083620
nop
mov rcx, rax
call fcn.140087730
mov rdx, rax
mov r8d, reloc.WS2_32.dll_socket
lea rcx, [rsp + 0x40]
call fcn.140083b00
mov rdi, rax
lea rcx, [rbp - 0x40]
call fcn.140083620
mov rsi, rax
mov edx, setsockopt
mov r8d, setsockopt
mov rcx, rdi
call fcn.140087780
mov rcx, rax
call fcn.140087730
mov rbx, rax
mov rcx, rsi
call fcn.140087730
mov rdi, rax
call fcn.140080fe0
mov rcx, rax
call fcn.140087430
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call fcn.14004d370
nop
lea rcx, [rbp - 0x40]
call fcn.1400879b0
nop
lea rcx, [rsp + 0x40]
call fcn.1400879b0
nop
lea rcx, [rsp + 0x20]
call fcn.1400879b0
movss xmm0, dword [0x1401376e8]
call fcn.14004cfb0
xor ecx, ecx
call fcn.1400decb0
nop
call fcn.1400e16e0
int3