Function at 0x42c750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43301c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x634
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90.dll_Ordinal_2592
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x42c7a8
call fcn.00418740
cmp eax, ebx
jl 0x42c79f
call fcn.00418530
jmp 0x42c7a8
mov ebx, edi
call fcn.00418470
xor ebx, ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x3ff
lea ecx, [esp + 0x245]
push ebx
mov dword [esp + 0x654], ebx
push ecx
mov byte [esp + 0x24c], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 0xc]
push 0x400
lea edx, [esp + 0x244]
push edx
push 0x1388
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x103
lea eax, [esp + 0x45]
push ebx
push eax
mov byte [esp + 0x4c], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push ebx
push ebx
mov byte [esp + 0x654], 1
mov ecx, dword [ebp + 0x1f4]
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c870
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [ebp + 0x1d4]
call sub.mfc90.dll_Ordinal_3175
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x42c870
push eax
call edi
cmp eax, 0xffffffff
je 0x42c870
shr eax, 4
and al, 1
je 0x42c870
mov esi, dword [esp + 0x18]
cmp esi, ebx
jne 0x42c87b
call fcn.00417060
mov esi, eax
cmp esi, ebx
je 0x42c88a
push esi
call edi
cmp eax, 0xffffffff
je 0x42c88a
shr eax, 4
and al, 1
jne 0x42c891
call fcn.00416fa0
mov esi, eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x240]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x42a630
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
cmp esi, ebx
je 0x42c90d
lea ecx, [esp + 0x40]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5c
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_6680]
lea ecx, [esp + 0x18]
mov byte [esp + 0x64c], bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x42ca94
push eax
call edi
cmp eax, 0xffffffff
je 0x42c955
shr eax, 4
and al, 1
jne 0x42c9d0
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x1ff
lea eax, [esp + 0x45]
push ebx
mov byte [esp + 0x654], 2
push eax
mov byte [esp + 0x4c], bl
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push 0x200
lea ecx, [esp + 0x4c]
push ecx
push ebx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.MSVCR90.dll__splitpath_s]
add esp, 0x24
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push 0x848
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2538]
mov edx, dword [esp + 0x24]
add esp, 0xc
push ebx
push 0x30
push edx
call sub.mfc90.dll_Ordinal_1183
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x42ca94
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x42c9f2
push 2
push 0x43505c
push eax
call dword [sym.imp.MSVCR90.dll__mbsnbcmp]
add esp, 0xc
test eax, eax
sete al
cmp al, bl
jne 0x42ca32
mov ecx, ebp
call fcn.00429d60
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_1607]
test eax, eax
je 0x42ca32
lea eax, [esp + 0x18]
push eax
call fcn.0041a050
lea ecx, [esp + 0x14]
push ecx
lea esi, [esp + 0x1c]
call fcn.00419b20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], vtable.SATRegMgr.0
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0xffffffffffffffff
lea edx, [esp + 0x18]
lea esi, [ebp + 0x1d4]
push edx
lea ecx, [esp + 0x20]
mov edx, esi
mov dword [esp + 0x20], 2
call fcn.0042f5f0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push eax
mov eax, dword [ebp + 0x1f4]
push 0x14e
push eax
call edi
mov ecx, esi
call sub.mfc90.dll_Ordinal_6291
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x2d8]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov ecx, ebp
call fcn.0042beb0
mov edx, dword [ebp + 0x1f4]
push ebx
push ebx
push 0xf
push edx
call edi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x644]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret