Function at 0x1800e4720
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x140
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1802407e8]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rsi, rcx
mov r14, qword [rdx]
mov r12, qword [rdx + 8]
cmp r14, r12
je 0x1800e4d3f
mov edx, dword [0x180248ca8]
mov rax, qword gs:[0x58]
mov r13, qword [rax + rdx*8]
mov edi, 0x2d8
mov ebx, reloc.WS2_32.dll_ntohs
xor r15d, r15d
mov rcx, r14
call fcn.180110530
test eax, eax
jne 0x1800e47c0
lea rax, [0x1802449f0]
cmp r14, rax
je 0x1800e47c0
mov rdx, rax
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1802449f0]
mov r8, qword [0x180244a00]
mov rcx, r14
call fcn.1800dc810
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.1800d9f00
mov rdx, rax
mov r8d, r15d
mov r9, r15
cmp qword [rax + 0x10], 0
jbe 0x1800e480c
nop dword [rax]
mov rcx, qword [0x1802449e8]
movzx r10d, word [rcx + 0x60]
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1800e47f9
mov rcx, qword [rdx]
xor byte [r9 + rcx], r10b
inc r8d
inc r9
movsxd rax, r8d
cmp rax, qword [rdx + 0x10]
jb 0x1800e47e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], rbx
mov byte [rdx], 0
mov rcx, rdx
call fcn.1800db3e0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 0x41]
lea rdx, [rbp - 0x78]
call fcn.1800cd980
nop
lea rcx, [rsp + 0x40]
call fcn.1800db3e0
movdqa xmm0, xmmword [0x180217550]
movdqa xmm1, xmmword [0x180217560]
movdqa xmm2, xmmword [0x180217570]
mov dword [rbp + 0x10], 0xc5425c93
mov word [rbp + 0x14], 0x6b26
mov eax, dword [rdi + r13]
mov ebx, 0x238
add rbx, r13
test al, 1
jne 0x1800e490e
or eax, 1
mov dword [rdi + r13], eax
mov byte [rbx + 0x37], 1
lea rax, [rbx + 0x36]
lea rcx, [rbp + 0x16]
cmp rbx, rcx
ja 0x1800e48e4
lea rcx, [rbp - 0x20]
cmp rax, rcx
jb 0x1800e48e4
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm2
mov eax, dword [rbp + 0x10]
mov dword [rbx + 0x30], eax
movzx eax, word [rbp + 0x14]
mov word [rbx + 0x34], ax
mov byte [rbx + 0x36], 0xd3
jmp 0x1800e4901
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm2
mov eax, dword [rbp + 0x10]
mov dword [rbx + 0x30], eax
movzx eax, word [rbp + 0x14]
mov word [rbx + 0x34], ax
mov byte [rbx + 0x36], 0xd3
lea rcx, [0x1801e2870]
call fcn.18015cf9c
nop
mov rcx, rbx
call fcn.1800e71d0
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r9 - 1]
mov rdx, rbx
mov r15, qword [rbp - 0x78]
mov rcx, r15
call fcn.18008b600
test eax, eax
jne 0x1800e4d23
mov rcx, qword [rbp - 0x70]
call fcn.180039cd0
cmp eax, 0x64
jne 0x1800e4d1a
xor edi, edi
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov eax, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], rax
mov byte [rbp - 0x60], 0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x40], 0
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1800e49cc
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800e49a3
call qword [0x180241820]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1800e49b8
cmp di, word [rbx + 0xc0]
jb 0x1800e49d3
mov rcx, qword [rbx]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.18000a870
lea rcx, [0x18020ff88]
movzx edx, word [rcx + 0x14]
movzx eax, dx
mov r8d, 0x202
and ax, r8w
cmp ax, r8w
jne 0x1800e49f6
cmp byte [rcx + 0x16], 1
jne 0x1800e49f6
mov rax, qword [rcx + 8]
jmp 0x1800e4a07
test dl, 1
je 0x1800e4a00
mov rax, rdi
jmp 0x1800e4a07
mov dl, 1
call fcn.180033020
mov rdi, rax
test rbx, rbx
je 0x1800e4a43
mov edx, dword [rbx + 0x34]
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
jne 0x1800e4a23
test edx, edx
jne 0x1800e4a23
xor eax, eax
jmp 0x1800e4a28
call fcn.180007540
mov dword [rbx + 0x34], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
mov rax, rdi
test rcx, rcx
je 0x1800e4a43
call qword [0x180241830]
mov rax, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x1800e4a60
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800dd050
mov r8d, edi
mov r9, rdi
cmp qword [rsp + 0x50], rdi
jbe 0x1800e4ac1
nop dword [rax]
nop word [rax + rax]
mov rax, qword [0x1802449e8]
movzx edx, word [rax + 0x60]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor byte [r9 + rcx], dl
inc r8d
lea r9, [r9 + 1]
movsxd rax, r8d
cmp rax, qword [rsp + 0x50]
jb 0x1800e4a90
movups xmm6, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x68], xmm6
movups xmm7, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x78], xmm7
mov qword [rsp + 0x50], rdi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x40], dil
lea rcx, [rsp + 0x40]
call fcn.1800db3e0
movaps xmmword [rbp - 0x60], xmm6
movaps xmmword [rbp - 0x50], xmm7
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], dil
lea rcx, [rsp + 0x68]
call fcn.1800db3e0
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1800e4b64
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800e4b2e
call qword [0x180241820]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1800e4b50
mov eax, 1
cmp ax, word [rbx + 0xc0]
jae 0x1800e4b50
add rcx, 0x38
jne 0x1800e4b6b
jmp 0x1800e4ba2
mov rcx, qword [rbx]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.18000a870
lea rcx, [0x18020ff88]
movzx edx, word [rcx + 0x14]
movzx eax, dx
mov r8d, 0x202
and ax, r8w
cmp ax, r8w
jne 0x1800e4b8e
cmp byte [rcx + 0x16], 1
jne 0x1800e4b8e
mov rdi, qword [rcx + 8]
jmp 0x1800e4b9d
test dl, 1
jne 0x1800e4b9d
mov dl, 1
call fcn.180033020
mov rdi, rax
test rbx, rbx
je 0x1800e4bd0
mov edx, dword [rbx + 0x34]
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
jne 0x1800e4bb6
test edx, edx
jne 0x1800e4bb6
xor eax, eax
jmp 0x1800e4bbb
call fcn.180007540
mov dword [rbx + 0x34], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800e4bd0
call qword [0x180241830]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], al
jne 0x1800e4bf0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1800dd050
xor edi, edi
mov r8d, edi
mov r9d, edi
cmp qword [rsp + 0x50], rdi
jbe 0x1800e4c51
nop word [rax + rax]
mov rax, qword [0x1802449e8]
movzx edx, word [rax + 0x60]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor byte [r9 + rcx], dl
inc r8d
lea r9, [r9 + 1]
movsxd rax, r8d
cmp rax, qword [rsp + 0x50]
jb 0x1800e4c20
movups xmm7, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x68], xmm7
movups xmm6, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x78], xmm6
mov qword [rsp + 0x50], rdi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x40], dil
lea rcx, [rsp + 0x40]
call fcn.1800db3e0
movaps xmmword [rbp - 0x40], xmm7
movaps xmmword [rbp - 0x30], xmm6
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], dil
lea rcx, [rsp + 0x68]
call fcn.1800db3e0
lea rcx, [rsi + 0x88]
mov rbx, qword [rsi + 0x90]
cmp rbx, qword [rsi + 0x98]
je 0x1800e4ce4
mov qword [rsp + 0x60], rbx
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.1800d9f00
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x40]
call fcn.1800d9f00
nop
add qword [rsi + 0x90], 0x40
jmp 0x1800e4cf1
lea r8, [rbp - 0x60]
mov rdx, rbx
call fcn.1800ef7e0
nop
lea rcx, [rbp - 0x40]
call fcn.1800db3e0
lea rcx, [rbp - 0x60]
call fcn.1800db3e0
mov rcx, qword [rbp - 0x70]
call fcn.180039cd0
cmp eax, 0x64
je 0x1800e4960
mov edi, 0x2d8
mov rcx, qword [rbp - 0x70]
call fcn.180038d00
call fcn.180110970
xor edx, edx
mov rcx, r15
call fcn.1800cadf0
add r14, 0x20
cmp r14, r12
jne 0x1800e477e
xor eax, eax
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.18015c7e0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret