Function at 0x14003a730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, qword [rdx]
mov r11, qword [rdx + 8]
mov rsi, r15
and rsi, r8
shr r8, 0x39
lea rbx, [rsi + 0x10]
and rbx, r15
movdqu xmm1, xmmword [r11 + rsi]
movd xmm0, r8d
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0xe0
pshufd xmm0, xmm0, 0
movdqa xmm2, xmm0
pcmpeqb xmm2, xmm1
pmovmskb eax, xmm2
test r11, r11
je 0x14003a937
mov r14, qword [rdx + 0x20]
mov r10, qword [rdx + 0x30]
mov r9d, dword [r9]
mov edi, reloc.WS2_32.dll_recv
pcmpeqd xmm2, xmm2
xor r8d, r8d
nop dword [rax]
test ax, ax
jne 0x14003a7db
pcmpeqb xmm1, xmm2
pmovmskb eax, xmm1
test ax, ax
jne 0x14003aa0d
mov rsi, rbx
add rbx, rdi
add rbx, 0x10
add rdi, 0x10
and rbx, r15
movdqu xmm1, xmmword [r11 + rsi]
movdqa xmm3, xmm0
pcmpeqb xmm3, xmm1
pmovmskb eax, xmm3
jmp 0x14003a7a0
bsf bp, ax
movzx ebp, bp
add rbp, rsi
and rbp, r15
shl rbp, 3
mov r12, r11
sub r12, rbp
mov r13, qword [r12 - 8]
cmp r10, r13
jbe 0x14003aab6
lea ebp, [rax - 1]
and ebp, eax
shl r13, 4
mov eax, ebp
cmp r9d, dword [r14 + r13 + 8]
jne 0x14003a7a0
mov rax, r11
sub rax, r12
shr rax, 3
lea r10, [rax - 0x10]
and r10, r15
movdqu xmm0, xmmword [r11 + r10]
pcmpeqd xmm1, xmm1
pcmpeqb xmm0, xmm1
pmovmskb esi, xmm0
movdqu xmm0, xmmword [r11 + rax]
pcmpeqb xmm0, xmm1
pmovmskb r9d, xmm0
mov r8w, reloc.WS2_32.dll_recv
mov di, reloc.WS2_32.dll_recv
test si, si
je 0x14003a859
bsr di, si
xor edi, 0xf
test r9w, r9w
je 0x14003a864
bsf r8w, r9w
movzx ebp, r8w
add ebp, edi
mov bl, 0x80
cmp bp, 0xf
ja 0x14003a879
add qword [rdx + 0x10], 1
mov bl, 0xff
mov byte [r11 + rax], bl
mov byte [r10 + r11 + 0x10], bl
add qword [rdx + 0x18], 0xffffffffffffffff
mov r8, qword [r12 - 8]
mov rdi, qword [rdx + 0x30]
cmp rdi, r8
jbe 0x14003aaca
mov rbp, qword [rdx + 0x20]
add rdi, 0xffffffffffffffff
mov rax, rdi
shl rax, 4
mov rsi, qword [rbp + rax]
mov rax, qword [rbp + rax + 8]
mov rbx, r8
shl rbx, 4
mov qword [rdx + 0x30], rdi
mov r9, qword [rbp + rbx + 8]
mov qword [rbp + rbx], rsi
mov qword [rbp + rbx + 8], rax
mov r10, qword [rdx + 0x30]
cmp r10, r8
jbe 0x14003a9f5
mov rax, qword [rdx + 0x20]
mov rdi, qword [rax + rbx]
mov r11, qword [rdx]
mov r15, qword [rdx + 8]
mov rax, r11
and rax, rdi
shr rdi, 0x39
lea rsi, [rax + 0x10]
and rsi, r11
movdqu xmm1, xmmword [r15 + rax]
movd xmm0, edi
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0xe0
pshufd xmm0, xmm0, 0
movdqa xmm2, xmm0
pcmpeqb xmm2, xmm1
pmovmskb r14d, xmm2
test r14w, r14w
je 0x14003a985
test r15, r15
je 0x14003aa9c
mov edi, reloc.WS2_32.dll_recv
jmp 0x14003a9cb
test ax, ax
je 0x14003a944
xor r8d, r8d
jmp 0x14003aa0d
mov eax, 0x20
pcmpeqd xmm2, xmm2
xor r8d, r8d
pcmpeqb xmm1, xmm2
pmovmskb edx, xmm1
test dx, dx
jne 0x14003aa0d
movdqu xmm1, xmmword [rbx]
add rbx, rax
and rbx, r15
movdqa xmm3, xmm0
pcmpeqb xmm3, xmm1
pmovmskb edx, xmm3
add rax, 0x10
test dx, dx
je 0x14003a950
jmp 0x14003aa0d
mov edi, reloc.WS2_32.dll_recv
pcmpeqd xmm2, xmm2
nop
pcmpeqb xmm1, xmm2
pmovmskb edx, xmm1
test dx, dx
jne 0x14003aa9c
mov rax, rsi
add rsi, rdi
add rsi, 0x10
add rdi, 0x10
and rsi, r11
movdqu xmm1, xmmword [r15 + rax]
movdqa xmm3, xmm0
pcmpeqb xmm3, xmm1
pmovmskb r14d, xmm3
test r14w, r14w
je 0x14003a990
bsf dx, r14w
movzx edx, dx
add rdx, rax
and rdx, r11
lea rbx, [rdx*8]
mov rbp, r15
sub rbp, rbx
cmp qword [rbp - 8], r10
jne 0x14003aa21
neg rdx
mov qword [r15 + rdx*8 - 8], r8
mov rax, r9
shr rax, 0x20
mov qword [rcx + 8], r8
mov dword [rcx + 0x10], r9d
mov dword [rcx + 0x14], eax
mov r8d, 1
mov qword [rcx], r8
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea ebx, [r14 - 1]
and ebx, r14d
pcmpeqd xmm2, xmm2
test bx, bx
je 0x14003aa65
lea r14d, [rbx - 1]
and r14d, ebx
bsf dx, bx
movzx edx, dx
add rdx, rax
and rdx, r11
lea rbx, [rdx*8]
mov rbp, r15
sub rbp, rbx
mov ebx, r14d
cmp qword [rbp - 8], r10
je 0x14003a9ed
test bx, bx
jne 0x14003aa31
pcmpeqb xmm1, xmm2
pmovmskb edx, xmm1
test dx, dx
jne 0x14003aa9c
mov rax, rsi
add rsi, rdi
add rsi, 0x10
add rdi, 0x10
and rsi, r11
movdqu xmm1, xmmword [r15 + rax]
movdqa xmm3, xmm0
pcmpeqb xmm3, xmm1
pmovmskb ebx, xmm3
test bx, bx
je 0x14003aa65
jmp 0x14003aa31
lea rcx, str.index_not_found
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823indexmap_1.6.2_srcmapcore.rs
mov edx, send
call fcn.140022520
ud2
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823indexmap_1.6.2_srcmapcore.rs
mov rcx, r13
mov rdx, r10
call fcn.14001fa20
ud2
mov rcx, r8
mov rdx, rdi
call fcn.140018b40
ud2