Function at 0x10026810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
call fcn.10026b50
mov ecx, eax
call fcn.1004f530
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x41], al
lea ecx, [ebp - 0x48]
call fcn.100056e0
movzx ecx, byte [ebp - 0x41]
test ecx, ecx
je 0x10026851
xor eax, eax
jmp 0x10026a4c
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10026b50
mov ecx, eax
call fcn.100117c0
lea eax, [eax + eax + 0x18]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x4c]
call fcn.100056e0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10026896
xor eax, eax
jmp 0x10026a4c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100268ba
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x10026a4c
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x14
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], 1
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10026b50
mov ecx, eax
call fcn.1004f530
push eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x50]
call fcn.100056e0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0x1020ea64
push 0xc
call fcn.1017ea66
add esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x1002692b
mov ecx, dword [ebp - 0x58]
call fcn.100265d0
mov dword [ebp - 0x68], eax
jmp 0x10026932
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x1002694b
xor eax, eax
jmp 0x10026a4c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 4]
call eax
push 0x1020ea64
push 0x24
call fcn.1017ea66
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10026982
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.100cf6a0
mov dword [ebp - 0x6c], eax
jmp 0x10026989
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100269b4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.1017ae20
add esp, 4
xor eax, eax
jmp 0x10026a4c
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 4]
call eax
mov ecx, 0xf
mov word [ebp - 0x28], cx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x3c], 1
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
push 1
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 0x1c]
call eax
lea ecx, [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ole32.dll_DoDragDrop]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, 1
mov esp, ebp
pop ebp
ret 4