Function at 0x7ff798107910
Capabilities:
Access peb ldr_data
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x128
mov rax, qword [0x7ff7981d4380]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
lea rax, [rsp + 0x30]
lea rcx, [0x7ff79818bd24]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 5
movsx eax, byte [rsp + rax + 0x30]
test eax, eax
je 0x7ff798107969
mov dword [rsp + 0x38], 1
jmp 0x7ff798107971
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x7ff7981079c7
mov dword [rsp + 0x24], 0
jmp 0x7ff79810798e
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 6
jge 0x7ff7981079c7
movsxd rax, dword [rsp + 0x24]
movsx eax, byte [rsp + rax + 0x30]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 0x32
idiv ecx
mov eax, edx
add eax, 0x36
mov ecx, dword [rsp + 0x50]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov byte [rsp + rcx + 0x30], al
jmp 0x7ff798107984
lea rax, [rsp + 0x30]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x60], 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 + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x48]
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 + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x108], eax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0x100], rax
je 0x7ff798107ac0
mov dword [rsp + 0x3c], 1
jmp 0x7ff798107ac8
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x7ff798107c75
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x54], 0
je 0x7ff798107c75
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x40], eax
movabs rax, 0x3ba07c7833345bb0
shr rax, 0x20
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0xf8]
mov qword [rsp + 0x78], rax
movabs rax, 0x3ba07c7833345bb0
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax]
mov byte [rsp + 0x22], al
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x7ff798107bbe
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x5c], eax
jmp 0x7ff798107bf6
xor eax, eax
test eax, eax
je 0x7ff798107bd2
movsx eax, byte [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x44], eax
jmp 0x7ff798107bdb
movsx eax, byte [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x2c]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 0x2c], eax
jmp 0x7ff798107b89
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
jne 0x7ff798107c70
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0xf8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0xf8]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x28]
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 + 0xf8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
jmp 0x7ff798107cc3
jmp 0x7ff798107aed
mov rax, qword [rsp + 0xf0]
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 + 0xf0], rax
mov byte [rsp + 0x23], 1
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x7ff798107a2a
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0x60]
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x7ff798107cee
call fcn.7ff7980f0830
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.7ff798179f10
add rsp, 0x128
pop rdi
pop rsi
ret