Function at 0x14001197c
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003e0a8]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x34]
call fcn.14001dbc0
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [0x1400320c0]
xor r15d, r15d
mov dword [rdi + 8], r15d
mov word [rdi + 0xc], r15w
mov byte [rdi + 0x19], 1
mov dword [rdi + 0x1c], r15d
mov byte [rdi + 0x20], r15b
mov rsi, qword [rdi + 0x30]
mov rbx, qword [rdi + 0x28]
cmp rbx, rsi
je 0x140011a2f
mov r12, rsi
cmp rsi, rsi
je 0x140011a2b
mov r13d, 0x41c
mov rcx, rbx
mov rdx, r12
mov r8, r13
call fcn.14001d320
add rbx, r13
add r12, r13
cmp r12, rsi
jne 0x140011a12
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x48], 0xf
mov byte [rdi + 0x54], r15b
mov byte [rdi + 0x56], 1
lea rcx, [rdi + 0x58]
call fcn.14001b720
or dword [rdi + 0x78], 0xffffffff
or dword [rdi + 0x7c], 0xffffffff
mov word [rdi + 0x80], r15w
mov byte [rdi + 0x288], r15b
mov eax, dword [rsp + 0x34]
cmp eax, 6
jb 0x140011a75
jne 0x140011a70
cmp dword [rsp + 0x38], r15d
je 0x140011a75
mov ecx, r15d
jmp 0x140011a7a
mov ecx, 1
mov byte [rdi + 0x289], cl
mov word [rdi + 0x28a], 0x101
cmp eax, 6
jb 0x140011a9c
jne 0x140011a97
cmp dword [rsp + 0x38], 2
jb 0x140011a9c
mov ecx, r15d
jmp 0x140011aa1
mov ecx, 1
mov byte [rdi + 0x28c], cl
mov dword [rdi + 0x290], r15d
mov rbx, qword [rdi + 0x2a0]
mov rsi, qword [rdi + 0x298]
cmp rsi, rbx
je 0x140011b46
mov r12, rbx
cmp rbx, rbx
je 0x140011b01
mov r13, rbx
sub r13, rsi
mov r14, rsi
sub r14, rbx
mov rdx, r12
mov rcx, rsi
call fcn.14001c77c
lea r11, [r14 + r12 + 0x38]
mov al, byte [r11 + r13]
mov byte [r11], al
add rsi, 0x40
add r12, 0x40
cmp r12, rbx
jne 0x140011ad9
mov eax, dword [rsp + 0x34]
mov r12, qword [rdi + 0x2a0]
mov rbx, rsi
mov qword [rsp + 0x20], rbx
cmp rsi, r12
je 0x140011b3f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140011b22
call fcn.14001d2e0
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
add rbx, 0x40
mov qword [rsp + 0x20], rbx
cmp rbx, r12
jne 0x140011b15
mov eax, dword [rsp + 0x34]
mov qword [rdi + 0x2a0], rsi
mov rbx, qword [rdi + 0x2c0]
mov rsi, qword [rdi + 0x2b8]
cmp rsi, rbx
je 0x140011bc2
mov r12, rbx
cmp rbx, rbx
je 0x140011b7d
mov rdx, r12
mov rcx, rsi
call fcn.14001c77c
add rsi, 0x38
add r12, 0x38
cmp r12, rbx
jne 0x140011b61
mov eax, dword [rsp + 0x34]
mov r12, qword [rdi + 0x2c0]
mov rbx, rsi
mov qword [rsp + 0x20], rbx
cmp rsi, r12
je 0x140011bbb
mov rcx, qword [rbx]
test rcx, rcx
je 0x140011b9e
call fcn.14001d2e0
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
add rbx, 0x38
mov qword [rsp + 0x20], rbx
cmp rbx, r12
jne 0x140011b91
mov eax, dword [rsp + 0x34]
mov qword [rdi + 0x2c0], rsi
cmp eax, 5
ja 0x140011be3
jne 0x140011bd0
cmp dword [rsp + 0x38], 1
jae 0x140011be3
mov dword [rdi + 0x2d8], r15d
mov dword [rdi + 0x2dc], 0x7d0
jmp 0x140011bf7
mov dword [rdi + 0x2d8], 2
mov dword [rdi + 0x2dc], 0x1f4
mov dword [rdi + 0x2e0], r15d
mov byte [rdi + 0x55], r15b
mov byte [rdi + 0x2e4], r15b
mov dword [rdi + 0x2e8], r15d
mov rax, qword [rdi + 0x2f8]
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x21], r15b
jne 0x140011c48
mov rdx, qword [rbx + 0x10]
lea rcx, [rdi + 0x2f0]
call fcn.14000c368
mov rbx, qword [rbx]
mov rcx, rsi
call fcn.14001d2e0
mov rsi, rbx
cmp byte [rbx + 0x21], r15b
je 0x140011c24
mov rax, qword [rdi + 0x2f8]
mov qword [rax + 8], rax
mov rax, qword [rdi + 0x2f8]
mov qword [rax], rax
mov rax, qword [rdi + 0x2f8]
mov qword [rax + 0x10], rax
mov qword [rdi + 0x300], r15
mov word [rdi + 0x518], r15w
mov word [rdi + 0x720], r15w
mov word [rdi + 0x928], r15w
mov word [rdi + 0xb30], r15w
mov word [rdi + 0xd38], r15w
mov byte [rdi + 0xf40], 1
mov dword [rdi + 0xf44], 5
mov r12, qword [rdi + 0xf50]
mov rsi, qword [rdi + 0xf48]
cmp rsi, r12
je 0x140011ce9
mov rbx, r12
cmp r12, r12
je 0x140011ce2
mov r13d, 0x20c
mov rcx, rsi
mov rdx, rbx
mov r8, r13
call fcn.14001d320
add rsi, r13
add rbx, r13
cmp rbx, r12
jne 0x140011cc9
mov qword [rdi + 0xf50], rsi
mov dword [rdi + 0xf68], r15d
mov word [rdi + 0xf6c], r15w
mov byte [rdi + 0xf6e], r15b
mov word [rdi + 0xf70], r15w
mov word [rdi + 0x1178], r15w
mov dword [rdi + 0x1380], 0x1010101
or dword [rdi + 0x1384], 0xffffffff
mov word [rdi + 0x1388], 0x100
mov byte [rdi + 0x138a], 1
mov dword [rdi + 0x138c], r15d
mov dword [rdi + 0x1390], 0x3f
mov dword [rdi + 0x1394], 3
mov word [rdi + 0x1398], r15w
mov dword [rdi + 0x15a0], r15d
mov byte [rdi + 0x1bc8], r15b
mov dword [rdi + 0x15d4], 0x40a00000
mov byte [rdi + 0x15d1], 1
mov dword [rdi + 0x15cc], 0x64
lea rcx, [rdi + 0x1b20]
lea rdx, [rdi + 0x15c8]
mov esi, 0x14
mov r8d, esi
call fcn.14001d320
lea rcx, [rdi + 0x1b60]
lea rdx, [rdi + 0x15c8]
mov r8d, esi
call fcn.14001d320
lea rcx, [rdi + 0x1b90]
lea rdx, [rdi + 0x15c8]
mov r8d, esi
call fcn.14001d320
mov byte [rdi + 0x1b99], r15b
mov dword [rdi + 0x1bac], 0x3f800000
mov rax, qword [rdi + 0x1bd8]
mov r12, qword [rax + 8]
mov rbx, r12
cmp byte [r12 + 0x21], r15b
jne 0x140011e0d
mov rdx, qword [rbx + 0x10]
lea rcx, [rdi + 0x1bd0]
call fcn.14000c368
mov rbx, qword [rbx]
mov rcx, r12
call fcn.14001d2e0
mov r12, rbx
cmp byte [rbx + 0x21], r15b
je 0x140011de9
mov rax, qword [rdi + 0x1bd8]
mov qword [rax + 8], rax
mov rax, qword [rdi + 0x1bd8]
mov qword [rax], rax
mov rax, qword [rdi + 0x1bd8]
mov qword [rax + 0x10], rax
mov qword [rdi + 0x1be0], r15
mov byte [rdi + 0x18], r15b
mov byte [rdi + 0x4c], r15b
mov dword [rdi + 0x50], r15d
mov word [rdi + 0x310], r15w
mov word [rdi + 0x1bf0], r15w
mov word [rdi + 0x1cb8], r15w
mov word [rdi + 0x1ec0], r15w
mov word [rdi + 0x20c8], r15w
lea rax, [rdi + 0x22d0]
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 8
jb 0x140011e7d
mov rax, qword [rax]
mov word [rax], r15w
mov dword [rdi + 0x22f8], r15d
mov word [rdi + 0x22fc], r15w
mov qword [rdi + 0x2504], r15
or dword [rdi + 0x250c], 0xffffffff
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14001d120
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret