Function at 0x14004cf40
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov r15, rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
xor r12d, r12d
mov dword [rsp + 0x48], 0xe1d9d2de
mov dword [rsp + 0x4c], 0xaea0a9db
mov dword [rsp + 0x50], 0xb9a3ac
mov byte [rsp + 0x54], 1
mov eax, r12d
lea ecx, [rax - 0x45]
xor byte [rsp + rax + 0x48], cl
inc rax
cmp rax, 0xb
jb 0x14004cfa0
mov byte [rsp + 0x54], 0
lea rax, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004cfc4
mov rdx, qword [rdx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x14004d26c
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004cff4
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x48]
lea rcx, [rbp - 8]
call fcn.140029850
nop
mov word [rsp + 0x40], 0x7c
mov byte [rsp + 0x42], 0
lea rax, [rsp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004d026
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.1400273b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14004d078
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp - 0x48]
call fcn.1400273b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov word [rsp + 0x40], 0x7c
mov byte [rsp + 0x42], 0
lea rax, [rsp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004d0c6
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400273b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14004d11a
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x78]
call fcn.1400273b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rsp + 0x40], 0x100b6c7
mov rcx, r12
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x14004d170
mov byte [rsp + 0x43], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004d190
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400273b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x28]
movq r8, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, r8
movq r8, xmm1
mov rcx, r15
call fcn.1400273b0
nop
lea rcx, [rbp - 0x28]
call fcn.140027180
nop
lea rcx, [rsp + 0x58]
call fcn.140027180
nop
lea rcx, [rsp + 0x78]
call fcn.140027180
nop
lea rcx, [rbp - 0x68]
call fcn.140027180
nop
lea rcx, [rbp - 0x48]
call fcn.140027180
nop
lea rcx, [rbp - 8]
call fcn.140027180
nop
mov rcx, rdi
call fcn.140027180
nop
mov rcx, rsi
call fcn.140027180
nop
mov rcx, r14
call fcn.140027180
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400d1560
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140003100
nop
int3