Function at 0x401843
Capabilities:
Read .ini file

Disassembly:
jmp 0x416b20
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5415e8
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x417091
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 + 8]
push eax
xor eax, eax
mov ax, word [ecx + 0x24]
push eax
push 0x5efb28
push edx
call ebx
mov ebp, eax
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 4]
lea ecx, [esp + 0x1c]
push 0x5efb08
push ecx
call fcn.004634a0
mov edi, dword [edi + 0x94]
mov ecx, dword [eax]
mov eax, dword [esi + 0x90]
add esp, 8
mov edx, dword [eax + 8]
push edi
xor edi, edi
mov di, word [eax + 0x26]
push edi
push ecx
push edx
call ebx
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x90]
mov word [edx + 0x24], bp
mov eax, dword [esi + 0x90]
and ebp, 0xffff
mov word [eax + 0x26], di
and edi, 0xffff
shl edi, 0x10
or edi, ebp
mov dword [esi + 0x734], 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 + 8]
push eax
xor eax, eax
mov ax, word [ecx + 0x28]
push eax
push 0x5efaf8
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 + 8]
push eax
xor eax, eax
mov ax, word [ecx + 0x2a]
push eax
push 0x5efae4
push edx
call ebx
mov ecx, dword [esi + 0x90]
mov word [ecx + 0x28], di
mov edx, dword [esi + 0x90]
and edi, 0xffff
mov word [edx + 0x2a], ax
and eax, 0xffff
shl eax, 0x10
or eax, edi
mov dword [esi + 0x738], 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 + 8]
push eax
xor eax, eax
mov ax, word [ecx + 0x2c]
push eax
push 0x5efad4
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 + 8]
push eax
xor eax, eax
mov ax, word [ecx + 0x2e]
push eax
push 0x5efac4
push edx
call ebx
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 + 0x73c], eax
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x416cee
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x416cf0
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 + 0x740], eax
call fcn.004012d5
mov eax, dword [esi + 0x5b8]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
je 0x417091
lea ebx, [esi + 0x598]
mov ecx, ebx
call fcn.00452cb0
mov eax, dword [esi + 0x90]
push 0x617d8c
add eax, 0x54
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x416e90
mov ecx, dword [esi + 0x1f4]
lea edi, [esi + 0x194]
push ecx
call ebp
test eax, eax
je 0x416d77
mov edx, dword [edi + 0x40]
lea ecx, [edi + 0x40]
call dword [edx + 0x60]
lea eax, [esp + 0x24]
push eax
call fcn.0040143d
add esp, 4
push str.qmacroocx_
lea ecx, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_operator_2
mov edx, dword [esi + 0x90]
mov byte [esp + 0x3c], 1
add edx, 8
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_operator_1
push 0x5ef7e0
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_operator_2
mov edx, dword [esi + 0x90]
mov byte [esp + 0x3c], 3
add edx, 0x54
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::CString
push 0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, edi
call fcn.004a5e40
mov dword [esi + 0x730], eax
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x416e62
mov eax, dword [esi + 0x90]
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, edi
call fcn.004a6690
mov edx, dword [esi + 0x90]
push ecx
add edx, 8
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, edi
call fcn.004a6300
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x730]
xor ebp, ebp
cmp eax, ebp
je 0x416eb6
push 5
lea ecx, [esi + 0x194]
call sub.MFC42.DLL_CWnd::ShowWindow
push ebp
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x417091
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi + 0x90]
mov dword [esp + 0x3c], 9
add eax, 0xa8
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 8]
cmp ecx, ebp
jle 0x417080
dec ecx
test ecx, ecx
jl 0x417080
mov dword [esp + 0x18], ebp
jmp 0x416ef4
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [eax + 4]
add edi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xa
test eax, eax
je 0x416f22
lea eax, [edi + 8]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_3
jmp 0x416f57
mov ecx, dword [esi + 0x90]
push 1
lea edx, [esp + 0x28]
mov eax, dword [ecx + 8]
mov ecx, edi
push eax
push edx
call fcn.00467ed0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 0xb
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 4]
push 0x617d8c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x416f7e
mov eax, dword [edi + 4]
mov ecx, ebx
push eax
push ebp
call fcn.00452910
mov eax, dword [edi + 4]
jmp 0x416f8b
mov eax, dword [edi]
mov ecx, ebx
push eax
push ebp
call fcn.00452910
mov eax, dword [edi]
push eax
push 0
push ebp
mov ecx, ebx
call fcn.00454150
push 0xffffff
push 0
push 0
push ebp
mov ecx, ebx
call fcn.00453450
mov eax, dword [esp + 0x10]
push 0xffffff
push 0xff
push eax
push 1
push ebp
mov ecx, ebx
call fcn.00452b70
push edi
push ebp
mov ecx, ebx
call fcn.004538f0
mov eax, dword [edi + 0x14]
dec eax
je 0x416fea
push 1
push ebp
mov ecx, ebx
call fcn.00452db0
mov ecx, dword [esp + 0x10]
push ecx
push 1
push ebp
mov ecx, ebx
call fcn.00454150
jmp 0x417056
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [edi + 0x20]
add esp, 4
dec ecx
mov dword [esp + 0x14], eax
cmp eax, ecx
jle 0x417010
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push 0
add edi, 0x18
push eax
push 0xa
push edi
push 1
push 1
push ebp
mov ecx, ebx
call fcn.004534b0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, edi
call fcn.00401168
mov eax, dword [eax]
mov ecx, ebx
push eax
push 1
push ebp
mov byte [esp + 0x48], 0xc
call fcn.00454150
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 9
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add edx, 0x40
inc ebp
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 8]
dec edx
cmp ebp, edx
jle 0x416ef0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 4