Function at 0x40b050
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413713
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x41b014]
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 - 0x24], ecx
mov eax, dword [0x41bca4]
mov esi, dword [0x41c6c0]
push 0
push 0
push 0x1004
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jae 0x40b479
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
nop dword [eax]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 1
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
mov ecx, dword [0x41bca4]
push eax
call dword [sym.imp.mfc140u.dll_CListCtrl::GetItemText]
push 0x41bca8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 0x1c]
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__7]
add esp, 0x10
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x1c]
push 0
push 0x415c38
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x1c]
mov edi, eax
push 0
push str._S_u
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 0
push 0x415c24
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
push 0
push 0x415c30
push dword [ebp - 0x14]
call ebx
test edi, edi
jne 0x40b15f
cmp dword [ebp - 0x20], edi
jne 0x40b15f
cmp dword [ebp - 0x18], edi
jne 0x40b15f
test eax, eax
je 0x40b19d
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [0x41bca4]
inc esi
push 0
push 0
push 0x1004
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jb 0x40b0b0
jmp 0x40b479
push dword [ebp - 0x1c]
push 0x415de8
push str._S_u
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 1
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push dword [ebp - 0x24]
mov ecx, dword [0x41bca4]
push eax
call dword [sym.imp.mfc140u.dll_CListCtrl::GetItemText]
push 0x41bca8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov byte [ebp - 4], 5
push dword [ebp - 0x28]
push dword [eax]
lea eax, [ebp - 0x20]
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__7]
add esp, 0x10
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x20]
push 0
push 0x415fd0
push dword [ebp - 0x28]
call ebx
push dword [ebp - 0x20]
mov edi, eax
push 0
push 0x41603c
push dword [ebp - 0x28]
call ebx
push dword [ebp - 0x20]
mov ebx, eax
push 0
push 0x416334
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
push 0
push 0x41633c
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], eax
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
inc ecx
push ecx
lea ecx, [esi + 1]
push ecx
push 0x416344
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
mov ecx, dword [0x41bca4]
add esp, 0x10
push dword [ebp - 0x18]
push 0xc
push esi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
mov ecx, dword [0x41bca4]
lea eax, [ebp - 0x2c]
push 0xe
push dword [ebp - 0x24]
push eax
call dword [sym.imp.mfc140u.dll_CListCtrl::GetItemText]
mov byte [ebp - 4], 7
push dword [eax]
mov ecx, dword [0x41bca4]
push 0xe
push esi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push edi
lea eax, [ebp - 0x18]
push 0x414918
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x415fd0
push dword [ebp - 0x14]
call edi
push ebx
mov ebx, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
lea eax, [ebp - 0x18]
push 0x417570
push eax
call ebx
add esp, 0xc
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x41603c
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push 0x417570
push eax
call ebx
add esp, 0xc
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x416334
push dword [ebp - 0x14]
call edi
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x18]
push edi
push 0x417570
push eax
call ebx
add esp, 0xc
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x41633c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [0x41bca4]
lea eax, [ebp - 0x34]
push 1
push esi
push eax
call dword [sym.imp.mfc140u.dll_CListCtrl::GetItemText]
mov byte [ebp - 4], 8
push dword [eax]
mov esi, dword [ebp - 0x24]
mov ecx, dword [0x41bca4]
push 1
push esi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test edi, edi
jne 0x40b416
mov ecx, dword [0x41bca4]
lea eax, [esi - 1]
push 1
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.mfc140u.dll_CListCtrl::GetItemText]
push 0x41bca8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov byte [ebp - 4], 0xa
push dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x20]
push str._ws_ws_log.txt
push eax
call ebx
add esp, 0x10
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x20]
push edi
push 0x415fd0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x415fd0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [0x41bca4]
mov ebx, dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
push 0x416598
push 0xb
push esi
call ebx
mov ecx, dword [0x41bca4]
push 0x416598
push 0xc
push esi
call ebx
mov ecx, dword [0x41bca4]
push 0x416598
push 0xd
push esi
call ebx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
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.00411c65
mov esp, ebp
pop ebp
ret