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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
lea rax, [0x18000b100]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
jne 0x180004d3c
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 0x180004b62
mov dword [rsp + 0x2c], 1
jmp 0x180004b6a
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x180004cc9
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 0x180004cc9
movabs rax, 0x5101a11fc992714e
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 0x180004c23
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x70], eax
jmp 0x180004c58
xor eax, eax
test eax, eax
je 0x180004c37
movsx eax, byte [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x30], eax
jmp 0x180004c40
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 0x180004bee
movabs rax, 0x5101a11fc992714e
mov ecx, 0xffffffff
and rax, rcx
cmp dword [rsp + 0x70], eax
jne 0x180004cc4
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 0x180004d29
jmp 0x180004b83
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 0x180004d08
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x30], 0
je 0x180004d08
mov dword [rsp + 0x34], 1
jmp 0x180004d10
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x180004ae5
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 rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call qword [rsp + 0xd8]
add rsp, 0xe8
ret