Function at 0x41ad10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43c2f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov eax, dword [0x47f070]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x148]
push ebp
push esi
mov esi, dword [esp + 0x154]
lea ebp, [ecx + 8]
push edi
mov ecx, ebp
mov dword [esp + 0x140], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
call fcn.0041a7c0
push esi
push 0x100
lea eax, [esp + 0x48]
push eax
push 0x44093e
xor edi, edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x2c]
call sub.MFC71.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x154], edi
call fcn.00412290
mov eax, dword [esp + 0x3c]
add esp, 8
cmp eax, edi
jne 0x41b605
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov edi, 1
push str.00080020
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 1
mov dword [esp + 0x14], edi
call dword [0x43f528]
push 0x442278
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push str.YYYY.MM.DD
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x24]
call dword [0x43f528]
mov esi, dword [ebp + 8]
test esi, esi
jge 0x41ae26
call fcn.00439dbc
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, ebp
call fcn.0041a4f0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [0x43f43c]
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 8]
call dword [0x43f43c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x10]
call dword [0x43f43c]
push str.00080030
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call dword [0x43f528]
push 0x442260
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push str.HH:MM:SS
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x24]
call dword [0x43f528]
mov esi, dword [ebp + 8]
test esi, esi
jge 0x41aec6
call fcn.00439dbc
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
mov ecx, ebp
call fcn.0041a4f0
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*4]
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
mov dword [esi], edx
call dword [0x43f43c]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 8]
call dword [0x43f43c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x10]
call dword [0x43f43c]
mov edi, 2
push str.00200011
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call dword [0x43f528]
push 0x44223c
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x24]
call dword [0x43f528]
mov esi, dword [ebp + 8]
test esi, esi
jge 0x41af6b
call fcn.00439dbc
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, ebp
call fcn.0041a4f0
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea esi, [eax + edx*4]
lea edx, [esp + 0x14]
mov dword [esi], ecx
push edx
lea ecx, [esi + 4]
call dword [0x43f43c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 8]
call dword [0x43f43c]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x10]
call dword [0x43f43c]
push str.00200013
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call dword [0x43f528]
push 0x442224
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x24]
call dword [0x43f528]
mov esi, dword [ebp + 8]
test esi, esi
jge 0x41b00b
call fcn.00439dbc
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, ebp
call fcn.0041a4f0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [0x43f43c]
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 8]
call dword [0x43f43c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x10]
call dword [0x43f43c]
mov edi, 0x442220
mov esi, ebx
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41b25f
mov edi, 8
push str.00180060
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call dword [0x43f528]
push 0x44220c
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x442208
lea ecx, [esp + 0x24]
call dword [0x43f528]
mov esi, dword [ebp + 8]
test esi, esi
jge 0x41b0c6
call fcn.00439dbc
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, ebp
call fcn.0041a4f0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [0x43f43c]
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 8]
call dword [0x43f43c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x10]
call dword [0x43f43c]
push str.00181151
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call dword [0x43f528]
push 0x4421f0
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x4421ec
lea ecx, [esp + 0x24]
call dword [0x43f528]
mov esi, dword [ebp + 8]
test esi, esi
jge 0x41b166
call fcn.00439dbc
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
mov ecx, ebp
call fcn.0041a4f0
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*4]
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
mov dword [esi], edx
call dword [0x43f43c]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 8]
call dword [0x43f43c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x10]
call dword [0x43f43c]
push str.00181152
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call dword [0x43f528]
push 0x4421d4
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x4421d0
lea ecx, [esp + 0x24]
call dword [0x43f528]
mov esi, dword [ebp + 8]
test esi, esi
jge 0x41b206
call fcn.00439dbc
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, ebp
call fcn.0041a4f0
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea esi, [eax + edx*4]
lea edx, [esp + 0x14]
mov dword [esi], ecx
push edx
lea ecx, [esi + 4]
call dword [0x43f43c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 8]
call dword [0x43f43c]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x10]
call dword [0x43f43c]
jmp 0x41b534
mov edi, 0x4421cc
mov esi, ebx
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x41b399
mov esi, 8
push str.00180060
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call dword [0x43f528]
push 0x44220c
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x442208
lea ecx, [esp + 0x24]
call dword [0x43f528]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.0041aa40
push str.00181151
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call dword [0x43f528]
push 0x4421f0
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x4421ec
lea ecx, [esp + 0x24]
call dword [0x43f528]
lea edx, [esp + 0x10]
push edx
mov ecx, ebp
call fcn.0041aa40
push str.00180050
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call dword [0x43f528]
push 0x4421b4
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x441bbc
lea ecx, [esp + 0x24]
call dword [0x43f528]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.0041aa40
push str.00201041
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call dword [0x43f528]
push 0x44219c
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x441bbc
jmp 0x41b51e
mov edi, 0x442198
mov esi, ebx
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41b534
push str.00201041
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 4
call dword [0x43f528]
push 0x44219c
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x441bbc
lea ecx, [esp + 0x24]
call dword [0x43f528]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.0041aa40
mov esi, 8
push str.0008103E
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call dword [0x43f528]
push 0x442180
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x24]
call dword [0x43f528]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.0041aa40
push str.00180080
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call dword [0x43f528]
push 0x442168
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push str.msec
lea ecx, [esp + 0x24]
call dword [0x43f528]
lea edx, [esp + 0x10]
push edx
mov ecx, ebp
call fcn.0041aa40
push str.00180081
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call dword [0x43f528]
push 0x442148
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push str.msec
lea ecx, [esp + 0x24]
call dword [0x43f528]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.0041aa40
push str.00180082
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
call dword [0x43f528]
push 0x442130
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push str.msec
lea ecx, [esp + 0x24]
call dword [0x43f528]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.0041aa40
push str.00281050
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 4
call dword [0x43f528]
push str.WW_WC
lea ecx, [esp + 0x1c]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x20]
call dword [0x43f528]
push 0x44093e
lea ecx, [esp + 0x24]
call dword [0x43f528]
mov esi, dword [ebp + 8]
test esi, esi
jge 0x41b584
call fcn.00439dbc
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
mov ecx, ebp
call fcn.0041a4f0
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*4]
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
mov dword [esi], edx
call dword [0x43f43c]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 8]
call dword [0x43f43c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x10]
call dword [0x43f43c]
lea ecx, [esp + 0x20]
call dword [0x43f434]
lea ecx, [esp + 0x1c]
call dword [0x43f434]
lea ecx, [esp + 0x18]
call dword [0x43f434]
lea ecx, [esp + 0x14]
call dword [0x43f434]
jmp 0x41b7e0
test eax, eax
jle 0x41b7e0
mov ebx, dword [sym.imp.MSVCR71.dll__stricmp]
test edi, edi
jl 0x41b57f
cmp edi, eax
jge 0x41b57f
mov ecx, dword [esp + 0x30]
push esi
push 0x100
lea edx, [esp + 0x48]
push edx
lea ecx, [ecx + edi*4]
push 0x44093e
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x40]
push str.TopLeft
push ecx
mov byte [esp + 0x154], 2
call ebx
add esp, 8
test eax, eax
jne 0x41b699
mov dword [esp + 0x10], 1
jmp 0x41b6f2
lea edx, [esp + 0x40]
push str.TopRight
push edx
call ebx
add esp, 8
test eax, eax
jne 0x41b6b6
mov dword [esp + 0x10], 2
jmp 0x41b6f2
lea eax, [esp + 0x40]
push str.BottomLeft
push eax
call ebx
add esp, 8
test eax, eax
jne 0x41b6d3
mov dword [esp + 0x10], 4
jmp 0x41b6f2
lea ecx, [esp + 0x40]
push str.BottomRight
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x41b7a3
mov dword [esp + 0x10], 8
cmp edi, dword [esp + 0x34]
jge 0x41b57f
mov edx, dword [esp + 0x30]
lea eax, [edx + edi*4]
push eax
lea ecx, [esp + 0x18]
call dword [0x43f43c]
mov esi, dword [ebp + 8]
test esi, esi
jl 0x41b57f
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, ebp
call fcn.0041a4f0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [0x43f43c]
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 8]
call dword [0x43f43c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc]
call dword [0x43f43c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x10]
call dword [0x43f43c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0
call dword [0x43f434]
lea ecx, [esp + 0x1c]
call dword [0x43f434]
lea ecx, [esp + 0x18]
call dword [0x43f434]
lea ecx, [esp + 0x14]
call dword [0x43f434]
mov esi, dword [esp + 0x28]
jmp 0x41b7d3
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0
call dword [0x43f434]
lea ecx, [esp + 0x1c]
call dword [0x43f434]
lea ecx, [esp + 0x18]
call dword [0x43f434]
lea ecx, [esp + 0x14]
call dword [0x43f434]
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
jl 0x41b613
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00439f6c
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x134]
pop ebx
xor ecx, esp
call fcn.0043a16b
add esp, 0x140
ret 8