Function at 0x420150
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xdc8]
push 1
lea edi, [esi + 0xdc8]
mov eax, dword [ecx]
call dword [eax + 0x38]
push ecx
lea edx, [esi + 0xe04]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00421220
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call dword [edx + 0x60]
mov ecx, dword [edi]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
lea ebx, [esi + 0xdd4]
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [edi]
mov dword [esi + 0xde4], eax
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov ecx, dword [edi]
mov dword [esi + 0xde8], eax
mov eax, dword [ecx]
call dword [eax + 0x54]
push str.qmacrone.ini
lea ecx, [ebp - 0x10]
push 0x5da458
push ecx
mov dword [esi + 0xdec], eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [ebx]
push eax
push 0
push 0x591ea0
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call sub.MFC42.DLL_CString::CString
push str.qmacrone.ini
lea edx, [ebp - 0x10]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [ebx]
push eax
push 0
push 0x591e90
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
test ax, ax
je 0x42028e
mov ecx, dword [edi]
and eax, 0xffff
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
and ecx, 0xffff
shl ecx, 0x10
or ecx, eax
push ecx
mov ecx, dword [edi]
call dword [edx + 0x48]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x44]
push str.qmacrone.ini
lea ecx, [ebp - 0x18]
push 0x5da458
push ecx
mov dword [esi + 0xdd8], eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [ebx]
push eax
push 0
push 0x591e84
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call sub.MFC42.DLL_CString::CString
push str.qmacrone.ini
lea edx, [ebp - 0x18]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [ebx]
push eax
push 0
push 0x591e74
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x14]
test cx, cx
je 0x420322
mov eax, dword [edi]
and ecx, 0xffff
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
and eax, 0xffff
shl eax, 0x10
or eax, ecx
mov ecx, dword [edi]
push eax
call dword [edx + 0x58]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x54]
push str.qmacrone.ini
lea ecx, [ebp - 0x18]
push 0x5da458
push ecx
mov dword [esi + 0xde0], eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [ebx]
push eax
push 0
push 0x591e68
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call sub.MFC42.DLL_CString::CString
push str.qmacrone.ini
lea edx, [ebp - 0x18]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ebx, dword [ebx]
push eax
push 0
push 0x591e58
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x18]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi]
test ax, ax
je 0x4203b2
mov edx, dword [ecx]
and ebx, 0xffff
shl ebx, 0x10
and eax, 0xffff
or ebx, eax
push ebx
call dword [edx + 0x50]
jmp 0x4203b9
mov eax, dword [ecx]
push 0
call dword [eax + 0x50]
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov ecx, esi
mov dword [esi + 0xddc], eax
call fcn.00420a60
push str.qmacrone.ini
lea eax, [ebp - 0x18]
push 0x5da458
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov dword [ebp - 4], 2
push eax
push 0
push str.SetDelay
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [edi]
test ecx, ecx
je 0x420425
xor edx, edx
mov ebx, dword [ecx]
test eax, eax
setle dl
dec edx
and edx, 2
dec edx
add edx, eax
mov eax, edx
neg eax
shl eax, 2
sub eax, edx
lea edx, [eax + eax*4]
shl edx, 2
push edx
call dword [ebx + 0x3c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
push 0xc90056fe
call fcn.00427f4f