Function at 0x1400292b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov qword [rsp + 0x220], 0xfffffffffffffffe
mov rax, qword [0x1401caed8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x228]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea r8, [rsp + 0x38]
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x228]
call fcn.140028f70
mov dword [rsp + 0x2c], 0
jmp 0x14002932c
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jge 0x14002936e
lea rax, [rsp + 0x228]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x2c]
mov byte [rcx + rax], dl
jmp 0x140029322
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x24], 0
jmp 0x140029405
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100
jge 0x140029619
lea rax, [rsp + 0x228]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
movsxd rcx, dword [rsp + 0x24]
xor edx, edx
mov rax, rcx
div qword [rsp + 0xc8]
mov rax, rdx
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x228]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
lea rax, [rsp + 0x228]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x120]
movzx edx, byte [rdx]
mov byte [rcx + rax], dl
lea rax, [rsp + 0x228]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x138]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x20]
mov byte [rcx + rax], dl
jmp 0x1400293fb
mov qword [rsp + 0x40], 0
jmp 0x140029631
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x270]
cmp qword [rsp + 0x40], rax
jae 0x140029935
mov eax, dword [rsp + 0x28]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x21], al
lea rax, [rsp + 0x228]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x198]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x1a0]
movzx edx, byte [rdx]
mov byte [rcx + rax], dl
lea rax, [rsp + 0x228]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x1b8]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x21]
mov byte [rcx + rax], dl
lea rax, [rsp + 0x228]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x1d0]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x1e8]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1f8]
movzx ecx, byte [rcx]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov qword [rsp + 0x218], rax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x218]
movzx eax, byte [rax + rcx]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x268]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x268]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x140029624
lea rcx, [rsp + 0x228]
call fcn.140029d20
nop
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400dac10
add rsp, 0x250
pop rdi
ret