Function at 0x418130
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450590
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x472554]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
call fcn.00418b50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
mov dword [eax], vtable.CDeskFrm.0
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x28], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x2c], 3
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x38], 0xd5
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x3c], 0xa0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x44], 0xa
push 0
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x48
call fcn.00403020
push 0xa0
push 0xd5
push 0
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x50
call fcn.0041bae0
push 0x21
push 0xd5
push 0
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x60
call fcn.0041bae0
mov ecx, dword [ebp - 0x50]
add ecx, 0x70
call fcn.00421d30
push 0xd
push 0x1a
mov ecx, dword [ebp - 0x50]
add ecx, 0x80
call fcn.00403020
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x88], 0x78
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x8c], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x90], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x94], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x98], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x9c], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xa0], 0x1e
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xa4], 0x78
push 0x1e
push 0xd5
push 0
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0xa8
call fcn.0041bae0
push 0x22
push 0xd5
push 0
push 0xb8
mov ecx, dword [ebp - 0x50]
add ecx, 0xb8
call fcn.0041bae0
push 0x22
push 0xb8
push 0
push 0x9b
mov ecx, dword [ebp - 0x50]
add ecx, 0xc8
call fcn.0041bae0
push 0x74
push 0x3c
push 0x38
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0xd8
call fcn.0041bae0
push 0x79
push 0x42
push 0x37
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0xe8
call fcn.0041bae0
push 0x69
push 0x42
push 0x4b
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0xf8
call fcn.0041bae0
push 0x7d
push 0x42
push 0x6b
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x108
call fcn.0041bae0
push 0
push 0
push 0
push 0x8c
mov ecx, dword [ebp - 0x50]
add ecx, 0x118
call fcn.0041acf0
push 0
push 0
push 0
push 0x3f
mov ecx, dword [ebp - 0x50]
add ecx, 0x11c
call fcn.0041acf0
push 0xff
push 0xff
push 0xff
push 0xff
mov ecx, dword [ebp - 0x50]
add ecx, 0x120
call fcn.0041acf0
push 0xee
push 0x8a
push 0x9a
push 0xff
mov ecx, dword [ebp - 0x50]
add ecx, 0x124
call fcn.0041acf0
push 0xb0
push 0xbd
push 0x13
push 0xff
mov ecx, dword [ebp - 0x50]
add ecx, 0x128
call fcn.0041acf0
push 0
push 0
push 0
push 0x32
mov ecx, dword [ebp - 0x50]
add ecx, 0x12c
call fcn.0041acf0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x130], 0xff00ff
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x164], 0
call fcn.004305a0
test eax, eax
je 0x418550
push 8
call fcn.0041ac70
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0
je 0x418423
push 0
push str.Simsun
mov ecx, dword [ebp - 0x14]
call fcn.0041b900
mov dword [ebp - 0x54], eax
jmp 0x41842a
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x134], eax
push 8
call fcn.0041ac70
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x41847c
push 2
push 0
push ecx
fld dword [0x457d78]
fstp dword [esp]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x134]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0041b970
mov dword [ebp - 0x58], eax
jmp 0x418483
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x138], edx
push 8
call fcn.0041ac70
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24], 0
je 0x4184d5
push 2
push 0
push ecx
fld dword [0x457d74]
fstp dword [esp]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x134]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0041b970
mov dword [ebp - 0x5c], eax
jmp 0x4184dc
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x13c], ecx
push 8
call fcn.0041ac70
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 0
je 0x41852e
push 2
push 0
push ecx
fld dword [0x457d70]
fstp dword [esp]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x134]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0041b970
mov dword [ebp - 0x60], eax
jmp 0x418535
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x140], eax
jmp 0x4186a3
push 8
call fcn.0041ac70
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 0
je 0x41857b
push 0
push 0x457d50
mov ecx, dword [ebp - 0x34]
call fcn.0041b900
mov dword [ebp - 0x64], eax
jmp 0x418582
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x134], eax
push 8
call fcn.0041ac70
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x3c], 0
je 0x4185d4
push 2
push 0
push ecx
fld dword [0x457d78]
fstp dword [esp]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x134]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.0041b970
mov dword [ebp - 0x68], eax
jmp 0x4185db
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x138], edx
push 8
call fcn.0041ac70
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x44], 0
je 0x41862d
push 2
push 0
push ecx
fld dword [0x457d74]
fstp dword [esp]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x134]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.0041b970
mov dword [ebp - 0x6c], eax
jmp 0x418634
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x13c], ecx
push 8
call fcn.0041ac70
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x4c], 0
je 0x418686
push 2
push 0
push ecx
fld dword [0x457d70]
fstp dword [esp]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x134]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0041b970
mov dword [ebp - 0x70], eax
jmp 0x41868d
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
mov dword [edx + 0x140], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x160], 0
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x161], 0
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x162], 0xff
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x163], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret