Function at 0x180038f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [0x180070310]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea eax, [rcx - 6]
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x58], rdx
mov r11, r9
mov r9, qword [rsp + 0x230]
mov r10, r8
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x70], r8
mov r8, rdx
mov qword [rsp + 0x68], r9
mov dword [rsp + 0x44], eax
cmp ecx, eax
jbe case.0x180039044.0
movzx r15d, byte [rsp + 0x40]
lea edx, [rcx - 0x124]
mov r14, qword [rsp + 0x58]
mov ecx, eax
movzx edi, byte [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x58]
movzx ebp, byte [rsp + 0x40]
movzx r12d, byte [rsp + 0x40]
mov dword [rsp + 0x48], edx
cmp edx, 7
ja case.default.0x180039044
lea rcx, [0x180000000]
mov ecx, dword [rcx + rdx*4 + 0x39248]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov byte [rsp + 0x1b1], r15b
jmp case.0x180039044.2
mov rax, qword [r11]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x90]
mov rax, qword [r8]
mov r8, r10
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], r9
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xcc
mov dword [rsp + 0x60], 0xb
mov dword [rsp + 0x50], 0xff
call fcn.18001d770
mov r9, qword [rsp + 0x68]
mov edx, dword [rsp + 0x48]
mov r10, qword [rsp + 0x70]
movups xmm1, xmmword [rax]
mov r11, qword [rsp + 0x78]
movups xmm0, xmmword [rax + 0x10]
movq rbx, xmm1
movups xmmword [rsp + 0xa0], xmm0
jmp case.0x180039044.2
xor r14d, r14d
mov rcx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1800390f6
mov rcx, qword [r8]
mov eax, dword [r8 + 0x10]
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0xb0]
mov dword [rsp + 0x50], eax
mov r9d, 0x9e
call fcn.18005a660
mov r9, qword [rsp + 0x68]
mov edx, dword [rsp + 0x48]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
movzx edi, byte [rsp + 0x1b0]
jmp case.0x180039044.2
cmp qword [r9 + 0x18], 0x10
lea rsi, [rsp + 0xb0]
movzx r15d, byte [rsp + 0x1b1]
mov r13, r9
jb case.0x180039044.2
mov r13, qword [r9]
jmp case.0x180039044.2
cmp r14, qword [r9 + 0x10]
jae 0x1800391f3
nop word [rax + rax]
mov eax, 0x4e
cmp eax, 0x4e
je 0x1800391da
cmp eax, 0x102
je 0x1800391d0
cmp eax, 0x1b6
je 0x1800391c5
cmp eax, 0x26a
je 0x1800391a7
cmp eax, 0x31e
jne 0x1800391dd
movzx ecx, bpl
movzx edx, byte [rcx + rsi]
xor byte [r14 + r13], dl
inc r14
jmp 0x1800391dd
movzx edx, r15b
movzx ebp, r12b
movzx r8d, dil
movzx ecx, byte [rdx + rsi]
mov byte [r8 + rsi], cl
mov byte [rdx + rsi], r12b
add bpl, byte [r8 + rsi]
jmp 0x1800391dd
movzx ecx, dil
movzx r12d, byte [rcx + rsi]
jmp 0x1800391dd
movzx ecx, dil
add r15b, byte [rcx + rsi]
jmp 0x1800391dd
inc dil
add eax, 0xb4
cmp eax, 0x3d2
jb 0x180039175
cmp r14, qword [r9 + 0x10]
jb 0x180039170
mov edx, dword [rsp + 0x48]
mov byte [rsp + 0x1b0], dil
mov ecx, dword [rsp + 0x44]
dec edx
mov dword [rsp + 0x48], edx
lea eax, [rdx + 0x124]
cmp eax, ecx
jbe case.0x180039044.0
mov r8, qword [rsp + 0x58]
jmp 0x180039023
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800643d0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret