Function at 0x428710
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44fadd
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x468110]
xor eax, esp
mov dword [esp + 0x4b8], eax
push esi
push edi
mov eax, dword [0x468110]
xor eax, esp
push eax
lea eax, [esp + 0x4c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x510]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x4d0], 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__::constructor_void_]
mov byte [esp + 0x4d0], 2
cmp dword [esp + 0x4f0], 0x10
mov eax, dword [esp + 0x4dc]
jae 0x428789
lea eax, [esp + 0x4dc]
mov edx, dword [esp + 0x4ec]
lea ecx, [esp + 0x64]
push ecx
push edx
push eax
call fcn.0043c5a6
mov ecx, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x7c], 8
jae 0x4287ae
lea ecx, [esp + 0x68]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
xor esi, esi
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xaa]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x80]
xor edx, edx
xor eax, eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov byte [esp + 0xa8], 0
mov dword [esp + 0x4bc], esi
mov dword [esp + 0x4c0], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], 0x51
mov dword [esp + 0x94], 0x42a860
mov dword [esp + 0x98], ecx
mov word [esp + 0x2b2], dx
mov word [esp + 0xaa], ax
lea ecx, [esp + 0x4f4]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x4d4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x4d0], 4
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x4288a0
lea eax, [esp + 0x30]
push eax
call edi
test eax, eax
jne 0x428901
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
push 0x4594c8
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x428901
push eax
push esi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4d4], 5
call dword [0x451364]
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x428891
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x42891a
dec eax
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP90.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
cmp byte [eax], 0x5c
je 0x428929
push 0x4594c8
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0x48]
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_]
mov byte [esp + 0x4d0], 6
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov eax, edi
cmp esi, 0x10
jae 0x42894e
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428951
sub eax, edx
mov ecx, edi
cmp esi, 0x10
jae 0x428965
lea ecx, [esp + 0x30]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
call fcn.0043c5a6
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp dword [esp + 0x60], 8
jae 0x428983
lea eax, [esp + 0x4c]
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa8], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea esi, [esp + 0x80]
call fcn.0042a800
cmp eax, 1
jne 0x4289cd
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x2b6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [esp + 0x2ba]
push edx
call fcn.0043c531
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x4d0], 4
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 + 0x2c]
mov byte [esp + 0x4d0], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x4bc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x64]
mov byte [esp + 0x4d0], 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 + 0x4d8]
mov byte [esp + 0x4d0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x4f4]
mov dword [esp + 0x4d0], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.00436772
add esp, 0x4c8
ret 0x3c