Function at 0x40ba00
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471d00
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 0x40bde3
push str.BeginHotkey
lea ecx, [esp + 0x1c]
call fcn.0042ee80
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 0x4dc3a4
push edx
call fcn.00432fb0
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 0x40bb6a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x40bb6c
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.0040c3e0
mov eax, dword [esi + 0x4f8]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
je 0x40bdd2
lea ebx, [esi + 0x4d8]
mov ecx, ebx
call fcn.00420c60
lea ecx, [esi + 0x654]
push ecx
mov ecx, dword [esi + 0x90]
call fcn.00431850
mov eax, dword [esi + 0x90]
push 0x4e0820
add eax, 0x6c
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40bc9e
mov edx, dword [esi + 0x134]
lea edi, [esi + 0xd4]
push edx
call ebp
test eax, eax
je 0x40bc05
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_4
lea edx, [esp + 0x20]
push edx
call fcn.00432230
add esp, 8
push eax
push ebp
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_operator_2
mov ecx, edi
call fcn.0042dca0
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 0x40bc81
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_4
mov ecx, edi
call fcn.0042e590
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_4
mov ecx, edi
call fcn.0042e250
mov eax, dword [esi + 0x670]
test eax, eax
je 0x40bcc3
push 5
lea ecx, [esi + 0xd4]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40bdd2
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 0x40bdc4
mov esi, dword [esi + 0x658]
xor ebp, ebp
test esi, esi
je 0x40bdc4
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 0x40bd12
lea eax, [edi + 8]
push eax
jmp 0x40bd16
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041e5a2
mov eax, dword [edi + 4]
push 0x4e0820
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40bd3a
mov eax, dword [edi + 4]
jmp 0x40bd3c
mov eax, dword [edi]
push eax
push ebp
mov ecx, ebx
call fcn.00420a30
push 0xffffff
push 0
push 0
push ebp
mov ecx, ebx
call fcn.00420e10
mov edx, dword [esp + 0x10]
push 0xffffff
push 0xff
push edx
push 1
push ebp
mov ecx, ebx
call fcn.00420bb0
push edi
push ebp
mov ecx, ebx
call fcn.004211a0
mov eax, dword [edi + 0x14]
dec eax
je 0x40bd8a
push 1
push ebp
mov ecx, ebx
call fcn.00420d60
jmp 0x40bdad
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.00420e70
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
inc ebp
test esi, esi
jne 0x40bcef
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.0042f0e0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4