Function at 0x47ca20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f806a
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
neg eax
sbb eax, eax
mov esi, ecx
and eax, 3
add eax, 2
mov dword [ebp - 0x23c], 0
push ebx
lea ecx, [esi + 0xb0]
mov dword [esi + 0xc8], eax
call dword [0x509114]
call fcn.0041b800
mov ecx, eax
call fcn.0041b850
mov edi, eax
push ebx
mov ecx, edi
call fcn.00417d60
push ebx
mov ecx, edi
mov dword [ebp - 0x244], eax
call fcn.00417c30
push ebx
mov ecx, edi
mov dword [ebp - 0x23c], eax
call fcn.00417c00
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x254]
mov dword [ebp - 0x248], eax
xor eax, eax
push edx
push ebx
mov ecx, edi
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
call fcn.00415ae0
cmp dword [ebp - 0x244], 0
je 0x47cf4e
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x47cf4e
add eax, 4
lea edi, [esi + 0xc0]
push eax
mov ecx, edi
call dword [0x509140]
mov ecx, edi
mov edi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
call edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47cca0
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 4], 0
call fcn.004f66a0
add esp, 4
test eax, eax
je 0x47cc79
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::size_void_const]
sub eax, 1
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push 0x5231c0
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x23c], 1
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
test al, al
je 0x47cbed
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::size_void_const]
sub eax, 1
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push 0x50d12c
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x23c], 3
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
test al, al
mov byte [ebp - 0x23d], 1
jne 0x47cbf4
mov byte [ebp - 0x23d], 0
test byte [ebp - 0x23c], 2
mov dword [ebp - 4], 1
je 0x47cc17
and dword [ebp - 0x23c], 0xfffffffd
lea ecx, [ebp - 0x290]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test byte [ebp - 0x23c], 1
mov dword [ebp - 4], 0
je 0x47cc33
lea ecx, [ebp - 0x274]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [ebp - 0x23d], 0
je 0x47cc4d
push 0x5231c0
lea ecx, [ebp - 0x238]
call dword [0x509758]
push 0x50d100
lea ecx, [ebp - 0x238]
call dword [0x509758]
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [esi + 0xc0]
call dword [0x509114]
jmp 0x47cc8d
push 0x528a4c
push 0x29
push str..Logical2UIFunctionListPageFuncitionListPopWindow.cpp
call fcn.004f3a00
add esp, 0xc
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [ebp + 8], 0
push ebx
je 0x47ce3a
lea ecx, [ebp - 0x23c]
push ecx
call fcn.0047c940
add esp, 8
lea ecx, [esi + 0xb4]
push eax
mov dword [ebp - 4], 3
call dword [0x509140]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 0xffffffff
call ebx
lea edx, [ebp - 0x23c]
push 0x50d0bc
push edx
call fcn.0047c9b0
add esp, 8
push eax
lea ecx, [esi + 0xb4]
mov dword [ebp - 4], 4
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 0xffffffff
call ebx
lea ecx, [esi + 0xb8]
push str.S_MRHr_g
call dword [0x509114]
push 0x20a
lea eax, [ebp - 0x21a]
push 0
push eax
mov word [ebp - 0x21c], 0
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x248]
add esp, 0xc
test eax, eax
je 0x47cd68
mov ecx, dword [eax]
push 0x104
lea edx, [ebp - 0x21c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.0047c9b0
add esp, 8
push eax
lea ecx, [esi + 0xb8]
mov dword [ebp - 4], 5
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call ebx
push 0x50d0a0
lea ecx, [esi + 0xb8]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
mov ecx, dword [ebp - 0x244]
add ecx, 0x24
mov dword [ebp - 0x24c], ecx
call edi
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0047c9b0
add esp, 8
push eax
lea ecx, [esi + 0xb8]
mov dword [ebp - 4], 6
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call ebx
lea ecx, [esi + 0xbc]
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp - 0x244]
add ecx, 0x40
call edi
mov ecx, dword [ebp - 0x23c]
push eax
call dword [0x509114]
mov ecx, dword [ebp - 0x24c]
call edi
push eax
lea ecx, [esi + 0xc4]
call dword [0x509114]
mov esi, dword [ebp - 0x23c]
jmp 0x47cf12
lea ecx, [esi + 0xb4]
call dword [0x509114]
lea ebx, [esi + 0xb4]
push 0x50d09c
mov ecx, ebx
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
mov ecx, dword [ebp - 0x244]
add ecx, 0x24
call edi
push eax
mov ecx, ebx
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
mov ecx, ebx
call edi
push eax
lea edx, [ebp - 0x24c]
push edx
call fcn.0047c940
add esp, 8
push eax
mov ecx, ebx
mov dword [ebp - 4], 7
call dword [0x509140]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call ebx
lea ecx, [esi + 0xb8]
push 0x50d090
call dword [0x509114]
mov ecx, dword [ebp - 0x244]
add ecx, 0x34
call edi
push eax
lea ecx, [esi + 0xb8]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
push 0x50d084
lea ecx, [esi + 0xb8]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
mov ecx, dword [ebp - 0x244]
add ecx, 0x38
call edi
push eax
lea ecx, [esi + 0xb8]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
mov ecx, dword [ebp - 0x244]
add ecx, 0x3c
add esi, 0xbc
call edi
push eax
mov ecx, esi
call dword [0x509114]
cmp dword [ebp - 0x250], 0
je 0x47cf4e
lea eax, [ebp - 0x258]
push 0x50d038
push eax
call fcn.0047c9b0
add esp, 8
push eax
mov ecx, esi
mov dword [ebp - 4], 8
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 0xffffffff
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret 8