Function at 0x140002ab0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov byte [rbp + 7], dl
mov qword [rbp - 0x38], rcx
mov eax, dword [0x1400e4160]
xor edx, edx
div dword [0x1400e4164]
xor eax, 0x27ce92c4
or eax, 0xdf161612
and eax, 0x8b25dd98
cmp eax, 0x8e09c5da
jae 0x140003109
mov r14d, dword [0x1400e4168]
mov eax, dword [0x1400e416c]
sub r14d, eax
add r14d, 0x58b59a22
imul rax, r14, 0x2f0f2491
shr rax, 0x20
sub r14d, eax
shr r14d, 1
add r14d, eax
shr r14d, 0x1d
xor r14d, 0x5f6e98ac
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x58], rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x78], rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x50], rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x48], rsp
mov eax, 0x20
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x30], rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x70], rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x68], rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x60], rsp
mov eax, 0x30
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x28], rsp
mov eax, 0x30
call fcn.1400aded0
sub rsp, rax
mov qword [rbp - 0x20], rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov r15, rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov r13, rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov r12, rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov rbx, rsp
mov eax, 0x30
call fcn.1400aded0
sub rsp, rax
mov rsi, rsp
mov eax, 0x10
call fcn.1400aded0
sub rsp, rax
mov rdi, rsp
lea rcx, str.127.0.0.1:8081_n
sub rsp, 0x20
mov edx, 0xe
call fcn.140060840
add rsp, 0x20
cmp rax, 0
sete al
cmp r14d, 0x343cef00
je 0x140003109
mov qword [rbp - 0x40], rbx
mov r14, r12
mov rcx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x20]
mov qword [rbp - 8], rdi
mov r12, qword [rbp - 0x58]
mov qword [rbp - 0x10], r15
test al, 1
jne 0x140002c8f
jmp 0x140002d72
mov rdi, qword [rbp - 8]
mov qword [rdi], rdx
lea rax, [0x1400c36a0]
add rax, 0xffffffffffff6892
add rax, 3
mov qword [rcx], rax
mov rcx, qword [rcx]
movabs rax, 0x1e8e499bb183ad49
mov qword [r8], rax
mov rdx, qword [r8]
sub rsp, 0x20
call fcn.140015650
add rsp, 0x20
mov rcx, qword [rax]
mov edx, dword [rax + 8]
mov ax, word [rax + 0xc]
xor edx, 0x12533b2a
movabs r8, 0x2fde019c1184e497
xor rcx, r8
mov r8b, al
xor r8b, 0x91
shr ax, 8
xor al, 0x77
mov qword [r13], rcx
mov dword [r13 + 8], edx
mov byte [r13 + 0xc], r8b
mov byte [r13 + 0xd], al
mov qword [r14], r13
mov qword [r14 + 8], 0xe
mov rcx, qword [rbp - 0x40]
mov qword [rcx], r14
lea rax, [0x140056820]
mov qword [rcx + 8], rax
lea rax, [0x1400c3650]
mov qword [rsi], rax
mov qword [rsi + 8], 2
mov qword [rsi + 0x20], 0
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], 1
sub rsp, 0x20
mov rcx, rsi
call fcn.140088f50
mov rsi, rbx
mov rcx, rsi
mov rdx, rdi
call fcn.140089a50
add rsp, 0x20
cmp word [rsi + 8], 2
je 0x140002f29
jmp 0x140002dc2
mov eax, dword [0x1400e4170]
or eax, dword [0x1400e4174]
or eax, 0xd06f7f
xor eax, 0xcf543a8f
and eax, 0x36ccee55
cmp eax, 0xea157ecb
jae 0x14000312f
jmp 0x140002d9a
mov eax, dword [0x1400e4178]
xor eax, dword [0x1400e417c]
xor eax, 0x63d3c10b
imul eax, eax, 0x4e0e553c
imul eax, eax, 0xd18a43c4
ud2
mov eax, dword [0x1400e4180]
add eax, dword [0x1400e4184]
or eax, 0xd27d4244
mov ecx, 0x9732ae61
xor edx, edx
div ecx
add eax, 0x797137ef
cmp eax, 0x5b9aa6b1
mov r8, qword [rbp - 0x10]
mov rbx, r12
mov r14, qword [rbp - 0x78]
mov r15, qword [rbp - 0x70]
mov r12, qword [rbp - 0x68]
mov r13, qword [rbp - 0x60]
jbe 0x140003142
mov rdi, qword [rbp - 0x28]
jmp 0x140002e09
mov eax, dword [0x1400e4188]
sub eax, dword [0x1400e418c]
mov ecx, 0x117ea969
xor edx, edx
div ecx
xor eax, 0x57132b09
mov ecx, 0xb0c1906f
xor edx, edx
div ecx
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
mov qword [r8], rax
lea rax, [0x1400c36ae]
add rax, 0xffffffffffff4210
add rax, 0xf
mov qword [r14], rax
mov rcx, qword [r14]
movabs rax, 0xe682448000823782
mov qword [rbx], rax
mov rdx, qword [rbx]
sub rsp, 0x20
mov rsi, r8
call fcn.140016770
add rsp, 0x20
mov rcx, qword [rax]
movabs rdx, 0x593d29029a1c840c
xor rcx, rdx
mov rax, qword [rax + 8]
movabs rdx, 0xaca8f15b7fbff68c
xor rax, rdx
mov qword [r15], rcx
mov qword [r15 + 8], rax
mov qword [r12], r15
mov qword [r12 + 8], 0x10
mov qword [r13], r12
lea rax, [0x140056820]
mov qword [r13 + 8], rax
lea rax, [0x1400c3650]
mov qword [rdi], rax
mov qword [rdi + 8], 2
mov qword [rdi + 0x20], 0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 1
sub rsp, 0x20
mov rcx, rdi
call fcn.140088f50
add rsp, 0x20
mov al, byte [0x1400e8bf0]
sub rsp, 0x20
mov ecx, 1
mov edx, 1
call fcn.1400639f0
mov r8, rsi
add rsp, 0x20
cmp rax, 0
sete cl
cmp dword [rbp - 0x14], 0xdf85bcc1
jae 0x140002e09
test cl, 1
jne 0x14000302d
jmp 0x140002f2b
ud2
mov cl, byte [rbp + 7]
mov byte [rax], cl
mov r12, qword [rbp - 0x30]
mov qword [r12], 1
mov rdi, r12
add rdi, 8
mov qword [r12 + 8], rax
mov r14, r12
add r14, 0x10
mov qword [r12 + 0x10], 1
mov r15, qword [rbp - 0x38]
mov rbx, qword [r15 + 0x10]
mov rsi, rbx
bswap rsi
sub rsp, 0x30
mov rcx, r12
mov edx, 1
mov r8d, 8
mov r9d, 1
mov qword [rsp + 0x20], 1
call fcn.140062930
mov rcx, r12
add rsp, 0x30
mov r13, qword [rcx + 0x10]
mov r12, qword [rcx + 8]
mov qword [r12 + r13], rsi
add r13, 8
mov qword [rcx + 0x10], r13
mov rsi, qword [r15 + 8]
mov rax, qword [rcx]
sub rax, r13
cmp rax, rbx
jb 0x140002fc0
mov rdi, qword [rbp - 0x10]
mov r14, qword [rbp - 8]
jmp 0x140002ff0
sub rsp, 0x30
mov rdx, r13
mov r8, rbx
mov r9d, 1
mov qword [rsp + 0x20], 1
call fcn.140062930
add rsp, 0x30
mov r13, qword [r14]
mov r12, qword [rdi]
mov rdi, qword [rbp - 0x10]
mov r14, qword [rbp - 8]
mov rcx, r12
add rcx, r13
sub rsp, 0x20
mov rdx, rsi
mov r8, rbx
call fcn.1400be120
add rsp, 0x20
add r13, rbx
sub rsp, 0x20
mov rcx, rdi
mov rdx, r12
mov r8, r13
call fcn.140043650
add rsp, 0x20
cmp rax, 0
je 0x140003040
jmp 0x140003107
sub rsp, 0x20
mov ecx, 1
mov edx, 1
call fcn.14006f020
mov rax, qword [rbp - 0x30]
mov rdx, qword [rax]
cmp rdx, 0
je 0x140003063
sub rsp, 0x20
mov rcx, r12
mov r8d, 1
call fcn.140063a00
add rsp, 0x20
mov rcx, qword [rdi]
sub rsp, 0x20
call qword [sym.imp.ws2_32.dll_closesocket]
add rsp, 0x20
mov rcx, qword [r14]
sub rsp, 0x20
call qword [sym.imp.ws2_32.dll_closesocket]
add rsp, 0x20
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
cmp rdx, 0
je 0x1400030a8
sub rsp, 0x20
mov rcx, rsi
mov r8d, 1
call fcn.140063a00
add rsp, 0x20
mov eax, dword [0x1400e4190]
xor edx, edx
div dword [0x1400e4194]
or eax, 0x467aef7
imul eax, eax, 0x7bcbee65
xor eax, 0x8113597c
cmp eax, 0xfca365f2
ja 0x14000322b
jmp 0x1400030d3
mov eax, dword [0x1400e4198]
or eax, dword [0x1400e419c]
sub eax, 0x6c2b57f6
or eax, 0xf944506f
imul eax, eax, 0x53088609
cmp eax, 0x4228bf82
ja 0x1400030d3
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
ud2
invalid
mov ebp, 0xbdb8fc1d
xor ebx, esp
movsb byte [rdi], byte [rsi]
and al, 0x96
cmc
movabs byte [0x1cfffffc56e90b0f], al
retf
sbb al, 0xcb
insb byte [rdi], dx
invalid
fmul dword [rax - 0x77]
add dword [rax - 0x39], ecx
or byte [r10], al
add byte [rax], al
add byte [rax - 0x39], cl
and byte [r8], al
add byte [rax], al
add byte [rcx + rcx*4 + 0x69], cl
adc byte [rax - 0x39], cl
sbb byte [r9], al
add byte [rax], al
add byte [rax - 0x7d], cl
in al, dx
and al, ch
pop rbp
or byte [rax], al
add rsp, 0x20
mov al, byte [0x1400e8bf0]
sub rsp, 0x20
mov ecx, 1
mov edx, 1
call fcn.1400639f0
mov r8, rdi
add rsp, 0x20
jmp 0x140002e03
sbb al, 0xcf
jl 0x1400031d9
div byte [0x173983ad2]
invalid