Function at 0x140129570
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, 0x118
mov rax, qword [0x1404e4980]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x3c], 0
call fcn.1400fb7f0
movzx eax, al
test eax, eax
je 0x1401298b2
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0xf0], rax
je 0x14012969f
mov dword [rsp + 0x30], 1
jmp 0x1401296a7
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140129854
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x48], 0
je 0x140129854
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x34], eax
movabs rax, 0xc3f1372609fe078e
shr rax, 0x20
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0xe8]
mov qword [rsp + 0x78], rax
movabs rax, 0xc3f1372609fe078e
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
mov byte [rsp + 0x22], al
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14012979d
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x50], eax
jmp 0x1401297d5
xor eax, eax
test eax, eax
je 0x1401297b1
movsx eax, byte [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x38], eax
jmp 0x1401297ba
movsx eax, byte [rsp + 0x20]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 0x2c], eax
jmp 0x140129768
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x14012984f
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0xe8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0xe8]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0xe8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
jmp 0x1401298a2
jmp 0x1401296cc
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xe0], rax
mov byte [rsp + 0x23], 1
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x140129609
mov qword [rsp + 0x68], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
mov ecx, dword [rsp + 0x58]
call qword [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.140109260
mov rax, qword [rsp + 0x120]
add rax, 6
mov rcx, qword [rsp + 0x120]
lea r9, [rsp + 0x28]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x128]
call fcn.140087680
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14017d1a0
add rsp, 0x118
ret