Function at 0x140042bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
test r8d, r8d
js 0x140043089
mov rax, rcx
movzx r10d, word [rdx + 2]
xor ecx, ecx
test r10d, r10d
setne cl
mov r11d, 0x8a
mov r9d, 7
cmove r9d, r11d
add ecx, 3
inc r8d
mov r14d, 0xffffffff
xor r11d, r11d
xor edi, edi
jmp 0x140042c54
mov r13d, r14d
inc r11
mov edi, ebp
mov r14d, r13d
cmp r11, r8
je 0x140043089
mov r13d, r10d
movzx r10d, word [rdx + r11*4 + 6]
lea ebp, [rdi + 1]
cmp ebp, r9d
jge 0x140042c6a
cmp r13d, r10d
je 0x140042c40
cmp ebp, ecx
jge 0x140042d10
mov r9d, r13d
mov ecx, dword [rax + 0x1774]
movzx ebx, word [rax + 0x1770]
jmp 0x140042ca7
add ecx, edi
mov word [rax + 0x1770], bx
mov dword [rax + 0x1774], ecx
dec ebp
je 0x140043057
movzx edi, word [rax + r9*4 + 0xb06]
movzx r14d, word [rax + r9*4 + 0xb04]
mov r15d, r14d
shl r15d, cl
mov r12d, reloc.WS2_32.dll_recv
sub r12d, edi
or ebx, r15d
cmp ecx, r12d
jle 0x140042c90
mov rcx, qword [rax + 0x10]
mov r15d, dword [rax + 0x28]
lea r12d, [r15 + 1]
mov dword [rax + 0x28], r12d
mov byte [rcx + r15], bl
mov rcx, qword [rax + 0x10]
mov esi, dword [rax + 0x28]
lea r15d, [rsi + 1]
mov dword [rax + 0x28], r15d
mov byte [rcx + rsi], bh
mov esi, dword [rax + 0x1774]
mov cl, reloc.WS2_32.dll_recv
sub cl, sil
shr r14d, cl
lea ecx, [rdi + rsi]
add ecx, 0xfffffff0
mov ebx, r14d
jmp 0x140042c92
mov r9d, dword [rax + 0x1774]
movzx ebx, word [rax + 0x1770]
test r13d, r13d
je 0x140042d2f
cmp r13d, r14d
jne 0x140042da2
mov edi, ebp
jmp 0x140042e82
cmp edi, 9
jg 0x140042e0e
movzx r14d, word [rax + 0xb4a]
movzx ebp, word [rax + 0xb48]
mov esi, ebp
mov ecx, r9d
shl esi, cl
mov ecx, reloc.WS2_32.dll_recv
sub ecx, r14d
or ebx, esi
cmp r9d, ecx
jle 0x140042f5c
mov rcx, qword [rax + 0x10]
mov r9d, dword [rax + 0x28]
lea esi, [r9 + 1]
mov dword [rax + 0x28], esi
mov byte [rcx + r9], bl
mov rcx, qword [rax + 0x10]
mov esi, dword [rax + 0x28]
lea r9d, [rsi + 1]
mov dword [rax + 0x28], r9d
mov byte [rcx + rsi], bh
mov r9d, dword [rax + 0x1774]
mov cl, reloc.WS2_32.dll_recv
sub cl, r9b
shr ebp, cl
add r9d, r14d
add r9d, 0xfffffff0
mov ebx, ebp
jmp 0x140042f5f
mov ecx, r13d
movzx r14d, word [rax + rcx*4 + 0xb06]
movzx ebp, word [rax + rcx*4 + 0xb04]
mov esi, ebp
mov ecx, r9d
shl esi, cl
mov ecx, reloc.WS2_32.dll_recv
sub ecx, r14d
or ebx, esi
cmp r9d, ecx
jle 0x140042e78
mov rcx, qword [rax + 0x10]
mov r9d, dword [rax + 0x28]
lea esi, [r9 + 1]
mov dword [rax + 0x28], esi
mov byte [rcx + r9], bl
mov rcx, qword [rax + 0x10]
mov esi, dword [rax + 0x28]
lea r9d, [rsi + 1]
mov dword [rax + 0x28], r9d
mov byte [rcx + rsi], bh
mov r9d, dword [rax + 0x1774]
mov cl, reloc.WS2_32.dll_recv
sub cl, r9b
shr ebp, cl
add r9d, r14d
add r9d, 0xfffffff0
mov ebx, ebp
jmp 0x140042e7b
movzx r14d, word [rax + 0xb4e]
movzx ebp, word [rax + 0xb4c]
mov esi, ebp
mov ecx, r9d
shl esi, cl
mov ecx, reloc.WS2_32.dll_recv
sub ecx, r14d
or ebx, esi
cmp r9d, ecx
jle 0x140042fc0
mov rcx, qword [rax + 0x10]
mov r9d, dword [rax + 0x28]
lea esi, [r9 + 1]
mov dword [rax + 0x28], esi
mov byte [rcx + r9], bl
mov rcx, qword [rax + 0x10]
mov esi, dword [rax + 0x28]
lea r9d, [rsi + 1]
mov dword [rax + 0x28], r9d
mov byte [rcx + rsi], bh
mov r9d, dword [rax + 0x1774]
mov cl, reloc.WS2_32.dll_recv
sub cl, r9b
shr ebp, cl
add r9d, r14d
add r9d, 0xfffffff0
mov ebx, ebp
jmp 0x140042fc3
add r9d, r14d
mov dword [rax + 0x1774], r9d
movzx r14d, word [rax + 0xb46]
movzx ebp, word [rax + 0xb44]
mov esi, ebp
mov ecx, r9d
shl esi, cl
mov ecx, reloc.WS2_32.dll_recv
sub ecx, r14d
or ebx, esi
cmp r9d, ecx
jle 0x140042ee5
mov rcx, qword [rax + 0x10]
mov r9d, dword [rax + 0x28]
lea esi, [r9 + 1]
mov dword [rax + 0x28], esi
mov byte [rcx + r9], bl
mov rcx, qword [rax + 0x10]
mov esi, dword [rax + 0x28]
lea r9d, [rsi + 1]
mov dword [rax + 0x28], r9d
mov byte [rcx + rsi], bh
mov r9d, dword [rax + 0x1774]
mov cl, reloc.WS2_32.dll_recv
sub cl, r9b
shr ebp, cl
add r9d, r14d
add r9d, 0xfffffff0
mov ebx, ebp
jmp 0x140042ee8
add r9d, r14d
mov dword [rax + 0x1774], r9d
add edi, 0xfffffffd
cmp r9d, 0xf
jl 0x140042f45
movzx ebp, di
mov ecx, r9d
shl edi, cl
or ebx, edi
mov rcx, qword [rax + 0x10]
mov r9d, dword [rax + 0x28]
lea esi, [r9 + 1]
mov dword [rax + 0x28], esi
mov byte [rcx + r9], bl
mov rcx, qword [rax + 0x10]
mov esi, dword [rax + 0x28]
lea r9d, [rsi + 1]
mov dword [rax + 0x28], r9d
mov byte [rcx + rsi], bh
mov r9d, dword [rax + 0x1774]
mov cl, reloc.WS2_32.dll_recv
sub cl, r9b
shr ebp, cl
mov word [rax + 0x1770], bp
add r9d, 0xfffffff2
jmp 0x140043050
mov ecx, r9d
shl edi, cl
or ebx, edi
mov word [rax + 0x1770], bx
add r9d, 2
jmp 0x140043050
add r9d, r14d
mov dword [rax + 0x1774], r9d
add edi, 0xfffffffe
cmp r9d, 0xe
jl 0x14004301d
movzx ebp, di
mov ecx, r9d
shl edi, cl
or ebx, edi
mov rcx, qword [rax + 0x10]
mov r9d, dword [rax + 0x28]
lea esi, [r9 + 1]
mov dword [rax + 0x28], esi
mov byte [rcx + r9], bl
mov rcx, qword [rax + 0x10]
mov esi, dword [rax + 0x28]
lea r9d, [rsi + 1]
mov dword [rax + 0x28], r9d
mov byte [rcx + rsi], bh
mov r9d, dword [rax + 0x1774]
mov cl, reloc.WS2_32.dll_recv
sub cl, r9b
shr ebp, cl
mov word [rax + 0x1770], bp
add r9d, 0xfffffff3
jmp 0x140043050
add r9d, r14d
mov dword [rax + 0x1774], r9d
add edi, 0xfffffff6
cmp r9d, 0xa
jl 0x140043031
movzx ebp, di
mov ecx, r9d
shl edi, cl
or ebx, edi
mov rcx, qword [rax + 0x10]
mov r9d, dword [rax + 0x28]
lea esi, [r9 + 1]
mov dword [rax + 0x28], esi
mov byte [rcx + r9], bl
mov rcx, qword [rax + 0x10]
mov esi, dword [rax + 0x28]
lea r9d, [rsi + 1]
mov dword [rax + 0x28], r9d
mov byte [rcx + rsi], bh
mov r9d, dword [rax + 0x1774]
mov cl, reloc.WS2_32.dll_recv
sub cl, r9b
shr ebp, cl
mov word [rax + 0x1770], bp
add r9d, 0xfffffff7
jmp 0x140043050
mov ecx, r9d
shl edi, cl
or ebx, edi
mov word [rax + 0x1770], bx
add r9d, 3
jmp 0x140043050
mov ecx, r9d
shl edi, cl
or ebx, edi
mov word [rax + 0x1770], bx
add r9d, 7
nop word cs:[rax + rax]
mov dword [rax + 0x1774], r9d
xor ebp, ebp
test r10d, r10d
je 0x140043079
xor r9d, r9d
cmp r13d, r10d
sete r9b
mov ecx, 4
sub ecx, r9d
xor r9d, 7
jmp 0x140042c43
mov ecx, 3
mov r9d, 0x8a
jmp 0x140042c43
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret