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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov dword [rsp + 0xac], 0x7ccfcd1a
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 8], rax
mov dword [rsp + 0xbc], 0xe9f43c98
cmp qword [rsp + 8], 0
jne 0x140003955
mov dword [rsp + 0xc4], 0xc38a5cdb
xor eax, eax
jmp 0x140003c2c
mov dword [rsp + 0xc8], 0xa388c3e6
mov rax, qword [rsp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0xcc], 0x858c1c4d
cmp qword [rsp + 0x28], 0
jne 0x1400039a6
mov dword [rsp + 0xd0], 0x229d8ba2
xor eax, eax
jmp 0x140003c2c
mov dword [rsp + 0x44], 0x5be00de
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x48], 0x7b734b96
cmp qword [rsp + 0x18], 0
jne 0x1400039fa
mov dword [rsp + 0x4c], 0x9c6ea202
xor eax, eax
jmp 0x140003c2c
mov dword [rsp + 0x54], 0x7f683761
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x58], 0x2f599612
cmp qword [rsp + 0x30], 0
jne 0x140003a41
mov dword [rsp + 0x5c], 0x9f5eeef7
xor eax, eax
jmp 0x140003c2c
mov dword [rsp + 0x64], 0x4724406
mov dword [rsp], 0
jmp 0x140003a5a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x14]
cmp dword [rsp], eax
jae 0x140003c12
mov dword [rsp + 0x68], 0xa7dab156
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x6c], 0x128c7790
cmp qword [rsp + 0x10], 0
jne 0x140003ab0
mov dword [rsp + 0x70], 0x38c1229
jmp 0x140003a52
mov dword [rsp + 0xc0], 0x52101f12
mov dword [rsp + 4], 0
mov dword [rsp + 0x7c], 0xa85299ce
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
test eax, eax
je 0x140003b2d
mov dword [rsp + 0x80], 0x3ed6230a
mov eax, dword [rsp + 4]
shl eax, 8
add eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
add eax, ecx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
shl ecx, 0x10
xor eax, ecx
mov dword [rsp + 4], eax
mov dword [rsp + 0x84], 0xdeee71d3
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x88], 0xb537d9e2
jmp 0x140003acb
mov dword [rsp + 0x8c], 0x7f904144
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 4], eax
jne 0x140003c02
mov dword [rsp + 0x90], 0x24a6cc9e
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x94], 0xe0a3f26b
cmp qword [rsp + 0x38], 0
je 0x140003bf7
mov dword [rsp + 0x98], 0x996706e8
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x9c], 0x61a9b51a
cmp qword [rsp + 0x20], 0
je 0x140003bec
mov dword [rsp + 0xa0], 0x708593af
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
jmp 0x140003c2c
mov dword [rsp + 0xa8], 0xd8a9ba17
mov dword [rsp + 0xd4], 0xc93380ff
mov dword [rsp + 0xb0], 0xc68688d1
jmp 0x140003a52
mov dword [rsp + 0xb4], 0x7b31e0f0
xor eax, eax
jmp 0x140003c2c
add rsp, 0xe8
ret