Function at 0x180034df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x278
cmp qword [0x18033eec8], 0
jne 0x180034f25
lea rax, [rsp + 0xa0]
lea rcx, [0x18006fbd0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x48
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x23
movzx eax, word [rsp + rax + 0xa0]
test eax, eax
je 0x180034e56
mov dword [rsp + 0x2c], 1
jmp 0x180034e5e
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
movzx eax, al
test eax, eax
je 0x180034ec7
mov dword [rsp + 0x24], 0
jmp 0x180034e87
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x24
jge 0x180034ec7
movsxd rax, dword [rsp + 0x24]
movzx eax, word [rsp + rax*2 + 0xa0]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 0xb
idiv ecx
mov eax, edx
add eax, 0x67
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov word [rsp + rcx*2 + 0xa0], ax
jmp 0x180034e7d
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.18003e720
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [0x18033eec8], rax
mov dword [rsp + 0x28], 0
jmp 0x180034f0d
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x24
jge 0x180034f25
movsxd rax, dword [rsp + 0x28]
xor ecx, ecx
mov word [rsp + rax*2 + 0xa0], cx
jmp 0x180034f03
lea rcx, [rsp + 0xf0]
call fcn.1800067e0
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x2a0]
movsd xmm0, qword [rax]
movsd qword [rsp + 0xf8], xmm0
mov rax, qword [rsp + 0x2a0]
movsd xmm0, qword [rax + 8]
movsd qword [rsp + 0x100], xmm0
mov rax, qword [rsp + 0x2a0]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x108], xmm0
mov rax, qword [rsp + 0x2a8]
movsd xmm0, qword [rax]
movsd qword [rsp + 0x110], xmm0
mov rax, qword [rsp + 0x2a8]
movsd xmm0, qword [rax + 8]
movsd qword [rsp + 0x118], xmm0
mov rax, qword [rsp + 0x2a8]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x120], xmm0
mov byte [rsp + 0x21], 1
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x128], al
mov byte [rsp + 0x129], 1
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x70], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x130]
mov rdi, rax
mov rsi, qword [rsp + 0x50]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x140], al
mov byte [rsp + 0x230], 1
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x234]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x244]
lea rcx, [rsp + 0x88]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xorps xmm0, xmm0
movss dword [rsp + 0x254], xmm0
mov rax, qword [0x18033eec8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1800350ed
mov eax, 8
imul rax, rax, 0x4f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x290]
call qword [rsp + 0x60]
nop
movzx eax, byte [rsp + 0x260]
test eax, eax
jne 0x180035103
mov dword [rsp + 0x30], 1
jmp 0x18003510b
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
add rsp, 0x278
pop rdi
pop rsi
ret