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

Disassembly:
push 0xffffffffffffffff
push 0x56596d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x370
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.00542726
mov eax, dword [0x68dec8]
mov ecx, 0xa
mov esi, str..PHYSICALDRIVE00
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov cx, word [0x68decc]
mov dword [esp + 0x20], eax
mov eax, dword [0x700320]
mov dword [esp + 0x388], 0
xor edi, edi
mov word [esp + 0x24], cx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov edx, dword [ebx + 0x1c]
mov esi, dword [0x703424]
push edi
push edi
or ebp, 0xffffffff
push 0x146
push edx
mov byte [esp + 0x398], 4
mov dword [esp + 0x4c], ebp
call esi
test eax, eax
jle 0x4cc219
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, ebx
call fcn.004cc700
mov edx, dword [ebx + 0x1c]
push edi
push edi
push 0x14b
push edx
mov dword [esp + 0x4c], eax
call esi
push 0x4011
lea eax, [esp + 0xd0]
push 0x2b4
push eax
push 0
push 0x6d2dc4
mov dword [esp + 0x60], 0x27
mov dword [esp + 0x64], ebp
call dword [0x703348]
push eax
lea ecx, [esp + 0x34]
call fcn.00542813
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
mov ecx, dword [ebx + 0x1c]
neg eax
sbb eax, eax
and eax, edx
push eax
push 0
push 0x402
push ecx
call esi
push eax
call fcn.005427b8
lea ecx, [esp + 0x30]
call fcn.00542778
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x4cc285
mov edi, dword [esp + 0x10]
push edi
call fcn.004df7b0
push esi
lea edx, [esp + 0x9a]
push 0x68d880
push edx
call fcn.00526ec2
lea eax, [esp + 0x80]
push eax
call fcn.004df9f0
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [esp + 0x10], edi
je 0x4cc489
cmp dword [ebx + 0x5c], 6
jne 0x4cc2d5
push edi
push 0
call fcn.004cbb90
add esp, 8
test eax, eax
je 0x4cc489
lea ecx, [esp + 0x28]
lea edx, [esp + 0x98]
push ecx
push edx
push edi
call fcn.004cb880
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xa4]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.004cba30
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38c], 5
call fcn.00544397
lea ecx, [esp + 0x40]
mov byte [esp + 0x388], 4
call fcn.00544250
mov edx, dword [ebx + 0x54]
xor eax, eax
test edx, edx
sete al
push 1
push eax
lea ecx, [esp + 0x4c]
push edi
push ecx
call fcn.0046aeb0
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38c], 6
call fcn.00544397
lea ecx, [esp + 0x44]
mov byte [esp + 0x388], 4
call fcn.00544250
mov edx, dword [esp + 0x14]
push 0x7045ac
push edx
call fcn.00527225
add esp, 8
test eax, eax
je 0x4cc39f
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x58]
test ecx, ecx
mov ax, word [eax]
mov word [esp + 0x20], ax
je 0x4cc3a6
push eax
call fcn.004cbcb0
add esp, 4
test eax, eax
je 0x4cc489
jmp 0x4cc3a6
mov word [esp + 0x20], 0x43
push 0x4211
lea ecx, [esp + 0xd0]
push 0x2b4
push ecx
lea edx, [esp + 0x2c]
push 0x10
push edx
call dword [0x703348]
mov eax, dword [esp + 0xd0]
push 0x1d8
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
call fcn.004df770
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4cc489
mov dword [ebp], esi
mov dword [ebp + 0x1d4], 0xffffffff
mov eax, dword [esp + 0x1c]
lea esi, [ebp + 0xb8]
push 0x7f
push eax
push esi
mov dword [esp + 0x54], esi
call fcn.00527768
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4cc43d
lea ecx, [eax + eax]
lea esi, [esp + 0x98]
mov edx, ecx
lea edi, [ebp + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x58], esi
call fcn.00543135
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4cc474
mov edx, dword [ebx + 0x1c]
push 0
push 0
push 0x146
push edx
call dword [0x703424]
dec eax
mov dword [ebx + 0x40], eax
push edi
call fcn.004df7b0
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], 0
inc esi
cmp esi, 0x64
mov dword [esp + 0x18], esi
jl 0x4cc281
mov eax, dword [esp + 0x10]
push eax
call fcn.004df7b0
mov eax, dword [ebx + 0x40]
add esp, 4
test eax, eax
jl 0x4cc4bd
mov ecx, dword [ebx + 0x1c]
push 0
push eax
push 0x14e
push ecx
call dword [0x703424]
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x4cc4e7
mov edx, dword [ebx + 0x1c]
mov ecx, ebx
push edx
call fcn.00548a9f
add eax, 0x10000
push eax
mov eax, dword [ebx + 0x50]
push 0x111
mov ecx, dword [eax + 0x1c]
push ecx
call dword [0x703400]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x388], 3
call fcn.00544250
lea ecx, [esp + 0x14]
mov byte [esp + 0x388], 2
call fcn.00544250
lea ecx, [esp + 0x38]
mov byte [esp + 0x388], 1
call fcn.00544250
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 0
call fcn.00544250
lea ecx, [esp + 0x30]
mov dword [esp + 0x388], 0xffffffff
call fcn.0054274f
mov ecx, dword [esp + 0x380]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x37c
ret