Function at 0x14013ffc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rax, qword [0x14026be10]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x59], r9
mov r13, r8
mov rbx, rcx
mov rdx, qword [rbp + 0x7f]
xor eax, eax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
lea r8, str.initCrypt_blowfish
lea rcx, [rbp - 0x49]
call fcn.140071270
nop
mov eax, dword [r13 + 0x10]
cdq
and edx, 7
lea r15d, [rdx + rax]
sar r15d, 3
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
lea rcx, [r13 + 0x18]
call fcn.1400372d0
lea rcx, [r13 + 0x18]
cmp eax, 0x40
jbe 0x140140082
call fcn.140036f60
test rax, rax
je 0x1401400af
lea rcx, [r13 + 0x18]
call fcn.140036f60
mov r8d, 0x40
jmp 0x1401400a3
call fcn.140036f60
test rax, rax
je 0x1401400af
lea rcx, [r13 + 0x18]
call fcn.1400372d0
mov edi, eax
lea rcx, [r13 + 0x18]
call fcn.140036f60
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140032530
xor edi, edi
mov r8d, edi
lea r12, [0x14026ad64]
mov esi, 8
mov r9d, esi
sub r9, r12
mov r10d, reloc.WS2_32.dll_inet_ntoa
sub r10, r12
mov r11d, reloc.WS2_32.dll_recv
sub r11, r12
mov r14d, shutdown
sub r14, r12
lea rdx, [r8 + r12]
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rdx - 4]
mov dword [r8 + rcx], eax
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rdx]
mov dword [r8 + rcx + 4], eax
mov rcx, qword [rbx + 0xb0]
add rcx, rdx
mov eax, dword [rdx + 4]
mov dword [rcx + r9], eax
mov rcx, qword [rbx + 0xb0]
add rcx, rdx
mov eax, dword [rdx + 8]
mov dword [rcx + r10], eax
mov rcx, qword [rbx + 0xb0]
add rcx, rdx
mov eax, dword [rdx + 0xc]
mov dword [rcx + r11], eax
mov rcx, qword [rbx + 0xb0]
add rcx, rdx
mov eax, dword [rdx + 0x10]
mov dword [rcx + r14], eax
add r8, 0x18
cmp r8, 0x48
jl 0x1401400e1
lea r14, [0x14026adb4]
sub rsi, r14
mov r9, rdi
mov r12, qword [rbp - 0x59]
lea r10, [r9 + 0xc]
mov r11d, 0x40
nop word [rax + rax]
lea r8, [r9 + r14]
mov rcx, qword [rbx + 0xb8]
mov eax, dword [r8 - 4]
mov dword [r9 + rcx], eax
mov rcx, qword [rbx + 0xb8]
mov eax, dword [r8]
mov dword [r9 + rcx + 4], eax
lea rdx, [rsi + r8]
mov rcx, qword [rbx + 0xb8]
mov eax, dword [r8 + 4]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx + 0xb8]
mov eax, dword [r8 + 8]
mov dword [r10 + rcx], eax
add r9, 0x10
lea r10, [r10 + 0x10]
sub r11, 1
jne 0x140140170
cmp r9, 0x1000
jl 0x140140160
mov r9d, edi
mov r10, rdi
cmp byte [rbx + 0xc0], dil
je 0x140140250
nop dword [rax]
lea eax, [r9 + 1]
cdq
idiv r15d
movsxd rax, edx
movzx r8d, byte [rbp + rax - 0x31]
movsxd rax, r9d
movzx ecx, byte [rbp + rax - 0x31]
shl ecx, 8
or r8d, ecx
shl r8d, 8
lea eax, [r9 + 2]
cdq
idiv r15d
movsxd rax, edx
movzx ecx, byte [rbp + rax - 0x31]
or r8d, ecx
shl r8d, 8
lea eax, [r9 + 3]
cdq
idiv r15d
movsxd rax, edx
movzx ecx, byte [rbp + rax - 0x31]
or r8d, ecx
mov rax, qword [rbx + 0xb0]
xor dword [r10 + rax], r8d
lea eax, [r9 + 4]
cdq
idiv r15d
mov r9d, edx
add r10, 4
cmp r10, 0x48
jl 0x1401401e0
jmp 0x1401402c0
lea eax, [r9 + 2]
cdq
idiv r15d
movsxd rax, edx
movzx r8d, byte [rbp + rax - 0x31]
lea eax, [r9 + 3]
movsxd rcx, eax
movzx eax, byte [rbp + rcx - 0x31]
shl eax, 8
or r8d, eax
shl r8d, 8
lea eax, [r9 + 1]
cdq
idiv r15d
movsxd rax, edx
movzx ecx, byte [rbp + rax - 0x31]
or r8d, ecx
shl r8d, 8
mov eax, r9d
cdq
idiv r15d
movsxd rax, edx
movzx ecx, byte [rbp + rax - 0x31]
or r8d, ecx
mov rax, qword [rbx + 0xb0]
xor dword [r10 + rax], r8d
lea eax, [r9 + 4]
cdq
idiv r15d
mov r9d, edx
add r10, 4
cmp r10, 0x48
jl 0x140140250
mov dword [rbp - 0x61], edi
mov dword [rbp - 0x59], edi
mov rsi, rdi
cmp byte [rbx + 0xc0], dil
je 0x140140380
nop word [rax + rax]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.14013f710
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rbp - 0x61]
mov dword [rsi + rcx], eax
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rbp - 0x59]
mov dword [rsi + rcx + 4], eax
add rsi, 8
cmp rsi, 0x48
jl 0x1401402e0
nop word [rax + rax]
mov esi, pe_nt_image_headers64
nop word [rax + rax]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.14013f710
mov rcx, qword [rbx + 0xb8]
mov eax, dword [rbp - 0x61]
mov dword [rdi + rcx], eax
mov rcx, qword [rbx + 0xb8]
mov eax, dword [rbp - 0x59]
mov dword [rdi + rcx + 4], eax
add rdi, 8
sub rsi, 1
jne 0x140140330
cmp rdi, 0x1000
jl 0x140140320
jmp 0x14014040e
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.14013fb60
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rbp - 0x61]
mov dword [rsi + rcx], eax
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rbp - 0x59]
mov dword [rsi + rcx + 4], eax
add rsi, 8
cmp rsi, 0x48
jl 0x140140380
nop word [rax + rax]
mov esi, pe_nt_image_headers64
nop word [rax + rax]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.14013fb60
mov rcx, qword [rbx + 0xb8]
mov eax, dword [rbp - 0x61]
mov dword [rdi + rcx], eax
mov rcx, qword [rbx + 0xb8]
mov eax, dword [rbp - 0x59]
mov dword [rdi + rcx + 4], eax
add rdi, 8
sub rsi, 1
jne 0x1401403d0
cmp rdi, 0x1000
jl 0x1401403c0
test r12, r12
je 0x14014044e
mov eax, dword [r13 + 8]
sub eax, 3
cmp eax, 1
ja 0x14014044e
lea rcx, [r13 + 0x50]
call fcn.1400372d0
mov esi, eax
lea rcx, [r13 + 0x50]
call fcn.140036f60
mov rdx, rax
lea rcx, [r12 + 0x4a0]
mov r9d, dword [rbx + 0xa8]
mov r8d, esi
call fcn.14013ed70
nop
lea rcx, [rbp - 0x49]
call fcn.140071380
mov al, 1
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140168e10
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret