Function at 0x4c58a4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c62e8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetDC
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0xaf4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x161e8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x15448], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x161ec]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1544c], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x161f0]
mov edx, dword [ebp - 4]
mov byte [edx + 0x15450], al
mov eax, dword [ebp - 4]
add eax, 0xafc
call fcn.00403ccc
mov dl, 1
mov eax, dword [0x4104dc]
call fcn.00402f50
mov edx, dword [ebp - 4]
mov dword [edx + 0xb00], eax
mov dl, 1
mov eax, dword [0x4104dc]
call fcn.00402f50
mov edx, dword [ebp - 4]
mov dword [edx + 0xb04], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xb14], 0
lea ecx, [ebp - 0x154]
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.004bf4bc
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 4]
add eax, 0xb08
mov ecx, 0x4c6300
call fcn.00403f98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
call fcn.0043b548
mov edx, 0x14
call fcn.00424204
lea edx, [ebp - 0x15c]
mov eax, dword [0x50b418]
mov eax, dword [eax]
call fcn.00454160
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.004097fc
lea eax, [ebp - 0x158]
mov edx, 0x4c6310
call fcn.00403f54
mov eax, dword [ebp - 0x158]
call fcn.00409718
test al, al
jne 0x4c5a2a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1555c]
lea eax, [ebp - 0x160]
mov ecx, 0x4c6310
call fcn.00403f98
mov eax, dword [ebp - 0x160]
call fcn.00409718
test al, al
je 0x4c5a3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa20]
mov dl, 1
call fcn.00445ee4
jmp 0x4c5a4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa20]
xor edx, edx
call fcn.00445ee4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0c]
mov dx, 1
call fcn.00435618
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xaf8], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1447c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x148c8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x86c]
xor edx, edx
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x870]
xor edx, edx
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x870]
mov dx, 1
call fcn.00435618
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x86c]
mov dx, 1
call fcn.00435618
mov eax, dword [ebp - 4]
mov dword [eax + 0xb18], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7ec]
mov edx, 0xfffffffe
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7ec]
mov edx, 0xfffffffe
call fcn.00434c68
mov eax, dword [ebp - 4]
mov byte [eax + 0x14a7c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74c]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa04]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7ac]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c4]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7d4]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x880]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x754]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x75c]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x760]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x764]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x768]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x76c]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x774]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x910]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8e4]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x910]
call fcn.0043567c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8e4]
call fcn.0043567c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x770]
mov edx, 1
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x770]
mov edx, 6
call fcn.00434cac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x758]
xor edx, edx
call fcn.00435458
mov eax, dword [ebp - 4]
push dword [eax + 0x1555c]
mov eax, dword [ebp - 4]
push dword [eax + 0x148e0]
push 0x4c6324
mov eax, dword [ebp - 4]
add eax, 0x148d8
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 4]
push dword [eax + 0x1555c]
mov eax, dword [ebp - 4]
push dword [eax + 0x148e0]
push 0x4c6334
mov eax, dword [ebp - 4]
add eax, 0x148dc
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 4]
add eax, 0x14814
mov edx, 0x4c6344
call fcn.00403d20
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1555c]
mov eax, dword [ebp - 4]
add eax, 0x148d0
mov ecx, 0x4c6360
call fcn.00403f98
push 0x4c6378
lea eax, [ebp - 0x164]
push eax
mov ecx, 4
mov edx, 2
mov eax, 0x4c6388
call fcn.00404154
push dword [ebp - 0x164]
push 0x4c6398
mov eax, dword [ebp - 4]
add eax, 0x14808
mov edx, 3
call fcn.0040400c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x148dc]
lea eax, [ebp - 0x168]
mov ecx, 0x4c63a8
call fcn.00403f98
mov eax, dword [ebp - 0x168]
call fcn.00409718
test al, al
je 0x4c5dbc
xor eax, eax
push ebp
push 0x4c5db0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x148dc]
lea eax, [ebp - 0x16c]
mov ecx, 0x4c63a8
call fcn.00403f98
mov edx, dword [ebp - 0x16c]
lea eax, [ebp - 0x150]
call fcn.0040649a
mov edx, 1
lea eax, [ebp - 0x150]
call fcn.004069d1
call fcn.00402874
push 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0x14838]
mov ecx, 0x90
lea eax, [ebp - 0x150]
call fcn.0040653c
call fcn.00402874
lea eax, [ebp - 0x150]
call fcn.00406604
call fcn.00402874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5dc9
mov eax, dword [0x50e840]
xor edx, edx
mov dword [eax + 0x1486c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x16650], 0xff
mov eax, dword [ebp - 4]
mov byte [eax + 0x1663a], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6dc]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6dc]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x884]
mov edx, 0x4c63c0
call fcn.00435458
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c0]
call fcn.0043567c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c0]
mov edx, 0x64
call fcn.00434c68
mov eax, dword [ebp - 4]
mov byte [eax + 0x16651], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x14514], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x940]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8d4]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8d4]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa88]
call fcn.0043567c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5bc]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x604]
mov dl, 5
call fcn.00434a40
push 0x4c63d8
push 0x4c63d8
mov ecx, 0x4c63e8
mov edx, 0x4c63f4
mov eax, dword [ebp - 4]
call fcn.004ce8d8
mov edx, dword [ebp - 4]
mov dword [edx + 0xb18], eax
mov eax, dword [ebp - 4]
call fcn.004ee1a0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f10f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5a4]
xor edx, edx
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5a4]
xor edx, edx
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b0]
xor edx, edx
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
xor edx, edx
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x598]
xor edx, edx
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b8]
xor edx, edx
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5a8]
xor edx, edx
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
xor edx, edx
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5a4]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b0]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x598]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x59c]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5a0]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b8]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x624]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x61c]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5a8]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5ac]
xor edx, edx
call fcn.00435340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x630]
xor edx, edx
call fcn.00435340
call fcn.00402a7c
mov eax, 0x64
call fcn.00402c9c
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x146b4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c8]
mov dl, 1
call fcn.00456d84
mov eax, 0x32
call fcn.00402c9c
add eax, 6
mov edx, dword [ebp - 4]
mov dword [edx + 0x146b8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6cc]
mov dl, 1
call fcn.00456d84
mov eax, 0xc8
call fcn.00402c9c
add eax, 0x14
mov edx, dword [ebp - 4]
mov dword [edx + 0xb44], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4c], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0xb54], 0
mov eax, 0x64
call fcn.00402c9c
add eax, 0xa
mov edx, dword [ebp - 4]
mov dword [edx + 0x14404], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6f0]
mov dl, 1
call fcn.00456d84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8d8]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x948]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8a4]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8dc]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0c]
mov edx, 4
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0c]
mov edx, 2
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0c]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7b8]
mov edx, dword [eax + 0x34]
add edx, dword [eax + 0x3c]
add edx, 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7b4]
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7b4]
mov edx, 2
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7e0]
mov edx, 2
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c8]
mov edx, 2
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa6c]
mov edx, 2
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7bc]
mov edx, 2
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
mov edx, 2
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa74]
mov edx, dword [eax + 0x34]
add edx, dword [eax + 0x3c]
add edx, 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa6c]
call fcn.00434c68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x79c]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x798]
mov dl, 3
call fcn.00434a40
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x604]
mov dl, 1
mov eax, dword [0x4561e8]
call fcn.00457404
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xb34], ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x604]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb34]
mov dl, 1
call fcn.00457e00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb34]
mov dx, 0xfff7
call fcn.00435618
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x79c]
mov edx, dword [eax + 0x30]
add edx, dword [eax + 0x38]
add edx, 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb34]
call fcn.00434c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa5c]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x878]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x874]
mov dl, 5
call fcn.00434a40
mov eax, dword [ebp - 4]
add eax, 0x148e8
mov edx, 0x4c6400
call fcn.00403d20
mov eax, dword [ebp - 4]
add eax, 0x148e4
mov edx, 0x4c6418
call fcn.00403d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c62ef
lea eax, [ebp - 0x16c]
mov edx, 7
call fcn.00403cf0
ret