Function at 0x14004b900
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x1f], rdx
xor r15d, r15d
test r9d, r9d
je 0x14004bb45
cmp r9d, 1
jne 0x14004bd48
mov edx, r8d
lea rcx, [rbp - 1]
call fcn.1400031b0
mov rsi, rax
movdqa xmm0, xmmword [0x1400f92b0]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rbp - 0x71], 0xb2a3a3a8
mov dword [rbp - 0x6d], 0xbeb0bdbc
mov dword [rbp - 0x69], 0x100a8bf
mov ecx, r15d
nop dword [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x1a
jb 0x14004b980
mov byte [rbp - 0x66], 0
lea rcx, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14004b9a3
mov rdx, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, rax
jb 0x14004bd79
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004b9d3
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea rcx, [rbp - 0x21]
call fcn.140029850
nop
mov dword [rsp + 0x40], 0xd8d8d0c7
mov dword [rsp + 0x44], 0x100bccb
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 6
jb 0x14004ba10
mov byte [rsp + 0x47], 0
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004ba30
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x21]
call fcn.1400273b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x51], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rsi
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.140029660
nop
mov dword [rsp + 0x40], 0x100b6c7
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x14004ba90
mov byte [rsp + 0x43], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004bab0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x41]
call fcn.1400273b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x71], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x48]
movq r8, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, r8
movq r8, xmm1
mov rcx, r14
call fcn.1400273b0
nop
lea rcx, [rsp + 0x48]
call fcn.140027180
nop
lea rcx, [rbp - 0x41]
call fcn.140027180
nop
lea rcx, [rbp - 0x61]
call fcn.140027180
nop
lea rcx, [rbp - 0x21]
call fcn.140027180
nop
jmp 0x14004bd3e
mov edx, r8d
lea rcx, [rbp - 1]
call fcn.1400031b0
mov rsi, rax
movdqa xmm0, xmmword [0x1400f92b0]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rbp - 0x71], 0xb2a3a3a8
mov dword [rbp - 0x6d], 0xaeb6b9ad
mov word [rbp - 0x69], pe_nt_image_headers64
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x18
jb 0x14004bb80
mov byte [rbp - 0x68], 0
lea rcx, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14004bba3
mov rdx, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, rax
jb 0x14004bd73
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004bbd3
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea rcx, [rbp - 0x41]
call fcn.140029850
nop
mov dword [rsp + 0x40], 0xd8d8d0c7
mov dword [rsp + 0x44], 0x100bccb
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 6
jb 0x14004bc10
mov byte [rsp + 0x47], 0
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004bc30
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x41]
call fcn.1400273b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x71], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rsi
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x21]
call fcn.140029660
nop
mov dword [rsp + 0x40], 0x100b6c7
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x14004bc90
mov byte [rsp + 0x43], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004bcb0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x21]
call fcn.1400273b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x51], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x61]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, r14
call fcn.1400273b0
nop
lea rcx, [rbp - 0x61]
call fcn.140027180
nop
lea rcx, [rbp - 0x21]
call fcn.140027180
nop
lea rcx, [rsp + 0x48]
call fcn.140027180
nop
lea rcx, [rbp - 0x41]
call fcn.140027180
nop
lea rcx, [rbp - 1]
call fcn.140027180
nop
mov rcx, rdi
call fcn.140027180
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400d1560
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140003100
nop
call fcn.140003100
int3