Function at 0x14004f420
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x140ce2080]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rcx
mov rbx, rcx
cmp edx, 0x46
je 0x14004f6df
cmp edx, 0x4b
je 0x14004f6df
cmp edx, 0x37
je 0x14004f68e
cmp edx, 0x3c
je 0x14004f68e
xor ecx, ecx
cmp edx, 0x2c
jne 0x14004f4c2
mov dword [rbp - 0x10], 0x1008de6
mov edx, ecx
nop word [rax + rax]
lea eax, [rdx - 0x42]
xor byte [rbp + rdx - 0x10], al
inc rdx
cmp rdx, 2
jb 0x14004f480
mov qword [rbx], rcx
lea rax, [rbp - 0x10]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov byte [rbp - 0xd], cl
nop
inc r8
cmp byte [rax + r8], cl
jne 0x14004f4b0
lea rdx, [rbp - 0x10]
jmp 0x14004f72d
cmp edx, 0x1a
jne 0x14004f522
mov dword [rbp - 0x10], 0x1008ce6
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x42]
xor byte [rbp + rdx - 0x10], al
inc rdx
cmp rdx, 2
jb 0x14004f4e0
mov qword [rbx], rcx
lea rax, [rbp - 0x10]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov byte [rbp - 0xd], cl
nop
inc r8
cmp byte [rax + r8], cl
jne 0x14004f510
lea rdx, [rbp - 0x10]
jmp 0x14004f72d
cmp edx, 0x14
jne 0x14004f582
mov dword [rbp - 0x10], 0x1008be6
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x42]
xor byte [rbp + rdx - 0x10], al
inc rdx
cmp rdx, 2
jb 0x14004f540
mov qword [rbx], rcx
lea rax, [rbp - 0x10]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov byte [rbp - 0xd], cl
nop
inc r8
cmp byte [rax + r8], cl
jne 0x14004f570
lea rdx, [rbp - 0x10]
jmp 0x14004f72d
cmp edx, 0xd
jne 0x14004f5e2
mov dword [rbp - 0x10], 0x10089e6
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x42]
xor byte [rbp + rdx - 0x10], al
inc rdx
cmp rdx, 2
jb 0x14004f5a0
mov qword [rbx], rcx
lea rax, [rbp - 0x10]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov byte [rbp - 0xd], cl
nop
inc r8
cmp byte [rax + r8], cl
jne 0x14004f5d0
lea rdx, [rbp - 0x10]
jmp 0x14004f72d
cmp edx, 0xb
mov rdx, rcx
jne 0x14004f642
mov dword [rbp - 0x10], 0x10087e6
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x42]
xor byte [rbp + rdx - 0x10], al
inc rdx
cmp rdx, 2
jb 0x14004f600
mov qword [rbx], rcx
lea rax, [rbp - 0x10]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov byte [rbp - 0xd], cl
nop
inc r8
cmp byte [rax + r8], cl
jne 0x14004f630
lea rdx, [rbp - 0x10]
jmp 0x14004f72d
mov dword [rbp - 0x10], 0xb0babc9c
mov word [rbp - 0xc], 0x100
nop
lea eax, [rdx - 0x2e]
xor byte [rbp + rdx - 0x10], al
inc rdx
cmp rdx, 4
jb 0x14004f650
mov qword [rbx], rcx
lea rax, [rbp - 0x10]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov byte [rbp - 0xb], cl
nop
inc r8
cmp byte [rax + r8], cl
jne 0x14004f680
jmp 0x14004f729
xor ecx, ecx
mov dword [rbp - 0x10], 0xc0e7e7d3
mov edx, ecx
mov dword [rbp - 0xc], 0x100f2ea
lea eax, [rdx - 0x7f]
xor byte [rbp + rdx - 0x10], al
inc rdx
cmp rdx, 6
jb 0x14004f6a0
mov qword [rbx], rcx
lea rax, [rbp - 0x10]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov byte [rbp - 9], cl
nop
inc r8
cmp byte [rax + r8], cl
jne 0x14004f6d0
lea rdx, [rbp - 0x10]
jmp 0x14004f72d
xor ecx, ecx
mov dword [rbp - 0x10], 0xbbbba19b
mov edx, ecx
mov word [rbp - 0xc], 0x100
lea eax, [rdx - 0x2e]
xor byte [rbp + rdx - 0x10], al
inc rdx
cmp rdx, 4
jb 0x14004f6f0
mov qword [rbx], rcx
lea rax, [rbp - 0x10]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov byte [rbp - 0xb], cl
nop
inc r8
cmp byte [rax + r8], cl
jne 0x14004f720
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.14002c840
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401308a0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret