Function at 0x401e30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40579e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
push edi
mov edi, ecx
push str.Queue.
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
xor esi, esi
push str.Status.
lea ecx, [esp + 0x1c]
mov dword [esp + 0x148], esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 1
call fcn.00404e54
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 2
call fcn.00404e54
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 3
call fcn.00404e54
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 4
call fcn.00404e54
push esi
lea eax, [esp + 0x10]
mov bl, 5
push 0x40835c
push eax
mov byte [esp + 0x150], bl
mov dword [esp + 0x34], esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [str.Tour]
lea ecx, [esp + 0x40]
push 0xff
push ecx
push 0x4085f8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x3c]
test al, al
je 0x402111
push ebp
lea ebp, [edi + 0x60]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x14c], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x3c]
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CString::CString
mov cl, byte [esp + 0x40]
lea eax, [esp + 0x40]
test cl, cl
je 0x401fc0
mov byte [eax], 0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401fb5
mov eax, dword [edi + 4]
mov ecx, dword [str.Tour]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push 0xff
push edx
push 0x4085f8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x40]
lea ecx, [esp + 0x38]
push edx
call sub.MFC42.DLL_CString::CString_1
push eax
mov ecx, edi
mov byte [esp + 0x14c], 9
call fcn.004021b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], eax
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CString::CString
mov cl, byte [esp + 0x40]
lea eax, [esp + 0x40]
test cl, cl
je 0x40202e
mov byte [eax], 0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402023
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [esi + 1]
push eax
call fcn.00402760
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x30]
push edx
lea esi, [ecx + esi*8]
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x2c]
inc eax
push eax
push 0x40835c
push ecx
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 4]
mov ecx, dword [str.Tour]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x44]
push 0xff
push edx
push 0x4085f8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x40]
test al, al
jne 0x401f79
pop ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x144], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret