Function at 0x140024940
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 + 0x250], rax
lea rax, [rsp + 0xc0]
lea rcx, [0x1400c0050]
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 0x140024997
mov dword [rsp + 0x40], 1
jmp 0x14002499f
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400249fb
mov dword [rsp + 0x28], 0
jmp 0x1400249bc
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jge 0x1400249fb
movsxd rax, dword [rsp + 0x28]
movsx eax, byte [rsp + rax + 0xc0]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x28]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x70]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x28]
mov byte [rsp + rcx + 0xc0], al
jmp 0x1400249b2
lea rax, [rsp + 0xc0]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov qword [rsp + 0x210], rax
cmp qword [rsp + 0x210], 0
jne 0x140024a24
jmp 0x140025202
lea rax, [rsp + 0xf0]
lea rcx, [0x1400c0060]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0xd
movsx eax, byte [rsp + rax + 0xf0]
test eax, eax
je 0x140024a5f
mov dword [rsp + 0x44], 1
jmp 0x140024a67
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x140024ac3
mov dword [rsp + 0x2c], 0
jmp 0x140024a84
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xe
jge 0x140024ac3
movsxd rax, dword [rsp + 0x2c]
movsx eax, byte [rsp + rax + 0xf0]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x74]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x2c]
mov byte [rsp + rcx + 0xf0], al
jmp 0x140024a7a
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0xa0], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x140], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x60]
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 0x140024bcb
mov dword [rsp + 0x48], 1
jmp 0x140024bd3
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140024d9e
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x78], 0
je 0x140024d9e
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x4c], eax
movabs rax, 0x108c1358b44e94b4
shr rax, 0x20
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xe0], 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 + 0x30]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0x218]
mov qword [rsp + 0xe0], rax
movabs rax, 0x108c1358b44e94b4
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
mov byte [rsp + 0x23], al
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140024ce1
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x80], eax
jmp 0x140024d19
xor eax, eax
test eax, eax
je 0x140024cf5
movsx eax, byte [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x50], eax
jmp 0x140024cfe
movsx eax, byte [rsp + 0x20]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 0x38], eax
jmp 0x140024ca0
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x80], eax
jne 0x140024d99
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x218]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x218]
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x150]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x218]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xa0], rax
jmp 0x140024def
jmp 0x140024bf8
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x1f8], rax
mov byte [rsp + 0x24], 1
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x140024b2c
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
call qword [rsp + 0xa0]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
jne 0x140024e3e
jmp 0x140025202
lea rax, [rsp + 0x248]
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x90], 0x40
mov dword [rsp + 0x94], 1
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0xb0], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x1a0]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x238], rax
mov eax, dword [rsp + 0xec]
mov dword [rsp + 0x240], eax
mov rax, qword [rsp + 0x230]
cmp qword [rsp + 0x238], rax
je 0x140024f5c
mov dword [rsp + 0x54], 1
jmp 0x140024f64
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x14002513b
mov rax, qword [rsp + 0x238]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x84], 0
je 0x14002513b
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x58], eax
movabs rax, 0xd2ec491ce156345e
shr rax, 0x20
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xd8], 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 + 0x34]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0x230]
mov qword [rsp + 0xd8], rax
movabs rax, 0xd2ec491ce156345e
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax]
mov byte [rsp + 0x26], al
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x21], al
movsx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14002507b
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x8c], eax
jmp 0x1400250b3
xor eax, eax
test eax, eax
je 0x14002508f
movsx eax, byte [rsp + 0x21]
or eax, 0x20
mov dword [rsp + 0x5c], eax
jmp 0x140025098
movsx eax, byte [rsp + 0x21]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x3c]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 0x3c], eax
jmp 0x14002503a
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x8c], eax
jne 0x140025136
mov rax, qword [rsp + 0x238]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x230]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x238]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x230]
mov qword [rsp + 0x1a8], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x1a8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x230]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0xb0], rax
jmp 0x14002518c
jmp 0x140024f89
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov rax, qword [rax]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x208], rax
mov byte [rsp + 0x27], 1
movzx eax, byte [rsp + 0x27]
test eax, eax
jne 0x140024ebd
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x98], eax
movsxd rax, dword [rsp + 0x94]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x118], rax
mov r9, qword [rsp + 0x100]
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call qword [rsp + 0xb0]
test eax, eax
jne 0x1400251f7
jmp 0x140025202
mov rax, qword [rsp + 0x200]
mov byte [rax], 0xc3
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400b6140
add rsp, 0x268
pop rdi
pop rsi
ret