Function at 0x60d8f0
Capabilities:
Check if file exists

Disassembly:
mov ecx, dword [ecx]
test ecx, ecx
je 0x60d926
mov eax, dword [esp + 4]
test eax, eax
je 0x60d907
mov dword [esp + 4], eax
jmp 0x60da40
cmp dword [0x82e960], 0
je 0x60d961
push str.bad_pointer_in_wxDir::GetNext__
push str.filename
push str.wxDir::GetNext
push 0x1ae
jmp 0x60d943
cmp dword [0x82e960], 0
je 0x60d961
push str.must_wxDir::Open___first
push str.IsOpened__
push str.wxDir::GetNext
push 0x1ac
push str....._srcmswdir.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x60d961
mov byte [0x87c8e0], 0
int3
xor al, al
ret 4
push 0xffffffffffffffff
push 0x70be93
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x3a0]
xor bl, bl
cmp dword [esi], 0xffffffff
mov dword [esp + 0x14], ebp
jne 0x60dcc8
xor eax, eax
mov dword [esp + 0x60], 7
push 0xffffffffffffffff
push eax
lea ebp, [esi + 4]
mov dword [esp + 0x64], 0
push ebp
lea ecx, [esp + 0x58]
mov word [esp + 0x58], ax
call fcn.00419170
mov dword [esp + 0x64], 0
lea eax, [esp + 0x4c]
mov dword [esp + 0x398], 0
push eax
call fcn.005d58b0
add esp, 4
test al, al
jne 0x60daeb
push 0x5c
push 1
lea ecx, [esp + 0x54]
call fcn.004390c0
cmp dword [esi + 0x34], 0
lea ecx, [esp + 0x4c]
jne 0x60db03
push 3
push 0x7852c0
call fcn.0041af60
jmp 0x60db10
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x24]
push eax
call fcn.0041aea0
lea eax, [esp + 0x13c]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0060d320
push dword [esp + 0x70]
mov dword [esi], eax
mov bl, 1
mov dword [esp + 0x3a8], 0xffffffff
call dword [sym.imp.MSVCR120.dll_free]
add esp, 0x10
cmp dword [esp + 0x60], 8
jb 0x60db55
push dword [esp + 0x4c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esi], 0xffffffff
jne 0x60dcc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x60de41
cmp edi, 0x12
je 0x60de41
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x60de41
push str.Cannot_enumerate_files_in_directory__s
lea ecx, [esp + 0x90]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x398], 1
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x398], 2
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00420160
add esp, 8
lea ecx, [esp + 0x4c]
push eax
call fcn.0041fd90
push str.wx.sys_error
lea ecx, [esp + 0x70]
mov byte [esp + 0x39c], 3
call fcn.00418040
sub esp, 0xc
mov ecx, ebp
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0041f670
push 0x721844
push str.wxDirData::Read
push 0x108
push str....._srcmswdir.cpp
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x3b8], 5
call fcn.00439de0
mov esi, eax
mov byte [esp + 0x3a4], 6
lea eax, [esp + 0x58]
push eax
push edi
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0x84]
mov ecx, esi
push eax
call fcn.0049dde0
mov ecx, eax
mov byte [esp + 0x3ac], 7
call fcn.005f8550
lea ecx, [esp + 0xac]
mov byte [esp + 0x398], 4
call fcn.0043f270
lea ecx, [esp + 0x6c]
call fcn.00418210
lea ecx, [esp + 0x4c]
mov byte [esp + 0x398], 2
call fcn.00420020
lea ecx, [esp + 0x18]
call fcn.00418210
lea ecx, [esp + 0x8c]
call fcn.00418210
jmp 0x60de41
mov ebp, dword [esp + 0x14]
mov di, word [esp + 0x16a]
mov ecx, dword [esp + 0x13c]
test bl, bl
je 0x60dcdf
xor bl, bl
jmp 0x60dd08
lea eax, [esp + 0x13c]
push eax
lea eax, [esi + 0x24]
push eax
push dword [esi]
call fcn.0060d380
add esp, 0xc
test al, al
je 0x60dd74
mov di, word [esp + 0x16a]
mov ecx, dword [esp + 0x13c]
cmp word [esp + 0x168], 0x2e
jne 0x60dd31
cmp di, 0x2e
jne 0x60dd26
cmp word [esp + 0x16c], 0
je 0x60dd2b
jmp 0x60dd31
test di, di
jne 0x60dd31
test byte [esi + 0x44], 8
je 0x60dcd7
mov edx, dword [esi + 0x44]
test dl, 1
jne 0x60dd42
mov eax, ecx
shr eax, 4
test al, 1
je 0x60dcd7
test dl, 2
jne 0x60dd50
mov eax, ecx
shr eax, 4
test al, 1
jne 0x60dcd7
test dl, 4
jne 0x60dd5e
test cl, 6
jne 0x60dcd7
lea eax, [esp + 0x168]
mov ecx, ebp
push eax
call fcn.00429330
mov al, 1
jmp 0x60de43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x60de41
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x60de41
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
lea ecx, [esp + 0x3c]
call fcn.00436250
push 0x721844
push str.wxDirData::Read
push 0x123
push str....._srcmswdir.cpp
push 6
lea ecx, [esp + 0x108]
mov dword [esp + 0x3ac], 8
call fcn.00439de0
mov esi, eax
mov byte [esp + 0x398], 9
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 4
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push str.FindNext
push 0x123
push str....._srcmswdir.cpp
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00479740
lea ecx, [esp + 0xf4]
mov byte [esp + 0x398], 8
call fcn.0043f270
lea ecx, [esp + 0x38]
mov dword [esp + 0x398], 0xffffffff
call fcn.00420020
xor al, al
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x388
ret 4