Function at 0x14003da50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
sub rsp, 0x188
xor r9d, r9d
mov qword [rsp + 0x148], r15
mov r11d, edx
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x54], r9d
mov dword [rsp + 0x58], r9d
mov dword [rsp + 0x5c], r9d
mov dword [rsp + 0x60], r9d
mov dword [rsp + 0x64], r9d
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x6c], r9d
mov r10, rcx
nop
nop
nop
nop
mov eax, dword [rcx]
add rcx, 4
inc dword [rsp + rax*4 + 0x30]
add edx, 0xffffffff
jne 0x14003dad0
cmp dword [rsp + 0x30], r11d
jne 0x14003db0e
mov rax, qword [rsp + 0x1b8]
mov qword [rax], r9
mov rax, qword [rsp + 0x1c0]
mov dword [rax], r9d
xor eax, eax
mov r15, qword [rsp + 0x148]
add rsp, 0x188
ret
mov r8, qword [rsp + 0x1c0]
mov qword [rsp + 0x158], r13
mov eax, 1
mov r13d, dword [r8]
lea rcx, [rsp + 0x34]
nop
nop
cmp dword [rcx], r9d
jne 0x14003db40
inc eax
add rcx, 4
cmp eax, 0xf
jbe 0x14003db30
cmp r13d, eax
mov qword [rsp + 0x150], r14
mov edx, reloc.WS2_32.dll_ntohs
mov r14d, eax
lea rcx, [rsp + 0x6c]
cmovb r13d, eax
nop
cmp dword [rcx], r9d
jne 0x14003db6e
sub rcx, 4
add edx, 0xffffffff
jne 0x14003db60
cmp r13d, edx
mov ecx, eax
mov qword [rsp + 0x178], rbp
cmova r13d, edx
movsxd rbp, eax
mov dword [rsp + 0xc], edx
mov dword [r8], r13d
mov r8d, 1
mov qword [rsp + 0x70], rbp
shl r8d, cl
cmp eax, edx
jae 0x14003dbb6
lea rcx, [rsp + rbp*4 + 0x30]
sub r8d, dword [rcx]
js 0x14003dde4
inc eax
add rcx, 4
add r8d, r8d
cmp eax, edx
jb 0x14003dba0
mov ecx, edx
mov eax, dword [rsp + rcx*4 + 0x30]
sub r8d, eax
mov dword [rsp + 0x28], r8d
js 0x14003dde4
add eax, r8d
add edx, 0xffffffff
mov dword [rsp + 0x84], r9d
mov dword [rsp + rcx*4 + 0x30], eax
mov ecx, r9d
je 0x14003dc04
mov rax, r9
mov r8d, edx
nop
nop
nop
add ecx, dword [rsp + rax + 0x34]
add rax, 4
dec r8
mov dword [rsp + rax + 0x84], ecx
jne 0x14003dbf0
mov r15, qword [rsp + 0x1d8]
mov edx, r9d
nop
mov eax, dword [r10]
add r10, 4
test eax, eax
je 0x14003dc31
mov ecx, eax
mov eax, dword [rsp + rax*4 + 0x80]
mov dword [r15 + rax*4], edx
inc eax
mov dword [rsp + rcx*4 + 0x80], eax
inc edx
cmp edx, r11d
jb 0x14003dc10
mov eax, dword [rsp + 0xc]
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x168], rdi
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x160], r12
movsxd r12, eax
mov esi, r13d
mov r8, r15
mov ecx, dword [rsp + r12*4 + 0x80]
neg esi
cmp rbp, r12
mov qword [rsp + 0x20], r15
mov r15d, dword [rsp + 0x1a0]
mov ebx, r9d
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x80], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0xc0], r9
mov r11, r9
mov r10d, r9d
mov rdi, rdx
jg 0x14003df88
lea ecx, [r14 - 1]
mov dword [rsp + 8], ecx
nop
nop
mov r12d, dword [rsp + rbp*4 + 0x30]
test r12d, r12d
je 0x14003df6b
nop
add r12d, 0xffffffff
lea ebp, [rsi + r13]
cmp r14d, ebp
mov dword [rsp + 0x18], r12d
jle 0x14003de20
lea r15d, [r12 + 1]
mov r12d, esi
sub r12d, r13d
inc edx
add esi, r13d
inc rdi
add r12d, r13d
add ebp, r13d
mov qword [rsp + 0x10], rdx
mov r9d, eax
mov r8d, r14d
mov edx, 1
sub r9d, esi
cmp r9d, r13d
cmova r9d, r13d
sub r8d, esi
mov ecx, r8d
shl edx, cl
cmp edx, r15d
jbe 0x14003dd67
mov eax, 0xffffffff
sub eax, dword [rsp + 0x18]
add edx, eax
cmp r8d, r9d
movsxd rax, r14d
lea rcx, [rsp + rax*4 + 0x30]
jae 0x14003dd67
inc r8d
cmp r8d, r9d
jae 0x14003dd67
nop
nop
nop
mov eax, dword [rcx + 4]
add rcx, 4
add edx, edx
cmp edx, eax
jbe 0x14003dd67
inc r8d
sub edx, eax
cmp r8d, r9d
jb 0x14003dd50
mov rdx, qword [rsp + 0x1d0]
mov ecx, r8d
mov r10d, 1
mov eax, dword [rdx]
shl r10d, cl
lea ecx, [rax + r10]
cmp ecx, 0x5a0
ja 0x14003dfe5
test rdi, rdi
mov r9, qword [rsp + 0x1c8]
mov dword [rdx], ecx
lea r11, [r9 + rax*8]
mov qword [rsp + rdi*8 + 0xc0], r11
je 0x14003ddee
mov rdx, qword [rsp + rdi*8 + 0xb8]
mov byte [rsp], r8b
mov r8d, ebx
mov rax, r11
mov ecx, r12d
mov byte [rsp + 1], r13b
sub rax, rdx
shr r8d, cl
mov dword [rsp + rdi*4 + 0x80], ebx
sar rax, 3
sub eax, r8d
mov dword [rsp + 4], eax
mov rax, qword [rsp]
mov qword [rdx + r8*8], rax
jmp 0x14003ddf9
mov eax, 0xfffffffd
jmp 0x14003dfbd
mov rax, qword [rsp + 0x1b8]
mov qword [rax], r11
cmp r14d, ebp
mov rdx, qword [rsp + 0x10]
mov eax, dword [rsp + 0xc]
jg 0x14003dcf1
mov r12d, dword [rsp + 0x18]
mov r8, qword [rsp + 0x20]
mov r15d, dword [rsp + 0x1a0]
xor r9d, r9d
mov rcx, qword [rsp + 0x1d8]
movzx eax, r14b
sub al, sil
mov byte [rsp + 1], al
mov eax, dword [rsp + 0x2c]
lea rcx, [rcx + rax*4]
cmp r8, rcx
jb 0x14003de46
mov byte [rsp], 0xc0
jmp 0x14003de9b
mov ecx, dword [r8]
cmp ecx, r15d
jae 0x14003de6f
cmp ecx, 0x100
mov eax, 0x60
mov dword [rsp + 4], ecx
cmovb eax, r9d
add r8, 4
mov qword [rsp + 0x20], r8
mov byte [rsp], al
jmp 0x14003de9b
mov rax, qword [rsp + 0x1b0]
sub ecx, r15d
movzx eax, byte [rax + rcx*4]
add al, 0x50
add r8, 4
mov byte [rsp], al
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x20], r8
mov eax, dword [rax + rcx*4]
mov dword [rsp + 4], eax
mov ecx, r14d
mov r8d, 1
mov edx, ebx
sub ecx, esi
shl r8d, cl
mov ecx, esi
shr edx, cl
movsxd r9, r8d
cmp edx, r10d
movsxd rax, edx
jae 0x14003dede
lea rcx, [r11 + rax*8]
mov rax, qword [rsp]
shl r9, 3
nop
nop
nop
add edx, r8d
mov qword [rcx], rax
add rcx, r9
cmp edx, r10d
jb 0x14003ded0
mov ecx, dword [rsp + 8]
mov eax, 1
shl eax, cl
test ebx, eax
je 0x14003def8
nop
xor ebx, eax
shr eax, 1
test ebx, eax
jne 0x14003def0
xor ebx, eax
mov ecx, esi
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rsp + rdi*4 + 0x80]
je 0x14003df45
mov rdx, qword [rsp + 0x10]
nop
nop
nop
sub esi, r13d
mov eax, 1
dec rdi
mov ecx, esi
dec edx
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rsp + rdi*4 + 0x80]
jne 0x14003df20
mov qword [rsp + 0x10], rdx
jmp 0x14003df4a
mov rdx, qword [rsp + 0x10]
test r12d, r12d
mov r8, qword [rsp + 0x20]
mov eax, dword [rsp + 0xc]
mov r9d, 0
jne 0x14003dcd0
mov ecx, dword [rsp + 8]
mov rbp, qword [rsp + 0x70]
inc rbp
inc ecx
movsxd r12, eax
inc r14d
cmp rbp, r12
mov dword [rsp + 8], ecx
mov qword [rsp + 0x70], rbp
jle 0x14003dcc0
cmp dword [rsp + 0x28], 0
je 0x14003df9a
cmp eax, 1
je 0x14003df9a
mov r9d, 0xfffffffb
mov eax, r9d
mov rbx, qword [rsp + 0x180]
mov r12, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x178]
mov r14, qword [rsp + 0x150]
mov r13, qword [rsp + 0x158]
mov r15, qword [rsp + 0x148]
add rsp, 0x188
ret
mov eax, 0xfffffffd
jmp 0x14003df9d