Function at 0x14019a1e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.140280460
sub rsp, rax
mov r11, r8
mov r8, rcx
test rcx, rcx
je 0x14019a7ac
test r11, r11
je 0x14019a7ac
lea eax, [rdx - 0x80]
test eax, 0xffffff3f
jne 0x14019a7a2
cmp edx, 0x140
je 0x14019a7a2
mov qword [rsp], rbx
cmp edx, 0x80
jne 0x14019a238
mov dword [r11 + 0xf0], 0xa
jmp 0x14019a252
cmp edx, 0xc0
mov eax, reloc.WS2_32.dll_ntohl
mov ecx, ntohl
cmove eax, ecx
mov dword [r11 + 0xf0], eax
mov eax, dword [r8]
lea r9, [r11 + 4]
mov ebx, eax
rol eax, 8
and eax, 0xff00ff
ror ebx, 8
and ebx, 0xff00ff00
or ebx, eax
mov dword [r11], ebx
mov ecx, dword [r8 + 4]
mov eax, ecx
ror eax, 8
rol ecx, 8
and eax, 0xff00ff00
and ecx, 0xff00ff
or eax, ecx
mov dword [r9], eax
mov ecx, dword [r8 + 8]
mov eax, ecx
ror eax, 8
rol ecx, 8
and eax, 0xff00ff00
and ecx, 0xff00ff
or eax, ecx
mov dword [r11 + 8], eax
mov eax, dword [r8 + 0xc]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [r11 + 0xc], ecx
cmp edx, 0x80
jne 0x14019a40e
mov edx, ecx
lea r10, [0x140000000]
mov eax, ecx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [r10 + rcx*4 + 0x30d470]
btc r8d, 0x18
movzx ecx, al
and r8d, 0xff000000
mov eax, dword [r10 + rcx*4 + 0x30d870]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r10 + rax*4 + 0x30d070]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r10 + rax*4 + 0x30cc70]
and ecx, 0xff00
xor r8d, ecx
xor r8d, ebx
lea rbx, [0x14030ed98]
mov dword [r11 + 0x10], r8d
xor r8d, dword [r9]
mov dword [r11 + 0x14], r8d
xor r8d, dword [r11 + 8]
mov dword [r11 + 0x18], r8d
xor r8d, dword [r11 + 0xc]
mov dword [r11 + 0x1c], r8d
lea r11, [0x14030ed74]
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r9 + 0x18]
lea r9, [r9 + 0x10]
mov eax, edx
shr rax, 8
movzx ecx, al
mov eax, edx
shr rax, 0x10
mov r8d, dword [r10 + rcx*4 + 0x30d870]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [r10 + rcx*4 + 0x30d470]
and eax, 0xff000000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r10 + rax*4 + 0x30d070]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r10 + rax*4 + 0x30cc70]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [r9 - 4]
xor r8d, dword [r11]
add r11, 4
mov dword [r9 + 0xc], r8d
xor r8d, dword [r9]
mov dword [r9 + 0x10], r8d
mov ecx, dword [r9 + 4]
xor ecx, r8d
mov dword [r9 + 0x14], ecx
mov eax, dword [r9 + 8]
xor eax, ecx
mov dword [r9 + 0x18], eax
cmp r11, rbx
jne 0x14019a370
xor eax, eax
mov rbx, qword [rsp]
add rsp, 8
ret
mov eax, dword [r8 + 0x10]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [r11 + 0x10], ecx
mov eax, dword [r8 + 0x14]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [r11 + 0x14], ecx
cmp edx, 0xc0
jne 0x14019a5a0
mov edx, ecx
lea r10, [0x140000000]
mov eax, ecx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [r10 + rcx*4 + 0x30d470]
movzx ecx, al
btc r8d, 0x18
and r8d, 0xff000000
mov eax, dword [r10 + rcx*4 + 0x30d870]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r10 + rax*4 + 0x30d070]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r10 + rax*4 + 0x30cc70]
lea rax, [r11 + 0x28]
and ecx, 0xff00
xor r8d, ecx
xor r8d, ebx
lea rbx, [0x14030ed90]
mov dword [r11 + 0x18], r8d
xor r8d, dword [r9]
mov dword [r11 + 0x1c], r8d
xor r8d, dword [r11 + 8]
mov dword [r11 + 0x20], r8d
xor r8d, dword [r11 + 0xc]
mov dword [r11 + 0x24], r8d
lea r11, [0x14030ed74]
nop dword [rax]
mov edx, dword [rax - 0x18]
xor edx, dword [rax - 4]
mov ecx, dword [rax - 0x14]
mov dword [rax], edx
lea rax, [rax + 0x18]
xor ecx, edx
mov dword [rax - 0x14], ecx
mov r8d, dword [rax - 0x14]
mov ecx, r8d
shr rcx, 0x10
movzx edx, cl
mov ecx, r8d
shr rcx, 8
mov r9d, dword [r10 + rdx*4 + 0x30d470]
movzx edx, cl
and r9d, 0xff000000
mov ecx, dword [r10 + rdx*4 + 0x30d870]
and ecx, 0xff0000
xor r9d, ecx
mov ecx, r8d
shr rcx, 0x18
movzx ecx, byte [r10 + rcx*4 + 0x30d070]
xor r9d, ecx
movzx ecx, r8b
mov edx, dword [r10 + rcx*4 + 0x30cc70]
and edx, 0xff00
xor r9d, edx
xor r9d, dword [rax - 0x28]
xor r9d, dword [r11]
add r11, 4
mov dword [rax - 0x10], r9d
mov ecx, dword [rax - 0x24]
xor ecx, r9d
mov dword [rax - 0xc], ecx
mov edx, dword [rax - 0x20]
xor edx, ecx
mov dword [rax - 8], edx
mov ecx, dword [rax - 0x1c]
xor ecx, edx
mov dword [rax - 4], ecx
cmp r11, rbx
jne 0x14019a4f0
xor eax, eax
mov rbx, qword [rsp]
add rsp, 8
ret
mov eax, dword [r8 + 0x18]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [r11 + 0x18], ecx
mov eax, dword [r8 + 0x1c]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [r11 + 0x1c], ecx
cmp edx, 0x100
jne 0x14019a403
mov edx, ecx
lea r10, [0x140000000]
mov eax, ecx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [r10 + rcx*4 + 0x30d470]
btc r8d, 0x18
movzx ecx, al
and r8d, 0xff000000
mov eax, dword [r10 + rcx*4 + 0x30d870]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r10 + rax*4 + 0x30d070]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r10 + rax*4 + 0x30cc70]
and ecx, 0xff00
xor r8d, ecx
xor r8d, ebx
lea rbx, [0x14030ed8c]
mov dword [r11 + 0x20], r8d
xor r8d, dword [r9]
lea r9, [r11 + 0x30]
mov dword [r11 + 0x24], r8d
xor r8d, dword [r11 + 8]
mov dword [r11 + 0x28], r8d
xor r8d, dword [r11 + 0xc]
mov dword [r11 + 0x2c], r8d
lea r11, [0x14030ed74]
nop dword [rax + rax]
mov edx, dword [r9 - 4]
lea r9, [r9 + 0x20]
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [r10 + rcx*4 + 0x30d870]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [r10 + rcx*4 + 0x30cc70]
mov ecx, dword [r9 - 0x38]
and eax, 0xff00
xor r8d, eax
mov eax, edx
shr rax, 0x18
mov eax, dword [r10 + rax*4 + 0x30d470]
and eax, 0xff000000
xor r8d, eax
movzx eax, dl
movzx eax, byte [r10 + rax*4 + 0x30d070]
xor r8d, eax
mov eax, dword [r9 - 0x3c]
xor r8d, dword [r9 - 0x40]
xor eax, r8d
mov dword [r9 - 0x20], r8d
mov dword [r9 - 0x1c], eax
xor ecx, eax
mov eax, dword [r9 - 0x34]
xor eax, ecx
mov dword [r9 - 0x18], ecx
mov dword [r9 - 0x14], eax
mov edx, dword [r9 - 0x14]
mov eax, edx
shr rax, 8
movzx ecx, al
mov eax, edx
shr rax, 0x10
mov r8d, dword [r10 + rcx*4 + 0x30d870]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [r10 + rcx*4 + 0x30d470]
and eax, 0xff000000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r10 + rax*4 + 0x30d070]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r10 + rax*4 + 0x30cc70]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [r9 - 0x30]
xor r8d, dword [r11]
add r11, 4
mov dword [r9 - 0x10], r8d
mov eax, dword [r9 - 0x2c]
xor eax, r8d
mov dword [r9 - 0xc], eax
mov ecx, dword [r9 - 0x28]
xor ecx, eax
mov dword [r9 - 8], ecx
mov eax, dword [r9 - 0x24]
xor eax, ecx
mov dword [r9 - 4], eax
cmp r11, rbx
jne 0x14019a680
xor eax, eax
mov rbx, qword [rsp]
add rsp, 8
ret
mov eax, 0xfffffffe
add rsp, 8
ret
or eax, 0xffffffff
add rsp, 8
ret