Function at 0x140026770
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, 0x268
mov rax, qword [0x1401297c0]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov qword [rsp + 0x250], 0
mov dword [rsp + 0x248], 0
lea rax, [rsp + 0x1d0]
lea rcx, [0x1400bff78]
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 + 0x1d0]
test eax, eax
je 0x1400267de
mov dword [rsp + 0x50], 1
jmp 0x1400267e6
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140026848
mov dword [rsp + 0x38], 0
jmp 0x140026803
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x1a
jge 0x140026848
movsxd rax, dword [rsp + 0x38]
movsx eax, byte [rsp + rax + 0x1d0]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x38]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x80]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov byte [rsp + rcx + 0x1d0], al
jmp 0x1400267f9
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0xc0]
lea rcx, [0x1400bff68]
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 + 0xc0]
test eax, eax
je 0x140026893
mov dword [rsp + 0x54], 1
jmp 0x14002689b
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x1400268fd
mov dword [rsp + 0x3c], 0
jmp 0x1400268b8
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0xa
jge 0x1400268fd
movsxd rax, dword [rsp + 0x3c]
movsx eax, byte [rsp + rax + 0xc0]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x3c]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x84]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x3c]
mov byte [rsp + rcx + 0xc0], al
jmp 0x1400268ae
lea rax, [rsp + 0xc0]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xb0], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x118], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x220], rax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x228], eax
mov rax, qword [rsp + 0x218]
cmp qword [rsp + 0x220], rax
je 0x140026a0e
mov dword [rsp + 0x58], 1
jmp 0x140026a16
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x140026bed
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x88], 0
je 0x140026bed
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x5c], eax
movabs rax, 0x5fb18d6b63ef343f
shr rax, 0x20
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x218]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x40]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0x218]
mov qword [rsp + 0xd8], rax
movabs rax, 0x5fb18d6b63ef343f
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov byte [rsp + 0x33], al
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
test eax, eax
jne 0x140026b2d
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x90], eax
jmp 0x140026b65
xor eax, eax
test eax, eax
je 0x140026b41
movsx eax, byte [rsp + 0x30]
or eax, 0x20
mov dword [rsp + 0x60], eax
jmp 0x140026b4a
movsx eax, byte [rsp + 0x30]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x48]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 0x48], eax
jmp 0x140026aec
mov eax, dword [rsp + 0x8c]
cmp dword [rsp + 0x90], eax
jne 0x140026be8
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x218]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x218]
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x120]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x218]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb0], rax
jmp 0x140026c3e
jmp 0x140026a3b
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x208], rax
mov byte [rsp + 0x34], 1
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x14002696f
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x160]
call qword [rsp + 0xb0]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x1c0], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x188], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x188]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0xe0]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x238], rax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x240], eax
mov rax, qword [rsp + 0x230]
cmp qword [rsp + 0x238], rax
je 0x140026d75
mov dword [rsp + 0x64], 1
jmp 0x140026d7d
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x35], al
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x140026f54
mov rax, qword [rsp + 0x238]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x44]
dec eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x94], 0
je 0x140026f54
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x68], eax
movabs rax, 0x331450346fe771ea
shr rax, 0x20
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x238]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x230]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x44]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0x230]
mov qword [rsp + 0xe8], rax
movabs rax, 0x331450346fe771ea
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
mov byte [rsp + 0x36], al
mov rax, qword [rsp + 0xa0]
inc rax
mov qword [rsp + 0xa0], rax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x31], al
movsx eax, byte [rsp + 0x31]
test eax, eax
jne 0x140026e94
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x9c], eax
jmp 0x140026ecc
xor eax, eax
test eax, eax
je 0x140026ea8
movsx eax, byte [rsp + 0x31]
or eax, 0x20
mov dword [rsp + 0x6c], eax
jmp 0x140026eb1
movsx eax, byte [rsp + 0x31]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x4c]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 0x4c], eax
jmp 0x140026e53
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x9c], eax
jne 0x140026f4f
mov rax, qword [rsp + 0x238]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x230]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x238]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x230]
mov qword [rsp + 0x190], rax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x190]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x198]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x230]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0xf0], rax
jmp 0x140026fa5
jmp 0x140026da2
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov rax, qword [rax]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x210], rax
mov byte [rsp + 0x37], 1
movzx eax, byte [rsp + 0x37]
test eax, eax
jne 0x140026cd6
mov qword [rsp + 0xf0], 0
call qword [rsp + 0xf0]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x248]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x250]
mov edx, 7
mov rcx, qword [rsp + 0x1b8]
call qword [rsp + 0x1c0]
mov dword [rsp + 0xa8], eax
cmp qword [rsp + 0x250], 0
je 0x140026ffa
call fcn.140027bb0
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1400b6140
add rsp, 0x268
pop rdi
pop rsi
ret