Function at 0x408d86
Capabilities:
Check if file exists

Disassembly:
push 0xe0
mov eax, 0x470bd6
call fcn.0045986c
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], edi
call fcn.0040a3c3
mov al, byte [eax]
test al, al
jne 0x408e23
lea eax, [ebp - 0xec]
push eax
call fcn.00408287
and dword [ebp - 4], 0
push edi
push ecx
mov ebx, 0x4792c8
push ebx
push ecx
lea eax, [ebp - 0xe4]
push str.CINIReader::Init___path
push eax
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 - 0x34]
push eax
lea ecx, [ebp - 0xec]
call fcn.0040677b
lea edi, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004064f6
push 0
push 1
mov esi, edi
call fcn.0040866c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xec]
call fcn.00406bd8
jmp 0x408f57
lea eax, [ebp - 0xe4]
push eax
mov dword [ebp - 4], 2
call fcn.004063dd
mov byte [ebp - 4], 3
call fcn.0040a3c3
lea ecx, [ebp - 0x60]
call fcn.004062f3
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x408e56
mov esi, dword [eax + 4]
jmp 0x408e59
lea esi, [eax + 4]
lea eax, [ebp - 0xe4]
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::Init___path
push eax
call fcn.00406795
pop ecx
pop ecx
mov ebx, 0x4792c8
push ebx
push eax
call fcn.00406795
pop ecx
pop ecx
push edi
push eax
call fcn.00406a28
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0040866c
lea eax, [ebp - 0x40]
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 - 0x40]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x408f06
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004062d9
push 0x13
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x40]
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 0
push 1
lea esi, [ebp - 0x60]
call fcn.0040866c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.00406348
or dword [ebp - 4], 0xffffffff
jmp 0x408f5a
mov edi, dword [ebp - 0x44]
cmp dword [edi + 0x18], 8
jb 0x408f65
mov eax, dword [edi + 4]
jmp 0x408f68
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x38]
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x24], al
je 0x408f8f
push edi
lea edi, [esi + 0x20]
call fcn.0040fc80
mov edi, dword [ebp - 0x44]
mov ecx, esi
mov byte [ecx + 0x24], al
push 0xffffffffffffffff
push 0
lea ecx, [esi + 4]
mov eax, edi
call fcn.0040855c
call fcn.0040a3c3
cmp byte [eax], 0
jne 0x40902c
lea eax, [ebp - 0xec]
push eax
call fcn.00408287
mov dword [ebp - 4], 9
movzx eax, byte [esi + 0x24]
push eax
push ecx
push ebx
push ecx
lea eax, [ebp - 0xe4]
push str.CINIReader::Init___init
push eax
call fcn.00406795
add esp, 0xc
push eax
call fcn.00406795
add esp, 0xc
push eax
call fcn.0040a142
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xec]
call fcn.0040677b
lea edi, [ebp - 0x34]
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 - 0xec]
call fcn.00406bd8
mov eax, dword [ebp - 0x38]
mov al, byte [eax + 0x24]
call fcn.004598c8
ret 4
lea eax, [ebp - 0xe4]
push eax
mov dword [ebp - 4], 0xb
call fcn.004063dd
mov byte [ebp - 4], 0xc
call fcn.0040a3c3
lea ecx, [ebp - 0x60]
call fcn.004062f3
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x40905f
mov edi, dword [eax + 4]
jmp 0x409062
lea edi, [eax + 4]
lea eax, [ebp - 0xe4]
push 0x479278
push eax
call fcn.00406795
pop ecx
pop ecx
push edi
push eax
call fcn.00406795
pop ecx
pop ecx
push 0x479270
push eax
call fcn.00406795
pop ecx
pop ecx
push str.CINIReader::Init___init
push eax
call fcn.00406795
pop ecx
pop ecx
push ebx
push eax
call fcn.00406795
pop ecx
pop ecx
movzx ecx, byte [esi + 0x24]
push ecx
push eax
call fcn.0040a142
push 0
push 1
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.0040866c
lea eax, [ebp - 0x40]
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 - 0x40]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x40910c
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004062d9
push 0x1a
push str..INIReader.cpp
push eax
push esi
lea ecx, [ebp - 0x40]
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 - 0x60]
call fcn.0040866c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xb
call fcn.00406348
jmp 0x40901e