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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53958d
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x320]
cmp eax, 5
ja case.default.0x4ab59d
jmp dword [eax*4 + 0x4ac164]
mov ecx, esi
call fcn.004040e0
lea ebp, [esi + 8]
lea eax, [esi + 0x350]
mov ecx, ebp
push 1
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov ebx, dword [esi + 0x354]
movsx edx, word [esi + 0x21e]
shl edx, 0xc
add ebx, edx
xor eax, eax
mov al, byte [esi + 0x298]
mov dword [esi + 0x354], ebx
or byte [esi + 5], 2
mov ebx, 0x1000
push eax
mov ecx, esi
mov word [esi + 0x2c], bx
mov word [esi + 0x2a], bx
mov word [esi + 0x28], bx
call fcn.00460d00
mov eax, dword [esi + 0x338]
test eax, eax
jne 0x4ab70f
push 0x334
call fcn.00455390
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov dword [esp + 0x38], 0
je 0x4ab6bf
mov ecx, edi
call fcn.00402c00
push 0x56e990
mov ecx, edi
mov byte [esp + 0x3c], 1
mov dword [edi], 0x53c100
call fcn.00460260
and word [edi + 0x46], 0xffef
mov edx, dword [ebp]
lea eax, [edi + 8]
push 0
mov ecx, eax
push 0x96
push 0
push eax
mov dword [ecx], edx
mov edx, dword [ebp + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
call fcn.004e6840
add esp, 0x10
cmp eax, 0xffffffff
je 0x4ab68a
mov dword [edi + 0xc], eax
lea eax, [esi + 0x14]
lea ecx, [edi + 0x14]
push str.sym_base
mov edx, dword [eax]
mov dword [ecx], edx
mov ax, word [eax + 4]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.00460020
push esi
call fcn.00458360
mov dword [edi + 0x32c], eax
add esp, 4
mov dword [edi + 0x330], edx
jmp 0x4ab6c1
xor edi, edi
push 0x28
mov dword [esp + 0x3c], 0xffffffff
mov dword [esi + 0x338], edi
call fcn.00455390
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x38], 2
je 0x4ab6f3
push 0x11
push esi
mov ecx, eax
call fcn.00401e60
mov ecx, dword [esi + 0x338]
mov dword [ecx + 0x324], 1
mov edx, dword [esi + 0x338]
mov dword [edx + 0x328], ebx
mov eax, dword [esi + 0x320]
pop edi
inc eax
mov dword [esi + 0x320], eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
add word [esi + 0x28], 0xff06
mov ax, word [esi + 0x28]
mov word [esi + 0x2c], ax
mov word [esi + 0x2a], ax
movsx ecx, ax
movsx eax, word [esi + 0x21e]
imul eax, ecx
mov edx, dword [esi + 0x354]
sub edx, eax
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x338]
test edx, edx
je 0x4ab78c
mov ebx, 0x1000
mov eax, ebx
sub eax, ecx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [eax + ecx*4]
lea ecx, [eax + ecx*2]
lea eax, [eax + ecx*2]
shl eax, 4
sar eax, 0xc
add eax, ebx
mov dword [edx + 0x328], eax
cmp word [esi + 0x28], 0xfa
jg 0x4ac150
mov edx, dword [esi + 0x3a0]
mov eax, dword [esi + 0x338]
or edx, 0x10
test eax, eax
mov dword [esi + 0x3a0], edx
je 0x4ab7bb
mov dword [eax + 0x328], 0x1770
push 0x4c
call fcn.004088a0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x38], 3
je 0x4ab7e0
push 9
mov ecx, eax
call fcn.0040a460
jmp 0x4ab7e2
xor eax, eax
mov dword [esi + 0x340], eax
mov byte [eax + 0x3a], 1
mov ecx, dword [0x56eac4]
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [ecx + 0x14]
mov ecx, dword [esi + 0x340]
push edx
call fcn.0040a6d0
mov ecx, dword [esi + 0x340]
call fcn.0040a6b0
mov ecx, dword [esi + 0x340]
push 0x98
push 0x11
push 0x6a
call fcn.0040a920
mov ecx, dword [esi + 0x340]
push 0x1e
call fcn.0040a970
lea edx, [esi + 8]
xor eax, eax
mov ecx, dword [esi + 0x340]
mov edi, edx
mov ecx, dword [ecx + 0x44]
mov ebx, dword [edi]
add ecx, eax
add eax, 0x1c
cmp eax, 0x118
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov edi, dword [edi + 8]
mov dword [ecx + 8], edi
jl 0x4ab83a
lea edi, [esi + 0x41c]
mov ecx, 9
xor eax, eax
mov dword [esi + 0x418], 0x384
mov dword [esi + 0x230], 0
push 0
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x354]
mov ebp, dword [esi + 0x384]
mov edi, dword [esi + 0x320]
sub eax, ebp
sar eax, 0xc
inc edi
push edx
push 2
mov dword [esi + 0x410], eax
mov dword [esi + 0x320], edi
call fcn.004e5da0
add esp, 4
neg eax
sbb eax, eax
add eax, 0x16b
or ah, 0x80
push eax
call fcn.00471ea0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edi, dword [esi + 0x340]
xor ebx, ebx
cmp edi, ebx
push str.What_whered_slinkribbon_go_
setne cl
push ecx
mov dword [esp + 0x1c], ebx
call fcn.004015b0
mov eax, dword [esi + 0x3a0]
add esp, 8
or al, 0x10
lea ebp, [esi + 0x418]
mov dword [esi + 0x3a0], eax
mov dword [esp + 0x10], 8
mov ecx, dword [ebp]
mov edi, dword [ebp + 4]
cmp ecx, edi
jle 0x4ab98d
cmp ecx, 0x64
jl 0x4ab966
sub ecx, 0x64
mov edx, dword [esi + 0x410]
lea eax, [ecx + ecx*4]
lea ebx, [edx + 3]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*2]
lea eax, [eax + eax*4]
sar eax, 0xc
imul eax, edx
lea eax, [eax + eax*4]
shl eax, 3
sar eax, 0xc
imul eax, ecx
cdq
idiv ebx
cmp eax, 0x14
jge 0x4ab95e
mov eax, 0x14
cmp eax, ecx
jle 0x4ab972
mov eax, ecx
jmp 0x4ab972
lea ecx, [ecx + ecx*4]
lea eax, [ecx + ecx*4]
shl eax, 4
sar eax, 0xc
add edi, eax
xor ebx, ebx
mov dword [ebp + 4], edi
mov edx, dword [ebp]
sub edx, eax
cmp eax, ebx
mov dword [ebp], edx
je 0x4ab98d
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4ab918
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x230]
add edx, ecx
mov eax, edx
mov dword [esi + 0x230], edx
cmp eax, 0x14
jl 0x4abb2b
mov eax, dword [esi + 0x33c]
mov dword [esi + 0x230], 0x14
cmp eax, ebx
jne 0x4abadf
push 0x334
call fcn.00455390
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
cmp ebp, ebx
mov dword [esp + 0x38], 4
je 0x4aba86
mov ecx, ebp
call fcn.00402c00
push 0x56e990
mov ecx, ebp
mov byte [esp + 0x3c], 5
mov dword [ebp], 0x53c100
call fcn.00460260
and word [ebp + 0x46], 0xffef
lea eax, [ebp + 8]
lea edx, [esi + 0x380]
mov ecx, eax
push ebx
push 0x96
mov edi, dword [edx]
push ebx
mov dword [ecx], edi
push eax
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
call fcn.004e6840
add esp, 0x10
cmp eax, 0xffffffff
je 0x4aba51
mov dword [ebp + 0xc], eax
lea eax, [esi + 0x14]
lea ecx, [ebp + 0x14]
push str.sym_base
mov edx, dword [eax]
mov dword [ecx], edx
mov ax, word [eax + 4]
mov word [ecx + 4], ax
mov ecx, ebp
call fcn.00460020
push esi
call fcn.00458360
mov dword [ebp + 0x32c], eax
add esp, 4
mov dword [ebp + 0x330], edx
jmp 0x4aba88
xor ebp, ebp
mov dword [esi + 0x33c], ebp
mov word [ebp + 0x14], 0xf800
mov ecx, dword [esi + 0x33c]
mov eax, 0x64
mov dword [esp + 0x38], 0xffffffff
mov word [ecx + 0x2c], ax
mov edx, dword [esi + 0x33c]
mov word [edx + 0x2a], ax
mov ecx, dword [esi + 0x33c]
mov word [ecx + 0x28], ax
mov edx, dword [esi + 0x33c]
mov dword [edx + 0x324], 1
mov eax, dword [esi + 0x33c]
mov dword [eax + 0x328], 0x400
cmp dword [esp + 0x14], ebx
jne 0x4abb5a
mov eax, dword [esi + 0x338]
cmp eax, ebx
je 0x4abafb
mov dword [eax + 0x324], ebx
mov dword [esi + 0x338], ebx
mov eax, dword [esi + 0x3d8]
cmp eax, ebx
je 0x4abb23
mov dword [eax + 0xa4], 0xffffffe0
mov dword [eax + 0x9c], 1
mov byte [eax + 0x3a], 0
mov dword [esi + 0x3d8], ebx
inc dword [esi + 0x320]
jmp 0x4abb5a
mov edx, dword [esi + 0x338]
cmp edx, ebx
je 0x4abb5a
lea ecx, [eax + eax*8]
lea ecx, [eax + ecx*2]
shl ecx, 5
sub ecx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 1
sub ecx, eax
mov eax, 0x1770
shl ecx, 6
sar ecx, 0xc
sub eax, ecx
mov dword [edx + 0x328], eax
mov eax, dword [esi + 0x410]
mov ebp, dword [esi + 0x43c]
imul eax, dword [esi + 0x230]
mov dword [esp + 0x14], ebp
mov edi, 8
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*2]
shl ebx, 2
sar ebx, 0xc
mov ecx, dword [esi + 0x340]
test ecx, ecx
je 0x4abc36
mov eax, dword [esi + edi*4 + 0x418]
mov ecx, dword [ecx + 0x44]
add ebp, eax
lea eax, [ebp + ebp*4]
lea edx, [eax + eax*8]
lea eax, [ebp + edx*2]
mov edx, dword [esi + 0xc]
lea eax, [eax + eax*4]
sar eax, 0xc
imul eax, ebx
lea eax, [eax + eax*4]
shl eax, 3
and eax, 0xfffff000
sub edx, eax
lea eax, [edi*8]
sub eax, edi
test edi, edi
mov dword [ecx + eax*4 + 4], edx
jne 0x4abbf0
mov eax, dword [esi + 0x33c]
test eax, eax
je 0x4abbf0
mov edx, dword [esi + 0x340]
mov ecx, dword [esi + 0x384]
mov eax, dword [edx + 0x44]
mov dword [eax + 4], ecx
mov eax, dword [esi + edi*4 + 0x418]
mov ecx, dword [esp + 0x14]
add eax, ecx
sar eax, 1
cmp eax, 0x64
jle 0x4abc08
push 5
jmp 0x4abc1f
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, 0x1e
shl edx, 3
sar edx, 0xc
sub eax, edx
push eax
mov ecx, dword [esi + 0x340]
push edi
call fcn.0040a9b0
mov ecx, dword [esi + edi*4 + 0x418]
mov dword [esp + 0x14], ecx
dec edi
jns 0x4abb85
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edx, dword [esi + 0x340]
xor ebx, ebx
xor edi, edi
cmp edx, ebx
setne dl
push str.Where_did_slinkribbon_go
push edx
call fcn.004015b0
add esp, 8
xor ecx, ecx
lea edx, [esi + 0x418]
mov eax, dword [esi + 0x80]
lea ebp, [eax*4]
sub ebp, eax
mov eax, dword [edx]
neg ebp
shl ebp, 1
add eax, ebp
mov dword [edx], eax
jns 0x4abc92
mov dword [edx], ebx
lea eax, [edi + edi*4]
mov ebp, dword [esi + 0x384]
add ecx, 0x1c
add edx, 4
lea eax, [eax + eax*8]
lea eax, [edi + eax*2]
lea eax, [eax + eax*4]
sar eax, 0xc
imul eax, dword [esi + 0x410]
lea eax, [eax + eax*4]
shl eax, 3
and eax, 0xfffff000
add eax, ebp
mov ebp, dword [esi + 0x340]
mov ebp, dword [ebp + 0x44]
mov dword [ecx + ebp + 4], eax
mov ebp, dword [edx - 4]
add edi, ebp
cmp ecx, 0xfc
jl 0x4abc75
mov ecx, dword [esi + 0x340]
push 0x11
push 8
call fcn.0040a9b0
mov ecx, dword [esi + 0x340]
push 1
push 9
call fcn.0040a9b0
mov edx, dword [esi + 0x33c]
cmp edx, ebx
je 0x4abd3c
lea eax, [edi + edi*4]
lea ecx, [eax + eax*8]
lea eax, [edi + ecx*2]
lea eax, [eax + eax*4]
mov ecx, eax
mov eax, 0x64
sar ecx, 0xc
sub eax, ecx
mov ecx, eax
shl ecx, 5
sub ecx, eax
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*2]
lea eax, [eax + eax*4]
shl eax, 7
sar eax, 0xc
add eax, 0x400
mov dword [edx + 0x328], eax
mov ecx, dword [esi + 0x3a0]
or ecx, 0x10
cmp edi, ebx
mov dword [esi + 0x3a0], ecx
jne 0x4ac150
mov ecx, dword [esi + 0x384]
mov edx, dword [esi + 0x218]
mov dword [esi + 0xc], ecx
or byte [esi + 5], 2
or dl, 0x80
mov word [esi + 0x2c], bx
mov dword [esi + 0x218], edx
mov word [esi + 0x2a], bx
mov word [esi + 0x28], bx
mov edx, dword [str.____]
mov dword [esi + 0x294], edx
mov eax, dword [0x5521cc]
mov dword [esi + 0x298], eax
mov eax, dword [esi + 0x3d8]
cmp eax, ebx
jne 0x4abdef
push 0x114
call fcn.004088a0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x38], 6
je 0x4abdcb
lea ecx, [esi + 0x14]
push ebx
lea edx, [esi + 8]
push ecx
push edx
mov ecx, eax
call fcn.004a46d0
jmp 0x4abdcd
xor eax, eax
mov dword [esi + 0x3d8], eax
mov byte [eax + 0x3a], 1
mov eax, dword [esi + 0x3d8]
mov dword [esp + 0x38], 0xffffffff
mov dword [eax + 0xa4], 0x20
push 0xffffffffffffffff
push ebx
push 0x1f
mov ecx, esi
call fcn.00460c10
xor eax, eax
xor edx, edx
mov al, byte [esi + 0x1f]
mov dx, word [esi + 0x12a]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ecx*4 + 0x6b245c]
mov ecx, dword [eax + edx*8 + 8]
mov eax, 0x1000
and ecx, 0xffff
xor edx, edx
div ecx
mov ecx, dword [esi + 0x340]
cmp ecx, ebx
mov dword [esi + 0x3d4], eax
je 0x4abe40
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x320]
mov dword [esi + 0x340], ebx
inc eax
pop edi
mov dword [esi + 0x320], eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
movsx eax, word [esi + 0x128]
imul eax, dword [esi + 0x3d4]
mov word [esi + 0x2c], ax
mov edi, dword [esi + 0x384]
movsx ecx, word [esi + 0x21e]
imul ecx, eax
add ecx, edi
xor edi, edi
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x33c]
cmp ecx, edi
mov word [esi + 0x2a], ax
mov word [esi + 0x28], ax
mov ebx, 0x1000
je 0x4abec6
lea edx, [eax*8]
sub edx, eax
lea edx, [eax + edx*4]
lea edx, [eax + edx*2]
lea eax, [eax + edx*2]
shl eax, 4
sar eax, 0xc
add eax, ebx
mov dword [ecx + 0x328], eax
mov al, byte [esi + 0x142]
test al, al
je 0x4ac150
movsx ecx, word [esi + 0x21e]
mov ebp, dword [esi + 0x384]
mov eax, dword [esi + 0x33c]
shl ecx, 0xc
add ecx, ebp
mov dword [esi + 0xc], ecx
and word [esi + 4], 0xfdff
cmp eax, edi
je 0x4abeff
mov dword [eax + 0x328], edi
xor edx, edx
push 1
mov dl, byte [esi + 0x298]
mov ecx, esi
push edx
mov dword [esi + 0x33c], edi
mov word [esi + 0x2c], bx
mov word [esi + 0x2a], bx
mov word [esi + 0x28], bx
call fcn.00460d00
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x35c]
mov dword [esi + 0x360], eax
push 0x40
mov edx, dword [ecx]
mov dword [esp + 0x28], 0xc8
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], 0x50
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], 0x1f4
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], ecx
call fcn.00455390
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov dword [esp + 0x38], 7
je 0x4abf87
lea edx, [esp + 0x18]
push 1
push edx
push esi
mov ecx, eax
call fcn.004018d0
mov ecx, dword [esi + 0x320]
mov eax, dword [esi + 0x218]
inc ecx
or al, 0x80
mov dword [esi + 0x320], ecx
mov dword [esi + 0x230], 0xa
mov dword [esi + 0x1f8], 0x19
mov dword [esi + 0x218], eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, esi
call fcn.00404b60
lea edi, [esi + 0x1f8]
mov ecx, esi
push edi
call fcn.00402be0
push 5
call fcn.004e5da0
add esp, 4
test eax, eax
jne 0x4ac04b
mov ax, word [esi + 0xdc]
push eax
call fcn.004e5da0
xor ecx, ecx
mov cx, word [esi + 0xdc]
push ecx
call fcn.004e5da0
push 0x90
call fcn.004088a0
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x14], ebp
test ebp, ebp
mov dword [esp + 0x38], 8
je 0x4ac043
lea ebx, [esi + 8]
push 0
push ebx
call fcn.004f54a0
add esp, 4
mov ecx, ebp
push eax
push 0x60d9d0
push ebx
call fcn.004a57e0
mov dword [esp + 0x38], 0xffffffff
cmp dword [edi], 0
jne 0x4ac095
push 2
mov ecx, esi
call fcn.00404170
cmp eax, 0x12c
jge 0x4ac095
push 2
mov ecx, esi
call fcn.00404170
cmp eax, 0x64
jle 0x4ac095
mov dword [esi + 0x31c], 8
mov dword [esi + 0x320], 0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esi + 0x288]
test al, 1
je 0x4ac0ce
and al, 0xfe
mov dword [esi + 0x31c], 8
mov dword [esi + 0x288], eax
mov dword [esi + 0x320], 0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ebx, [esi + 0x230]
mov ecx, esi
push ebx
call fcn.00402be0
cmp dword [ebx], 0
jne 0x4ac150
mov ecx, esi
mov dword [ebx], 0xa
call fcn.004ab490
test eax, eax
jne 0x4ac115
mov dword [esi + 0x31c], 8
mov dword [esi + 0x320], eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x3a4]
sub edx, eax
pop edi
add edx, 0x50000
sar edx, 3
add edx, eax
mov dword [esi + 0xc], edx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push str.Unknown_substate.
push 0
call fcn.004015b0
add esp, 8
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret