Function at 0x1400b43a0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x1400b4650
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
xor edi, edi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov dword [rbx + 0x120], edi
mov r8, qword [rcx + 0xd8]
test r8, r8
je 0x1400b440c
xor edx, edx
xor eax, eax
div dword [rcx + 0xe0]
mov rcx, qword [r8 + rdx*8]
test rcx, rcx
je 0x1400b440c
cmp dword [rcx + 0x18], edi
jne 0x1400b4403
cmp dword [rcx], edi
je 0x1400b4497
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x1400b43f6
mov rax, rdi
lea r9, vtable..10.0
lea r8, vtable..10.0
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], edi
call fcn.14015e400
test rax, rax
je 0x1400b443e
mov rcx, rax
call fcn.140100840
mov dword [rbx + 0x120], eax
lea rcx, [rbx + 0x130]
call fcn.14014efc8
mov dword [rbx + 0x168], edi
mov ebp, edi
lea r13, [0x140214360]
nop
nop
cmp dword [0x14022e714], edi
jne 0x1400b447f
lea rcx, [0x14022e710]
mov dword [0x14022e710], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x14022e714], 6
jne 0x1400b44b9
cmp dword [0x14022e718], edi
jne 0x1400b44b9
mov eax, 0x18
jmp 0x1400b44be
mov rcx, qword [rcx + 8]
lea r9, vtable..10.0
lea r8, vtable..10.0
xor edx, edx
mov dword [rsp + 0x20], edi
call fcn.14015e400
jmp 0x1400b440f
mov eax, 0x1d
cmp ebp, eax
jge 0x1400b45f7
mov rax, qword [rbx + 0x20]
mov edx, dword [rbx + 0x120]
mov ecx, ebp
mov r8d, 1
mov rsi, rdi
shl r8d, cl
test rax, rax
je 0x1400b45e9
mov r9, qword [rax + 0x398]
test r9, r9
je 0x1400b45e9
mov rcx, rdi
mov rax, r9
nop
test edx, edx
je 0x1400b4534
cmp dword [rax], edx
jne 0x1400b4539
test rcx, rcx
js 0x1400b45e9
test dword [r9 + rcx*8 + 4], r8d
je 0x1400b45e9
mov ecx, edi
mov rax, r13
cmp dword [rax], r8d
je 0x1400b454f
add ecx, 1
add rax, 0x14
cmp ecx, 0x1d
jb 0x1400b4521
jmp 0x1400b455b
cmp dword [rax + 4], esi
jne 0x1400b4508
add rcx, 1
add rax, 8
cmp rcx, 7
jl 0x1400b4500
add ebp, 1
jmp 0x1400b4460
movsxd rax, ecx
lea rcx, [rax + rax*4]
lea rsi, [r13 + rcx*4]
or dword [rbx + 0x168], r8d
cmp qword [rbx + 0x148], rdi
mov rdx, qword [rbx + 0x138]
mov r8d, edi
jle 0x1400b459e
test rdx, rdx
mov rcx, rdx
je 0x1400b45f1
mov rcx, qword [rcx + 0x10]
movzx eax, word [rsi + 8]
mov rdx, qword [rdx]
cmp word [rcx + 8], ax
ja 0x1400b459e
add r8d, 1
movsxd rax, r8d
cmp rax, qword [rbx + 0x148]
jl 0x1400b4575
lea eax, [r8 - 1]
lea rcx, [rbx + 0x130]
movsxd rdx, eax
call fcn.1401555d4
lea rcx, [rbx + 0x130]
mov r8, rsi
mov rdx, rax
call fcn.14014f2c4
cmp dword [rsi + 4], 0xac44
jne 0x1400b45d6
mov dword [rbx + 0x124], 1
cmp dword [rsi + 4], 0xbb80
jne 0x1400b45e9
mov dword [rbx + 0x128], 1
add ebp, 1
jmp 0x1400b4460
call fcn.14013d908
int3
mov eax, dword [rbx + 0x68]
test eax, eax
je 0x1400b4637
test eax, eax
je 0x1400b4637
cmp edi, dword [rbx + 0x68]
jae 0x1400b462f
mov rdx, qword [rbx + 0x60]
test rdx, rdx
je 0x1400b462f
mov eax, edi
lea rcx, [rax + rax*8]
lea rdx, [rdx + rcx*8]
test rdx, rdx
je 0x1400b462f
lea rcx, [rbx + 0x130]
add rdx, 0x30
call fcn.14014f220
add edi, 1
cmp edi, dword [rbx + 0x68]
jb 0x1400b4602
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r13, qword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret