Function at 0x464ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d07db
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1e64
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1e54], eax
mov ebx, edx
mov dword [ebp - 0x1e68], ebx
mov byte [ebp - 0x1e45], 1
xor eax, eax
mov dword [ebp - 0x1e50], eax
mov dword [ebp - 0x1e58], eax
lea esi, [ebp - 0x1e44]
call fcn.0044c770
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1e54]
test esi, esi
jne 0x464d39
mov dword [ebp - 0x1e60], 0x57
push 0x5042a0
lea ecx, [ebp - 0x1e60]
push ecx
call fcn.004abd6e
test edi, edi
jne 0x464d50
mov edx, esi
lea ecx, [ebp - 0x1e44]
call fcn.0044cad0
lea edi, [ebp - 0x1e44]
test ebx, ebx
je 0x464d9d
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464d60
sub eax, edx
sar eax, 1
je 0x464d9d
lea edx, [ebp - 0x1e50]
push edx
push edi
mov edx, ebx
mov ecx, esi
call fcn.0044dea0
test eax, eax
je 0x464da7
mov dword [ebp - 0x1e6c], eax
push 0x5042a0
lea eax, [ebp - 0x1e6c]
push eax
call fcn.004abd6e
mov edx, esi
mov dword [ebp - 0x1e50], edx
jmp 0x464dad
mov edx, dword [ebp - 0x1e50]
test edx, edx
je 0x464f04
lea ecx, [ebp - 0x121c]
push ecx
mov ecx, edi
call fcn.0044f2a0
mov byte [ebp - 0x1e45], 1
lea edx, [ebp - 0x1e58]
push edx
push edi
mov edx, str.VALIDATE_CHECK_FILE
mov ecx, dword [ebp - 0x1e50]
call fcn.0044dea0
test eax, eax
je 0x464dfe
mov byte [ebp - 0x1e47], 1
push 0x5043f0
lea eax, [ebp - 0x1e47]
push eax
call fcn.004abd6e
push 0x800
push 0
lea ecx, [ebp - 0xa1c]
push ecx
call fcn.004ab450
add esp, 0xc
push 0x400
push str.target
push edi
lea ecx, [ebp - 0xa1c]
mov edx, dword [ebp - 0x1e58]
call fcn.0044e540
test eax, eax
je 0x464e4c
mov byte [ebp - 0x1e49], 1
push 0x5043f0
lea edx, [ebp - 0x1e49]
push edx
call fcn.004abd6e
lea eax, [ebp - 0xa1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464e55
sub eax, edx
sar eax, 1
jne 0x464e7e
mov byte [ebp - 0x1e48], 1
push 0x5043f0
lea eax, [ebp - 0x1e48]
push eax
call fcn.004abd6e
push 0x200
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004ab450
add esp, 0xc
push 0
push 0x100
push 0x527d38
lea edi, [ebp - 0x21c]
lea edx, [ebp - 0xa1c]
call fcn.00458ee0
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464ed1
mov byte [ebp - 0x1e45], 1
mov dword [ebp - 4], 0
jmp 0x464f9e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x121c]
push ecx
push str.Validate___s____The_Path___s__is_not_valid
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
mov byte [ebp - 0x1e45], 0
mov dword [ebp - 4], 0
jmp 0x464f9e
mov byte [ebp - 0x1e46], 1
push 0x5043f0
lea edx, [ebp - 0x1e46]
push edx
call fcn.004abd6e
mov ecx, dword [ebp - 0x1e70]
test ecx, ecx
jne 0x464f2f
mov byte [ebp - 0x1e45], 1
jmp 0x464f53
mov byte [ebp - 0x1e45], 0
mov eax, dword [ebp - 0x1e68]
test eax, eax
je 0x464f53
push eax
push str.__s__is_not_valid
mov edx, 0x527b30
call fcn.00448ec0
add esp, 8
mov dword [ebp - 4], 0
mov eax, 0x464f98
ret
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1e50]
test eax, eax
je 0x464fb8
cmp eax, esi
je 0x464fb8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x1e58]
test eax, eax
je 0x464fca
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e44]
call fcn.0044c7f0
mov al, byte [ebp - 0x1e45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a998e
mov esp, ebp
pop ebp
ret 4