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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
movzx eax, byte [0x1800c6720]
mov byte [rsp + 0x34], al
movzx eax, word [0x1800c6700]
movzx eax, ax
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x78], 0x9a0c
movzx eax, word [0x1800c6710]
mov word [rsp + 0x4c], ax
movabs rax, 0x83865e58e9f6c
mov qword [rsp + 0xa8], rax
mov eax, 0xbd3c2b3c
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x64], 0xba82
movzx eax, byte [0x1800c66e8]
mov byte [rsp + 0x20], al
mov eax, 0x6d55
mov word [rsp + 0x50], ax
mov eax, dword [0x1800c6720]
mov dword [rsp + 0x7c], eax
mov eax, 0x1ad7
mov word [rsp + 0x3c], ax
mov eax, 0x21
mov word [rsp + 0x24], ax
mov qword [rsp + 0xc8], 0x98
mov eax, dword [0x1800c66fc]
mov dword [rsp + 0x80], eax
mov eax, dword [0x1800c6730]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1800c6738]
mov byte [rsp + 0x35], al
mov qword [rsp + 0x98], 0xe2fd
mov byte [rsp + 0x36], 0xd2
mov qword [rsp + 0xa0], 0xed36
mov byte [rsp + 0x37], 0x45
mov qword [rsp + 0x68], 0xdef6
movzx eax, word [0x1800c66c0]
mov byte [rsp + 0x38], al
mov dword [rsp + 0x48], 0xe6
mov qword [rsp + 0xd0], 0x920d
mov rax, qword [0x1800c66c8]
mov word [rsp + 0x54], ax
mov byte [rsp + 0x39], 0x75
movabs rax, 0x9c70eddd921c
mov qword [rsp + 0xd8], rax
mov eax, 0xfffff54b
mov word [rsp + 0x58], ax
movabs rax, 0x1b11f32fc31c2
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x84], 0x87
movabs rax, 0x14de4e08dc903
mov qword [rsp + 0xe8], rax
movzx eax, byte [0x1800c6663]
mov byte [rsp + 0x3a], al
movzx eax, word [0x1800c6700]
movzx eax, ax
mov dword [rsp + 0x88], eax
mov eax, 0xfd20
mov word [rsp + 0x5c], ax
mov eax, dword [0x1800c6734]
mov qword [rsp + 0xf0], rax
movzx eax, word [0x1800c6700]
mov byte [rsp + 0x3b], al
mov dword [rsp + 0x8c], 0x1c26b6fe
movzx eax, word [0x1800c66d0]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x90], 0xdfb8607a
mov dword [rsp + 0x30], 4
mov dword [0x1800c672c], 1
mov eax, dword [0x1800c674c]
shr eax, 7
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x18003ec20
cmp dword [rsp + 0x28], 1
je 0x18003ec2c
cmp dword [rsp + 0x28], 2
je 0x18003ec5f
cmp dword [rsp + 0x28], 3
je 0x18003ec7b
cmp dword [rsp + 0x28], 4
je 0x18003ec98
jmp 0x18003ecbf
mov byte [0x1800c6663], 0x95
jmp 0x18003ecbf
movzx eax, byte [0x1800c6662]
movzx eax, al
add rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
sub rax, rcx
mov dword [0x1800c663c], eax
movabs rax, 0x1ac76092e343e
mov qword [0x1800c66f0], rax
jmp 0x18003ecbf
mov rax, qword [rsp + 0xa0]
movabs rcx, 0xad5ab1245f127
sub rax, rcx
mov word [rsp + 0x3c], ax
jmp 0x18003ecbf
movzx eax, word [0x1800c66c0]
movzx eax, ax
movzx ecx, byte [rsp + 0x20]
movsx ecx, cl
sub eax, ecx
mov word [0x1800c66c0], ax
jmp 0x18003ecbf
movzx eax, word [rsp + 0x24]
movsx rax, ax
mov rcx, qword [0x1800c6740]
add rax, rcx
movzx ecx, word [rsp + 0x24]
movsx rcx, cx
add rcx, rax
mov rax, rcx
mov word [rsp + 0x24], ax
lea rdx, [rsp + 0x94]
mov rcx, qword [rsp + 0x110]
call fcn.18003c970
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x110]
call fcn.18003d020
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x30]
shl eax, 8
cdqe
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x2c], 0
jmp 0x18003ed13
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x2c], eax
jae 0x18003edfc
cmp dword [rsp + 0x64], 0
je 0x18003ed34
jmp 0x18003edbe
movzx eax, word [0x1800c6664]
movzx eax, ax
movsx ecx, byte [0x1800c6626]
cmp eax, ecx
jge 0x18003ed53
mov dword [rsp + 0x44], 1
jmp 0x18003ed5b
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x18003ed78
cmp dword [0x1800c6734], 0
je 0x18003ed78
mov dword [rsp + 0x40], 0
jmp 0x18003ed80
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x18003edbe
mov rax, qword [0x1800c6740]
xor rax, qword [0x1800c66e8]
mov qword [0x1800c6740], rax
imul eax, dword [rsp + 0x30], 0x4b
movzx ecx, byte [0x1800c66af]
movzx ecx, cl
add ecx, eax
mov eax, ecx
mov byte [0x1800c66af], al
mov eax, dword [rsp + 0x2c]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
cmp rax, qword [rsp + 0x118]
jne 0x18003edf7
mov eax, dword [0x180627458]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x2c]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x18003edfe
jmp 0x18003ed09
xor eax, eax
add rsp, 0x108
ret