Function at 0x140008d20
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r14, rdx
mov qword [rsp + 0x60], rdx
mov r15, rcx
mov r12, qword [rbp + 0x2c0]
mov r13, qword [rbp + 0x2c8]
mov esi, 0xc0000001
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x80], rdi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x68], rdi
mov ebx, edi
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x58], xmm1
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x70], rdi
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rcx + 0x60]
mov eax, edi
test rdx, rdx
je 0x140008dd2
cmp dword [rdx + 0x118], 0xa
sete al
test eax, eax
je 0x140008e28
mov r9d, 0xb
mov r8, r15
lea edx, [r9 + 1]
lea rcx, [rbp + 0x20]
call fcn.140017d14
lea rax, [rbp + 0x20]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], bx
jne 0x140008df7
dec rcx
lea rdx, [rbp + 0x20]
call fcn.1400049c0
not eax
cmp eax, 0xfbc56134
jne 0x140008e28
movabs rcx, 0x100000000000
mov rax, qword [rbp - 0x70]
or rax, rcx
jmp 0x140008e2c
mov rax, qword [rbp - 0x70]
movabs rcx, 0x20000000000
or rax, rcx
mov qword [rbp - 0x70], rax
mov word [rbp + 0x40], di
mov edx, 0x5c
mov rcx, r15
call fcn.1400128c0
mov rdi, rax
test rax, rax
je 0x140008ecf
mov rcx, rax
sub rcx, r15
shr rcx, 1
movzx r14d, cl
mov r9d, r14d
mov r8, r15
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.140017d14
lea rdx, [rdi + 2]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x140008e82
dec rcx
call fcn.1400049c0
not eax
cmp eax, 0x9c1d0d0e
je 0x140008eaa
cmp eax, 0x79a3aebf
je 0x140008eaa
cmp eax, 0xf4ecd3e
jne 0x140008eca
lea rdx, [rbp + 0x42]
lea rdx, [rdx + r14*2]
lea rcx, [rbp + 0x40]
call fcn.140008800
test eax, eax
je 0x140008eca
mov eax, 0x5c
mov word [rbp + r14*2 + 0x40], ax
mov r14, qword [rsp + 0x60]
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x1400d9514], eax
jle 0x140008f2b
lea rcx, [0x1400d9514]
call fcn.14000d968
cmp dword [0x1400d9514], 0xffffffff
jne 0x140008f2b
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000c180
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.14000c4c0
mov qword [0x1400d9500], rax
lea rcx, [0x1400d9514]
call fcn.14000d8fc
cmp qword [0x1400d9500], 0
je 0x1400092fb
mov eax, dword [rdi]
cmp dword [0x1400d9518], eax
jle 0x140008f84
lea rcx, [0x1400d9518]
call fcn.14000d968
cmp dword [0x1400d9518], 0xffffffff
jne 0x140008f84
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000c180
mov edx, 0x38adff8b
mov rcx, rax
call fcn.14000c4c0
mov qword [0x1400d94f8], rax
lea rcx, [0x1400d9518]
call fcn.14000d8fc
cmp qword [0x1400d94f8], 0
je 0x1400092fb
mov eax, dword [rdi]
cmp dword [0x1400d9510], eax
jle 0x140008fdd
lea rcx, [0x1400d9510]
call fcn.14000d968
cmp dword [0x1400d9510], 0xffffffff
jne 0x140008fdd
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000c180
mov edx, 0x1ecb27f1
mov rcx, rax
call fcn.14000c4c0
mov qword [0x1400d9520], rax
lea rcx, [0x1400d9510]
call fcn.14000d8fc
cmp qword [0x1400d9520], 0
je 0x1400092fb
mov eax, dword [rdi]
cmp dword [0x1400d94f4], eax
jle 0x140009036
lea rcx, [0x1400d94f4]
call fcn.14000d968
cmp dword [0x1400d94f4], 0xffffffff
jne 0x140009036
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000c180
mov edx, 0x519b3fd7
mov rcx, rax
call fcn.14000c4c0
mov qword [0x1400d9508], rax
lea rcx, [0x1400d94f4]
call fcn.14000d8fc
cmp qword [0x1400d9508], 0
je 0x1400092fb
mov edi, 0x208
mov word [rsp + 0x72], di
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, edi
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140009298
lea rdx, [0x140039e60]
lea rcx, [rsp + 0x70]
call qword [0x1400d94f8]
mov rdx, r15
lea rcx, [rsp + 0x70]
call qword [0x1400d94f8]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x58]
call qword [0x1400d9500]
mov rdx, r14
lea rcx, [rbp - 0x68]
call qword [0x1400d9500]
mov qword [rbp - 0x40], 0x58
xor r14d, r14d
mov dword [rbp - 0x38], r14d
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [0x1400d9520]
mov esi, eax
test eax, eax
jne 0x140009298
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea edx, [rsi + 8]
mov r8d, 0xa8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140009298
mov qword [rax + 8], 0x20005
movzx eax, word [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x18], rax
lea edi, [rsi + 1]
cmp qword [rbp - 0x70], r14
je 0x14000916a
mov qword [rbx + 0x28], 0x20010
mov qword [rbx + 0x30], 8
lea rax, [rbp - 0x70]
mov qword [rbx + 0x38], rax
lea edi, [rsi + 2]
lea r8, [rbp - 0x80]
mov edx, 0xa
mov rcx, 0xffffffffffffffff
call fcn.14000d6e4
test eax, eax
jne 0x1400091cf
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf01ff
mov rcx, qword [rbp - 0x80]
call fcn.14000d4d3
test eax, eax
jne 0x1400091cf
mov ecx, edi
shl rcx, 5
mov qword [rcx + rbx + 8], 0x60002
mov qword [rcx + rbx + 0x10], 8
mov rax, qword [rbp - 0x78]
mov qword [rcx + rbx + 0x18], rax
inc edi
mov eax, edi
shl rax, 5
add rax, 8
mov qword [rbx], rax
mov qword [rsp + 0x50], rbx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x1fffff
mov r8d, r9d
mov rdx, r13
mov rcx, r12
call fcn.14000d6cc
mov esi, eax
test eax, eax
je 0x140009298
mov rax, qword [0x1400d9318]
test rax, rax
jne 0x140009256
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000c180
mov edx, 0x44ac5182
mov rcx, rax
call fcn.14000c4c0
mov qword [0x1400d9318], rax
test rax, rax
je 0x140009298
mov qword [rsp + 0x50], rbx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x48], rdx
mov r8, qword [rsp + 0x68]
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x1fffff
mov r8d, r9d
mov rdx, r13
mov rcx, r12
call rax
mov esi, eax
cmp qword [rsp + 0x78], 0
je 0x1400092b6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x1400092cf
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400092df
call qword [0x1400d9508]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400092ed
call fcn.14000d4fa
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400092fb
call fcn.14000d4fa
mov eax, esi
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14000d8a0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret