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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52271f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1100
call fcn.00514d40
mov eax, dword [0x59d300]
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.0040dbda
cmp byte [eax], bl
jne 0x4885a6
lea eax, [ebp - 0x10f0]
push eax
call fcn.0040d9e1
lea eax, [ebp - 0x10e8]
push str.CINIReader::GetText___start
push eax
mov dword [ebp - 4], ebx
call fcn.0040c0a0
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040bf31
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 1
call fcn.0040ba4e
push ebx
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.0040c22b
mov eax, dword [ebp - 0x1048]
cmp dword [eax + 0x1c], 8
jb 0x4886da
mov eax, dword [eax + 8]
jmp 0x4886dd
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 2
call fcn.0040b935
mov byte [ebp - 4], 3
call fcn.0040dbda
lea ecx, [ebp - 0x1068]
call fcn.0040b84b
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x4885dc
mov esi, dword [eax + 4]
jmp 0x4885df
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push esi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CINIReader::GetText___start
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 3
call fcn.0040dac5
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 0x488685
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0040b831
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.0040dac5
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.0040b8a0
or dword [ebp - 4], 0xffffffff
jmp 0x48858e
add eax, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4886f2
push 0x54323c
jmp 0x488bdb
call fcn.0040dbda
cmp byte [eax], 0
jne 0x488786
lea eax, [ebp - 0x10f0]
push eax
call fcn.0040d9e1
push dword [ebp - 0x1044]
mov ebx, 0x543368
push ecx
push ebx
push ecx
lea eax, [ebp - 0x10e8]
push str.CINIReader::GetText___sSection
push eax
mov dword [ebp - 4], 9
call fcn.0040c0a0
add esp, 0xc
push eax
call fcn.0040c0a0
add esp, 0xc
push eax
call fcn.0040b612
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040bf31
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0xa
call fcn.0040ba4e
push 0
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.0040c22b
jmp 0x4888da
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0xb
call fcn.0040b935
mov byte [ebp - 4], 0xc
call fcn.0040dbda
lea ecx, [ebp - 0x1068]
call fcn.0040b84b
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x4887bc
mov esi, dword [eax + 4]
jmp 0x4887bf
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push esi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CINIReader::GetText___sSection
push eax
call fcn.0040c0a0
pop ecx
pop ecx
mov ebx, 0x543368
push ebx
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push dword [ebp - 0x1044]
push eax
call fcn.0040b612
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0xc
call fcn.0040dac5
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 0x488883
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0040b831
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.0040dac5
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.0040b8a0
or dword [ebp - 4], 0xffffffff
jmp 0x4888da
call fcn.0040dbda
cmp byte [eax], 0
jne 0x488969
lea eax, [ebp - 0x10f0]
push eax
call fcn.0040d9e1
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.0040c0a0
add esp, 0xc
push eax
call fcn.0040c0a0
add esp, 0xc
push eax
call fcn.0040b612
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040bf31
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0x13
call fcn.0040ba4e
push 0
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.0040c22b
jmp 0x488ab8
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0x14
call fcn.0040b935
mov byte [ebp - 4], 0x15
call fcn.0040dbda
lea ecx, [ebp - 0x1068]
call fcn.0040b84b
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], 8
jb 0x48899f
mov esi, dword [eax + 4]
jmp 0x4889a2
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push esi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CINIReader::GetText___sParamName
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push ebx
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push dword [ebp - 0x1040]
push eax
call fcn.0040b612
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x15
call fcn.0040dac5
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 0x488a61
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0040b831
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.0040dac5
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.0040b8a0
or dword [ebp - 4], 0xffffffff
jmp 0x488ab8
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1018], ax
lea eax, [ebp - 0x1016]
push eax
call fcn.005060b0
mov edx, dword [ebp - 0x1048]
add esp, 0xc
cmp dword [edx + 0x1c], 8
jb 0x488ae7
mov edx, dword [edx + 8]
jmp 0x488aea
add edx, 8
mov ecx, dword [ebp - 0x1040]
cmp dword [ecx + 0x18], 8
jb 0x488afb
mov ecx, dword [ecx + 4]
jmp 0x488afe
add ecx, 4
mov eax, dword [ebp - 0x1044]
cmp dword [eax + 0x18], 8
jb 0x488b0f
mov eax, dword [eax + 4]
jmp 0x488b12
add eax, 4
push edx
push 0x800
lea edx, [ebp - 0x1018]
push edx
push 0x54323c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.0040dbda
cmp byte [eax], 0
jne 0x488c04
lea eax, [ebp - 0x10f0]
push eax
call fcn.0040d9e1
lea eax, [ebp - 0x1018]
push eax
lea esi, [ebp - 0x110c]
mov dword [ebp - 4], 0x1b
call fcn.0040b812
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.0040c0a0
add esp, 0xc
push eax
call fcn.0040c0a0
add esp, 0xc
push eax
call fcn.0040b612
pop ecx
pop ecx
push 0
push 1
mov byte [ebp - 4], 0x1b
call fcn.0040dac5
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040bf31
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0x1d
call fcn.0040ba4e
push 0
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.0040c22b
lea eax, [ebp - 0x1018]
push eax
mov esi, dword [ebp - 0x104c]
call fcn.0040b812
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.004ffa47
leave
ret 0x10
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0x1e
call fcn.0040b935
lea eax, [ebp - 0x1018]
push eax
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x1f
call fcn.0040b812
mov edi, eax
mov byte [ebp - 4], 0x20
call fcn.0040dbda
lea ecx, [ebp - 0x110c]
call fcn.0040b84b
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x18], 8
jb 0x488c52
mov esi, dword [eax + 4]
jmp 0x488c55
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push esi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CINIReader::GetText___result
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push ebx
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push edi
push eax
call fcn.0040b612
pop ecx
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x110c]
call fcn.0040dac5
push edi
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x1f
call fcn.0040dac5
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 0x488d1d
lea eax, [ebp - 0x110c]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0040b831
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.0040dac5
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.0040b8a0
or dword [ebp - 4], 0xffffffff
jmp 0x488bd4