Function at 0x40bad0
Capabilities:
Get number of processors
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474ae8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x40bfdc
push str.BeginHotkey
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x90]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [eax + 0x94]
mov edx, dword [ecx + 0x20]
push eax
xor eax, eax
mov ax, word [ecx + 0x28]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edx
call ebp
mov ebx, eax
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 4]
lea edx, [esp + 0x10]
push 0x4e643c
push edx
call fcn.0042aa00
mov edi, dword [edi + 0x94]
mov ecx, dword [eax]
mov eax, dword [esi + 0x90]
add esp, 8
mov edx, dword [eax + 0x20]
push edi
xor edi, edi
mov di, word [eax + 0x2a]
push edi
push ecx
push edx
call ebp
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x90]
mov word [eax + 0x28], bx
mov ecx, dword [esi + 0x90]
and ebx, 0xffff
mov word [ecx + 0x2a], di
and edi, 0xffff
shl edi, 0x10
or edi, ebx
mov dword [esi + 0x67c], edi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x90]
mov eax, dword [eax + 0x94]
mov edx, dword [ecx + 0x20]
push eax
xor eax, eax
mov ax, word [ecx + 0x2c]
push eax
push str.PauseHotkey
push edx
call ebp
mov edi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x90]
mov eax, dword [eax + 0x94]
mov edx, dword [ecx + 0x20]
push eax
xor eax, eax
mov ax, word [ecx + 0x2e]
push eax
push str.PauseHotkeyMod
push edx
call ebp
mov ecx, dword [esi + 0x90]
mov word [ecx + 0x2c], di
mov edx, dword [esi + 0x90]
mov word [edx + 0x2e], ax
and eax, 0xffff
shl eax, 0x10
and edi, 0xffff
or eax, edi
mov dword [esi + 0x680], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x90]
mov eax, dword [eax + 0x94]
mov edx, dword [ecx + 0x20]
push eax
xor eax, eax
mov ax, word [ecx + 0x30]
push eax
push str.StopHotkey
push edx
call ebp
mov edi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x90]
mov eax, dword [eax + 0x94]
mov edx, dword [ecx + 0x20]
push eax
xor eax, eax
mov ax, word [ecx + 0x32]
push eax
push str.StopHotkeyMod
push edx
call ebp
mov ecx, dword [esi + 0x90]
mov word [ecx + 0x30], di
mov edx, dword [esi + 0x90]
and edi, 0xffff
mov word [edx + 0x32], ax
and eax, 0xffff
shl eax, 0x10
or eax, edi
mov dword [esi + 0x684], eax
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x40bcb4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x40bcb6
xor eax, eax
mov cx, word [eax + 0x60]
mov ax, word [eax + 0x62]
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
mov ecx, esi
mov dword [esi + 0x688], eax
call fcn.0040c610
mov eax, dword [esi + 0x4f8]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x40bfcb
lea ebx, [esi + 0x4d8]
mov ecx, ebx
call fcn.004218a0
lea ecx, [esi + 0x654]
push ecx
mov ecx, dword [esi + 0x90]
call fcn.00431030
mov eax, dword [esi + 0x90]
push 0x4eaa80
add eax, 0x6c
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40be97
mov edx, dword [esi + 0x134]
lea ebp, [esi + 0xd4]
push edx
call edi
test eax, eax
je 0x40bd4f
mov eax, dword [ebp + 0x40]
lea ecx, [ebp + 0x40]
call dword [eax + 0x60]
mov eax, dword [esi + 0x90]
mov edx, dword [eax + 0x34]
lea ecx, [eax + 0x34]
mov eax, dword [edx - 8]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00416230
add esp, 0xc
lea ecx, [esp + 0x24]
push 0x64
push ecx
mov ecx, eax
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::Left
mov edi, eax
lea edx, [esp + 0x20]
mov byte [esp + 0x38], 2
push edx
call fcn.00416560
add esp, 4
push str.qmacro_temp_
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x40], 3
push eax
call sub.MFC42.DLL_operator_1
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_operator_2
push 0x4e6128
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x90]
push 0
push ecx
add eax, 0x6c
mov ecx, esp
mov dword [esp + 0x34], esp
lea edx, [esp + 0x18]
push eax
push edx
push ecx
call sub.MFC42.DLL_operator_2
mov ecx, ebp
call fcn.004458b0
mov dword [esi + 0x670], eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x40be6c
mov eax, dword [esi + 0x90]
push ecx
add eax, 0x20
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.004461a0
mov edx, dword [esi + 0x90]
push ecx
add edx, 0x20
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.00445e60
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x670]
test eax, eax
je 0x40bebc
push 5
lea ecx, [esi + 0xd4]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40bfcb
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x660]
mov byte [esp + 0x38], 0xc
test eax, eax
jle 0x40bfbd
mov esi, dword [esi + 0x658]
xor ebp, ebp
test esi, esi
je 0x40bfbd
mov edi, esi
mov esi, dword [esi]
lea ecx, [esp + 0x10]
add edi, 8
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x40]
mov byte [esp + 0x38], 0xd
test eax, eax
je 0x40bf0b
lea eax, [edi + 8]
push eax
jmp 0x40bf0f
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041f1d2
mov eax, dword [edi + 4]
push 0x4eaa80
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40bf33
mov eax, dword [edi + 4]
jmp 0x40bf35
mov eax, dword [edi]
push eax
push ebp
mov ecx, ebx
call fcn.00421670
push 0xffffff
push 0
push 0
push ebp
mov ecx, ebx
call fcn.00421a50
mov edx, dword [esp + 0x10]
push 0xffffff
push 0xff
push edx
push 1
push ebp
mov ecx, ebx
call fcn.004217f0
push edi
push ebp
mov ecx, ebx
call fcn.00421de0
mov eax, dword [edi + 0x14]
dec eax
je 0x40bf83
push 1
push ebp
mov ecx, ebx
call fcn.004219a0
jmp 0x40bfa6
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
add edi, 0x18
mov ecx, ebx
push eax
push 0xa
push edi
push 1
push 1
push ebp
call fcn.00421ab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0xc
call sub.MFC42.DLL_CString::CString
inc ebp
test esi, esi
jne 0x40bee8
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4