Function at 0x10002b70
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10006880
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
jne 0x10002cbc
mov edx, dword [0x1000a6ac]
mov ecx, 0x4e2
mov edi, 0x1000a6b4
push esi
mov eax, dword [edx + 0x60]
mov dword [0x1000ba3c], esi
mov dword [0x1000a024], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x84]
push esi
push 0x18b
push ecx
xor ebx, ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, esi
jle 0x10002c6c
push ebp
mov ebp, 0x1000a6b4
jmp 0x10002be3
xor esi, esi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x1000a6ac]
lea edx, [esp + 0x3c]
push edx
push ebx
lea ecx, [eax + 0x64]
mov dword [esp + 0x3c], esi
call sub.MFC42.DLL_CListBox::GetText
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [0x1000ba3c]
lea ecx, [esp + 0x3c]
inc esi
mov dword [0x1000ba3c], esi
call fcn.10005314
mov eax, dword [0x1000a6ac]
push 0
push 0
push 0x18b
mov ecx, dword [eax + 0x84]
inc ebx
push ecx
add ebp, 0x32
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, eax
jl 0x10002be1
xor esi, esi
pop ebp
mov ecx, dword [0x1000a6ac]
push 0x4f1
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0xc], 0x1000004
mov edx, dword [eax + 0x20]
push esi
push esi
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x10002ca1
mov dword [esp + 0xc], 4
mov ecx, dword [0x1000a024]
push esi
lea eax, [esp + 0x10]
push 4
mov edx, dword [ecx*4 + 0x1000a280]
push eax
push edx
jmp 0x100034b4
cmp eax, 1
jne 0x10002cd8
call fcn.100016b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 2
jne 0x10002cf4
call fcn.10001730
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 3
jne 0x10002d10
call fcn.100019d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 4
jne 0x10002d71
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000a6ac]
lea eax, [esp + 0x38]
push eax
push 0x4eb
mov dword [esp + 0x38], 1
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.10001c90
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.10005314
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 5
jne 0x10002dff
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 2
push ecx
mov ecx, dword [0x1000a6ac]
push 0x4e6
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
push esi
xor edx, edx
push esi
push esi
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
push 0x418
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], edx
call fcn.10001c60
add esp, 0x18
lea ecx, [esp + 0x38]
push esi
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.10001550
add esp, 8
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.10005314
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 6
jne 0x10002e1b
call fcn.10001a50
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 7
jne 0x10002e37
call fcn.10001890
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 8
jne 0x10002e53
call fcn.10001aa0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0x15
jne 0x10002f34
mov eax, dword [0x1000a024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x3c]
mov ecx, dword [eax*4 + 0x1000a168]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + str.OOOOOOW]
mov eax, dword [esp + 0x40]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x1c]
push 4
mov ecx, dword [eax*4 + str.WWWWWW_]
push edx
add ecx, dword [esp + 0x44]
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000a6ac]
push 1
push esi
push 0x4de
fidiv dword [esp + 0x24]
fmul qword [0x100073e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0xc], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a6ac]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0xc]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x100034c1
push 6
call fcn.10002a10
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0x16
jne 0x10003015
mov eax, dword [0x1000a024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x3c]
mov ecx, dword [eax*4 + 0x1000a168]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + str.OOOOOOW]
mov eax, dword [esp + 0x40]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x1c]
push 4
mov ecx, dword [eax*4 + str.WWWWWW_]
push edx
add ecx, dword [esp + 0x44]
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000a6ac]
push 1
push esi
push 0x4e0
fidiv dword [esp + 0x24]
fmul qword [0x100073e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0xc], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a6ac]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0xc]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x100034c1
push 5
call fcn.10002a10
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0x17
jne 0x100030f6
mov eax, dword [0x1000a024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x3c]
mov ecx, dword [eax*4 + 0x1000a168]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + str.OOOOOOW]
mov eax, dword [esp + 0x40]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x1c]
push 4
mov ecx, dword [eax*4 + str.WWWWWW_]
push edx
add ecx, dword [esp + 0x44]
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000a6ac]
push 1
push esi
push 0x4e8
fidiv dword [esp + 0x24]
fmul qword [0x100073e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0xc], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a6ac]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0xc]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x100034c1
push 4
call fcn.10002a10
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0x18
jne 0x100031d7
mov eax, dword [0x1000a024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x3c]
mov ecx, dword [eax*4 + 0x1000a168]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + str.OOOOOOW]
mov eax, dword [esp + 0x40]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x1c]
push 4
mov ecx, dword [eax*4 + str.WWWWWW_]
push edx
add ecx, dword [esp + 0x44]
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000a6ac]
push 1
push esi
push 0x4ee
fidiv dword [esp + 0x24]
fmul qword [0x100073e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0xc], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a6ac]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0xc]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x100034c1
push 3
call fcn.10002a10
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0x19
jne 0x100032b8
mov eax, dword [0x1000a024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x3c]
mov ecx, dword [eax*4 + 0x1000a168]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + str.OOOOOOW]
mov eax, dword [esp + 0x40]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x1c]
push 4
mov ecx, dword [eax*4 + str.WWWWWW_]
push edx
add ecx, dword [esp + 0x44]
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000a6ac]
push 1
push esi
push 0x4f2
fidiv dword [esp + 0x24]
fmul qword [0x100073e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0xc], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a6ac]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0xc]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x100034c1
push 2
call fcn.10002a10
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0x1a
jne 0x10003399
mov eax, dword [0x1000a024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x3c]
mov ecx, dword [eax*4 + 0x1000a168]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + str.OOOOOOW]
mov eax, dword [esp + 0x40]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000a024]
push esi
lea edx, [esp + 0x1c]
push 4
mov ecx, dword [eax*4 + str.WWWWWW_]
push edx
add ecx, dword [esp + 0x44]
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000a6ac]
push 1
push esi
push 0x4f5
fidiv dword [esp + 0x24]
fmul qword [0x100073e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0xc], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a6ac]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0xc]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x100034c1
push 1
call fcn.10002a10
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0xa
jne 0x10003427
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000a6ac]
lea edx, [esp + 0x38]
push edx
push 0x4dc
mov dword [esp + 0x38], 3
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
push esi
xor eax, eax
push esi
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push 0xbd6
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
call fcn.10001c60
add esp, 0x18
lea ecx, [esp + 0x38]
push esi
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.10001550
add esp, 8
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.10005314
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0xc
jne 0x1000346a
push esi
push esi
xor eax, eax
push esi
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push 0x51
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
call fcn.10001c60
lea edx, [esp + 0x34]
push esi
push edx
call fcn.10001550
add esp, 0x20
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0xc8
jne 0x100034c1
mov ecx, dword [0x1000a6ac]
push 0x50c
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push esi
push esi
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x100034c1
mov edx, dword [0x1000a024]
push esi
lea ecx, [esp + 0x14]
push 2
mov eax, dword [edx*4 + 0x1000a2a8]
push ecx
mov dword [esp + 0x1c], 0x9090
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret