Function at 0x4075a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40fe14
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x417014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
mov ecx, dword [0x418ce8]
push eax
call dword [sym.imp.mfc140u.dll_CWnd::GetWindowTextW]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov esi, eax
mov eax, dword [0x418cf0]
push 0
push 0
push 0x1004
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jae 0x4077b3
mov ebx, dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
nop dword [eax + eax]
mov ecx, dword [0x418cf0]
lea eax, [ebp - 0x14]
push 1
push esi
push eax
call dword [sym.imp.mfc140u.dll_CListCtrl::GetItemText]
push 0x4180d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 0x18]
push str._ws_ws_log.txt
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x18]
push 0
push 0x4120fc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x18]
mov edi, eax
push 0
push 0x41211c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push 0
push 0x412258
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x18]
push 0
push 0x412124
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
push 0
push 0x41212c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test edi, edi
jne 0x407708
cmp dword [ebp - 0x20], edi
jne 0x407708
cmp dword [ebp - 0x24], edi
jne 0x407708
test eax, eax
jne 0x407708
mov ecx, dword [0x418cf0]
push esi
call dword [sym.imp.mfc140u.dll_CListCtrl::GetItemData]
cmp eax, 1
jne 0x407747
mov ecx, dword [0x418cf0]
push 0x41212c
push 1
push esi
call ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [0x418cf0]
inc esi
push 0
push 0
push 0x1004
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jb 0x407630
jmp 0x4077b3
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push edi
push 0x412264
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov ecx, dword [0x418cf0]
add esp, 0xc
push dword [ebp - 0x14]
push 1
push edi
call ebx
mov ecx, dword [0x418cf0]
push 1
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItem]
push dword [ebp - 0x1c]
mov ecx, dword [0x418cf0]
push 0xb
push esi
call ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e8e5
mov esp, ebp
pop ebp
ret