Function at 0x1402465b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x78]
mov eax, 0x178
call fcn.140126870
sub rsp, rax
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xe0]
mov r13, r8
mov r14, qword [rbp + 0xf8]
xor r8d, r8d
shr r13, 3
mov rbx, rdx
mov rdx, qword [rbp + 0xd0]
mov rsi, r9
mov qword [rbp - 0x38], rax
mov r12d, r8d
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x40], rax
lea eax, [r13 - 0x14]
mov qword [rbp - 0x50], rcx
mov rcx, qword [rbp + 0xe8]
mov qword [rbp - 0x70], r9
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x40], r8d
mov qword [rbp - 0x60], 2
test eax, 0xfffffff3
jne 0x140246dbd
cmp r13d, 0x18
je 0x140246dbd
mov qword [rsp + 0x168], r15
test r9, r9
jne 0x14024667a
call fcn.1401ae060
mov rdx, qword [rsp + 0x78]
mov rsi, rax
mov qword [rbp - 0x70], rax
xor r8d, r8d
mov rcx, qword [rbp + 0xd8]
mov eax, 0x200
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 0x3f]
and rax, 0xffffffffffffffc0
mov qword [rbp - 0x80], rax
test rcx, rcx
je 0x1402466ad
movsxd rax, r13d
cmp rcx, rax
cmovb rdx, r8
mov qword [rsp + 0x78], rdx
movsxd r15, r13d
cmp rcx, r15
cmova rcx, r15
mov qword [rbp + 0xd8], rcx
test rdx, rdx
je 0x1402466cf
mov r8, rcx
lea rcx, [rbp + 0x10]
call fcn.1402743b0
call fcn.14021e5f0
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140246970
mov qword [rsp + 0x170], rdi
call fcn.1401d8d60
mov qword [rsp + 0x38], rax
mov rdi, rax
test rax, rax
je 0x14024695e
mov rcx, rax
call fcn.1401d8de0
mov rcx, rdi
call fcn.1401d8cd0
mov r12, qword [rsp + 0x38]
mov rdi, rax
mov rcx, r12
call fcn.1401d8cd0
mov rcx, r12
mov qword [rsp + 0x68], rax
call fcn.1401d8cd0
mov rcx, r12
mov qword [rbp - 0x78], rax
call fcn.1401d8cd0
mov rcx, r12
mov qword [rsp + 0x48], rax
call fcn.1401d8cd0
mov rcx, r12
mov qword [rsp + 0x50], rax
call fcn.1401d8cd0
mov rcx, r12
mov qword [rbp - 0x58], rax
call fcn.1401d8cd0
mov rcx, r12
mov qword [rsp + 0x60], rax
call fcn.1401d8cd0
mov qword [rbp - 0x68], rax
mov rbx, rax
test rax, rax
je 0x140246945
call fcn.1401a9680
mov r8, qword [rbp - 0x80]
mov rdx, rax
dec r8d
mov rcx, rbx
call fcn.1402084c0
test eax, eax
je 0x140246945
nop dword [rax + rax]
mov ebx, dword [rsp + 0x40]
xor edx, edx
mov r8d, ebx
mov rcx, r14
call fcn.140244020
inc ebx
mov dword [rsp + 0x40], ebx
test eax, eax
je 0x140246945
cmp qword [rbp + 0xd8], 0
je 0x1402467de
cmp qword [rsp + 0x78], 0
je 0x1402467de
xor eax, eax
mov ebx, eax
mov qword [rbp + 0xd8], rax
jmp 0x1402467f7
mov edx, r13d
lea rcx, [rbp + 0x10]
call fcn.1401b33e0
test eax, eax
jle 0x140246945
mov ebx, 1
mov r8, r15
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1402743b0
mov r8, r15
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.1402743b0
lea rax, [r15 - 1]
test rax, rax
js 0x14024682d
add byte [rbp + rax - 0x10], 1
jne 0x14024682d
sub rax, 1
jns 0x140246820
mov qword [rsp + 0x28], 0
lea r8, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rbp + 0x10]
call fcn.1401ad770
test eax, eax
je 0x140246945
mov qword [rsp + 0x28], 0
lea r8, [rbp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.1401ad770
test eax, eax
je 0x140246945
xor eax, eax
mov ecx, eax
test r13d, r13d
jle 0x1402468e5
cmp r13d, 0x20
jb 0x1402468e5
mov edx, r13d
and edx, 0x8000001f
jge 0x1402468a0
dec edx
or edx, 0xffffffe0
inc edx
mov eax, r13d
sub eax, edx
movsxd rdx, eax
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rcx - 0x30]
movdqu xmm1, xmmword [rbp + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x30], xmm1
movdqu xmm0, xmmword [rbp + rcx - 0x20]
movdqu xmm1, xmmword [rbp + rcx + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x20], xmm1
add rcx, 0x20
cmp rcx, rdx
jl 0x1402468b0
cmp rcx, r15
jge 0x140246901
nop word [rax + rax]
movzx eax, byte [rbp + rcx + 0x30]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, r15
jl 0x1402468f0
or byte [rbp - 0x30], 0x80
lea rcx, [rbp - 0x30]
mov r8, qword [rsp + 0x48]
mov edx, r13d
or byte [rbp + r15 - 0x31], 1
call fcn.1401a8a40
test rax, rax
je 0x140246945
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8, r12
mov qword [rsp + 0x20], r14
mov edx, gethostbyname
call fcn.140244380
test eax, eax
jg 0x140246980
je 0x1402467a0
mov r12d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1401d8c10
mov rcx, qword [rsp + 0x38]
call fcn.1401d8c90
mov rcx, qword [rsp + 0x70]
call fcn.14021e5a0
mov rdi, qword [rsp + 0x170]
mov r15, qword [rsp + 0x168]
mov eax, r12d
jmp 0x140246dbf
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 2]
call fcn.140244020
test eax, eax
je 0x140246945
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 3]
call fcn.140244020
test eax, eax
je 0x140246945
mov rcx, qword [rbp - 0x80]
lea rsi, [r15 - 1]
mov rbx, qword [rbp - 0x78]
dec rcx
movabs rax, 0xcccccccccccccccd
xor r12d, r12d
mul rcx
mov r14, rdx
shr r14, 7
nop dword [rax]
test r12d, r12d
je 0x1402469ec
mov rcx, qword [rsp + 0x58]
mov r8d, r12d
xor edx, edx
call fcn.140244020
test eax, eax
je 0x140246945
xor edx, edx
mov rcx, rbx
call fcn.1401a95a0
xor ecx, ecx
mov ebx, ecx
test r14d, r14d
js 0x140246aa4
mov rax, rsi
test rsi, rsi
js 0x140246a1d
nop dword [rax + rax]
add byte [rbp + rax - 0x10], 1
jne 0x140246a1d
sub rax, 1
jns 0x140246a10
mov rax, qword [rbp - 0x70]
lea r8, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.1401ad770
test eax, eax
je 0x140246945
mov r8, rdi
lea rcx, [rbp - 0x30]
mov edx, r13d
call fcn.1401a8a40
test rax, rax
je 0x140246945
lea r8d, [r13*8]
mov rdx, rdi
imul r8d, ebx
mov rcx, rdi
call fcn.1402084c0
test eax, eax
je 0x140246945
mov rdx, qword [rbp - 0x78]
mov r8, rdi
mov rcx, rdx
call fcn.1401e2ad0
test eax, eax
je 0x140246945
inc ebx
mov ecx, 0
cmp ebx, r14d
jle 0x140246a03
mov rdx, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x78]
dec edx
mov rcx, rbx
call fcn.1401a9270
test eax, eax
je 0x140246945
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1401a9070
test rax, rax
je 0x140246945
mov rdx, qword [rsp + 0x50]
mov r8, qword [rbp - 0x68]
mov rcx, rdx
call fcn.1401e2ad0
test eax, eax
je 0x140246945
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.140208680
test eax, eax
je 0x140246945
mov rax, qword [rsp + 0x38]
mov r9, rdi
mov r8, qword [rsp + 0x50]
xor ecx, ecx
mov rdx, qword [rbp - 0x58]
mov qword [rsp + 0x20], rax
call fcn.14022c0e0
test eax, eax
je 0x140246945
call fcn.1401a9680
mov rdx, qword [rbp - 0x58]
mov r8, rax
mov rcx, rdi
call fcn.1401e2b80
test eax, eax
je 0x140246945
mov rdx, qword [rsp + 0x50]
mov r8, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1401e2b80
test eax, eax
je 0x140246945
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1401a8c90
test eax, eax
js 0x140246b9c
mov rax, qword [rsp + 0x58]
mov r9d, 1
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x31]
call fcn.140244380
test eax, eax
jg 0x140246bbf
jne 0x140246945
inc r12d
cmp r12d, 0x1000
jl 0x1402469d0
mov rsi, qword [rbp - 0x70]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x38]
jmp 0x1402467a0
mov rbx, qword [rsp + 0x58]
mov edx, 2
mov rcx, rbx
lea r8d, [rdx - 1]
call fcn.140244020
test eax, eax
je 0x140246945
call fcn.1401a9680
mov r13, qword [rsp + 0x60]
mov r8, rax
mov r14, qword [rbp - 0x68]
mov rdx, r13
mov rcx, r14
call fcn.1401e2b80
test eax, eax
je 0x140246945
mov rsi, qword [rsp + 0x38]
mov r8, r14
mov r9, qword [rsp + 0x48]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.14022c0e0
test eax, eax
je 0x140246945
mov edx, 2
mov rcx, r14
call fcn.1401a95a0
test eax, eax
je 0x140246945
mov rcx, qword [rsp + 0x70]
mov r8, rsi
mov rdx, r13
call fcn.14021e670
test eax, eax
je 0x140246945
mov rax, qword [rsp + 0x70]
mov r9, r13
mov rcx, qword [rsp + 0x68]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, r14
mov qword [rsp + 0x20], rsi
call fcn.14021c1f0
test eax, eax
je 0x140246945
nop dword [rax]
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + 8], 1
jne 0x140246ce3
mov rax, qword [rcx]
cmp qword [rax], 1
jne 0x140246ce3
cmp dword [rcx + 0x10], 0
jne 0x140246ce3
call fcn.1401a9680
mov r8, rax
mov rdx, r14
mov rcx, r14
call fcn.1401e2ad0
test eax, eax
je 0x140246945
mov rax, qword [rsp + 0x70]
mov r9, r13
mov rcx, qword [rsp + 0x68]
mov r8, rdi
inc dword [rbp - 0x60]
mov rdx, r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.14021c1f0
test eax, eax
jne 0x140246c80
jmp 0x140246945
mov edx, 3
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.140244020
test eax, eax
je 0x140246945
mov dword [rsp + 0x30], 1
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rbp - 0x50]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140246d22
call fcn.1401a91c0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140246d30
call fcn.1401a91c0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140246d3e
call fcn.1401a91c0
mov rcx, r13
call fcn.1401a9150
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
call fcn.1401a9150
mov rcx, qword [rsp + 0x68]
mov qword [rbx + 0x18], rax
call fcn.1401a9150
cmp qword [rbx + 0x10], 0
mov qword [rbx + 0x20], rax
je 0x140246db5
cmp qword [rbx + 0x18], 0
je 0x140246db5
test rax, rax
je 0x140246db5
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140246d85
mov dword [rax], r12d
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140246d94
mov rax, qword [rbp - 0x60]
mov dword [rdx], eax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x140246945
mov r8, r15
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.1402743b0
jmp 0x140246945
xor r12d, r12d
jmp 0x14024694a
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x178
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret