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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
lea rax, [0x18000b110]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
jne 0x180005057
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 0x180004e7d
mov dword [rsp + 0x2c], 1
jmp 0x180004e85
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x180004fe4
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 0x180004fe4
movabs rax, 0xb9855cf0ac73a317
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 0x180004f3e
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x70], eax
jmp 0x180004f73
xor eax, eax
test eax, eax
je 0x180004f52
movsx eax, byte [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x30], eax
jmp 0x180004f5b
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 0x180004f09
movabs rax, 0xb9855cf0ac73a317
mov ecx, 0xffffffff
and rax, rcx
cmp dword [rsp + 0x70], eax
jne 0x180004fdf
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 0x180005044
jmp 0x180004e9e
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 0x180005023
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x30], 0
je 0x180005023
mov dword [rsp + 0x34], 1
jmp 0x18000502b
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x180004e00
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
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xf0]
call qword [rsp + 0xd8]
add rsp, 0xe8
ret