Function at 0x10002bc0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100068e0
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 0x10002d0c
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 0x10002cbc
push ebp
mov ebp, 0x1000a6b4
jmp 0x10002c33
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.10005374
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 0x10002c31
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 0x10002cf1
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 0x10003515
cmp eax, 1
jne 0x10002d28
call fcn.10001700
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 2
jne 0x10002d44
call fcn.10001780
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 3
jne 0x10002d60
call fcn.10001a20
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 4
jne 0x10002dc1
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.10001ce0
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.10005374
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 5
jne 0x10002e4f
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.10001cb0
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.100015a0
add esp, 8
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.10005374
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 6
jne 0x10002e6b
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, 7
jne 0x10002e87
call fcn.100018e0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 8
jne 0x10002ea3
call fcn.10001af0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0x15
jne 0x10002f84
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 0x10003522
push 6
call fcn.10002a60
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 0x10003065
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 0x10003522
push 5
call fcn.10002a60
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 0x10003146
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 0x10003522
push 4
call fcn.10002a60
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 0x10003227
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 0x10003522
push 3
call fcn.10002a60
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 0x10003308
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 0x10003522
push 2
call fcn.10002a60
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 0x100033e9
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 0x10003522
push 1
call fcn.10002a60
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 0x10003477
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.10001cb0
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.100015a0
add esp, 8
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.10005374
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp eax, 0xc
jne 0x100034ba
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.10001cb0
lea edx, [esp + 0x34]
push esi
push edx
call fcn.100015a0
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 0x10003522
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 0x100034f7
push esi
mov dword [esp + 0x3c], 0x9090
push 2
lea ecx, [esp + 0x40]
jmp 0x10003506
push esi
mov dword [esp + 0x14], 0x3272
push 2
lea ecx, [esp + 0x18]
mov edx, dword [0x1000a024]
push ecx
mov eax, dword [edx*4 + 0x1000a2a8]
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