Function at 0x180004760
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0xe8
lea rax, [0x18000b120]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
jne 0x180004a32
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0
mov rax, qword [rax + rcx + 0x88]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x50], rax
je 0x180004858
mov dword [rsp + 0x2c], 1
jmp 0x180004860
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x1800049bf
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x68], 0
je 0x1800049bf
movabs rax, 0xcb9900fe8191d6e6
shr rax, 0x20
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x20]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x180004919
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x70], eax
jmp 0x18000494e
xor eax, eax
test eax, eax
je 0x18000492d
movsx eax, byte [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x30], eax
jmp 0x180004936
movsx eax, byte [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp + 0x28], eax
jmp 0x1800048e4
movabs rax, 0xcb9900fe8191d6e6
mov ecx, 0xffffffff
and rax, rcx
cmp dword [rsp + 0x70], eax
jne 0x1800049ba
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xb8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
jmp 0x180004a1f
jmp 0x180004879
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x58], rax
je 0x1800049fe
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x30], 0
je 0x1800049fe
mov dword [rsp + 0x34], 1
jmp 0x180004a06
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x1800047db
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
call qword [rsp + 0xd0]
add rsp, 0xe8
ret