Function at 0x405519
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4372a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
mov dword [ebp - 0x254], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00408ce0
mov byte [ebp - 4], 1
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 0xffffffff
je 0x4055c7
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
push 0x447fa4
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x238], eax
jmp 0x405596
mov ecx, dword [ebp - 0x1c]
add ecx, 1
push ecx
lea edx, [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x130]
call fcn.004355a4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x10]
call fcn.004355ce
mov byte [ebp - 4], 4
push 0x447fa8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebp - 0x254]
add ecx, 8
call fcn.004044b0
test eax, eax
jne 0x40565b
mov eax, dword [ebp - 0x254]
add eax, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.004355a4
push 0x447fb4
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 5
push 0x447fb8
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.004014c0
push eax
push 0xff
lea ecx, [ebp - 0x230]
push ecx
push 0
lea ecx, [ebp - 0x128]
call fcn.004014c0
push eax
lea ecx, [ebp - 0x18]
call fcn.004014c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x10]
call fcn.004014c0
push eax
push 0
push 0x447fcc
lea ecx, [ebp - 0x18]
call fcn.004014c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x4056fc
push 0x447fd4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 7
push 0
push 0x448310
mov ecx, dword [ebp - 0x254]
add ecx, 4
call fcn.00408c30
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::AllocSysString
push eax
lea ecx, [ebp - 0x234]
call fcn.00409490
mov byte [ebp - 4], 7
push 3
mov ecx, dword [ebp - 0x254]
add ecx, 4
call fcn.00408ba0
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x260]
push edx
call dword [ecx + 0x74]
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x240], esp
push 0x44e7ac
call fcn.00409400
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push 0x44e7b0
call fcn.00409400
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x248], esp
lea edx, [ebp - 0x234]
push edx
call fcn.004093d0
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x254]
add ecx, 4
call fcn.00408ba0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00409be0
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jge 0x40586f
mov dword [ebp - 0x24c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
call fcn.00409520
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00408d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24c]
jmp 0x4058e2
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
call fcn.00409520
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00408d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret