Function at 0x180007b30
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 [0x18003a040]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r12, r8
mov qword [rsp + 0x68], rdx
mov r15, rcx
mov r13, qword [rbp + 0x2c0]
mov r14, qword [rbp + 0x2c8]
mov qword [rsp + 0x60], r14
mov esi, 0xc0000001
xor edi, edi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x78], 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 + 0x70], rdi
mov ebx, edi
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x68], rdi
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rcx + 0x60]
mov eax, edi
test rdx, rdx
je 0x180007be7
cmp dword [rdx + 0x118], 0xa
sete al
test eax, eax
je 0x180007c41
mov r9d, 0xb
mov r8, r15
lea edx, [r9 + 1]
lea rcx, [rbp + 0x20]
call fcn.180018744
lea rax, [rbp + 0x20]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], bx
jne 0x180007c10
dec rcx
lea rdx, [rbp + 0x20]
call fcn.180003460
not eax
cmp eax, 0xfbc56134
jne 0x180007c41
movabs rcx, 0x100000000000
mov rax, qword [rbp - 0x68]
or rax, rcx
jmp 0x180007c45
mov rax, qword [rbp - 0x68]
movabs rcx, 0x20000000000
or rax, rcx
mov qword [rbp - 0x68], rax
mov word [rbp + 0x40], di
mov edx, 0x5c
mov rcx, r15
call fcn.180013280
mov rdi, rax
test rax, rax
je 0x180007ced
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.180018744
lea rdx, [rdi + 2]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x180007ca0
dec rcx
call fcn.180003460
not eax
cmp eax, 0x9c1d0d0e
je 0x180007cc8
cmp eax, 0x79a3aebf
je 0x180007cc8
cmp eax, 0xf4ecd3e
jne 0x180007ce8
lea rdx, [rbp + 0x42]
lea rdx, [rdx + r14*2]
lea rcx, [rbp + 0x40]
call fcn.180007610
test eax, eax
je 0x180007ce8
mov eax, 0x5c
mov word [rbp + r14*2 + 0x40], ax
mov r14, qword [rsp + 0x60]
mov ecx, dword [0x1800b9624]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1800ba47c], eax
jle 0x180007d53
lea rcx, [0x1800ba47c]
call fcn.18000df88
cmp dword [0x1800ba47c], 0xffffffff
jne 0x180007d53
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000bd40
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.18000c080
mov qword [0x1800ba468], rax
lea rcx, [0x1800ba47c]
call fcn.18000df1c
cmp qword [0x1800ba468], 0
je 0x180008145
mov eax, dword [rdi]
cmp dword [0x1800ba480], eax
jle 0x180007dac
lea rcx, [0x1800ba480]
call fcn.18000df88
cmp dword [0x1800ba480], 0xffffffff
jne 0x180007dac
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000bd40
mov edx, 0x38adff8b
mov rcx, rax
call fcn.18000c080
mov qword [0x1800ba460], rax
lea rcx, [0x1800ba480]
call fcn.18000df1c
cmp qword [0x1800ba460], 0
je 0x180008145
mov eax, dword [rdi]
cmp dword [0x1800ba478], eax
jle 0x180007e05
lea rcx, [0x1800ba478]
call fcn.18000df88
cmp dword [0x1800ba478], 0xffffffff
jne 0x180007e05
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000bd40
mov edx, 0x1ecb27f1
mov rcx, rax
call fcn.18000c080
mov qword [0x1800ba488], rax
lea rcx, [0x1800ba478]
call fcn.18000df1c
cmp qword [0x1800ba488], 0
je 0x180008145
mov eax, dword [rdi]
cmp dword [0x1800ba458], eax
jle 0x180007e5e
lea rcx, [0x1800ba458]
call fcn.18000df88
cmp dword [0x1800ba458], 0xffffffff
jne 0x180007e5e
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000bd40
mov edx, 0x519b3fd7
mov rcx, rax
call fcn.18000c080
mov qword [0x1800ba470], rax
lea rcx, [0x1800ba458]
call fcn.18000df1c
cmp qword [0x1800ba470], 0
je 0x180008145
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 0x1800080e4
lea rdx, [0x180034be8]
lea rcx, [rsp + 0x78]
call qword [0x1800ba460]
mov rdx, r15
lea rcx, [rsp + 0x78]
call qword [0x1800ba460]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x50]
call qword [0x1800ba468]
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x60]
call qword [0x1800ba468]
mov qword [rbp - 0x40], 0x58
xor r15d, r15d
mov dword [rbp - 0x38], r15d
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [0x1800ba488]
mov esi, eax
test eax, eax
jne 0x1800080e4
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 0x1800080e4
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
lea edi, [rsi + 1]
test r12, r12
je 0x180007f8d
mov qword [rbx + 0x28], 0x60000
mov qword [rbx + 0x30], 8
mov qword [rbx + 0x38], r12
lea edi, [rsi + 2]
cmp qword [rbp - 0x68], r15
je 0x180007fb6
mov eax, edi
shl rax, 5
mov qword [rax + rbx + 8], 0x20010
mov qword [rax + rbx + 0x10], 8
lea rcx, [rbp - 0x68]
mov qword [rax + rbx + 0x18], rcx
inc edi
lea r8, [rbp - 0x78]
mov edx, 0xa
mov rcx, 0xffffffffffffffff
call fcn.18000de64
test eax, eax
jne 0x18000801b
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, qword [rbp - 0x78]
call fcn.18000dc53
test eax, eax
jne 0x18000801b
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 qword [rsp + 0x50], rbx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x1fffff
mov r8d, r9d
mov rdx, r14
mov rcx, r13
call fcn.18000de4c
mov esi, eax
test eax, eax
je 0x1800080e4
mov rax, qword [0x1800ba298]
test rax, rax
jne 0x1800080a2
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000bd40
mov edx, 0x44ac5182
mov rcx, rax
call fcn.18000c080
mov qword [0x1800ba298], rax
test rax, rax
je 0x1800080e4
mov qword [rsp + 0x50], rbx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x48], rdx
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x40], r9
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x1fffff
mov r8d, r9d
mov rdx, r14
mov rcx, r13
call rax
mov esi, eax
cmp qword [rbp - 0x80], 0
je 0x180008100
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 0x180008119
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 0x180008129
call qword [0x1800ba470]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180008137
call fcn.18000dc7a
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180008145
call fcn.18000dc7a
mov eax, esi
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.18000dec0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret