Function at 0x40b6a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470b98
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 0x40ba88
push str.BeginHotkey
lea ecx, [esp + 0x28]
call fcn.00430a60
push str.BeginHotkeyMod
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0
call fcn.00430a60
mov byte [esp + 0x38], 1
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 + 0x2c]
push eax
push ecx
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 + 0x2a]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
call ebp
mov edx, dword [esi + 0x90]
mov word [edx + 0x28], di
mov ecx, dword [esi + 0x90]
and edi, 0xffff
mov word [ecx + 0x2a], ax
and eax, 0xffff
shl eax, 0x10
or eax, edi
mov dword [esi + 0x67c], 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 + 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]
and edi, 0xffff
mov word [edx + 0x2e], ax
and eax, 0xffff
shl eax, 0x10
or eax, edi
mov dword [esi + 0x680], eax
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x40b801
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x40b803
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 + 0x684], eax
call fcn.0040c080
mov eax, dword [esi + 0x4f8]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
je 0x40ba69
lea ebx, [esi + 0x4d8]
mov ecx, ebx
call fcn.004228e0
lea ecx, [esi + 0x654]
push ecx
mov ecx, dword [esi + 0x90]
call fcn.00433430
mov eax, dword [esi + 0x90]
push 0x4d6560
add eax, 0x70
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40b935
mov edx, dword [esi + 0x134]
lea edi, [esi + 0xd4]
push edx
call ebp
test eax, eax
je 0x40b89c
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x40]
call dword [eax + 0x60]
mov eax, dword [esi + 0x90]
push 0
lea ecx, [eax + 0x70]
add eax, 0x34
push ecx
mov ebp, esp
mov dword [esp + 0x1c], esp
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x20]
push edx
call fcn.00433df0
add esp, 8
push eax
push ebp
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_operator_1
mov ecx, edi
call fcn.0042f880
lea ecx, [esp + 0x10]
mov dword [esi + 0x670], eax
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x40b918
mov eax, dword [esi + 0x90]
push ecx
add eax, 0x20
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.00430170
mov edx, dword [esi + 0x90]
push ecx
add edx, 0x20
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.0042fe30
mov eax, dword [esi + 0x670]
test eax, eax
je 0x40b95a
push 5
lea ecx, [esi + 0xd4]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40ba69
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x660]
mov byte [esp + 0x38], 3
test eax, eax
jle 0x40ba5b
mov esi, dword [esi + 0x658]
xor ebp, ebp
test esi, esi
je 0x40ba5b
mov edi, esi
mov esi, dword [esi]
lea ecx, [esp + 0x10]
add edi, 8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x40]
mov byte [esp + 0x38], 4
test eax, eax
je 0x40b9a9
lea eax, [edi + 8]
push eax
jmp 0x40b9ad
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [edi + 4]
push 0x4d6560
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40b9d1
mov eax, dword [edi + 4]
jmp 0x40b9d3
mov eax, dword [edi]
push eax
push ebp
mov ecx, ebx
call fcn.004226b0
push 0xffffff
push 0
push 0
push ebp
mov ecx, ebx
call fcn.00422a90
mov edx, dword [esp + 0x10]
push 0xffffff
push 0xff
push edx
push 1
push ebp
mov ecx, ebx
call fcn.00422830
push edi
push ebp
mov ecx, ebx
call fcn.00422e20
mov eax, dword [edi + 0x14]
dec eax
je 0x40ba21
push 1
push ebp
mov ecx, ebx
call fcn.004229e0
jmp 0x40ba44
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.00422af0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
inc ebp
test esi, esi
jne 0x40b986
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.00430cc0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.00430cc0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4