Function at 0x1005bfd0
Capabilities:
Check os version
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1015b806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [esp + 0xe0]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.10096870
mov dl, byte [0x1018c73c]
mov al, byte [esp + 0x1a]
xor edi, edi
mov byte [esp + 0x5d], dl
mov dword [esp + 0xf0], edi
mov byte [esp + 0x48], al
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
push 0x25
mov byte [esp + 0xf4], 1
mov byte [esp + 0x85], 0xeb
call fcn.1005a430
mov cl, byte [esp + 0x1e]
sub al, 0x15
add esp, 0xc
mov byte [0x1018c73c], al
mov byte [esp + 0x5c], cl
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov eax, 0x46
mov ecx, 0x69
mov word [esp + 0x24], ax
mov word [esp + 0x28], ax
mov word [esp + 0x2c], ax
mov word [esp + 0x34], ax
mov al, byte [0x101978dc]
mov byte [esp + 0xe8], 2
test al, 1
mov word [esp + 0x26], 0x59
mov word [esp + 0x2a], 0x43
mov word [esp + 0x2e], cx
mov word [esp + 0x30], 0x42
mov word [esp + 0x32], 0x4f
mov word [esp + 0x36], 0x53
mov word [esp + 0x38], 0x45
mov word [esp + 0x3a], cx
mov word [esp + 0x3c], 0x52
mov word [esp + 0x3e], 0x54
jne 0x1005c0f6
lea edx, [esp + 0x24]
or al, 1
push 0x36
push edx
mov ecx, 0x101978e0
mov byte [0x101978dc], al
call fcn.10018600
push 0x1005efd0
call fcn.1013c36b
add esp, 4
mov al, byte [esp + 0x12]
mov esi, dword [0x101978e0]
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.1000bc70
push esi
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x14]
push eax
push esi
call fcn.1000bf40
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [0x10191a54]
push edx
mov byte [esp + 0xf0], 3
call fcn.10058e60
mov ecx, eax
call fcn.10068300
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 2
call fcn.1000bc70
mov al, byte [0x1018c73d]
mov bl, byte [0x1018c73e]
mov cl, al
dec bl
dec al
mov dl, 0x86
mov byte [0x1018c73d], al
mov al, byte [0x1018c73c]
push eax
mov al, byte [esp + 0x59]
imul dl
push eax
mov eax, 0x1ac
cdq
idiv dword [0x1018c718]
mov eax, dword [0x1018c714]
mov byte [0x1018c73e], bl
push ecx
mov cl, byte [edx + eax]
push ecx
push ebx
call fcn.1005aa90
mov esi, dword [0x1018c718]
mov cl, al
mov eax, 0x196
add esp, 0x14
cdq
idiv esi
mov eax, 0x18e
mov edi, edx
cdq
idiv esi
mov eax, dword [0x1018c714]
mov bl, byte [edi + eax]
sub bl, byte [edx + eax]
mov eax, dword [esp + 0x60]
mov ebp, eax
sub bl, cl
mov ecx, dword [esp + 0x64]
add bl, 0x64
cmp eax, ecx
mov byte [0x1018c73d], bl
mov dword [esp + 0x50], ebp
je 0x1005c62b
mov dl, byte [esp + 0x12]
xor ebx, ebx
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 3
mov byte [esp + 0xec], 4
call fcn.1005a430
mov al, byte [0x101978a4]
add esp, 4
test al, 1
mov word [esp + 0x58], 0x4c
jne 0x1005c244
or al, 1
mov ecx, 0x101978a8
mov byte [0x101978a4], al
lea eax, [esp + 0x58]
push eax
call fcn.100153e0
push 0x1005cb30
call fcn.1013c36b
add esp, 4
mov cl, byte [esp + 0x12]
mov esi, dword [0x101978a8]
mov byte [esp + 0x24], cl
push ebx
lea ecx, [esp + 0x28]
call fcn.1000bc70
push esi
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x24]
push eax
push esi
call fcn.1000bf40
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push eax
push ebp
mov byte [esp + 0xf4], 5
call fcn.10021e70
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0xe8], 4
push 1
call fcn.1000bc70
mov cl, byte [esp + 0x79]
mov eax, 0x296
dec cl
mov esi, dword [0x1018c714]
mov byte [esp + 0x79], cl
mov ecx, dword [0x1018c718]
cdq
idiv ecx
push 0x5e
mov eax, 0x40
mov dl, byte [edx + esi]
push edx
push 0x15
cdq
idiv ecx
push 0xffffffffffffffe1
push 6
mov al, byte [edx + esi]
push eax
call fcn.1006bec0
mov cl, byte [0x1018c73e]
add esp, 0x14
push eax
push 0xffffffffffffffc7
push 0xffffffffffffffe2
push ecx
call fcn.1005aa90
add esp, 0x14
call fcn.10059d90
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp eax, ebx
je 0x1005c30d
mov edx, edi
sub edx, eax
sar edx, 4
cmp edx, 5
jae 0x1005c334
cmp eax, edi
mov byte [esp + 0xe8], 2
mov esi, eax
je 0x1005c32e
push ebx
mov ecx, esi
call fcn.100461a0
add esi, 0x10
cmp esi, edi
jne 0x1005c31b
mov eax, dword [esp + 0x18]
push eax
jmp 0x1005c421
mov ecx, dword [esp + 0x84]
add eax, 0x10
cmp ecx, ebx
jne 0x1005c347
mov ecx, 0x1016a1d8
mov edx, dword [esp + 0x88]
push edx
push ecx
mov ecx, dword [eax + 8]
push ecx
push ebx
mov ecx, eax
call fcn.1000d2b0
cmp eax, ebx
je 0x1005c3a1
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0xe8], 2
je 0x1005c387
push ebx
mov ecx, esi
call fcn.100461a0
add esi, 0x10
cmp esi, edi
jne 0x1005c374
mov esi, dword [esp + 0x18]
push esi
call fcn.101307a0
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x1005c612
mov ecx, dword [esp + 0xf4]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x1005c43a
mov esi, dword [ecx + 8]
mov edx, esi
sub edx, eax
test edx, 0xfffffff0
je 0x1005c43a
mov ecx, dword [esp + 0x18]
push ebx
push ecx
push esi
push eax
mov edi, ecx
call fcn.1000d360
add esp, 0x10
cmp eax, esi
je 0x1005c3f9
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x1005c3e7
mov eax, 0x1016a1d8
push ecx
push eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebx
call fcn.1000d2b0
cmp eax, ebx
jge 0x1005c43a
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0xe8], 2
je 0x1005c420
push ebx
mov ecx, esi
call fcn.100461a0
add esi, 0x10
cmp esi, edi
jne 0x1005c40d
mov esi, dword [esp + 0x18]
push esi
call fcn.101307a0
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x1005c612
mov eax, dword [esp + 0x18]
push ebx
mov edi, eax
mov ebp, eax
mov cl, byte [eax + 0x20]
lea esi, [eax + 0x20]
mov byte [esp + 0x94], cl
lea ecx, [esp + 0x94]
call fcn.1000bc70
mov edx, dword [0x1016a210]
lea ecx, [esp + 0x90]
push edx
push ebx
push esi
call fcn.1000ba60
add ebp, 0x30
lea ecx, [esp + 0xa0]
push ebp
mov byte [esp + 0xec], 6
call fcn.10023d70
add edi, 0x40
lea ecx, [esp + 0xb0]
push edi
mov byte [esp + 0xec], 7
call fcn.10023d70
lea eax, [esp + 0x12]
lea ecx, [esp + 0xc0]
push eax
mov byte [esp + 0xec], 8
call fcn.10043a70
lea ecx, [esp + 0x13]
mov byte [esp + 0xe8], 9
push ecx
lea ecx, [esp + 0xd4]
call fcn.10043a70
mov eax, dword [esp + 0x18]
mov byte [esp + 0xe8], 0xb
cmp eax, ebx
je 0x1005c54a
mov ecx, dword [esp + 0x1c]
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 6
jb 0x1005c524
mov ecx, dword [0x1016a210]
add eax, 0x50
push ecx
push ebx
push eax
lea ecx, [esp + 0xcc]
call fcn.1000ba60
mov al, byte [0x1018c73f]
mov ecx, dword [esp + 0x1c]
mov byte [0x1018c73d], al
dec al
mov byte [0x1018c73f], al
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1005c54a
sub ecx, eax
sar ecx, 4
cmp ecx, 7
jb 0x1005c54a
mov edx, dword [0x1016a210]
add eax, 0x60
push edx
push ebx
push eax
lea ecx, [esp + 0xdc]
call fcn.1000ba60
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x90]
push eax
push 1
push ecx
lea ecx, [esp + 0x4c]
call fcn.1005f0d0
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0xec], 0xf
call fcn.1000bc70
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0xec], 0xe
call fcn.1000bc70
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0xec], 0xd
call fcn.1000bc70
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0xec], 0xc
call fcn.1000bc70
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xec], 4
call fcn.1000bc70
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0xe8], 2
mov edi, eax
je 0x1005c5f9
push ebx
mov ecx, esi
call fcn.100461a0
add esi, 0x10
cmp esi, edi
jne 0x1005c5e6
mov esi, dword [esp + 0x18]
push esi
call fcn.101307a0
mov ebp, dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x64]
add ebp, 0x10
cmp ebp, ecx
mov dword [esp + 0x50], ebp
jne 0x1005c1e9
mov eax, dword [esp + 0x60]
jmp 0x1005c62d
xor ebx, ebx
cmp eax, ecx
mov byte [esp + 0xe8], 1
mov edi, ecx
mov esi, eax
je 0x1005c650
push ebx
mov ecx, esi
call fcn.100461a0
add esi, 0x10
cmp esi, edi
jne 0x1005c63d
mov eax, dword [esp + 0x60]
push eax
call fcn.101307a0
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
add esp, 4
cmp esi, ebx
je 0x1005c67c
mov ecx, edi
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x1005c6d0
cmp esi, edi
mov byte [esp + 0xe8], 0
je 0x1005c69b
push ebx
mov ecx, esi
call fcn.1005f810
add esi, 0x50
cmp esi, edi
jne 0x1005c688
mov esi, dword [esp + 0x44]
push esi
call fcn.101307a0
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
push 1
lea ecx, [esp + 0x84]
mov dword [esp + 0xec], 0xffffffff
call fcn.1000bc70
xor al, al
jmp 0x1005cb13
dec edx
push edx
call fcn.1002f960
mov ecx, dword [esp + 0x48]
add esp, 4
cmp ecx, ebx
mov esi, eax
je 0x1005c6ff
mov edx, dword [esp + 0x48]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, esi
ja 0x1005c737
lea ecx, [esp + 0x13]
push ecx
push str.invalid_vector_T__subscript
lea ecx, [esp + 0x2c]
call fcn.1005ee60
lea edx, [esp + 0x24]
lea ecx, [esp + 0x5c]
push edx
mov byte [esp + 0xec], 0x11
call fcn.1005dbe0
lea eax, [esp + 0x5c]
push 0x10179190
push eax
call fcn.1013d364
mov edi, dword [esp + 0xf8]
lea esi, [esi + esi*4]
shl esi, 4
add esi, ecx
mov ecx, dword [0x1016a210]
push ecx
push ebx
push esi
mov ecx, edi
call fcn.1000ba60
mov edx, dword [0x1016a210]
lea ebp, [edi + 0x10]
push edx
lea eax, [esi + 0x10]
push ebx
push eax
mov ecx, ebp
call fcn.1000ba60
mov ecx, dword [0x1016a210]
lea ebx, [edi + 0x20]
push ecx
lea edx, [esi + 0x20]
push 0
push edx
mov ecx, ebx
call fcn.1000ba60
mov eax, dword [0x1016a210]
lea edx, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
push 0
push edx
mov dword [esp + 0x5c], ecx
call fcn.1000ba60
mov eax, dword [0x1016a210]
add esi, 0x40
push eax
lea ecx, [edi + 0x40]
push 0
push esi
mov dword [esp + 0x64], ecx
call fcn.1000ba60
mov cl, byte [esp + 0x13]
xor esi, esi
mov byte [esp + 0x24], cl
push esi
lea ecx, [esp + 0x28]
call fcn.1000bc70
push str.__t_r_n
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x24]
push eax
push str.__t_r_n
call fcn.1000bf40
lea edx, [esp + 0x14]
push edi
push edx
mov byte [esp + 0xf0], 0x12
call fcn.100ea010
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0xfc], 0x13
call fcn.10022dc0
add esp, 0x14
mov ecx, dword [0x1016a210]
mov byte [esp + 0xe8], 0x14
push ecx
push esi
push eax
mov ecx, edi
call fcn.1000ba60
mov byte [esp + 0xe8], 0x13
push 1
lea ecx, [esp + 0x60]
call fcn.1000bc70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x12
call fcn.1000bc70
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 1
call fcn.1000bc70
mov eax, 0x2dd
mov cl, 0xcf
cdq
idiv dword [0x1018c718]
mov eax, dword [0x1018c714]
push esi
mov al, byte [edx + eax]
mov dl, byte [esp + 0x17]
imul cl
lea ecx, [esp + 0x28]
mov byte [0x1018c73d], al
mov byte [esp + 0x28], dl
call fcn.1000bc70
push str.__t_r_n
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x24]
push eax
push str.__t_r_n
call fcn.1000bf40
lea eax, [esp + 0x14]
push ebp
push eax
mov byte [esp + 0xf0], 0x15
call fcn.100ea010
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0xfc], 0x16
call fcn.10022dc0
add esp, 0x14
mov ecx, dword [0x1016a210]
mov byte [esp + 0xe8], 0x17
push ecx
push esi
push eax
mov ecx, ebp
call fcn.1000ba60
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xec], 0x16
call fcn.1000bc70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x15
call fcn.1000bc70
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 1
call fcn.1000bc70
mov al, byte [0x1018c73f]
lea edx, [esp + 0x13]
mov byte [0x1018c73d], al
inc al
push edx
push str.__t_r_n
lea ecx, [esp + 0x2c]
mov byte [0x1018c73f], al
call fcn.10015150
lea eax, [esp + 0x14]
push ebx
push eax
mov byte [esp + 0xf0], 0x18
call fcn.100ea010
mov byte [esp + 0xf0], 0x19
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
call fcn.10022dc0
add esp, 0x14
mov ecx, dword [0x1016a210]
mov byte [esp + 0xe8], 0x1a
push ecx
push esi
push eax
mov ecx, ebx
call fcn.1000ba60
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xec], 0x19
call fcn.1000bc70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x18
call fcn.1000bc70
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 1
call fcn.1000bc70
mov eax, 0x2dd
mov cl, 0xcf
cdq
idiv dword [0x1018c718]
mov eax, dword [0x1018c714]
mov al, byte [edx + eax]
lea edx, [esp + 0x13]
imul cl
mov byte [0x1018c73d], al
mov al, byte [0x1018c73f]
mov byte [0x1018c73c], al
dec al
push edx
push str.__t_r_n
lea ecx, [esp + 0x2c]
mov byte [0x1018c73f], al
call fcn.10015150
mov edi, dword [esp + 0x50]
lea eax, [esp + 0x14]
push edi
push eax
mov byte [esp + 0xf0], 0x1b
call fcn.100ea010
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x64]
push ecx
mov bl, 0x1c
push eax
push edx
mov byte [esp + 0xfc], bl
call fcn.10022dc0
add esp, 0x14
mov ecx, dword [0x1016a210]
mov byte [esp + 0xe8], 0x1d
push ecx
push esi
push eax
mov ecx, edi
call fcn.1000ba60
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xec], bl
call fcn.1000bc70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x1b
call fcn.1000bc70
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 1
call fcn.1000bc70
mov eax, 0x2dd
mov cl, 0xcf
cdq
idiv dword [0x1018c718]
mov eax, dword [0x1018c714]
mov al, byte [edx + eax]
mov edx, dword [esp + 0x58]
imul cl
push edx
mov byte [0x1018c73d], al
call fcn.1005cb40
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
add esp, 4
mov byte [0x1018c73e], 0xd2
mov byte [esp + 0xe8], 0
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.1005f0a0
mov edx, dword [esp + 0x44]
push edx
call fcn.101307a0
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
push 1
lea ecx, [esp + 0x84]
mov dword [esp + 0xec], 0xffffffff
call fcn.1000bc70
mov al, 1
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret