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

Disassembly:
push 0xffffffffffffffff
push 0x5d3941
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebx, 0x5ecdf0
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x5ecde8
call fcn.004018e0
mov ebp, 1
mov dword [esp + 0x10], ebp
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0xc8], esi
call fcn.00401950
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0xc8], ebp
call fcn.00401a40
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x2c], 0x5ecdd4
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
lea ecx, [eax - 0xc]
mov dword [esp + eax + 0x28], ecx
mov eax, dword [0x677e28]
mov dword [esp + 0xc4], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0x5ecdf8
mov esi, dword [esp + 0xcc]
mov byte [esp + 0xc4], 3
mov dword [esi], 0
mov ax, word [edi + 0x10]
cmp ax, 5
jle 0x442bab
lea edx, [esp + 0x10]
push 0x1f3
push edx
call fcn.00405350
mov eax, dword [eax]
push 0
push 0
push 0
push eax
push str.HF_ERRVERSION
mov byte [esp + 0xe0], 4
call fcn.004942c0
add esp, 0x1c
lea ecx, [esp + 0x10]
mov byte [esp + 0xc4], 3
call fcn.0059d7fd
mov dword [esp + 0x1c], 0x5ecdf8
mov byte [esp + 0xc4], 5
jmp 0x442e21
cmp ax, bp
jle 0x442bef
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push 2
push ecx
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x442bda
cmp word [esp + 0x28], 0
jl 0x442bda
mov edx, dword [edi]
lea eax, [esp + 0x58]
push 4
push eax
mov ecx, edi
call dword [edx + 0x1c]
jmp 0x442bfe
mov dword [esp + 0x1c], 0x5ecdf8
mov byte [esp + 0xc4], 6
jmp 0x443596
mov eax, dword [edi + 0x14]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x58], eax
inc eax
mov dword [edi + 0x14], eax
mov edx, dword [edi]
lea eax, [esp + 0x1a]
push 2
push eax
mov ecx, edi
call dword [edx + 0x1c]
test eax, eax
je 0x443586
cmp word [esp + 0x1a], 0
jle 0x443586
push 0xe4
call fcn.0059dece
mov ebp, eax
add esp, 4
mov dword [esp + 0x54], ebp
test ebp, ebp
je 0x442df1
mov ecx, dword [esp + 0x28]
mov edx, dword [0x677e28]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x3c], edx
lea ecx, [ebp + 0x40]
mov byte [esp + 0xc4], 9
call fcn.004018c0
lea ecx, [ebp + 0x44]
mov byte [esp + 0xc4], 0xa
call fcn.004018c0
lea ecx, [ebp + 0x48]
mov byte [esp + 0xc4], 0xb
call fcn.004018c0
lea ecx, [ebp + 0x4c]
mov byte [esp + 0xc4], 0xc
call fcn.004018c0
lea ecx, [ebp + 0x50]
mov byte [esp + 0xc4], 0xd
call fcn.004018c0
lea ecx, [ebp + 0x54]
mov byte [esp + 0xc4], 0xe
call fcn.004018c0
lea ecx, [ebp + 0x78]
mov byte [esp + 0xc4], 0xf
call fcn.004018c0
lea ecx, [ebp + 0x7c]
mov byte [esp + 0xc4], 0x10
call fcn.004018c0
lea ecx, [ebp + 0x80]
mov byte [esp + 0xc4], 0x11
call fcn.004018c0
lea ecx, [ebp + 0x84]
mov byte [esp + 0xc4], 0x12
call fcn.004018c0
lea ecx, [ebp + 0x98]
mov byte [esp + 0xc4], 0x13
call fcn.004018c0
lea ecx, [ebp + 0x9c]
mov byte [esp + 0xc4], 0x14
call fcn.004018c0
lea ecx, [ebp + 0xa0]
mov byte [esp + 0xc4], 0x15
call fcn.004018c0
lea ecx, [ebp + 0xa4]
mov byte [esp + 0xc4], 0x16
call fcn.004018c0
lea ecx, [ebp + 0xa8]
mov byte [esp + 0xc4], 0x17
call fcn.004018c0
lea ecx, [ebp + 0xac]
mov byte [esp + 0xc4], 0x18
call fcn.004018c0
lea ecx, [ebp + 0xb4]
mov byte [esp + 0xc4], 0x19
call fcn.004018c0
lea ecx, [ebp + 0xb8]
mov byte [esp + 0xc4], 0x1a
call fcn.00445a90
lea ecx, [ebp + 0xc4]
call fcn.004018c0
mov byte [esp + 0xc4], 0x1b
lea ecx, [ebp + 0xd8]
call fcn.004018c0
mov cx, word [esp + 0x10]
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 0x70], eax
mov dword [ebp + 0xd4], eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0xdc], eax
mov word [ebp], cx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0xe0], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x94], eax
mov dword [ebp + 0xb0], eax
mov ebx, 0x5ecdf0
jmp 0x442df3
xor ebp, ebp
test ebp, ebp
mov byte [esp + 0xc4], 3
mov dword [esi], ebp
jne 0x442e56
push ebp
push ebp
push ebp
push 0x652d40
call fcn.004942a0
add esp, 0x10
mov dword [esp + 0x1c], 0x5ecdf8
mov byte [esp + 0xc4], 0x1c
lea ecx, [esp + 0x24]
call fcn.0059d7fd
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 2
call fcn.0059d7fd
lea ecx, [esp + 0x38]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004019c0
xor eax, eax
jmp 0x4435c6
movsx eax, word [esp + 0x1a]
mov edx, dword [edi]
push eax
push eax
lea ecx, [ebp + 0x3c]
mov dword [esp + 0x18], edx
call fcn.0059dc2d
mov edx, dword [esp + 0x14]
push eax
mov ecx, edi
call dword [edx + 0x1c]
movsx eax, word [esp + 0x1a]
mov ecx, dword [esi]
push eax
add ecx, 0x3c
call fcn.0059dc7c
mov ecx, dword [esi]
add ecx, 0x40
push ecx
mov ecx, edi
call fcn.00444810
mov edx, dword [esi]
lea ecx, [esp + 0x68]
mov ebp, dword [edx + 0x40]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x5ecde8
call fcn.004018e0
mov dword [esp + 0x10], 3
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 0x1d
call fcn.00401950
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0xc8], 0x1e
call fcn.00401a40
mov eax, dword [esp + 0x5c]
push ebp
mov byte [esp + 0xc8], 0x1f
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x60], 0x5ecdd4
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 4]
lea ecx, [eax - 0xc]
mov dword [esp + eax + 0x5c], ecx
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x60]
call fcn.0048f9c0
mov ebp, dword [edi + 0x2c]
lea ecx, [esp + 0x90]
mov byte [esp + 0xc4], 0x20
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0x5ecde8
call fcn.004018e0
mov dword [esp + 0x10], 7
push 0
lea ecx, [esp + 0x88]
mov byte [esp + 0xc8], 0x21
call fcn.00401950
push 0
lea ecx, [esp + 0x8c]
mov dword [esp + 0xc8], 0x22
call fcn.00401a40
mov ecx, dword [esp + 0x84]
mov byte [esp + 0xc4], 0x23
push ebp
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x88], 0x5ecdd4
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 4]
lea ecx, [eax - 0xc]
mov dword [esp + eax + 0x84], ecx
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x88]
call fcn.0048f9c0
mov ecx, dword [esp + 0x5c]
mov bl, 0x24
mov byte [esp + 0xc4], bl
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x5c]
call fcn.00490640
test eax, eax
je 0x443052
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x10]
push eax
mov edx, dword [ecx + 4]
lea ecx, [esp + edx + 0x88]
call fcn.0048fe90
mov eax, dword [eax]
mov byte [esp + 0xc4], 0x25
push eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x60]
call fcn.0048faa0
lea ecx, [esp + 0x10]
mov byte [esp + 0xc4], bl
call fcn.0059d7fd
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x10]
push edx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x60]
call fcn.0048fe30
lea ecx, [esp + 0x10]
call fcn.0059d7fd
mov edx, dword [esp + 0x5c]
mov ecx, dword [esi]
add ecx, 0x40
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x60]
push eax
call fcn.0059d986
lea ecx, [esp + 0x90]
mov byte [esp + 0xc4], 0x20
call fcn.004019c0
lea ecx, [esp + 0x68]
mov byte [esp + 0xc4], 3
call fcn.004019c0
mov ecx, dword [esi]
add ecx, 0x44
push ecx
mov ecx, edi
call fcn.00444810
mov ebx, 2
cmp word [edi + 0x10], bx
jl 0x44309c
mov edx, dword [esi]
mov ecx, edi
add edx, 0x48
push edx
call fcn.00444810
mov eax, dword [esi]
mov ecx, edi
add eax, 0x4c
push eax
call fcn.00444810
mov ecx, dword [esi]
add ecx, 0x50
push ecx
mov ecx, edi
call fcn.00444810
cmp word [edi + 0x10], bx
jl 0x4430cb
mov edx, dword [esi]
mov ecx, edi
add edx, 0x54
push edx
call fcn.00444810
jmp 0x4430da
mov ecx, dword [esi]
push str.Default_Profile
add ecx, 0x54
call fcn.0059d986
mov ecx, dword [esi]
mov eax, dword [edi]
add ecx, 0x58
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov eax, dword [esi]
mov edx, dword [edi]
add eax, 0x5c
push ebx
push eax
mov ecx, edi
call dword [edx + 0x1c]
mov eax, dword [esi]
mov edx, dword [edi]
add eax, 0x5e
push ebx
push eax
mov ecx, edi
call dword [edx + 0x1c]
cmp word [edi + 0x10], bx
jl 0x44311d
mov eax, dword [esi]
mov edx, dword [edi]
add eax, 0x60
push ebx
push eax
mov ecx, edi
call dword [edx + 0x1c]
xor ebp, ebp
jmp 0x443125
mov ecx, dword [esi]
xor ebp, ebp
mov word [ecx + 0x60], bp
mov eax, dword [esi]
mov edx, dword [edi]
add eax, 0x64
push 4
push eax
mov ecx, edi
call dword [edx + 0x1c]
cmp word [edi + 0x10], bx
jl 0x44314a
mov eax, dword [esi]
mov edx, dword [edi]
add eax, 0x68
push ebx
push eax
mov ecx, edi
call dword [edx + 0x1c]
jmp 0x443152
mov ecx, dword [esi]
mov word [ecx + 0x68], 0xffff
mov eax, dword [esi]
mov edx, dword [edi]
add eax, 0x6c
push 4
push eax
mov ecx, edi
call dword [edx + 0x1c]
mov edx, dword [edi]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, edi
call dword [edx + 0x1c]
cmp word [edi + 0x10], 3
jl 0x44322c
mov ecx, dword [esi]
add ecx, 0x78
push ecx
mov ecx, edi
call fcn.00444810
mov edx, dword [esi]
mov ecx, edi
add edx, 0x7c
push edx
call fcn.00444810
mov eax, dword [esi]
mov ecx, edi
add eax, 0x80
push eax
call fcn.00444810
mov ecx, dword [esi]
add ecx, 0x84
push ecx
mov ecx, edi
call fcn.00444810
mov edx, dword [edi]
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, edi
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
and ecx, 1
mov dword [edx + 0x88], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
and eax, ebx
mov dword [ecx + 0x8c], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
and edx, 4
mov dword [eax + 0x90], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
and ecx, 8
mov dword [edx + 0x94], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
and eax, 0x40
mov dword [ecx + 0xcc], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
and edx, 0x20
mov dword [eax + 0xc8], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
and ecx, 0x80
mov dword [edx + 0xd0], ecx
cmp word [edi + 0x10], 4
jl 0x4432a3
mov eax, dword [esi]
mov ecx, edi
add eax, 0x98
push eax
call fcn.00444810
mov ecx, dword [esi]
add ecx, 0x9c
push ecx
mov ecx, edi
call fcn.00444810
mov edx, dword [esi]
mov ecx, edi
add edx, 0xa0
push edx
call fcn.00444810
mov eax, dword [esi]
mov ecx, edi
add eax, 0xa4
push eax
call fcn.00444810
mov ecx, dword [esi]
add ecx, 0xa8
push ecx
mov ecx, edi
call fcn.00444810
mov edx, dword [esi]
mov ecx, edi
add edx, 0xac
push edx
call fcn.00444810
mov ecx, dword [esi]
mov eax, dword [edi]
add ecx, 0xb0
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
cmp word [edi + 0x10], 5
jl 0x4432dc
mov edx, dword [esi]
mov ecx, edi
add edx, 0xb4
push edx
call fcn.00444810
mov ecx, dword [esi]
mov eax, dword [edi]
add ecx, 0xb8
push 0xc
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [esi]
mov ecx, edi
add edx, 0xc4
push edx
call fcn.00444810
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
shr eax, 2
and eax, 1
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
shr edx, 3
and edx, 1
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
shr ecx, 8
and ecx, 1
mov dword [edx + 0x18], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
shr eax, 9
and eax, 1
mov dword [ecx + 0x1c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
shr edx, 0xa
and edx, 1
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
shr ecx, 4
and ecx, 1
mov dword [edx + 0x24], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
shr eax, 5
and eax, 1
mov dword [ecx + 0x28], eax
cmp word [edi + 0x10], bx
jl 0x44335c
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
shr edx, 0xc
and edx, 1
mov dword [eax + 0x2c], edx
jmp 0x443361
mov ecx, dword [esi]
mov dword [ecx + 0x2c], ebp
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
shr edx, 0xd
and edx, 1
mov dword [eax + 0x30], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
shr ecx, 0xe
and ecx, 1
mov dword [edx + 0x34], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
shr eax, 6
and eax, 1
mov dword [ecx + 0x38], eax
mov eax, dword [esi]
cmp dword [eax + 0x18], ebp
je 0x4433ab
mov eax, dword [eax + 0x40]
push eax
call fcn.00480c60
mov edx, dword [esi]
add esp, 4
mov dword [edx + 0xdc], eax
jmp 0x4433b1
mov dword [eax + 0xdc], ebp
mov eax, dword [esi]
cmp dword [eax + 0xdc], ebp
je 0x4433c7
mov dword [eax + 0xd4], 1
jmp 0x4433f3
cmp dword [eax + 0x18], ebp
je 0x4433e9
mov eax, dword [eax + 0x40]
lea ecx, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00491a70
test eax, eax
je 0x4433e9
mov eax, 1
jmp 0x4433eb
xor eax, eax
mov edx, dword [esi]
mov dword [edx + 0xd4], eax
mov eax, dword [esi]
cmp dword [eax + 0x1c], ebp
je 0x44345c
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x30]
call fcn.0048f9c0
mov edx, dword [esp + 0x2c]
push str.index.htm
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x30]
call fcn.0048fb10
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x30]
call fcn.0048fe30
lea ecx, [esp + 0x10]
call fcn.0059d7fd
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x30]
push eax
call fcn.00480c60
mov ecx, dword [esi]
add esp, 4
mov dword [ecx + 0x74], eax
jmp 0x44345f
mov dword [eax + 0x74], ebp
mov eax, dword [esi]
cmp dword [eax + 0x74], ebp
je 0x44346f
mov dword [eax + 0x70], 1
jmp 0x4434be
cmp dword [eax + 0x1c], ebp
je 0x4434b7
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x54]
push edx
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x30]
call fcn.0048fe30
lea ecx, [esp + 0x54]
call fcn.0059d7fd
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x20]
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x34]
push eax
call fcn.00491a70
test eax, eax
je 0x4434b7
mov eax, 1
jmp 0x4434b9
xor eax, eax
mov edx, dword [esi]
mov dword [edx + 0x70], eax
mov eax, dword [esi]
mov byte [esp + 0xac], 0
mov ecx, dword [eax + 0x6c]
push ecx
lea ecx, [esp + 0xb0]
call fcn.004a6360
lea ecx, [esp + 0xac]
call fcn.004a6430
mov ecx, dword [esi]
push eax
add ecx, 0xd8
call fcn.0059d986
mov dword [esp + 0x1c], 0x5ecdf8
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 0x26
call fcn.0059d7fd
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 2
call fcn.0059d7fd
lea edx, [esp + 0x38]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xc4], 0x2a
call fcn.0059d7fd
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 0x29
call fcn.0059d7fd
lea ecx, [esp + 0x44]
mov byte [esp + 0xc4], 0x28
call fcn.0059d7fd
lea ecx, [esp + 0x40]
mov byte [esp + 0xc4], 0x27
call fcn.0059d7fd
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.0059d7fd
mov eax, 1
jmp 0x4435c6
mov dword [esp + 0x1c], 0x5ecdf8
mov byte [esp + 0xc4], 7
lea ecx, [esp + 0x24]
call fcn.0059d7fd
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 2
call fcn.0059d7fd
lea ecx, [esp + 0x38]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004019c0
mov eax, ebp
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 4