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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509699
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1100
call fcn.004fc040
mov eax, dword [0x571268]
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.00411dd9
cmp byte [eax], bl
jne 0x462af9
lea eax, [ebp - 0x10f0]
push eax
call fcn.004071c6
lea eax, [ebp - 0x10e8]
push str.CINIReader::GetText___start
push eax
mov dword [ebp - 4], ebx
call fcn.004058d5
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040574e
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 1
call fcn.00405549
push ebx
push 1
mov esi, edi
call fcn.0040754f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.00405a60
mov eax, dword [ebp - 0x1048]
cmp dword [eax + 0x1c], 8
jb 0x462c2d
mov eax, dword [eax + 8]
jmp 0x462c30
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 2
call fcn.00405430
mov byte [ebp - 4], 3
call fcn.00411dd9
lea ecx, [ebp - 0x1068]
call fcn.00405346
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x462b2f
mov esi, dword [eax + 4]
jmp 0x462b32
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CINIReader::GetText___start
push eax
call fcn.004058d5
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 3
call fcn.0040754f
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 0x462bd8
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0040532c
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.0040754f
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.0040539b
or dword [ebp - 4], 0xffffffff
jmp 0x462ae1
add eax, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462c45
push 0x525140
jmp 0x46312e
call fcn.00411dd9
cmp byte [eax], 0
jne 0x462cd9
lea eax, [ebp - 0x10f0]
push eax
call fcn.004071c6
push dword [ebp - 0x1044]
mov ebx, 0x525218
push ecx
push ebx
push ecx
lea eax, [ebp - 0x10e8]
push str.CINIReader::GetText___sSection
push eax
mov dword [ebp - 4], 9
call fcn.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00405173
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040574e
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0xa
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.00405a60
jmp 0x462e2d
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0xb
call fcn.00405430
mov byte [ebp - 4], 0xc
call fcn.00411dd9
lea ecx, [ebp - 0x1068]
call fcn.00405346
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x462d0f
mov esi, dword [eax + 4]
jmp 0x462d12
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CINIReader::GetText___sSection
push eax
call fcn.004058d5
pop ecx
pop ecx
mov ebx, 0x525218
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push dword [ebp - 0x1044]
push eax
call fcn.00405173
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0xc
call fcn.0040754f
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 0x462dd6
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0040532c
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.0040754f
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.0040539b
or dword [ebp - 4], 0xffffffff
jmp 0x462e2d
call fcn.00411dd9
cmp byte [eax], 0
jne 0x462ebc
lea eax, [ebp - 0x10f0]
push eax
call fcn.004071c6
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.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00405173
pop ecx
pop ecx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040574e
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0x13
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.00405a60
jmp 0x46300b
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0x14
call fcn.00405430
mov byte [ebp - 4], 0x15
call fcn.00411dd9
lea ecx, [ebp - 0x1068]
call fcn.00405346
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], 8
jb 0x462ef2
mov esi, dword [eax + 4]
jmp 0x462ef5
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CINIReader::GetText___sParamName
push eax
call fcn.004058d5
pop ecx
pop ecx
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push dword [ebp - 0x1040]
push eax
call fcn.00405173
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x15
call fcn.0040754f
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 0x462fb4
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0040532c
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.0040754f
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.0040539b
or dword [ebp - 4], 0xffffffff
jmp 0x46300b
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1018], ax
lea eax, [ebp - 0x1016]
push eax
call fcn.004ef370
mov edx, dword [ebp - 0x1048]
add esp, 0xc
cmp dword [edx + 0x1c], 8
jb 0x46303a
mov edx, dword [edx + 8]
jmp 0x46303d
add edx, 8
mov ecx, dword [ebp - 0x1040]
cmp dword [ecx + 0x18], 8
jb 0x46304e
mov ecx, dword [ecx + 4]
jmp 0x463051
add ecx, 4
mov eax, dword [ebp - 0x1044]
cmp dword [eax + 0x18], 8
jb 0x463062
mov eax, dword [eax + 4]
jmp 0x463065
add eax, 4
push edx
push 0x800
lea edx, [ebp - 0x1018]
push edx
push 0x525140
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00411dd9
cmp byte [eax], 0
jne 0x463157
lea eax, [ebp - 0x10f0]
push eax
call fcn.004071c6
lea eax, [ebp - 0x1018]
push eax
lea esi, [ebp - 0x110c]
mov dword [ebp - 4], 0x1b
call fcn.004076aa
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.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00405173
pop ecx
pop ecx
push 0
push 1
mov byte [ebp - 4], 0x1b
call fcn.0040754f
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040574e
lea edi, [ebp - 0x1034]
mov byte [ebp - 4], 0x1d
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10f0]
call fcn.00405a60
lea eax, [ebp - 0x1018]
push eax
mov esi, dword [ebp - 0x104c]
call fcn.004076aa
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.004e6e1c
leave
ret 0x10
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], 0x1e
call fcn.00405430
lea eax, [ebp - 0x1018]
push eax
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x1f
call fcn.004076aa
mov edi, eax
mov byte [ebp - 4], 0x20
call fcn.00411dd9
lea ecx, [ebp - 0x110c]
call fcn.00405346
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x18], 8
jb 0x4631a5
mov esi, dword [eax + 4]
jmp 0x4631a8
lea esi, [eax + 4]
lea eax, [ebp - 0x10e8]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CINIReader::GetText___result
push eax
call fcn.004058d5
pop ecx
pop ecx
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push edi
push eax
call fcn.00405173
pop ecx
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x110c]
call fcn.0040754f
push edi
push 1
lea esi, [ebp - 0x1068]
mov byte [ebp - 4], 0x1f
call fcn.0040754f
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 0x463270
lea eax, [ebp - 0x110c]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0040532c
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.0040754f
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.0040539b
or dword [ebp - 4], 0xffffffff
jmp 0x463127