Function at 0x14003a930
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rdi
push r13
sub rsp, 0xa8
mov rdi, rcx
mov ecx, dword [rsp + 0xe0]
lea eax, [rcx - 1]
lea r10d, [rax + rax*2]
shl r10d, 2
lea r13, [r9 + r10*8]
test ecx, ecx
je 0x14003ac62
mov qword [r11 + 8], rbx
mov qword [r11 - 0x18], rbp
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], r12
mov rbx, rdx
mov r10, rdx
sub r10, r8
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov r11, r8
mov r12, rdi
mov r15, r13
sub r12, rdx
sub r11, rdi
sub rbx, rdi
lea rax, [r12 + r8]
sub r11, rdx
sub r15, rdi
lea rdx, [rax + 8]
lea r8, [rax + 0x10]
add r11, 0xffffffffffffff98
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xd8], r8
lea rdx, [rax + 0x18]
mov qword [rsp + 0x50], rdx
lea r8, [rax + 0x20]
lea rdx, [rax + 0x28]
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x30], r8
lea rdx, [rax + 0x38]
lea r8, [rax + 0x30]
mov qword [rsp + 0x60], rdx
lea rdx, [rax + 0x48]
mov qword [rsp + 0x40], r8
lea r8, [rax + 0x40]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
lea rdx, [rax + 0x58]
lea r8, [rax + 0x50]
lea r9, [rdi + 0x10]
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0xc8], rcx
nop dword [rax]
nop word [rax + rax]
lea r14, [rdi + 0x58]
lea rbp, [rbx + rax]
add r14, rbx
cmp rbp, r14
ja 0x14003aa7a
lea rsi, [rbx + rdi]
lea rax, [rbx + rdx]
cmp rax, rsi
jb 0x14003aa7a
mov r9, rbp
mov rdx, rdi
mov r8d, reloc.WS2_32.dll_inet_ntoa
sub r9, rsi
nop dword [rax]
lea rax, [rbx + rdx]
lea rdx, [rdx + 8]
mov rcx, qword [rax + r9]
add rcx, qword [rax]
xor qword [rdx - 8], rcx
dec r8
jne 0x14003aa60
jmp 0x14003aadd
lea rsi, [rbx + rdi]
mov r8, rbp
mov rdx, r9
sub r8, rsi
mov r9d, 3
nop dword [rax]
lea rax, [r10 + rdx]
lea rcx, [r14 + r11]
movdqu xmm0, xmmword [rdx + rcx]
movdqu xmm1, xmmword [rax + rcx]
lea rax, [rbx + rdx]
lea rdx, [rdx + 0x20]
paddq xmm1, xmm0
movdqu xmm0, xmmword [rdx - 0x30]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rdx - 0x30], xmm1
movdqu xmm1, xmmword [rax + r8]
paddq xmm1, xmm0
movdqu xmm0, xmmword [rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
dec r9
jne 0x14003aa90
mov rcx, rdi
call fcn.14003a240
cmp r13, r14
ja 0x14003ab18
lea rax, [rdi + 0x58]
add rax, r15
cmp rax, rsi
jb 0x14003ab18
mov rax, rdi
mov edx, reloc.WS2_32.dll_inet_ntoa
nop
mov rcx, qword [rbx + rax]
lea rax, [rax + 8]
xor rcx, qword [rax - 8]
mov qword [r15 + rax - 8], rcx
dec rdx
jne 0x14003ab00
jmp 0x14003ab65
mov rcx, r13
lea rax, [r14 - 0x48]
mov edx, 3
sub rcx, rsi
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r12 + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r12 + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + rcx - 0x20], xmm1
dec rdx
jne 0x14003ab30
mov rax, qword [rdi + 0x58]
mov rsi, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x48]
xor qword [rbp], rax
mov rax, qword [rdi]
mov r10, qword [rsp + 0x68]
xor qword [rbx + rsi], rax
mov rsi, qword [rsp + 0xd8]
mov rax, qword [rdi + 8]
xor qword [rbx + rsi], rax
mov rsi, qword [rsp + 0x50]
mov rax, qword [rdi + 0x10]
xor qword [rbx + rsi], rax
mov rsi, qword [rsp + 0x30]
mov rax, qword [rdi + 0x18]
xor qword [rbx + rsi], rax
mov rsi, qword [rsp + 0x70]
mov rax, qword [rdi + 0x20]
xor qword [rbx + rsi], rax
mov rsi, qword [rsp + 0x40]
mov rax, qword [rdi + 0x28]
xor qword [rbx + rsi], rax
mov rsi, qword [rsp + 0x60]
mov rax, qword [rdi + 0x30]
xor qword [rbx + rsi], rax
mov rsi, qword [rsp + 0x20]
mov rax, qword [rdi + 0x38]
xor qword [rbx + rsi], rax
mov rsi, qword [rsp + 0x28]
mov rax, qword [rdi + 0x40]
xor qword [rbx + rsi], rax
mov rax, qword [rdi + 0x48]
mov rsi, qword [rsp + 0x38]
xor qword [rbx + rsi], rax
mov rax, qword [rdi + 0x50]
mov r11, qword [rsp + 0x78]
xor qword [rbx + rdx], rax
mov rax, qword [rsp + 0x58]
lea r9, [rdi + 0x10]
add rbx, 0x60
sub r12, 0x60
sub r13, 0x60
sub r15, 0x60
dec qword [rsp + 0xc8]
jne 0x14003aa30
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa8
pop r13
pop rdi
ret