Function at 0x140008bd0
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 - 0x280]
sub rsp, 0x380
mov rax, qword [0x140036040]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r13, rdx
mov r12, rcx
mov r15, qword [rbp + 0x2e0]
mov qword [rsp + 0x60], r15
mov rax, qword [rbp + 0x2e8]
mov qword [rsp + 0x68], rax
xor esi, esi
mov r14d, 0xc0000001
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x78], rsi
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 + 0x70], rsi
mov ebx, esi
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x58], xmm1
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rsi
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rcx + 0x60]
mov eax, esi
test rdx, rdx
je 0x140008c98
cmp dword [rdx + 0x118], 0xa
sete al
test eax, eax
je 0x140008cf1
mov r9d, 0xb
mov r8, r12
mov edx, 0xc
lea rcx, [rbp + 0x48]
call fcn.140016a94
lea rax, [rbp + 0x48]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], bx
jne 0x140008cc0
dec rcx
lea rdx, [rbp + 0x48]
call fcn.140003bd0
not eax
cmp eax, 0xfbc56134
jne 0x140008cf1
movabs rcx, 0x100000000000
mov rax, qword [rbp + 0x20]
or rax, rcx
jmp 0x140008cf5
mov rax, qword [rbp + 0x20]
movabs rcx, 0x20000000000
or rax, rcx
mov qword [rbp + 0x20], rax
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x1400d2fd8], eax
jle 0x140008d5a
lea rcx, [0x1400d2fd8]
call fcn.14000d448
cmp dword [0x1400d2fd8], 0xffffffff
jne 0x140008d5a
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx + 0x60]
mov qword [0x1400d2fd0], rax
lea rcx, [0x1400d2fd8]
call fcn.14000d3dc
mov rax, qword [0x1400d2fd0]
test rax, rax
je 0x140008d82
mov ecx, 0x4a61
cmp word [rax + 0x120], cx
jb 0x140008d82
movabs rax, 0x220000000
or qword [rbp + 0x28], rax
mov word [rbp + 0x60], si
mov edx, 0x5c
mov rcx, r12
call fcn.140012624
mov rsi, rax
test rax, rax
je 0x140008e1e
mov rcx, rax
sub rcx, r12
shr rcx, 1
movzx r15d, cl
mov r9d, r15d
mov r8, r12
mov edx, 0x104
lea rcx, [rbp + 0x60]
call fcn.140016a94
lea rdx, [rsi + 2]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x140008dd0
dec rcx
call fcn.140003bd0
not eax
cmp eax, 0x9c1d0d0e
je 0x140008df9
cmp eax, 0x79a3aebf
je 0x140008df9
cmp eax, 0xf4ecd3e
jne 0x140008e19
lea rdx, [rbp + 0x62]
lea rdx, [rdx + r15*2]
lea rcx, [rbp + 0x60]
call fcn.1400085a0
test eax, eax
je 0x140008e19
mov eax, 0x5c
mov word [rbp + r15*2 + 0x60], ax
mov r15, qword [rsp + 0x60]
mov eax, dword [rdi]
cmp dword [0x1400d2fbc], eax
jle 0x140008e69
lea rcx, [0x1400d2fbc]
call fcn.14000d448
cmp dword [0x1400d2fbc], 0xffffffff
jne 0x140008e69
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000bb70
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.14000beb0
mov qword [0x1400d2fa8], rax
lea rcx, [0x1400d2fbc]
call fcn.14000d3dc
cmp qword [0x1400d2fa8], 0
je 0x14000938b
mov eax, dword [rdi]
cmp dword [0x1400d2fc0], eax
jle 0x140008ec2
lea rcx, [0x1400d2fc0]
call fcn.14000d448
cmp dword [0x1400d2fc0], 0xffffffff
jne 0x140008ec2
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000bb70
mov edx, 0x38adff8b
mov rcx, rax
call fcn.14000beb0
mov qword [0x1400d2fa0], rax
lea rcx, [0x1400d2fc0]
call fcn.14000d3dc
cmp qword [0x1400d2fa0], 0
je 0x14000938b
mov eax, dword [rdi]
cmp dword [0x1400d2fb8], eax
jle 0x140008f1b
lea rcx, [0x1400d2fb8]
call fcn.14000d448
cmp dword [0x1400d2fb8], 0xffffffff
jne 0x140008f1b
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000bb70
mov edx, 0x1ecb27f1
mov rcx, rax
call fcn.14000beb0
mov qword [0x1400d2fc8], rax
lea rcx, [0x1400d2fb8]
call fcn.14000d3dc
cmp qword [0x1400d2fc8], 0
je 0x14000938b
mov eax, dword [rdi]
cmp dword [0x1400d2f9c], eax
jle 0x140008f74
lea rcx, [0x1400d2f9c]
call fcn.14000d448
cmp dword [0x1400d2f9c], 0xffffffff
jne 0x140008f74
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000bb70
mov edx, 0x519b3fd7
mov rcx, rax
call fcn.14000beb0
mov qword [0x1400d2fb0], rax
lea rcx, [0x1400d2f9c]
call fcn.14000d3dc
cmp qword [0x1400d2fb0], 0
je 0x14000938b
mov edi, 0x208
mov word [rsp + 0x7a], 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 [rbp - 0x80], rax
test rax, rax
je 0x1400092da
lea rdx, [0x140032298]
lea rcx, [rsp + 0x78]
call qword [0x1400d2fa0]
mov rdx, r12
lea rcx, [rsp + 0x78]
call qword [0x1400d2fa0]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x58]
call qword [0x1400d2fa8]
mov rdx, r13
lea rcx, [rbp - 0x68]
call qword [0x1400d2fa8]
mov qword [rbp - 0x40], 0x58
xor r12d, r12d
mov dword [rbp - 0x38], r12d
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [0x1400d2fc8]
mov r14d, eax
test eax, eax
jne 0x1400092da
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8d, 0xa8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1400092da
mov qword [rax + 8], 0x20005
movzx eax, word [rsp + 0x78]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp - 0x80]
mov qword [rbx + 0x18], rax
mov edi, 1
cmp qword [rbp + 0x20], r12
jne 0x14000909a
cmp qword [rbp + 0x28], r12
je 0x140009133
mov qword [rbx + 0x28], 0x20010
mov edi, 2
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x140009122
mov r8, qword [rbp + 0x20]
mov rcx, r8
and ecx, 3
cmp rcx, 1
jne 0x1400090c4
mov eax, ecx
jmp 0x1400090d4
mov rax, rdi
mov r9d, 3
cmp rcx, r9
cmove rax, r9
test r8b, 4
je 0x1400090e0
or rax, 0x10
jmp 0x1400090e4
or rax, 0x30
and r8, 0xffffffffffffff00
or rax, r8
mov qword [rbp + 0x30], rax
mov rcx, rdx
and rcx, 0xfffffffffffff000
shl rcx, 0x20
mov rax, rdx
and eax, 0xfff
or rcx, rax
mov qword [rbp + 0x38], rcx
shr rdx, 0x20
or qword [rbp + 0x40], rdx
lea rax, [rbp + 0x30]
mov ecx, 0x18
jmp 0x14000912b
lea rax, [rbp + 0x20]
mov ecx, 8
mov qword [rbx + 0x30], rcx
mov qword [rbx + 0x38], rax
mov rax, qword [0x1400d2f08]
test rax, rax
jne 0x140009150
mov ecx, 0x55f33ee9
call fcn.14000c900
mov qword [0x1400d2f08], rax
mov rcx, rax
call fcn.14000ce15
lea r8, [rbp - 0x78]
mov edx, 0xa
mov rcx, 0xffffffffffffffff
call fcn.14000d30d
test eax, eax
jne 0x1400091e5
mov rsi, qword [rbp - 0x78]
mov rax, qword [0x1400d2ec8]
test rax, rax
jne 0x140009192
mov ecx, 0xb820cb11
call fcn.14000c900
mov qword [0x1400d2ec8], rax
mov rcx, rax
call fcn.14000ce15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf01ff
mov rcx, rsi
call fcn.14000cfe3
test eax, eax
jne 0x1400091e5
mov ecx, edi
shl rcx, 5
mov qword [rcx + rbx + 8], 0x60002
mov qword [rcx + rbx + 0x10], 8
mov rax, qword [rbp - 0x70]
mov qword [rcx + rbx + 0x18], rax
inc edi
mov eax, edi
shl rax, 5
add rax, 8
mov qword [rbx], rax
mov rdi, qword [rsp + 0x70]
mov rax, qword [0x1400d2f48]
test rax, rax
jne 0x140009214
mov ecx, 0x44ac5182
call fcn.14000c900
mov qword [0x1400d2f48], rax
mov rcx, rax
call fcn.14000ce15
mov qword [rsp + 0x50], rbx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 0x1fffff
mov r8d, r9d
mov rdi, qword [rsp + 0x68]
mov rdx, rdi
mov rcx, r15
call fcn.14000d2ec
mov r14d, eax
test eax, eax
je 0x1400092da
mov rax, qword [0x1400d2cf8]
test rax, rax
jne 0x140009297
xor edx, edx
mov ecx, 0x84c05e40
call fcn.14000bb70
mov edx, 0x44ac5182
mov rcx, rax
call fcn.14000beb0
mov qword [0x1400d2cf8], rax
test rax, rax
je 0x1400092da
mov qword [rsp + 0x50], rbx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x48], rdx
mov r8, qword [rsp + 0x70]
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 0x1fffff
mov r8d, r9d
mov rdx, rdi
mov rcx, r15
call rax
mov r14d, eax
cmp qword [rbp - 0x80], 0
je 0x1400092f6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rbp - 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x14000930f
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 + 0x70]
test rcx, rcx
je 0x14000931f
call qword [0x1400d2fb0]
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140009355
mov rax, qword [0x1400d2eb0]
test rax, rax
jne 0x140009345
mov ecx, 0x375d1c8
call fcn.14000c900
mov qword [0x1400d2eb0], rax
mov rcx, rax
call fcn.14000ce15
mov rcx, rbx
call fcn.14000d00a
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14000938b
mov rax, qword [0x1400d2eb0]
test rax, rax
jne 0x14000937b
mov ecx, 0x375d1c8
call fcn.14000c900
mov qword [0x1400d2eb0], rax
mov rcx, rax
call fcn.14000ce15
mov rcx, rbx
call fcn.14000d00a
mov eax, r14d
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.14000d380
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret