Function at 0x40b700
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471590
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x40bae3
push str.BeginHotkey
lea ecx, [esp + 0x1c]
call fcn.0042e900
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x90]
mov ebx, 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 + 0x20]
push eax
push ecx
push edx
call ebx
mov ebp, eax
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 4]
lea edx, [esp + 0x10]
push 0x4d73b0
push edx
call fcn.00432a10
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 ebx
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x90]
mov word [eax + 0x28], bp
mov ecx, dword [esi + 0x90]
and ebp, 0xffff
mov word [ecx + 0x2a], di
and edi, 0xffff
shl edi, 0x10
or edi, ebp
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 ebx
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 ebx
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_AfxGetThread
test eax, eax
je 0x40b86a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x40b86c
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.0040c0e0
mov eax, dword [esi + 0x4f8]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
je 0x40bad2
lea ebx, [esi + 0x4d8]
mov ecx, ebx
call fcn.004207e0
lea ecx, [esi + 0x654]
push ecx
mov ecx, dword [esi + 0x90]
call fcn.004312d0
mov eax, dword [esi + 0x90]
push 0x4db790
add eax, 0x6c
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40b99e
mov edx, dword [esi + 0x134]
lea edi, [esi + 0xd4]
push edx
call ebp
test eax, eax
je 0x40b905
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x40]
call dword [eax + 0x60]
mov eax, dword [esi + 0x90]
push 0
lea ecx, [eax + 0x6c]
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.00431c90
add esp, 8
push eax
push ebp
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_operator_1
mov ecx, edi
call fcn.0042d720
lea ecx, [esp + 0x10]
mov dword [esi + 0x670], eax
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x40b981
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.0042e010
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.0042dcd0
mov eax, dword [esi + 0x670]
test eax, eax
je 0x40b9c3
push 5
lea ecx, [esi + 0xd4]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40bad2
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x660]
mov byte [esp + 0x2c], 2
test eax, eax
jle 0x40bac4
mov esi, dword [esi + 0x658]
xor ebp, ebp
test esi, esi
je 0x40bac4
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 + 0x34]
mov byte [esp + 0x2c], 3
test eax, eax
je 0x40ba12
lea eax, [edi + 8]
push eax
jmp 0x40ba16
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [edi + 4]
push 0x4db790
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40ba3a
mov eax, dword [edi + 4]
jmp 0x40ba3c
mov eax, dword [edi]
push eax
push ebp
mov ecx, ebx
call fcn.004205b0
push 0xffffff
push 0
push 0
push ebp
mov ecx, ebx
call fcn.00420990
mov edx, dword [esp + 0x10]
push 0xffffff
push 0xff
push edx
push 1
push ebp
mov ecx, ebx
call fcn.00420730
push edi
push ebp
mov ecx, ebx
call fcn.00420d20
mov eax, dword [edi + 0x14]
dec eax
je 0x40ba8a
push 1
push ebp
mov ecx, ebx
call fcn.004208e0
jmp 0x40baad
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.004209f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
inc ebp
test esi, esi
jne 0x40b9ef
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0042eb60
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4