Function at 0x14001fe00
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov rsi, rcx
lea rcx, [rdx + r8]
cmp r8, 1
jge 0x14001fe2c
mov eax, 0xffffffa0
add eax, 0xffffc300
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret
cmp byte [rdx], 0x30
je 0x14001fe43
mov eax, 0xffffff9e
add eax, 0xffffc300
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret
lea rax, [rdx + 1]
mov rdx, rcx
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x28], rax
lea r8, [rbp + 0x30]
call fcn.140035d10
test eax, eax
je 0x14001fe6c
add eax, 0xffffc300
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x50], r15
mov r15, qword [rbp + 0x30]
add r15, rcx
mov rax, r15
sub rax, rcx
cmp rax, 1
jge 0x14001fe9f
mov r15, qword [rsp + 0x50]
mov eax, 0xffffffa0
add eax, 0xffffc300
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret
cmp byte [rcx], 2
je 0x14001febb
mov r15, qword [rsp + 0x50]
mov eax, 0xffffff9e
add eax, 0xffffc300
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret
inc rcx
lea r8, [rbp + 0x38]
mov qword [rbp + 0x28], rcx
mov rdx, r15
lea rcx, [rbp + 0x28]
call fcn.140035d10
test eax, eax
jne 0x1400200df
mov r8, qword [rbp + 0x38]
lea rax, [r8 - 1]
cmp rax, 3
ja 0x1400200da
mov rdx, qword [rbp + 0x28]
cmp byte [rdx], bl
jl 0x1400200da
mov ecx, ebx
test r8, r8
je 0x14001ff15
nop
movzx eax, byte [rdx]
inc rdx
shl ecx, 8
or ecx, eax
sub r8, 1
jne 0x14001ff00
mov qword [rbp + 0x28], rdx
test ecx, ecx
je 0x14001ff2b
mov r15, qword [rsp + 0x50]
mov eax, 0xffffc280
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret
xorps xmm0, xmm0
mov qword [rsp + 0x80], rdi
xor eax, eax
mov qword [rsp + 0x58], r14
lea r9, [rbp - 0x40]
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x28]
mov rdx, r15
lea rcx, [rbp + 0x28]
movups xmmword [rbp - 0x40], xmm0
call fcn.140035f10
test eax, eax
je 0x14001ff7f
add eax, 0xffffc580
jne 0x14001ffca
mov rcx, qword [rbp + 0x28]
mov rax, r15
sub rax, rcx
cmp rax, 1
jge 0x140020018
mov eax, 0xffffffa0
jmp 0x14001ffca
cmp qword [0x1400784e0], 0
lea rbx, [0x1400784e0]
mov rcx, rbx
je 0x14001ffc5
mov r14, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x20]
nop dword [rax + rax]
cmp qword [rcx + 8], rdi
jne 0x14001ffb8
mov rcx, qword [rcx]
mov r8, rdi
mov rdx, r14
call fcn.140065f80
test eax, eax
je 0x14001ffe9
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x14001ffa0
mov eax, 0xffffc380
add eax, 0xffffc300
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x50]
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret
test rbx, rbx
je 0x14001ffc5
mov ebx, dword [rbx + 0x20]
cmp ebx, 1
jne 0x14001ff64
mov eax, dword [rbp - 0x40]
cmp eax, 5
je 0x140020006
test eax, eax
jne 0x140020011
cmp qword [rbp - 0x38], 0
je 0x14001ff64
mov eax, 0xffffc580
jmp 0x14001ffca
cmp byte [rcx], 4
je 0x140020024
mov eax, 0xffffff9e
jmp 0x14001ffca
inc rcx
lea r8, [rbp + 0x30]
mov qword [rbp + 0x28], rcx
mov rdx, r15
lea rcx, [rbp + 0x28]
call fcn.140035d10
test eax, eax
jne 0x14001ffca
mov rdi, qword [rbp + 0x30]
cmp rdi, 1
jae 0x140020053
mov eax, 0xffffc2a0
jmp 0x14001ffcf
cmp ebx, 1
je 0x140020062
mov eax, 0xffffc380
jmp 0x14001ffcf
cmp qword [rsi], 0
jne 0x1400200d0
call fcn.14003c350
mov qword [rsi + 8], rax
test rax, rax
jne 0x140020080
mov eax, 0xffffc080
jmp 0x14001ffcf
mov rdx, qword [rbp + 0x28]
lea rax, reloc.WS2_32.dll_accept
mov qword [rsi], rax
mov r8, rdi
mov rcx, qword [rsi + 8]
call fcn.14001f880
mov ebx, eax
test eax, eax
je 0x1400200c9
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400200af
mov rcx, qword [rsi + 8]
call qword [rdx + 0x50]
mov r9, qword [fcn.140065540]
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 0x10]
call r9
mov eax, ebx
jmp 0x14001ffcf
xor eax, eax
jmp 0x14001ffcf
mov eax, 0xffffc180
jmp 0x14001ffcf
mov eax, 0xffffff9c
mov r15, qword [rsp + 0x50]
add eax, 0xffffc300
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret