Function at 0x48fe50
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x571d44
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov esi, edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48ffec
lea ecx, [esp + 0x3c]
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 ebp, [esi + 4]
push str.connect
lea esi, [esp + 0x24]
mov ecx, ebp
mov dword [esp + 0x68], ebx
call fcn.0040b710
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 1
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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, esi
mov byte [esp + 0x64], bl
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 [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x48fef7
lea eax, [esp + 0x40]
push eax
push 0x593e7c
call fcn.00410c00
add esp, 8
push str.tips
lea esi, [esp + 0x24]
mov ecx, ebp
call fcn.0040b710
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, esi
mov byte [esp + 0x64], bl
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 [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x48ff40
lea eax, [esp + 0x40]
mov edi, dword [esp + 0x14]
push eax
push 0x593e7c
call fcn.00410c00
add esp, 8
push str.photoname
lea esi, [esp + 0x24]
mov ecx, ebp
call fcn.0040b710
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 3
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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, esi
mov byte [esp + 0x64], bl
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 [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x48ff8d
lea eax, [esp + 0x40]
mov edi, dword [esp + 0x1c]
push eax
push 0x593e7c
call fcn.00410c00
mov edx, dword [edi]
add esp, 8
cmp dword [edx - 0xc], ebx
jne 0x48ffb0
mov edx, str.kwifi.jpg
call fcn.00410020
mov eax, dword [esp + 0x18]
push 0x58cbf0
push 0x59a724
push eax
call fcn.00417490
mov ecx, dword [esp + 0x14]
push 0x58cbf0
push 0x59a724
push ecx
call fcn.00417490
lea ecx, [esp + 0x3c]
mov bl, 1
mov dword [esp + 0x64], 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_]
mov al, bl
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00569ed6
add esp, 0x54
ret 8