Function at 0x7c93b0
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x374]
sub esp, 0x374
push 0xffffffffffffffff
push 0x87ea92
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp + 0x370], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0x37c]
xor ebx, ebx
mov dword [ebp - 0x18], eax
xor al, al
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], al
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x7c98ae
lea eax, [edi + 4]
push eax
lea ecx, [ebp + 0x350]
call fcn.004cb5a0
lea eax, [ebp + 0x350]
mov dword [ebp - 4], ebx
push eax
call fcn.007a9150
add esp, 4
test al, al
jne 0x7c943e
push 0x5c
lea ecx, [ebp + 0x350]
call fcn.004841b0
cmp dword [edi + 0x34], 0
lea esi, [edi + 0x24]
jne 0x7c9453
mov eax, 0x8e6484
mov ecx, 3
jmp 0x7c9460
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x7c945d
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
push ecx
push eax
lea ecx, [ebp + 0x350]
call fcn.00455b50
lea eax, [ebp]
push eax
lea eax, [ebp + 0x350]
push esi
push eax
call fcn.007c8cb0
add esp, 0xc
mov dword [edi], eax
lea ecx, [ebp + 0x350]
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00436e00
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x7c98ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp eax, 2
je 0x7c9d4d
cmp eax, 0x12
je 0x7c9d4d
xor cl, cl
test cl, cl
jne 0x7c9520
lea eax, [ebp + 0x310]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 1
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x7c9505
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x7c9505
call fcn.007423b0
jmp 0x7c950a
mov al, byte [0xa5d794]
test al, al
je 0x7c9520
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x7c9524
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x7c953e
lea ecx, [ebp + 0x310]
and ebx, 0xfffffffe
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x7c9d4d
push str.Cannot_enumerate_files_in_directory__s
lea ecx, [ebp + 0x310]
call fcn.00436310
xor eax, eax
mov dword [ebp + 0x350], 0
mov dword [ebp - 4], 2
mov dword [ebp + 0x360], 0
mov dword [ebp + 0x364], 7
mov word [ebp + 0x350], ax
mov dword [ebp + 0x368], eax
mov dword [ebp + 0x36c], eax
mov dword [ebp + 0x330], eax
mov dword [ebp + 0x340], eax
mov dword [ebp + 0x344], 7
mov word [ebp + 0x330], ax
mov dword [ebp + 0x348], eax
mov dword [ebp + 0x34c], eax
mov byte [ebp - 4], 4
call fcn.0074abf0
test eax, eax
je 0x7c95ea
lea ecx, [ebp + 0x350]
push ecx
lea ecx, [ebp + 0x330]
push ecx
lea ecx, [ebp + 0x310]
push ecx
mov ecx, eax
call fcn.0074fa90
mov esi, eax
test esi, esi
jne 0x7c95fb
lea eax, [ebp + 0x310]
push eax
call fcn.00750db0
add esp, 4
mov esi, eax
call fcn.00737c40
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 5
call fcn.00737c40
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 6
call fcn.00737c40
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0
push str.wx.sys_error
lea ecx, [ebp + 0x2a0]
mov byte [ebp - 4], 7
call fcn.00436310
lea eax, [edi + 4]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x34], 0
push 0x8a7570
push str.wxDirData::Read
push 0xf2
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswdir.cpp
push 1
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], 9
call fcn.004cb4d0
mov edi, eax
mov byte [ebp - 4], 0xa
call sub.KERNEL32.dll_GetLastError
cmp dword [edi + 0x40], 0
mov esi, eax
je 0x7c96bd
cmp dword [0xa5d6f8], 0
je 0x7c96bd
push str.can_only_have_one_optional_value
push str.m_optKey.empty__
push str.wxLogger::MaybeStore
push 0x39e
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_log.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7c96bd
mov byte [0xea569c], 0
int3
lea ecx, [edi + 0x30]
lea eax, [ebp + 0x2a0]
cmp ecx, eax
je 0x7c96e4
cmp dword [ebp + 0x2b4], 8
push dword [ebp + 0x2b0]
cmovae eax, dword [ebp + 0x2a0]
push eax
call fcn.00437780
push esi
lea eax, [ebp + 0x2a0]
push eax
lea ecx, [edi + 8]
call fcn.004f14b0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], eax
call fcn.00745540
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x7c974c
cmp dword [0xa5d6f8], 0
je 0x7c974c
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatString::Arg_String____argtype
push str.wxArgNormalizerWchar_class_wxCStrData_const__::wxArgNormalizerWchar
push 0x241
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7c974c
mov byte [0xea569c], 0
int3
lea ecx, [ebp - 0x50]
call fcn.00744ca0
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00746370
push eax
push esi
push dword [ebp - 0x18]
push edi
call fcn.005839e0
add esp, 0x10
cmp byte [ebp - 0x34], 0
je 0x7c978b
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x7c978b
mov ecx, esi
call fcn.00436e00
push 0x20
push esi
call fcn.00800125
add esp, 8
lea ecx, [ebp + 0x280]
call fcn.00436e00
lea ecx, [ebp + 0x258]
call fcn.004cb970
lea ecx, [ebp + 0x2a0]
call fcn.00436e00
lea ecx, [ebp - 0x50]
call fcn.00476650
push dword [ebp + 0x348]
mov byte [ebp - 4], 3
call fcn.00805aaa
mov edx, dword [ebp + 0x344]
add esp, 4
cmp edx, 8
jb 0x7c9806
mov ecx, dword [ebp + 0x330]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7c97fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7c9d74
push edx
push ecx
call fcn.00800125
add esp, 8
push dword [ebp + 0x368]
xor eax, eax
mov dword [ebp + 0x340], 0
mov dword [ebp + 0x344], 7
mov word [ebp + 0x330], ax
mov byte [ebp - 4], 2
call fcn.00805aaa
mov edx, dword [ebp + 0x364]
add esp, 4
cmp edx, 8
jb 0x7c9875
mov ecx, dword [ebp + 0x350]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7c986b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7c9d74
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x360], 0
lea ecx, [ebp + 0x310]
mov dword [ebp + 0x364], 7
mov word [ebp + 0x350], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00436e00
mov edi, dword [ebp - 0x1c]
mov cl, 1
jmp 0x7c94c1
mov si, word [ebp + 0x2e]
mov edx, dword [ebp]
mov al, byte [ebp - 0xd]
test al, al
je 0x7c98c6
xor al, al
mov byte [ebp - 0xd], al
jmp 0x7c9990
lea eax, [ebp]
push eax
lea esi, [edi + 0x24]
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x7c9913
nop word [eax + eax]
cmp dword [esi + 0x10], 0
je 0x7c9983
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x7c98f4
mov eax, dword [esi]
push eax
lea eax, [ebp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x7c9983
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x7c98e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x7c9d4d
xor al, al
mov edi, 0xffff
nop dword [eax]
test al, al
jne 0x7c9a2f
lea eax, [ebp + 0x310]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0xd
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x7c9a14
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x7c9a14
call fcn.007423b0
jmp 0x7c9a19
mov si, word [ebp + 0x2e]
mov edx, dword [ebp]
mov edi, dword [ebp - 0x1c]
mov al, byte [ebp - 0xd]
cmp word [ebp + 0x2c], 0x2e
jne 0x7c99b5
cmp si, 0x2e
jne 0x7c99a6
cmp word [ebp + 0x30], 0
je 0x7c99ab
jmp 0x7c99b5
test si, si
jne 0x7c99b5
test byte [edi + 0x44], 8
je 0x7c98b8
mov ecx, dword [edi + 0x44]
mov eax, edx
shr eax, 4
test cl, 1
jne 0x7c99ca
test al, 1
je 0x7c98b5
test cl, 2
jne 0x7c99da
test al, 1
mov al, byte [ebp - 0xd]
jne 0x7c98b8
test cl, 4
jne 0x7c99eb
mov al, byte [ebp - 0xd]
test dl, 6
jne 0x7c98b8
lea edx, [ebp + 0x2c]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7c99f1
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x2c]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00437780
mov al, 1
jmp 0x7c9d4f
mov al, byte [0xa5d794]
test al, al
je 0x7c9a2f
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7c9a33
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x7c9a90
push dword [ebp + 0x328]
and ebx, 0xfffffffd
call fcn.00805aaa
mov edx, dword [ebp + 0x324]
add esp, 4
cmp edx, 8
jb 0x7c9a90
mov ecx, dword [ebp + 0x310]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7c9a86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7c9d74
push edx
push ecx
call fcn.00800125
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x7c9d4d
call fcn.00737c40
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xe
call fcn.00737c40
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2bd0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
sub esp, 0x14
mov dword [ebp - 4], 0x10
mov esi, esp
mov dword [ebp - 0x18], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007434e0
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 0x11
mov dword [ebp + 0x2c0], 6
mov dword [ebp + 0x2c8], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswdir.cpp
mov dword [ebp + 0x2d0], str.wxDirData::Read
mov dword [ebp + 0x2cc], 0x108
mov dword [ebp + 0x2d4], 0x8a7570
movlpd qword [ebp + 0x2d8], xmm0
movlpd qword [ebp + 0x2e0], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp + 0x2e8], eax
xor eax, eax
mov dword [ebp + 0x2f0], 0
mov dword [ebp + 0x2ec], 0
mov dword [ebp + 0x300], 0
mov dword [ebp + 0x304], 7
mov word [ebp + 0x2f0], ax
mov dword [ebp + 0x308], eax
mov dword [ebp + 0x30c], eax
mov byte [ebp - 4], 0x12
call sub.KERNEL32.dll_GetLastError
push eax
push str.FindNext
push 0x108
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswdir.cpp
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp + 0x2c0]
call fcn.004d0600
push dword [ebp + 0x308]
mov byte [ebp - 4], 0x10
call fcn.00805aaa
mov edx, dword [ebp + 0x304]
add esp, 4
cmp edx, 8
jb 0x7c9c00
mov ecx, dword [ebp + 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7c9bf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7c9d74
push edx
push ecx
call fcn.00800125
add esp, 8
mov esi, dword [ebp + 0x2ec]
xor eax, eax
mov dword [ebp + 0x300], 0
mov dword [ebp + 0x304], 7
mov word [ebp + 0x2f0], ax
test esi, esi
je 0x7c9c76
push 0x4cc690
push dword [esi + 0x10]
mov byte [ebp - 4], 0x14
push dword [esi + 0x14]
call fcn.007610f0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.00805aaa
push 0x4cc670
push dword [esi]
mov byte [ebp - 4], 0x15
push dword [esi + 4]
call fcn.007610f0
push dword [esi]
mov dword [esi + 8], 0
call fcn.00805aaa
push 0x20
push esi
call fcn.00800125
add esp, 0x28
mov dword [ebp - 4], 0x16
call fcn.00737c40
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
je 0x7c9cb9
add word [ecx + 8], di
jne 0x7c9cb1
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x7c9cb1
cmp byte [esi + 0xa], 0
je 0x7c9ca6
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0x17
call fcn.00737c40
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
je 0x7c9cfc
add word [ecx + 8], di
jne 0x7c9cf4
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x7c9cf4
cmp byte [esi + 0xa], 0
je 0x7c9ce9
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0x18
call fcn.00737c40
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
je 0x7c9d3f
add word [ecx + 8], di
jne 0x7c9d37
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x7c9d37
cmp byte [esi + 0xa], 0
je 0x7c9d2c
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x7c9930
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x370]
xor ecx, ebp
call fcn.00800392
lea esp, [ebp + 0x374]
pop ebp
ret 4
call fcn.00805a59
int3