Function at 0x40ba60
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474ef8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x40bf6c
push str.iNLBEcD__NR
lea ecx, [esp + 0x30]
call fcn.0042e9f0
mov dword [esp + 0x40], 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 + 0x34]
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 0x4e7450
push edx
call fcn.0042a9a0
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 0x40bc44
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x40bc46
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.0040c590
mov eax, dword [esi + 0x4f8]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x40bf5b
lea ebx, [esi + 0x4d8]
mov ecx, ebx
call fcn.00421840
lea ecx, [esi + 0x654]
push ecx
mov ecx, dword [esi + 0x90]
call fcn.004315d0
mov eax, dword [esi + 0x90]
push 0x4eba90
add eax, 0x6c
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40be27
mov edx, dword [esi + 0x134]
lea ebp, [esi + 0xd4]
push edx
call edi
test eax, eax
je 0x40bcdf
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 + 0x2c]
push eax
call fcn.004161a0
add esp, 0xc
lea ecx, [esp + 0x20]
push 0x64
push ecx
mov ecx, eax
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::Left
mov edi, eax
lea edx, [esp + 0x1c]
mov byte [esp + 0x40], 2
push edx
call fcn.004164d0
add esp, 4
push str.qmacro_temp_
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x48], 3
push eax
call sub.MFC42.DLL_operator_1
push edi
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_operator_2
push 0x4e7128
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 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 + 0x30], esp
lea edx, [esp + 0x18]
push eax
push edx
push ecx
call sub.MFC42.DLL_operator_2
mov ecx, ebp
call fcn.00445e90
mov dword [esi + 0x670], eax
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x40bdfc
mov eax, dword [esi + 0x90]
push ecx
add eax, 0x20
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.00446780
mov edx, dword [esi + 0x90]
push ecx
add edx, 0x20
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.00446440
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x670]
test eax, eax
je 0x40be4c
push 5
lea ecx, [esi + 0xd4]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40bf5b
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x660]
mov byte [esp + 0x40], 0xc
test eax, eax
jle 0x40bf4d
mov esi, dword [esi + 0x658]
xor ebp, ebp
test esi, esi
je 0x40bf4d
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 + 0x48]
mov byte [esp + 0x40], 0xd
test eax, eax
je 0x40be9b
lea eax, [edi + 8]
push eax
jmp 0x40be9f
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041f172
mov eax, dword [edi + 4]
push 0x4eba90
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40bec3
mov eax, dword [edi + 4]
jmp 0x40bec5
mov eax, dword [edi]
push eax
push ebp
mov ecx, ebx
call fcn.00421610
push 0xffffff
push 0
push 0
push ebp
mov ecx, ebx
call fcn.004219f0
mov edx, dword [esp + 0x10]
push 0xffffff
push 0xff
push edx
push 1
push ebp
mov ecx, ebx
call fcn.00421790
push edi
push ebp
mov ecx, ebx
call fcn.00421d80
mov eax, dword [edi + 0x14]
dec eax
je 0x40bf13
push 1
push ebp
mov ecx, ebx
call fcn.00421940
jmp 0x40bf36
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.00421a50
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0xc
call sub.MFC42.DLL_CString::CString
inc ebp
test esi, esi
jne 0x40be78
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
call fcn.0042ec50
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 4