Function at 0x18000667c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x18003b150
push rbp
push r12
push r13
push r14
mov eax, 0x1a8
call fcn.180001055
sub rsp, rax
mov rax, qword [0x1802946b8]
xor rax, rsp
mov qword [rsp + 0x180], rax
xor r14d, r14d
mov qword [rsp + 0x40], rdx
mov r13, r8
mov qword [rsp + 0x48], rcx
mov r8d, dword [rsp + 0x1f0]
mov r12d, r9d
mov dword [rsp + 0x30], r14d
test r8d, r8d
jns 0x18003b1a1
xor r8d, r8d
jmp 0x18003b1ad
mov eax, 0x40
cmp r8d, eax
cmovg r8d, eax
mov eax, 6
mov qword [rsp + 0x1e8], rbx
cmp r8d, eax
mov qword [rsp + 0x1a0], rsi
mov ecx, r8d
mov qword [rsp + 0x198], rdi
cmovg ecx, eax
mov dword [rsp + 0x1f0], r8d
mov eax, r8d
mov qword [rsp + 0x190], r15
sub eax, ecx
mov dword [rsp + 0x34], r14d
add eax, 3
mov r9d, reloc.WS2_32.dll_recv
cdq
and edx, 3
add eax, edx
sar eax, 2
sub r9d, eax
mov eax, r12d
cdq
mov dword [rsp + 0x38], r9d
idiv r9d
movsxd rbp, r9d
mov ecx, eax
imul ecx, r9d
lea edx, [rax + 1]
cmp ecx, r12d
cmovge edx, eax
mov dword [rsp + 0x3c], edx
test edx, edx
jle 0x18003b3da
xor r15d, r15d
lea rcx, [0x1801c7822]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rcx
mov r9d, r8d
lea rcx, [rsp + 0x50]
mov edx, 0x121
lea r8, str._s_04x__
call sym.libcrypto_1_1_x64.dll_BIO_snprintf
xor edi, edi
movsxd rbx, eax
xor esi, esi
test rbp, rbp
jle 0x18003b2e2
lea r14, [rsp + 0x50]
add r14, rbx
movsxd rcx, ebx
mov eax, 0x121
sub rax, rcx
cmp rax, 3
jbe 0x18003b2d3
lea eax, [r15 + rdi]
cmp eax, r12d
jl 0x18003b294
mov dword [r14], 0x202020
jmp 0x18003b2cc
cmp edi, 7
lea r8, str._02x_c
mov edx, 0x20
mov eax, 0x2d
cmove edx, eax
movsxd rax, r15d
add rax, rsi
mov dword [rsp + 0x20], edx
mov edx, 4
movzx r9d, byte [rax + r13]
lea rax, [rsp + 0x50]
add rcx, rax
call sym.libcrypto_1_1_x64.dll_BIO_snprintf
add ebx, 3
add r14, 3
inc edi
inc rsi
cmp rsi, rbp
jl 0x18003b271
mov r14d, dword [rsp + 0x30]
movsxd rcx, ebx
mov eax, 0x121
sub rax, rcx
cmp rax, 2
jbe 0x18003b30d
movzx eax, word [0x1801cea50]
add ebx, 2
mov word [rsp + rcx + 0x50], ax
movzx eax, byte [0x1801cea52]
mov byte [rsp + rcx + 0x52], al
xor r9d, r9d
test rbp, rbp
jle 0x18003b379
movsxd r10, ebx
mov r11d, r15d
nop dword [rax + rax]
cmp r11d, r12d
jge 0x18003b379
movsxd rax, ebx
mov ecx, 0x121
sub rcx, rax
cmp rcx, 1
jbe 0x18003b36e
movsxd rax, r15d
mov r8d, 0x2e
add rax, r9
movzx ecx, byte [rax + r13]
lea edx, [rcx - 0x20]
cmp dl, 0x5e
cmovbe r8d, ecx
inc ebx
mov byte [rsp + r10 + 0x50], r8b
inc r10
cmp r10, 0x121
jae 0x18003b41c
mov byte [rsp + r10 + 0x50], 0
inc r11d
inc r9
cmp r9, rbp
jl 0x18003b320
movsxd rdx, ebx
mov eax, 0x121
sub rax, rdx
cmp rax, 1
jbe 0x18003b3a2
inc ebx
mov byte [rsp + rdx + 0x50], 0xa
movsxd rdx, ebx
cmp rdx, 0x121
jae 0x18003b41c
mov byte [rsp + rdx + 0x50], 0
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [rsp + 0x48]
add r15d, dword [rsp + 0x38]
add r14d, eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], eax
cmp eax, dword [rsp + 0x3c]
jge 0x18003b3da
mov r8d, dword [rsp + 0x1f0]
jmp 0x18003b22f
mov r15, qword [rsp + 0x190]
mov eax, r14d
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800028c4
add rsp, 0x1a8
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18000405c
int3