Function at 0x140183a40
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x78
call fcn.14028b850
sub rsp, rax
mov rax, qword [0x1403710d8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 0x10
mov eax, dword [rsp + 0x5c]
or eax, ecx
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 8
mov eax, dword [rsp + 0x5c]
or eax, ecx
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x5c]
or eax, ecx
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
shl eax, 0x18
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 0x10
mov eax, dword [rsp + 0x24]
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
shl ecx, 8
mov eax, dword [rsp + 0x24]
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x24]
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x5c]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x5c]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x5c]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x5c]
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x24]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x24]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x24]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x24]
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x3c]
sub eax, 1
mov dword [rsp + 0x3c], eax
test ecx, ecx
je 0x140183e87
cmp dword [rsp + 0x20], 0
jne 0x140183e2b
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.140180760
lea r11, [rsp + 0x48]
mov qword [rsp + 0x28], r11
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x58], eax
mov ecx, dword [rsp + 0x58]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x58]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x58]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x58]
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
mov ecx, dword [rsp + 0x58]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x58]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x58]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x58]
and ecx, 0xff
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rax]
movsxd rax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x48]
xor ecx, eax
mov rax, qword [rsp + 0x88]
mov byte [rax], cl
mov rax, qword [rsp + 0x88]
add rax, 1
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x80]
add rax, 1
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x20]
add eax, 1
and eax, 7
mov dword [rsp + 0x20], eax
jmp 0x140183cc8
cmp dword [rsp + 0x38], 0
je 0x140183fb9
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x5c]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x5c]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x5c]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x5c]
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x24]
shr ecx, 0x18
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x24]
shr ecx, 0x10
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x24]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x24]
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rsp + 0x20]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14028a900
add rsp, 0x78
ret