Function at 0x7c9210
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x374]
sub esp, 0x374
push 0xffffffffffffffff
push 0x87e872
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0xa5d1d4]
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 0x7c970e
lea eax, [edi + 4]
push eax
lea ecx, [ebp + 0x350]
call fcn.004cb460
lea eax, [ebp + 0x350]
mov dword [ebp - 4], ebx
push eax
call fcn.007a8fb0
add esp, 4
test al, al
jne 0x7c929e
push 0x5c
lea ecx, [ebp + 0x350]
call fcn.00484080
cmp dword [edi + 0x34], 0
lea esi, [edi + 0x24]
jne 0x7c92b3
mov eax, 0x8e5404
mov ecx, 3
jmp 0x7c92c0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x7c92bd
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
push ecx
push eax
lea ecx, [ebp + 0x350]
call fcn.00455a40
lea eax, [ebp]
push eax
lea eax, [ebp + 0x350]
push esi
push eax
call fcn.007c8b10
add esp, 0xc
mov dword [edi], eax
lea ecx, [ebp + 0x350]
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00436d10
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x7c970e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp eax, 2
je 0x7c9bad
cmp eax, 0x12
je 0x7c9bad
xor cl, cl
test cl, cl
jne 0x7c9380
lea eax, [ebp + 0x310]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 1
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x7c9365
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7c9365
call fcn.00742270
jmp 0x7c936a
mov al, byte [0xa5c73c]
test al, al
je 0x7c9380
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 1
jae 0x7c9384
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x7c939e
lea ecx, [ebp + 0x310]
and ebx, 0xfffffffe
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x7c9bad
push str.Cannot_enumerate_files_in_directory__s
lea ecx, [ebp + 0x310]
call fcn.00436220
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.0074aab0
test eax, eax
je 0x7c944a
lea ecx, [ebp + 0x350]
push ecx
lea ecx, [ebp + 0x330]
push ecx
lea ecx, [ebp + 0x310]
push ecx
mov ecx, eax
call fcn.0074f950
mov esi, eax
test esi, esi
jne 0x7c945b
lea eax, [ebp + 0x310]
push eax
call fcn.00750c70
add esp, 4
mov esi, eax
call fcn.00737b00
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 5
call fcn.00737b00
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 6
call fcn.00737b00
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.00436220
lea eax, [edi + 4]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x34], 0
push 0x8a64f0
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.004cb390
mov edi, eax
mov byte [ebp - 4], 0xa
call sub.KERNEL32.dll_GetLastError
cmp dword [edi + 0x40], 0
mov esi, eax
je 0x7c951d
cmp dword [0xa5c6a0], 0
je 0x7c951d
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.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7c951d
mov byte [0xea464c], 0
int3
lea ecx, [edi + 0x30]
lea eax, [ebp + 0x2a0]
cmp ecx, eax
je 0x7c9544
cmp dword [ebp + 0x2b4], 8
push dword [ebp + 0x2b0]
cmovae eax, dword [ebp + 0x2a0]
push eax
call fcn.00437690
push esi
lea eax, [ebp + 0x2a0]
push eax
lea ecx, [edi + 8]
call fcn.004f1350
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], eax
call fcn.00745400
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x7c95ac
cmp dword [0xa5c6a0], 0
je 0x7c95ac
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.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7c95ac
mov byte [0xea464c], 0
int3
lea ecx, [ebp - 0x50]
call fcn.00744b60
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00746230
push eax
push esi
push dword [ebp - 0x18]
push edi
call fcn.00583840
add esp, 0x10
cmp byte [ebp - 0x34], 0
je 0x7c95eb
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x7c95eb
mov ecx, esi
call fcn.00436d10
push 0x20
push esi
call fcn.007fff65
add esp, 8
lea ecx, [ebp + 0x280]
call fcn.00436d10
lea ecx, [ebp + 0x258]
call fcn.004cb830
lea ecx, [ebp + 0x2a0]
call fcn.00436d10
lea ecx, [ebp - 0x50]
call fcn.00476530
push dword [ebp + 0x348]
mov byte [ebp - 4], 3
call fcn.008058ea
mov edx, dword [ebp + 0x344]
add esp, 4
cmp edx, 8
jb 0x7c9666
mov ecx, dword [ebp + 0x330]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7c965c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7c9bd4
push edx
push ecx
call fcn.007fff65
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.008058ea
mov edx, dword [ebp + 0x364]
add esp, 4
cmp edx, 8
jb 0x7c96d5
mov ecx, dword [ebp + 0x350]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7c96cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7c9bd4
push edx
push ecx
call fcn.007fff65
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.00436d10
mov edi, dword [ebp - 0x1c]
mov cl, 1
jmp 0x7c9321
mov si, word [ebp + 0x2e]
mov edx, dword [ebp]
mov al, byte [ebp - 0xd]
test al, al
je 0x7c9726
xor al, al
mov byte [ebp - 0xd], al
jmp 0x7c97f0
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 0x7c9773
nop word [eax + eax]
cmp dword [esi + 0x10], 0
je 0x7c97e3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x7c9754
mov eax, dword [esi]
push eax
lea eax, [ebp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x7c97e3
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x7c9740
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x7c9bad
xor al, al
mov edi, 0xffff
nop dword [eax]
test al, al
jne 0x7c988f
lea eax, [ebp + 0x310]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0xd
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x7c9874
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7c9874
call fcn.00742270
jmp 0x7c9879
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 0x7c9815
cmp si, 0x2e
jne 0x7c9806
cmp word [ebp + 0x30], 0
je 0x7c980b
jmp 0x7c9815
test si, si
jne 0x7c9815
test byte [edi + 0x44], 8
je 0x7c9718
mov ecx, dword [edi + 0x44]
mov eax, edx
shr eax, 4
test cl, 1
jne 0x7c982a
test al, 1
je 0x7c9715
test cl, 2
jne 0x7c983a
test al, 1
mov al, byte [ebp - 0xd]
jne 0x7c9718
test cl, 4
jne 0x7c984b
mov al, byte [ebp - 0xd]
test dl, 6
jne 0x7c9718
lea edx, [ebp + 0x2c]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7c9851
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x2c]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00437690
mov al, 1
jmp 0x7c9baf
mov al, byte [0xa5c73c]
test al, al
je 0x7c988f
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7c9893
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x7c98f0
push dword [ebp + 0x328]
and ebx, 0xfffffffd
call fcn.008058ea
mov edx, dword [ebp + 0x324]
add esp, 4
cmp edx, 8
jb 0x7c98f0
mov ecx, dword [ebp + 0x310]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7c98e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7c9bd4
push edx
push ecx
call fcn.007fff65
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x7c9bad
call fcn.00737b00
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xe
call fcn.00737b00
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.004d2a90
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.007433a0
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], 0x8a64f0
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.004d04c0
push dword [ebp + 0x308]
mov byte [ebp - 4], 0x10
call fcn.008058ea
mov edx, dword [ebp + 0x304]
add esp, 4
cmp edx, 8
jb 0x7c9a60
mov ecx, dword [ebp + 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7c9a56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7c9bd4
push edx
push ecx
call fcn.007fff65
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 0x7c9ad6
push 0x4cc550
push dword [esi + 0x10]
mov byte [ebp - 4], 0x14
push dword [esi + 0x14]
call fcn.00760fc0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.008058ea
push 0x4cc530
push dword [esi]
mov byte [ebp - 4], 0x15
push dword [esi + 4]
call fcn.00760fc0
push dword [esi]
mov dword [esi + 8], 0
call fcn.008058ea
push 0x20
push esi
call fcn.007fff65
add esp, 0x28
mov dword [ebp - 4], 0x16
call fcn.00737b00
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
je 0x7c9b19
add word [ecx + 8], di
jne 0x7c9b11
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x7c9b11
cmp byte [esi + 0xa], 0
je 0x7c9b06
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0x17
call fcn.00737b00
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
je 0x7c9b5c
add word [ecx + 8], di
jne 0x7c9b54
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x7c9b54
cmp byte [esi + 0xa], 0
je 0x7c9b49
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0x18
call fcn.00737b00
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
je 0x7c9b9f
add word [ecx + 8], di
jne 0x7c9b97
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x7c9b97
cmp byte [esi + 0xa], 0
je 0x7c9b8c
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x7c9790
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.008001d2
lea esp, [ebp + 0x374]
pop ebp
ret 4
call fcn.00805899
int3