Function at 0x5069910
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x5220a37
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x53f3c3c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x21c]
mov dword [ebp - 0x58], eax
mov edi, dword [ebp + 0x228]
mov dword [ebp - 0x50], edi
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx]
mov edx, dword [edi]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ecx
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.05138880
test al, al
jne 0x50699c1
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
mov edx, dword [edi]
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.05138880
test al, al
je 0x50699c8
xor eax, eax
jmp 0x5069dab
mov eax, dword [esi + 0xd5b8]
cmp eax, ebx
je 0x5069a33
cmp dword [eax], 0x2694
jne 0x5069a33
mov edi, 0x3b
mov dword [ebp - 0x14], edi
push str._WARNING:
push 0xd2
push 0x40e
push str..META_Handle.cpp
lea ecx, [ebp - 0x74]
call fcn.051ae270
mov byte [ebp - 4], 1
mov ecx, dword [esi]
push ecx
push str.__d__User_stop_copy_folder_procedure
mov edx, dword [esi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x74]
call fcn.051ae2c0
mov dword [ebp - 0x5c], edi
push 0x539d928
lea eax, [ebp - 0x5c]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x2c]
call fcn.0516d6b0
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x5069a4d
mov eax, dword [eax + 4]
jmp 0x5069a50
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
push ebx
push eax
mov eax, dword [esi]
push eax
call sym.META_DLL.dll_META_FAT_UTF_Open_r
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x5069a7a
mov dword [ebp - 0x54], eax
push 0x539d928
lea ecx, [ebp - 0x54]
push ecx
call sub.MSVCR90.dll__CxxThrowException
lea ecx, [ebp - 0x24]
call fcn.0516d6b0
cmp dword [eax + 0x18], edi
jb 0x5069a8c
mov ecx, dword [eax + 4]
jmp 0x5069a8f
lea ecx, [eax + 4]
lea edx, [ebp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x5069a92
lea ecx, [ebp - 0x24]
call fcn.0516d6b0
mov eax, dword [eax + 0x14]
xor edx, edx
mov word [ebp + eax*2], dx
push 0x52c722a
push 1
push 0x41e
push str..META_Handle.cpp
lea ecx, [ebp - 0x74]
call fcn.051ae270
mov byte [ebp - 4], 2
lea ecx, [ebp]
push ecx
mov edx, dword [esi]
push edx
push str.__d__FULL_PATH__ls
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.051ae2d0
add esp, 0x14
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x74]
call fcn.051ae2c0
lea edx, [ebp]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x52c722a
push 1
push 0x420
push str..META_Handle.cpp
lea ecx, [ebp - 0xd4]
call fcn.051ae270
mov byte [ebp - 4], 3
lea ecx, [ebp]
push ecx
mov edx, dword [esi]
push edx
push str.__d__PATH__ls
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.051ae2d0
add esp, 0x14
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xd4]
call fcn.051ae2c0
lea edx, [ebp]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5069c69
push 0x52c722a
push 1
push 0x423
push str..META_Handle.cpp
lea ecx, [ebp - 0xc0]
call fcn.051ae270
mov byte [ebp - 4], 4
mov ecx, dword [esi]
push ecx
push str.__d__PATH_does_not_exist
mov edx, dword [esi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xc0]
call fcn.051ae2c0
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5069c69
push 0x52c722a
push 1
push 0x429
push str..META_Handle.cpp
lea ecx, [ebp - 0xac]
call fcn.051ae270
mov byte [ebp - 4], 5
mov ecx, dword [esi]
push ecx
push str.__d__load_success
mov edx, dword [esi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xac]
call fcn.051ae2c0
push str.SHCreateDirectory
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x5069c69
push 0x52c722a
push 1
push 0x42d
push str..META_Handle.cpp
lea ecx, [ebp - 0x88]
call fcn.051ae270
mov byte [ebp - 4], 6
mov ecx, dword [esi]
push ecx
push str.__d__get_success
mov edx, dword [esi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x88]
call fcn.051ae2c0
lea eax, [ebp]
push eax
push ebx
call edi
cmp eax, ebx
je 0x5069c69
mov dword [ebp - 0x40], 0x62
push 0x539d928
lea ecx, [ebp - 0x40]
push ecx
call sub.MSVCR90.dll__CxxThrowException
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.0516d6b0
cmp dword [eax + 0x18], 8
jb 0x5069c80
mov edi, dword [eax + 4]
jmp 0x5069c83
lea edi, [eax + 4]
mov edx, dword [esi]
mov eax, dword [esi + 0xd5b8]
push eax
lea ecx, [ebp - 0x18]
push ecx
push edx
mov ecx, 0x53f4cc8
call fcn.05065960
push eax
push 0x50662f0
push edi
mov eax, dword [ebp - 0x1c]
push eax
push edx
call sym.META_DLL.dll_META_FAT_UTF_Read_To_File_Ex_r
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0xd5b8]
cmp ecx, ebx
je 0x5069d21
cmp dword [ecx], 0x2694
jne 0x5069d21
mov edi, 0x3b
mov dword [ebp - 0x14], edi
push str._WARNING:
push 0xd2
push 0x444
push str..META_Handle.cpp
lea ecx, [ebp - 0x88]
call fcn.051ae270
mov byte [ebp - 4], 8
mov ecx, dword [esi]
push ecx
push str.__d__User_stop_copy_folder_procedure
mov edx, dword [esi + 8]
push edx
push eax
call fcn.051ae2d0
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.051ae2c0
mov dword [ebp - 0x60], edi
push 0x539d928
lea eax, [ebp - 0x60]
push eax
call sub.MSVCR90.dll__CxxThrowException
cmp eax, ebx
je 0x5069d36
mov dword [ebp - 0x3c], eax
push 0x539d928
lea ecx, [ebp - 0x3c]
push ecx
call sub.MSVCR90.dll__CxxThrowException
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call sym.META_DLL.dll_META_FAT_UTF_Close_r
mov dword [ebp - 4], ebx
push ebx
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x2c]
call fcn.05068240
push ebx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x24]
call fcn.05068240
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
jmp 0x5069985
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0520b902
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 0x18