Function at 0x409153
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b32
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1100
call fcn.00468ab0
mov eax, dword [0x489218]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x104c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1044], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x1040], eax
mov dword [ebp - 0x1038], ebx
call fcn.0040a3c3
cmp byte [eax], bl
jne 0x409232
lea eax, [ebp - 0x10f0]
push eax
call fcn.00408287
lea eax, [ebp - 0x10e8]
push str.CINIReader::GetText___start
push eax
mov dword [ebp - 4], ebx
call fcn.00406795
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040677b
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 1
call fcn.004064f6
push ebx
push 1
mov esi, edi
call fcn.0040866c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.00406bd8
mov eax, dword [ebp - 0x1048]
cmp dword [eax + 0x1c], 8
jb 0x409366
mov eax, dword [eax + 8]
jmp 0x409369
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 2
call fcn.004063dd
mov byte [ebp - 4], 3
call fcn.0040a3c3
lea ecx, [ebp - 0x1068]
call fcn.004062f3
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x409268
mov esi, dword [eax + 4]
jmp 0x40926b
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x479278
push eax
call fcn.00406795
pop ecx
pop ecx
push esi
push eax
call fcn.00406795
pop ecx
pop ecx
push 0x479270
push eax
call fcn.00406795
pop ecx
pop ecx
push str.CINIReader::GetText___start
push eax
call fcn.00406795
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 3
call fcn.0040866c
lea eax, [ebp - 0x103c]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x409311
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.004062d9
push 0x20
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push ebx
push 1
lea esi, [ebp - 0x1068]
call fcn.0040866c
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x10e8]
mov byte [ebp - 4], 2
call fcn.00406348
or dword [ebp - 4], 0xffffffff
jmp 0x40921a
add eax, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40937e
push 0x4791e4
jmp 0x409867
call fcn.0040a3c3
cmp byte [eax], 0
jne 0x409412
lea eax, [ebp - 0x10f0]
push eax
call fcn.00408287
push dword [ebp - 0x1044]
mov ebx, 0x4792c8
push ecx
push ebx
push ecx
lea eax, [ebp - 0x10e8]
push str.CINIReader::GetText___sSection
push eax
mov dword [ebp - 4], 9
call fcn.00406795
add esp, 0xc
push eax
call fcn.00406795
add esp, 0xc
push eax
call fcn.00406a28
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040677b
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0xa
call fcn.004064f6
push 0
push 1
mov esi, edi
call fcn.0040866c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.00406bd8
jmp 0x409566
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0xb
call fcn.004063dd
mov byte [ebp - 4], 0xc
call fcn.0040a3c3
lea ecx, [ebp - 0x1068]
call fcn.004062f3
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x409448
mov esi, dword [eax + 4]
jmp 0x40944b
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x479278
push eax
call fcn.00406795
pop ecx
pop ecx
push esi
push eax
call fcn.00406795
pop ecx
pop ecx
push 0x479270
push eax
call fcn.00406795
pop ecx
pop ecx
push str.CINIReader::GetText___sSection
push eax
call fcn.00406795
pop ecx
pop ecx
mov ebx, 0x4792c8
push ebx
push eax
call fcn.00406795
pop ecx
pop ecx
push dword [ebp - 0x1044]
push eax
call fcn.00406a28
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0xc
call fcn.0040866c
lea eax, [ebp - 0x103c]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x40950f
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.004062d9
push 0x24
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0xf
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push 0
push 1
lea esi, [ebp - 0x1068]
call fcn.0040866c
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x10e8]
mov byte [ebp - 4], 0xb
call fcn.00406348
or dword [ebp - 4], 0xffffffff
jmp 0x409566
call fcn.0040a3c3
cmp byte [eax], 0
jne 0x4095f5
lea eax, [ebp - 0x10f0]
push eax
call fcn.00408287
push dword [ebp - 0x1040]
lea eax, [ebp - 0x10e8]
push ecx
push ebx
push ecx
push str.CINIReader::GetText___sParamName
push eax
mov dword [ebp - 4], 0x12
call fcn.00406795
add esp, 0xc
push eax
call fcn.00406795
add esp, 0xc
push eax
call fcn.00406a28
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040677b
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0x13
call fcn.004064f6
push 0
push 1
mov esi, edi
call fcn.0040866c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.00406bd8
jmp 0x409744
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0x14
call fcn.004063dd
mov byte [ebp - 4], 0x15
call fcn.0040a3c3
lea ecx, [ebp - 0x1068]
call fcn.004062f3
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], 8
jb 0x40962b
mov esi, dword [eax + 4]
jmp 0x40962e
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x479278
push eax
call fcn.00406795
pop ecx
pop ecx
push esi
push eax
call fcn.00406795
pop ecx
pop ecx
push 0x479270
push eax
call fcn.00406795
pop ecx
pop ecx
push str.CINIReader::GetText___sParamName
push eax
call fcn.00406795
pop ecx
pop ecx
push ebx
push eax
call fcn.00406795
pop ecx
pop ecx
push dword [ebp - 0x1040]
push eax
call fcn.00406a28
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x15
call fcn.0040866c
lea eax, [ebp - 0x103c]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0x17
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4096ed
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.004062d9
push 0x25
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0x18
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push 0
push 1
lea esi, [ebp - 0x1068]
call fcn.0040866c
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0x15
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x10e8]
mov byte [ebp - 4], 0x14
call fcn.00406348
or dword [ebp - 4], 0xffffffff
jmp 0x409744
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1018], ax
lea eax, [ebp - 0x1016]
push eax
call fcn.0045c870
mov edx, dword [ebp - 0x1048]
add esp, 0xc
cmp dword [edx + 0x1c], 8
jb 0x409773
mov edx, dword [edx + 8]
jmp 0x409776
add edx, 8
mov ecx, dword [ebp - 0x1040]
cmp dword [ecx + 0x18], 8
jb 0x409787
mov ecx, dword [ecx + 4]
jmp 0x40978a
add ecx, 4
mov eax, dword [ebp - 0x1044]
cmp dword [eax + 0x18], 8
jb 0x40979b
mov eax, dword [eax + 4]
jmp 0x40979e
add eax, 4
push edx
push 0x800
lea edx, [ebp - 0x1018]
push edx
push 0x4791e4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.0040a3c3
cmp byte [eax], 0
jne 0x409890
lea eax, [ebp - 0x10f0]
push eax
call fcn.00408287
lea eax, [ebp - 0x1018]
push eax
lea esi, [ebp - 0x110c]
mov dword [ebp - 4], 0x1b
call fcn.004062ba
push eax
push ecx
push ebx
push ecx
lea eax, [ebp - 0x10e8]
push str.CINIReader::GetText___result
push eax
mov byte [ebp - 4], 0x1c
call fcn.00406795
add esp, 0xc
push eax
call fcn.00406795
add esp, 0xc
push eax
call fcn.00406a28
pop ecx
pop ecx
push 0
push 1
mov byte [ebp - 4], 0x1b
call fcn.0040866c
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040677b
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0x1d
call fcn.004064f6
push 0
push 1
mov esi, edi
call fcn.0040866c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.00406bd8
lea eax, [ebp - 0x1018]
push eax
mov esi, dword [ebp - 0x104c]
call fcn.004062ba
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045509c
leave
ret 0x10
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0x1e
call fcn.004063dd
lea eax, [ebp - 0x1018]
push eax
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x1f
call fcn.004062ba
mov edi, eax
mov byte [ebp - 4], 0x20
call fcn.0040a3c3
lea ecx, [ebp - 0x110c]
call fcn.004062f3
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x18], 8
jb 0x4098de
mov esi, dword [eax + 4]
jmp 0x4098e1
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x479278
push eax
call fcn.00406795
pop ecx
pop ecx
push esi
push eax
call fcn.00406795
pop ecx
pop ecx
push 0x479270
push eax
call fcn.00406795
pop ecx
pop ecx
push str.CINIReader::GetText___result
push eax
call fcn.00406795
pop ecx
pop ecx
push ebx
push eax
call fcn.00406795
pop ecx
pop ecx
push edi
push eax
call fcn.00406a28
pop ecx
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x110c]
call fcn.0040866c
push edi
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x1f
call fcn.0040866c
lea eax, [ebp - 0x103c]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0x22
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4099a9
lea eax, [ebp - 0x110c]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.004062d9
push 0x2b
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0x23
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push edi
push 1
lea esi, [ebp - 0x110c]
call fcn.0040866c
lea ecx, [ebp - 0x103c]
mov byte [ebp - 4], 0x1f
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x10e8]
mov byte [ebp - 4], 0x1e
call fcn.00406348
or dword [ebp - 4], 0xffffffff
jmp 0x409860