Function at 0x180060b10
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1801724e0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, qword [rdx + 0x10]
xor ebx, ebx
mov r12, qword [rdx + 8]
mov rdi, rcx
mov eax, dword [rdx]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], r15
lea ecx, [rbx + 1]
cmp dword [rdi + 0x10], 0xddeeddee
mov qword [rsp + 0x48], r12
mov qword [rbp - 0x68], rbx
je 0x180060ccf
test dword [rdi + 0x74], 0x1000000
mov r14b, bl
mov byte [rsp + 0x30], bl
mov esi, ebx
mov qword [rbp - 0x70], rbx
jne 0x1800b9de4
xor edx, edx
lea rcx, [rbp - 0x60]
mov r13d, 0xa8
mov r8d, r13d
cmp eax, 0x80000000
jne 0x1800b9dee
call sym.ntdll.dll_memset
mov dword [rbp - 0x60], 0x80000000
mov qword [rbp - 0x58], r13
test r14b, r14b
jne 0x180060ce2
movzx eax, word [rdi + 0xd0]
mov dword [rbp - 0x48], eax
mov dword [rbp - 0x4c], 1
mov qword [rbp - 0x40], rdi
mov rax, qword gs:[0x60]
mov ecx, dword [rax + 0xe8]
mov rax, qword [rdi + 0x218]
dec ecx
mov qword [rbp - 0x38], rax
mov rax, qword [rdi + 0x220]
sub rax, qword [rdi + 0x278]
mov dword [rbp - 0x44], ecx
mov rcx, rdi
mov qword [rbp - 0x30], rax
call fcn.180060cfc
mov qword [rbp - 0x10], rax
mov rax, qword [rdi + 0xc0]
shl rax, 4
mov qword [rbp - 8], rax
mov eax, dword [rdi + 0x23c]
mov dword [rbp - 0x18], eax
mov eax, dword [rdi + 0x230]
mov dword [rbp + 8], eax
mov rax, qword [rdi + 0x228]
mov qword [rbp - 0x20], rax
mov eax, dword [rdi + 0x238]
mov dword [rbp - 0x28], eax
mov eax, dword [rdi + 0x240]
mov dword [rbp + 0xc], eax
mov dword [rbp + 0x10], eax
mov rax, qword [rdi + 0x138]
test rax, rax
je 0x180060c6f
mov ecx, dword [rax + 0x10]
mov dword [rbp], ecx
mov rdx, qword [rax]
test rdx, rdx
jne 0x180060cf0
mov rax, qword [rdi + 0x160]
mov ecx, dword [rdi + 0x24c]
mov dword [rbp + 4], ecx
test rax, rax
je 0x180060c95
mov rax, qword [rax]
cmp rax, 0xffffffffffffffff
je 0x180060c90
mov ebx, dword [rax + 0x24]
add ecx, ebx
mov dword [rbp + 4], ecx
mov rdx, r15
lea rcx, [rbp - 0x60]
mov rax, r12
call qword [section..00cfg]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.18008b0e0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r14b, cl
mov byte [rsp + 0x30], cl
mov rsi, rdi
mov qword [rbp - 0x70], rdi
jmp 0x180060b8b
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.180060d38
jmp 0x180060c95
add ecx, dword [rdx + 0x10]
mov dword [rbp], ecx
jmp 0x180060c6f
mov eax, 0xc0000002
jmp 0x180060ca5
call sym.ntdll.dll_memset
mov dword [rbp - 0x60], 2
mov qword [rbp - 0x58], 0x40
mov qword [rbp - 0x50], rdi
test r14b, r14b
jne 0x1800b9e27
movzx eax, byte [rdi + 0x182]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x48], eax
mov rcx, rdi
call fcn.1800ecdc8
jmp 0x1800b9e5c
mov rax, qword [rsi + 0x18]
shl rax, 0xc
mov qword [rbp - 0x40], rax
mov rax, qword [rsi + 0x60]
shl rax, 0xc
add qword [rbp - 0x40], rax
mov rax, qword [rsi + 0x20]
shl rax, 0xc
mov qword [rbp - 0x38], rax
mov rax, qword [rsi + 0x68]
shl rax, 0xc
add qword [rbp - 0x38], rax
mov eax, ebx
mov dword [rbp - 0x48], ebx
test eax, eax
js 0x180060ca5
mov rdx, r15
lea rcx, [rbp - 0x60]
mov rax, r12
call qword [section..00cfg]
test eax, eax
js 0x180060ca5
mov esi, dword [rsp + 0x38]
cmp esi, 3
jb 0x180060ca5
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x30]
call sym.ntdll.dll_memset
cmp esi, 3
mov qword [rsp + 0x50], rbx
mov r12, rbx
mov qword [rsp + 0x58], rbx
seta al
mov r15, rbx
mov byte [rsp + 0x31], al
jmp 0x1800b9eba
mov r14b, byte [rsp + 0x30]
mov r8b, al
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.180061f40
cmp eax, 0x8000001a
je 0x1800ba438
test eax, eax
js 0x180060ca5
movzx esi, word [rsp + 0x72]
test sil, 2
je 0x1800ba039
mov r12d, 0x8000
test r14b, r14b
jne 0x1800b9f1a
test r12w, si
jne 0x1800b9f1a
mov r15, qword [rsp + 0x60]
mov rsi, r15
mov qword [rbp - 0x68], r15
lea rax, [r15 + 0x18]
cmp rax, qword [rdi + 0x120]
cmove rsi, rdi
jmp 0x1800b9f23
mov r15, qword [rbp - 0x68]
mov rsi, qword [rsp + 0x60]
mov r8, r13
lea rcx, [rbp - 0x60]
xor edx, edx
call sym.ntdll.dll_memset
mov ecx, dword [rsp + 0x78]
mov eax, dword [rsp + 0x7c]
mov rdx, qword [rsp + 0x40]
add rax, rcx
mov qword [rbp - 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x60], 3
mov qword [rbp - 0x58], 0x38
mov qword [rbp - 0x50], rsi
call qword [section..00cfg]
test eax, eax
js 0x180060ca5
test r14b, r14b
jne 0x1800b9fe1
test word [rsp + 0x72], r12w
jne 0x1800b9fb8
lea rax, [rsp + 0x34]
mov rdx, r15
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rbp + 0x50]
mov rcx, r15
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1800ec67c
mov r12, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov esi, dword [rsp + 0x34]
jmp 0x1800ba012
mov r12, qword [rsp + 0x60]
xor edx, edx
mov r15d, dword [rsp + 0x78]
mov rcx, rdi
add r15, r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r15
call fcn.18002ae30
mov esi, eax
mov dword [rsp + 0x34], eax
jmp 0x1800ba012
mov r12, qword [rsp + 0x60]
mov rax, qword [rbp - 0x70]
mov r15d, dword [rsp + 0x78]
add r15, r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r15
mov eax, dword [rax + 0x14]
and eax, 0x40000000
neg eax
sbb esi, esi
and esi, 0x3c
add esi, 4
mov dword [rsp + 0x34], esi
mov r8, r13
lea rcx, [rbp - 0x60]
xor edx, edx
call sym.ntdll.dll_memset
mov rax, r15
mov qword [rbp - 0x50], r12
sub rax, r12
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x3c], esi
jmp 0x1800ba1f0
mov eax, 0x4000
test ax, si
je 0x1800ba1ad
mov r8, r13
lea rcx, [rbp - 0x60]
xor edx, edx
call sym.ntdll.dll_memset
mov rsi, rbx
mov dword [rbp - 0x60], 3
mov r14, rbx
mov qword [rbp - 0x58], 0x38
cmp byte [rsp + 0x30], bl
jne 0x1800ba0b0
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff0
prefetchw byte [rcx]
cmp byte [rcx + 0xf], 5
jne 0x1800ba08d
movzx eax, byte [rcx + 0xe]
shl rax, 4
sub rcx, rax
lea rsi, [rcx - 0x30]
mov rax, rsi
and rax, 0xffffffffffff0000
mov qword [rbp - 0x50], rax
mov rax, qword [rsi + 0x28]
mov qword [rbp - 0x48], rax
mov rax, qword [rsi + 0x20]
mov qword [rbp - 0x40], rax
jmp 0x1800ba0ea
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x50], rdx
call fcn.18006337c
mov r14, rax
mov edx, 0x1000
mov rcx, qword [rax + 0x20]
mov rax, 0xfffffffffffff000
and rcx, rax
add rcx, rdx
mov qword [rbp - 0x48], rcx
mov rcx, qword [r14 + 0x20]
and rcx, rax
mov qword [rbp - 0x40], rcx
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x60]
mov rax, qword [rsp + 0x48]
call qword [section..00cfg]
test eax, eax
js 0x180060ca5
mov r8, r13
lea rcx, [rbp - 0x60]
xor edx, edx
call sym.ntdll.dll_memset
mov dword [rbp - 0x60], 4
mov qword [rbp - 0x58], 0x38
cmp byte [rsp + 0x30], bl
jne 0x1800ba14b
mov qword [rbp - 0x50], rsi
xor edx, edx
mov rax, qword [rsi + 0x20]
mov rcx, rdi
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 1
call fcn.18002ae30
mov dword [rbp - 0x3c], eax
jmp 0x1800ba182
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x50], rax
mov rax, qword [r14 + 0x20]
and rax, 0xfffffffffffff000
mov dword [rbp - 0x40], 1
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x70]
mov eax, dword [rax + 0x14]
and eax, 0x40000000
neg eax
sbb ecx, ecx
and ecx, 0x3c
add ecx, 4
mov dword [rbp - 0x3c], ecx
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x60]
mov rax, qword [rsp + 0x48]
call qword [section..00cfg]
test eax, eax
js 0x180060ca5
movzx esi, word [rsp + 0x72]
mov r14, qword [rsp + 0x60]
jmp 0x1800ba2f7
mov eax, 0x1000
test ax, si
je 0x1800ba224
cmp dword [rsp + 0x38], 4
mov al, byte [rsp + 0x31]
jb 0x1800b9eba
mov r8, r13
lea rcx, [rbp - 0x60]
xor edx, edx
call sym.ntdll.dll_memset
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x68]
mov dword [rbp - 0x40], 2
mov dword [rbp - 0x3c], 1
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x58], 0x38
mov dword [rbp - 0x60], 4
call qword [section..00cfg]
test eax, eax
js 0x180060ca5
jmp 0x1800ba42f
test r14b, r14b
mov r14, qword [rsp + 0x60]
jne 0x1800ba2e8
cmp r14, r12
jb 0x1800ba240
cmp r14, r15
jbe 0x1800ba2e8
mov rcx, qword [rbp - 0x68]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rbp + 0x50]
mov rdx, r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1800ec67c
cmp dword [rsp + 0x38], 4
jae 0x1800ba27f
mov r12, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
jmp 0x1800ba42a
mov r8, r13
lea rcx, [rbp - 0x60]
xor edx, edx
call sym.ntdll.dll_memset
mov r12, qword [rsp + 0x50]
lea rcx, [rbp - 0x60]
mov r15, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov rax, r15
sub rax, r12
mov dword [rbp - 0x60], 4
mov qword [rbp - 0x48], rax
mov eax, dword [rsp + 0x34]
mov dword [rbp - 0x3c], eax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x58], 0x38
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x40], 1
call qword [section..00cfg]
test eax, eax
js 0x180060ca5
movzx esi, word [rsp + 0x72]
mov r14, qword [rsp + 0x60]
cmp dword [rsp + 0x38], 4
mov al, byte [rsp + 0x31]
jb 0x1800b9eb5
xor edx, edx
test sil, 0xf0
je 0x1800ba3a3
lea r8d, [rdx + 0x58]
lea rcx, [rbp + 0x60]
call sym.ntdll.dll_memset
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp - 0x7c]
mov dword [rbp + 0x60], 5
mov qword [rbp + 0x68], 0x58
mov qword [rbp + 0x70], r14
test sil, 2
je 0x1800ba33e
movzx eax, byte [rsp + 0x70]
mov qword [rbp + 0x88], rax
mov eax, 0x4000
test ax, si
mov eax, 2
lea ecx, [rax + 4]
cmovne eax, ecx
mov ecx, 1
mov dword [rbp + 0x78], eax
test cl, sil
je 0x1800ba36a
or eax, ecx
mov dword [rbp + 0x78], eax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0xa8], rax
movzx eax, word [rbp - 0x80]
mov word [rbp + 0xb0], ax
movzx eax, word [rbp - 0x7e]
mov dword [rbp + 0x9c], ecx
lea rcx, [rbp + 0x60]
mov word [rbp + 0xb2], ax
mov qword [rbp + 0xa0], 0x20
jmp 0x1800ba412
mov r8, r13
lea rcx, [rbp - 0x60]
call sym.ntdll.dll_memset
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x7c]
mov dword [rbp - 0x60], 5
mov qword [rbp - 0x58], 0x38
mov qword [rbp - 0x50], r14
test sil, 2
je 0x1800ba3da
movzx eax, byte [rsp + 0x70]
mov ecx, 1
mov qword [rbp - 0x38], rax
mov eax, dword [rbp - 0x48]
test cl, sil
cmovne eax, ecx
mov ecx, 0x4000
mov dword [rbp - 0x48], eax
test cx, si
je 0x1800ba3fe
or eax, 4
jmp 0x1800ba40b
mov ecx, 0x8000
test cx, si
je 0x1800ba40e
or eax, 8
mov dword [rbp - 0x48], eax
lea rcx, [rbp - 0x60]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
call qword [section..00cfg]
test eax, eax
js 0x180060ca5
mov r14b, byte [rsp + 0x30]
mov al, byte [rsp + 0x31]
jmp 0x1800b9eba
xor eax, eax
jmp 0x180060ca5