Function at 0x14004d670
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rdi, rcx
movdqa xmm0, xmmword [0x1400a84a0]
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0xc29b8385
mov dword [rsp + 0x4c], 0xdf82818e
mov dword [rsp + 0x50], 0x849383
mov byte [rsp + 0x54], 1
xor r14d, r14d
mov ecx, r14d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x27]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0x1b
jb 0x14004d6d0
mov byte [rsp + 0x54], r14b
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x48], r14b
or rbx, 0xffffffffffffffff
cmp byte [rsp + 0x38], r14b
jne 0x14004d705
mov r8, r14
jmp 0x14004d719
lea rax, [rsp + 0x38]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x14004d710
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.140034cf0
nop
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.140034e20
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14004cd50
nop
lea rcx, [rsp + 0x78]
call fcn.14004c8a0
nop
lea rax, [rbp - 8]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x78]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x108], 0xefeeefef
mov word [rbp + 0x10c], 0xe8
mov byte [rbp + 0x10e], 1
mov rcx, r14
nop
lea eax, [rcx - 0x27]
xor byte [rbp + rcx + 0x108], al
inc rcx
cmp rcx, 5
jb 0x14004d7a0
mov byte [rbp + 0x10e], 0
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov qword [rbp + 8], r14
mov byte [rbp - 8], 0
cmp byte [rbp + 0x108], 0
jne 0x14004d7d8
mov r8, r14
jmp 0x14004d7ec
lea rax, [rbp + 0x108]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004d7e2
lea rdx, [rbp + 0x108]
lea rcx, [rbp - 8]
call fcn.140034cf0
nop
mov dword [rsp + 0x20], 0x98928d91
mov dword [rsp + 0x24], 0x100fee7
mov rcx, r14
lea eax, [rcx - 0x27]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x14004d810
mov byte [rsp + 0x27], 0
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x58]
call fcn.140053f60
mov rdx, rax
mov dword [rsp + 0x28], 0xa0fbfaf9
mov dword [rsp + 0x2c], 0xfffefd
mov byte [rsp + 0x30], 1
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x27]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 7
jb 0x14004d860
mov byte [rsp + 0x30], 0
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x58]
call fcn.1400540d0
nop
mov dword [rbp + 0xf8], 0xfce18a90
mov word [rbp + 0xfc], 0x100
mov rdx, r14
nop dword [rax + rax]
lea ecx, [rdx - 0x27]
xor byte [rbp + rdx + 0xf8], cl
inc rdx
cmp rdx, 4
jb 0x14004d8a0
mov byte [rbp + 0xfd], 0
lea r8, [rbp + 0xf8]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1400540d0
nop
lea r8, [rbp - 0x68]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140054140
nop
mov dword [rbp + 0x100], 0xa0fbfaf9
mov word [rbp + 0x104], 0x100
mov rdx, r14
nop word [rax + rax]
lea ecx, [rdx - 0x27]
xor byte [rbp + rdx + 0x100], cl
inc rdx
cmp rdx, 4
jb 0x14004d900
mov byte [rbp + 0x105], 0
lea r8, [rbp + 0x100]
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.1400540d0
mov rsi, rax
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x28], r14
mov byte [rbp + 0x18], 0
cmp byte [rdi], 0
jne 0x14004d950
mov rbx, r14
jmp 0x14004d959
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14004d950
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.140034cf0
nop
mov dl, 1
lea rcx, [rbp + 0x98]
call fcn.14004b9c0
nop
lea r9, [rbp - 8]
mov r8, rsi
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.14004cef0
nop
mov rax, qword [rsp + 0x50]
cmp rax, 0x10
jb 0x14004d9e8
inc rax
mov rcx, qword [rsp + 0x38]
cmp rax, 0x1000
jb 0x14004d9e3
test cl, 0x1f
je 0x14004d9b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004d9c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004d9d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004d9e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140054a50
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x38], 0
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x14004da55
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, 0x1000
jb 0x14004da50
test cl, 0x1f
je 0x14004da20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004da30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004da40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004da4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140054a50
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x18], r14
mov byte [rbp - 0x28], 0
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14004dac1
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x14004dabc
test cl, 0x1f
je 0x14004da8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004da9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004daac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004dab9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140054a50
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
mov rax, qword [rbp + 0x70]
cmp rax, 0x10
jb 0x14004db2f
inc rax
mov rcx, qword [rbp + 0x58]
cmp rax, 0x1000
jb 0x14004db29
test cl, 0x1f
je 0x14004daf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004db09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004db19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004db26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140054a50
nop
mov rax, qword [rbp - 0x70]
cmp rax, 0x10
jb 0x14004db8a
inc rax
mov rcx, qword [rsp + 0x78]
cmp rax, 0x1000
jb 0x14004db85
test cl, 0x1f
je 0x14004db55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004db65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004db75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004db82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140054a50
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x14004dbf5
inc rax
mov rcx, qword [rbp - 0x68]
cmp rax, 0x1000
jb 0x14004dbf0
test cl, 0x1f
je 0x14004dbc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004dbd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004dbe0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004dbed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140054a50
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x68], 0
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x14004dc5f
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x14004dc5a
test cl, 0x1f
je 0x14004dc2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004dc3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004dc4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004dc57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140054a50
add rsp, 0x1c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret