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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e6f7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1104
call fcn.0055c750
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp - 0x18], 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]
and dword [ebp - 0x103c], 0
mov dword [ebp - 0x1044], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1050], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
mov dword [ebp - 0x1048], edi
mov dword [ebp - 0x104c], eax
call fcn.00462c28
cmp byte [eax], 0
jne 0x4db668
lea eax, [ebp - 0x10f4]
push eax
call fcn.00409b60
and dword [ebp - 4], 0
lea eax, [ebp - 0x10ec]
push str.CINIReader::GetText___start
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x1038]
lea eax, [ebp - 0x10f4]
call fcn.00407170
lea ecx, [ebp - 0x1038]
mov byte [ebp - 4], 1
call fcn.00406a80
lea ecx, [ebp - 0x1038]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f4]
call fcn.00407660
jmp 0x4db79e
lea eax, [ebp - 0x10ec]
push eax
mov dword [ebp - 4], 2
call fcn.004068d0
mov byte [ebp - 4], 3
call fcn.00462c28
lea esi, [ebp - 0x106c]
call fcn.00406720
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x4db69e
mov esi, dword [eax + 4]
jmp 0x4db6a1
lea esi, [eax + 4]
lea eax, [ebp - 0x10ec]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CINIReader::GetText___start
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x106c]
mov byte [ebp - 4], 3
call fcn.00409c40
lea eax, [ebp - 0x1040]
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 - 0x1040]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4db740
lea ecx, [ebp - 0x106c]
lea eax, [ebp - 0x10ec]
call fcn.00406700
push 0x20
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x1040]
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
lea ecx, [ebp - 0x106c]
call fcn.00409c40
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x10ec]
mov byte [ebp - 4], 2
call fcn.004067e0
or dword [ebp - 4], 0xffffffff
jmp 0x4db79e
cmp dword [edi + 0x1c], 8
jb 0x4db7a9
mov eax, dword [edi + 8]
jmp 0x4db7ac
lea eax, [edi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4db7c1
mov eax, 0x59672c
jmp 0x4dbca7
call fcn.00462c28
cmp byte [eax], 0
jne 0x4db854
lea eax, [ebp - 0x10f4]
push eax
call fcn.00409b60
push dword [ebp - 0x1050]
mov ebx, 0x5967ac
push ecx
push ebx
push ecx
lea eax, [ebp - 0x10ec]
push str.CINIReader::GetText___sSection
push eax
mov dword [ebp - 4], 9
call fcn.00407390
add esp, 0xc
push eax
call fcn.00407390
add esp, 0xc
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x1038]
lea eax, [ebp - 0x10f4]
call fcn.00407170
lea ecx, [ebp - 0x1038]
mov byte [ebp - 4], 0xa
call fcn.00406a80
lea ecx, [ebp - 0x1038]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f4]
call fcn.00407660
jmp 0x4db9ab
lea eax, [ebp - 0x10ec]
push eax
mov dword [ebp - 4], 0xb
call fcn.004068d0
mov byte [ebp - 4], 0xc
call fcn.00462c28
lea esi, [ebp - 0x106c]
call fcn.00406720
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x4db88a
mov esi, dword [eax + 4]
jmp 0x4db88d
lea esi, [eax + 4]
lea eax, [ebp - 0x10ec]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CINIReader::GetText___sSection
push eax
call fcn.00407390
pop ecx
pop ecx
mov ebx, 0x5967ac
push ebx
push eax
call fcn.00407390
pop ecx
pop ecx
push dword [ebp - 0x1050]
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x106c]
mov byte [ebp - 4], 0xc
call fcn.00409c40
lea eax, [ebp - 0x1040]
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 - 0x1040]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4db948
lea ecx, [ebp - 0x106c]
lea eax, [ebp - 0x10ec]
call fcn.00406700
push 0x24
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x1040]
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
lea ecx, [ebp - 0x106c]
call fcn.00409c40
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x10ec]
mov byte [ebp - 4], 0xb
call fcn.004067e0
or dword [ebp - 4], 0xffffffff
jmp 0x4db9ab
call fcn.00462c28
cmp byte [eax], 0
jne 0x4dba39
lea eax, [ebp - 0x10f4]
push eax
call fcn.00409b60
push dword [ebp - 0x104c]
lea eax, [ebp - 0x10ec]
push ecx
push ebx
push ecx
push str.CINIReader::GetText___sParamName
push eax
mov dword [ebp - 4], 0x12
call fcn.00407390
add esp, 0xc
push eax
call fcn.00407390
add esp, 0xc
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x1038]
lea eax, [ebp - 0x10f4]
call fcn.00407170
lea ecx, [ebp - 0x1038]
mov byte [ebp - 4], 0x13
call fcn.00406a80
lea ecx, [ebp - 0x1038]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f4]
call fcn.00407660
jmp 0x4dbb8b
lea eax, [ebp - 0x10ec]
push eax
mov dword [ebp - 4], 0x14
call fcn.004068d0
mov byte [ebp - 4], 0x15
call fcn.00462c28
lea esi, [ebp - 0x106c]
call fcn.00406720
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], 8
jb 0x4dba6f
mov esi, dword [eax + 4]
jmp 0x4dba72
lea esi, [eax + 4]
lea eax, [ebp - 0x10ec]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CINIReader::GetText___sParamName
push eax
call fcn.00407390
pop ecx
pop ecx
push ebx
push eax
call fcn.00407390
pop ecx
pop ecx
push dword [ebp - 0x104c]
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x106c]
mov byte [ebp - 4], 0x15
call fcn.00409c40
lea eax, [ebp - 0x1040]
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 - 0x1040]
mov byte [ebp - 4], 0x17
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4dbb28
lea ecx, [ebp - 0x106c]
lea eax, [ebp - 0x10ec]
call fcn.00406700
push 0x25
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x1040]
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
lea ecx, [ebp - 0x106c]
call fcn.00409c40
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0x15
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x10ec]
mov byte [ebp - 4], 0x14
call fcn.004067e0
or dword [ebp - 4], 0xffffffff
jmp 0x4dbb8b
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x101c], ax
lea eax, [ebp - 0x101a]
push eax
call fcn.0054ff70
add esp, 0xc
cmp dword [edi + 0x1c], 8
jb 0x4dbbb4
mov edx, dword [edi + 8]
jmp 0x4dbbb7
lea edx, [edi + 8]
mov ecx, dword [ebp - 0x104c]
cmp dword [ecx + 0x18], 8
jb 0x4dbbc8
mov ecx, dword [ecx + 4]
jmp 0x4dbbcb
add ecx, 4
mov eax, dword [ebp - 0x1050]
cmp dword [eax + 0x18], 8
jb 0x4dbbdc
mov eax, dword [eax + 4]
jmp 0x4dbbdf
add eax, 4
push edx
push 0x800
lea edx, [ebp - 0x101c]
push edx
push 0x59672c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00462c28
cmp byte [eax], 0
jne 0x4dbcd4
lea eax, [ebp - 0x10f4]
push eax
call fcn.00409b60
lea eax, [ebp - 0x101c]
lea ecx, [ebp - 0x1110]
mov dword [ebp - 4], 0x1b
call fcn.004066c0
push eax
push ecx
push ebx
push ecx
lea eax, [ebp - 0x10ec]
push str.CINIReader::GetText___result
push eax
mov byte [ebp - 4], 0x1c
call fcn.00407390
add esp, 0xc
push eax
call fcn.00407390
add esp, 0xc
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x1110]
mov byte [ebp - 4], 0x1b
call fcn.00409c40
lea ecx, [ebp - 0x1038]
lea eax, [ebp - 0x10f4]
call fcn.00407170
lea ecx, [ebp - 0x1038]
mov byte [ebp - 4], 0x1d
call fcn.00406a80
lea ecx, [ebp - 0x1038]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f4]
call fcn.00407660
lea eax, [ebp - 0x101c]
mov ecx, dword [ebp - 0x1044]
call fcn.004066c0
mov eax, dword [ebp - 0x1044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0054677c
leave
ret 0xc
lea eax, [ebp - 0x10ec]
push eax
mov dword [ebp - 4], 0x1e
call fcn.004068d0
lea eax, [ebp - 0x101c]
lea ecx, [ebp - 0x106c]
mov byte [ebp - 4], 0x1f
call fcn.004066c0
mov edi, eax
mov byte [ebp - 4], 0x20
call fcn.00462c28
lea esi, [ebp - 0x1110]
call fcn.00406720
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x18], 8
jb 0x4dbd21
mov esi, dword [eax + 4]
jmp 0x4dbd24
lea esi, [eax + 4]
lea eax, [ebp - 0x10ec]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CINIReader::GetText___result
push eax
call fcn.00407390
pop ecx
pop ecx
push ebx
push eax
call fcn.00407390
pop ecx
pop ecx
push edi
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x1110]
call fcn.00409c40
lea ecx, [ebp - 0x106c]
mov byte [ebp - 4], 0x1f
call fcn.00409c40
lea eax, [ebp - 0x1040]
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 - 0x1040]
mov byte [ebp - 4], 0x22
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4dbde0
lea ecx, [ebp - 0x1110]
lea eax, [ebp - 0x10ec]
call fcn.00406700
push 0x2b
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x1040]
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
lea ecx, [ebp - 0x1110]
call fcn.00409c40
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0x1f
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x10ec]
mov byte [ebp - 4], 0x1e
call fcn.004067e0
or dword [ebp - 4], 0xffffffff
jmp 0x4dbca1