Function at 0x7ff7980eedd0
Capabilities:
Access peb ldr_data
Check os version
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x7ff7981d4380]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x160], 0
lea rax, [rsp + 0x128]
lea rcx, [0x7ff79818bd60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1a
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x19
movsx eax, byte [rsp + rax + 0x128]
test eax, eax
je 0x7ff7980eee32
mov dword [rsp + 0x44], 1
jmp 0x7ff7980eee3a
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x7ff7980eee96
mov dword [rsp + 0x34], 0
jmp 0x7ff7980eee57
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x1a
jge 0x7ff7980eee96
movsxd rax, dword [rsp + 0x34]
movsx eax, byte [rsp + rax + 0x128]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x34]
cdq
mov ecx, 0x32
idiv ecx
mov eax, edx
add eax, 0x36
mov ecx, dword [rsp + 0x68]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x34]
mov byte [rsp + rcx + 0x128], al
jmp 0x7ff7980eee4d
lea rax, [rsp + 0x128]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x88]
lea rcx, [0x7ff79818bd50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 9
movsx eax, byte [rsp + rax + 0x88]
test eax, eax
je 0x7ff7980eeee1
mov dword [rsp + 0x48], 1
jmp 0x7ff7980eeee9
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x7ff7980eef45
mov dword [rsp + 0x38], 0
jmp 0x7ff7980eef06
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xa
jge 0x7ff7980eef45
movsxd rax, dword [rsp + 0x38]
movsx eax, byte [rsp + rax + 0x88]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x38]
cdq
mov ecx, 0x32
idiv ecx
mov eax, edx
add eax, 0x36
mov ecx, dword [rsp + 0x6c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov byte [rsp + rcx + 0x88], al
jmp 0x7ff7980eeefc
lea rax, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x60], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x170], rax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x178], eax
mov rax, qword [rsp + 0x168]
cmp qword [rsp + 0x170], rax
je 0x7ff7980ef053
mov dword [rsp + 0x4c], 1
jmp 0x7ff7980ef05b
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x7ff7980ef21d
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x70], 0
je 0x7ff7980ef21d
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x50], eax
movabs rax, 0x9d697aa07154990c
shr rax, 0x20
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0x168]
mov qword [rsp + 0xa0], rax
movabs rax, 0x9d697aa07154990c
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
test eax, eax
jne 0x7ff7980ef166
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x78], eax
jmp 0x7ff7980ef19e
xor eax, eax
test eax, eax
je 0x7ff7980ef17a
movsx eax, byte [rsp + 0x30]
or eax, 0x20
mov dword [rsp + 0x54], eax
jmp 0x7ff7980ef183
movsx eax, byte [rsp + 0x30]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 0x40], eax
jmp 0x7ff7980ef128
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x78], eax
jne 0x7ff7980ef218
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x168]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x168]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xc8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x168]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x60], rax
jmp 0x7ff7980ef26b
jmp 0x7ff7980ef080
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x158], rax
mov byte [rsp + 0x33], 1
movzx eax, byte [rsp + 0x33]
test eax, eax
jne 0x7ff7980eefb4
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call qword [rsp + 0x60]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x160]
mov edx, 0x1f
mov rcx, rax
call qword [rsp + 0x118]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x160], 0
jne 0x7ff7980ef2f6
call fcn.7ff7980f0830
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.7ff798179f10
add rsp, 0x198
pop rdi
pop rsi
ret