Function at 0x18003ea40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rcx, qword [0x18038ba70]
test rcx, rcx
je 0x1800200f7
call fcn.1800b7030
test al, al
je 0x1800200f7
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
xor r15d, r15d
mov qword [rbp - 0x28], r15
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
lea rdx, [0x18037c5c0]
lea rcx, [rbp - 0x70]
call fcn.180004860
lea r9d, [r15 + 6]
mov r8, rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x40]
call fcn.18001d380
nop
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.18001d7e0
nop
mov rcx, qword [rsp + 0x74]
test rcx, rcx
je 0x18001fe23
mov rdx, qword [rbp - 0x7c]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001fe10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020128
call fcn.18007b164
mov qword [rsp + 0x74], r15
mov qword [rsp + 0x7c], r15
mov qword [rbp - 0x7c], r15
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
sub r8, rdx
mov rcx, qword [0x18038ba70]
call fcn.1800b6ec0
lea rcx, [rbp - 0x20]
call fcn.1800387f0
nop
cmp byte [rbp - 4], 0
je 0x18001ffb7
mov rdx, qword [rbp - 0x20]
mov ecx, dword [rdx + 0x20]
sub ecx, 0x33
je 0x18001ffb0
cmp ecx, 1
jne 0x18001ffb7
lea rbx, [rdx + 0x34]
mov rdx, qword [rdx + 0x24]
lea r14, [rdx + rbx]
mov qword [rbp - 0x60], r15
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x70], 0
lea rcx, [rbp - 0x70]
call fcn.180009760
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
cmp rbx, r14
je 0x18001fee8
lea esi, [rdi - 0xe]
nop
movzx r9d, byte [rbx]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
cmp rcx, rdx
jae 0x18001fed1
lea rax, [rcx + 1]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x70]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18001fee0
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.180005c00
inc rbx
cmp rbx, r14
jne 0x18001fea0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov rsi, qword [rbp - 0x60]
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rbx, qword [rbp - 0x70]
cmp rsi, 0x10
jae 0x18001ff14
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
jmp 0x18001ff8b
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x18001ff68
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18002012e
mov rcx, rax
call fcn.18007b16c
mov rcx, rax
test rax, rax
je 0x180020134
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18001ff77
test rcx, rcx
je 0x18001ff74
call fcn.18007b16c
jmp 0x18001ff77
mov rax, r15
mov qword [rsp + 0x20], rax
lea r8, [rsi + 1]
mov rdx, rbx
mov rcx, rax
call fcn.180210e90
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x20]
call fcn.180037c60
lea esi, [rax + 0x3e8]
lea rcx, [rbp - 0x70]
call fcn.180005250
jmp 0x180020028
mov esi, 1
jmp 0x180020028
movdqa xmm0, xmmword [str._tgbgfg_lf_]
movdqu xmmword [rsp + 0x20], xmm0
mov rcx, r15
nop dword [rax + rax]
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x21], al
inc rcx
cmp rcx, 0xe
jb 0x18001ffd0
mov byte [rsp + 0x2f], 0
mov qword [rbp - 0x60], r15
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x70], 0
lea rax, [rsp + 0x21]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180020004
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x70]
call fcn.1800052d0
lea rcx, [rbp - 0x70]
call fcn.180037aa0
mov esi, r15d
lea rcx, [rbp + 8]
call fcn.180005250
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180020077
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020066
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002013a
call fcn.18007b164
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1800200bd
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800200ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020140
call fcn.18007b164
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1800200f3
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800200ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020122
call fcn.18007b164
mov eax, esi
jmp 0x1800200f9
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18021e9c0
nop
call fcn.18021e9c0
nop
call fcn.180002140
int3
call fcn.18021e9c0
nop
call fcn.18021e9c0
nop
call fcn.18021e9c0
int3
jmp 0x18001fd40