Function at 0x1800087d0
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 [0x18003f040]
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 0x180008887
cmp dword [rdx + 0x118], 0xa
sete al
test eax, eax
je 0x1800088e1
mov r9d, 0xb
mov r8, r15
lea edx, [r9 + 1]
lea rcx, [rbp + 0x20]
call fcn.180018694
lea rax, [rbp + 0x20]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1800088b0
dec rcx
lea rdx, [rbp + 0x20]
call fcn.180004480
not eax
cmp eax, 0xfbc56134
jne 0x1800088e1
movabs rcx, 0x100000000000
mov rax, qword [rbp - 0x68]
or rax, rcx
jmp 0x1800088e5
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.1800131f0
mov rdi, rax
test rax, rax
je 0x18000898d
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.180018694
lea rdx, [rdi + 2]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x180008940
dec rcx
call fcn.180004480
not eax
cmp eax, 0x9c1d0d0e
je 0x180008968
cmp eax, 0x79a3aebf
je 0x180008968
cmp eax, 0xf4ecd3e
jne 0x180008988
lea rdx, [rbp + 0x42]
lea rdx, [rdx + r14*2]
lea rcx, [rbp + 0x40]
call fcn.1800082b0
test eax, eax
je 0x180008988
mov eax, 0x5c
mov word [rbp + r14*2 + 0x40], ax
mov r14, qword [rsp + 0x60]
mov ecx, dword [0x1800e3b24]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1800e496c], eax
jle 0x1800089f3
lea rcx, [0x1800e496c]
call fcn.18000e1a8
cmp dword [0x1800e496c], 0xffffffff
jne 0x1800089f3
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000c810
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.18000cb50
mov qword [0x1800e4958], rax
lea rcx, [0x1800e496c]
call fcn.18000e13c
cmp qword [0x1800e4958], 0
je 0x180008de5
mov eax, dword [rdi]
cmp dword [0x1800e4970], eax
jle 0x180008a4c
lea rcx, [0x1800e4970]
call fcn.18000e1a8
cmp dword [0x1800e4970], 0xffffffff
jne 0x180008a4c
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000c810
mov edx, 0x38adff8b
mov rcx, rax
call fcn.18000cb50
mov qword [0x1800e4950], rax
lea rcx, [0x1800e4970]
call fcn.18000e13c
cmp qword [0x1800e4950], 0
je 0x180008de5
mov eax, dword [rdi]
cmp dword [0x1800e4968], eax
jle 0x180008aa5
lea rcx, [0x1800e4968]
call fcn.18000e1a8
cmp dword [0x1800e4968], 0xffffffff
jne 0x180008aa5
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000c810
mov edx, 0x1ecb27f1
mov rcx, rax
call fcn.18000cb50
mov qword [0x1800e4978], rax
lea rcx, [0x1800e4968]
call fcn.18000e13c
cmp qword [0x1800e4978], 0
je 0x180008de5
mov eax, dword [rdi]
cmp dword [0x1800e494c], eax
jle 0x180008afe
lea rcx, [0x1800e494c]
call fcn.18000e1a8
cmp dword [0x1800e494c], 0xffffffff
jne 0x180008afe
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000c810
mov edx, 0x519b3fd7
mov rcx, rax
call fcn.18000cb50
mov qword [0x1800e4960], rax
lea rcx, [0x1800e494c]
call fcn.18000e13c
cmp qword [0x1800e4960], 0
je 0x180008de5
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 0x180008d84
lea rdx, [0x18003afb0]
lea rcx, [rsp + 0x78]
call qword [0x1800e4950]
mov rdx, r15
lea rcx, [rsp + 0x78]
call qword [0x1800e4950]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x50]
call qword [0x1800e4958]
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x60]
call qword [0x1800e4958]
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 [0x1800e4978]
mov esi, eax
test eax, eax
jne 0x180008d84
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 0x180008d84
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 0x180008c2d
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 0x180008c56
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.18000df24
test eax, eax
jne 0x180008cbb
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.18000dd13
test eax, eax
jne 0x180008cbb
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.18000df0c
mov esi, eax
test eax, eax
je 0x180008d84
mov rax, qword [0x1800e4788]
test rax, rax
jne 0x180008d42
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000c810
mov edx, 0x44ac5182
mov rcx, rax
call fcn.18000cb50
mov qword [0x1800e4788], rax
test rax, rax
je 0x180008d84
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 0x180008da0
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 0x180008db9
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 0x180008dc9
call qword [0x1800e4960]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180008dd7
call fcn.18000dd3a
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180008de5
call fcn.18000dd3a
mov eax, esi
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.18000e0e0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret