Function at 0x40df80
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x429a32
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edi, ecx
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov ebx, edx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x20], ebx
call eax
push 1
lea esi, [esp + 0x40]
mov eax, edi
mov dword [esp + 0x84], 1
call fcn.0040d480
mov byte [esp + 0x80], 2
cmp dword [edi + 0x64], 0
mov ebp, 8
je 0x40e0b4
lea ebx, [ebp - 7]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
mov ecx, esi
mov dword [esp + 0x34], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
mov byte [esp + 0xa0], 3
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov esi, edi
mov byte [esp + 0xa8], 2
call fcn.0040e740
mov eax, dword [edi + 0x64]
add eax, 4
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x40e060
lea ecx, [esp + 0x40]
push 1
lea esi, [esp + 0x24]
call fcn.00413ad0
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x40e078
mov eax, dword [eax + 4]
jmp 0x40e07b
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x20]
mov ebx, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp ebx, 0xffffffff
je 0x40e0b0
test bl, 0x10
mov eax, 0
sete al
lea eax, [eax + eax - 1]
test eax, eax
je 0x40e0b0
mov ebx, 2
jmp 0x40e003
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x40e0d6
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
call fcn.00410340
test eax, eax
jne 0x40e0f1
lea ecx, [esp + 0x3c]
push ecx
push ebx
call fcn.00401580
jmp 0x40e156
cmp dword [edi + 0x64], 0
jne 0x40e126
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x40e105
lea ecx, [esp + 0x40]
call fcn.0040c740
test eax, eax
je 0x40e126
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x40e11c
lea edi, [esp + 0x40]
push 1
call fcn.0040c9a0
add esp, 4
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x40e134
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0x40e142
lea eax, [esp + 0x5c]
push eax
call fcn.0040ca20
add esp, 4
lea edx, [esp + 0x3c]
push edx
push ebx
call fcn.00401580
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x80], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00427762
add esp, 0x70
ret