Function at 0x180004250
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 - 0x80]
sub rsp, 0x180
mov rax, qword [0x18002e010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, r8
mov qword [rbp - 0x70], rdx
mov r13, rcx
mov r15, qword [rbp + 0xe0]
mov r12, qword [rbp + 0xe8]
mov edi, 0xc0000001
xor r8d, r8d
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], r8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov qword [rbp - 0x40], r8
mov ebx, r8d
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp - 0x10], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rcx + 0x60]
test rdx, rdx
jne 0x1800042f0
mov eax, r8d
jmp 0x180004305
movabs rax, 0x100000000000
cmp dword [rdx + 0x118], 0xa
cmovne rax, r8
movabs rcx, 0x20000000000
or rax, rcx
mov qword [rbp - 0x18], rax
mov dword [rsp + 0x60], 0x8f1577b
mov dword [rsp + 0x64], 0x839c35d7
mov dword [rsp + 0x68], 0xe23fac51
mov dword [rsp + 0x6c], 0xa5d3afb2
mov dword [rsp + 0x70], 0xad8e478f
mov dword [rsp + 0x74], 0xbf365ea6
mov dword [rsp + 0x78], 0xce1b3e0f
mov dword [rsp + 0x7c], 0x30c49e45
mov dword [rbp - 0x80], 0xa0a200b0
mov dword [rbp - 0x7c], 0x2a4bc28f
mov eax, 0x1b
lea r9d, [rax + 0x17]
lea r8d, [rax + 0x16]
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.180004fb0
lea rax, [rbp - 0x68]
mov qword [rbp - 0x78], rax
mov ecx, dword [0x180075bd4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rsi, qword [rax + rcx*8]
add rsi, rdx
mov eax, dword [rsi]
cmp dword [0x1800769b8], eax
jle 0x1800043f0
lea rcx, [0x1800769b8]
call fcn.180008670
cmp dword [0x1800769b8], 0xffffffff
jne 0x1800043f0
mov ecx, 0x84c05e40
call fcn.180006de0
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.180006fc0
mov qword [0x1800769c0], rax
lea rcx, [0x1800769b8]
call fcn.180008610
cmp qword [0x1800769c0], 0
je 0x1800047ce
mov eax, dword [rsi]
cmp dword [0x1800769a8], eax
jle 0x180004447
lea rcx, [0x1800769a8]
call fcn.180008670
cmp dword [0x1800769a8], 0xffffffff
jne 0x180004447
mov ecx, 0x84c05e40
call fcn.180006de0
mov edx, 0x38adff8b
mov rcx, rax
call fcn.180006fc0
mov qword [0x1800769a0], rax
lea rcx, [0x1800769a8]
call fcn.180008610
cmp qword [0x1800769a0], 0
je 0x1800047ce
mov eax, dword [rsi]
cmp dword [0x180076998], eax
jle 0x18000449e
lea rcx, [0x180076998]
call fcn.180008670
cmp dword [0x180076998], 0xffffffff
jne 0x18000449e
mov ecx, 0x84c05e40
call fcn.180006de0
mov edx, 0x1ecb27f1
mov rcx, rax
call fcn.180006fc0
mov qword [0x1800769b0], rax
lea rcx, [0x180076998]
call fcn.180008610
cmp qword [0x1800769b0], 0
je 0x1800047ce
mov eax, dword [rsi]
cmp dword [0x1800769c8], eax
jle 0x1800044f5
lea rcx, [0x1800769c8]
call fcn.180008670
cmp dword [0x1800769c8], 0xffffffff
jne 0x1800044f5
mov ecx, 0x84c05e40
call fcn.180006de0
mov edx, 0x519b3fd7
mov rcx, rax
call fcn.180006fc0
mov qword [0x180076990], rax
lea rcx, [0x1800769c8]
call fcn.180008610
cmp qword [0x180076990], 0
je 0x1800047ce
mov esi, 0x208
mov word [rbp - 0x36], si
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, esi
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1800047a3
lea rdx, str.___
lea rcx, [rbp - 0x38]
call qword [0x1800769a0]
mov rdx, r13
lea rcx, [rbp - 0x38]
call qword [0x1800769a0]
mov rax, qword [0x1800769c0]
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp]
call rax
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x10]
call qword [0x1800769c0]
mov qword [rbp + 0x10], 0x58
xor esi, esi
mov dword [rbp + 0x18], esi
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call qword [0x1800769b0]
mov edi, eax
test eax, eax
jne 0x18000476f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea edx, [rsi + 8]
mov r8d, 0x88
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x18000476f
mov qword [rax + 8], 0x20005
movzx ecx, word [rbp - 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x30]
mov qword [rax + 0x18], rcx
lea edi, [rsi + 1]
test r14, r14
je 0x18000461e
mov qword [rax + 0x28], 0x60000
mov qword [rax + 0x30], 8
mov qword [rax + 0x38], r14
lea edi, [rsi + 2]
cmp qword [rbp - 0x18], rsi
je 0x180004647
mov eax, edi
shl rax, 5
mov qword [rax + rbx + 8], 0x20010
mov qword [rax + rbx + 0x10], 8
lea rcx, [rbp - 0x18]
mov qword [rax + rbx + 0x18], rcx
inc edi
lea r8, [rbp - 0x28]
mov edx, 0xa
mov rcx, 0xffffffffffffffff
call fcn.180008420
test eax, eax
jne 0x1800046ac
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf01ff
mov rcx, qword [rbp - 0x28]
call fcn.18000820f
test eax, eax
jne 0x1800046ac
mov ecx, edi
shl rcx, 5
mov qword [rcx + rbx + 8], 0x60002
mov qword [rcx + rbx + 0x10], 8
mov rax, qword [rbp - 0x20]
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 + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x1fffff
mov r8d, r9d
mov rdx, r12
mov rcx, r15
call fcn.180008408
mov edi, eax
test eax, eax
je 0x18000476f
mov rax, qword [0x180076820]
test rax, rax
jne 0x18000472f
mov ecx, 0x84c05e40
call fcn.180006de0
mov edx, 0x44ac5182
mov rcx, rax
call fcn.180006fc0
mov qword [0x180076820], rax
test rax, rax
je 0x18000476f
mov qword [rsp + 0x50], rbx
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x48], rdx
mov r9, qword [rbp - 0x40]
mov qword [rsp + 0x40], r9
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x1fffff
mov r8d, r9d
mov rdx, r12
mov rcx, r15
call rax
mov edi, eax
cmp qword [rbp - 0x30], rsi
je 0x18000478a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x1800047a3
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 [rbp - 0x40]
test rcx, rcx
je 0x1800047b2
call qword [0x180076990]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1800047c0
call fcn.180008236
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1800047ce
call fcn.180008236
mov eax, edi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180008450
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret