Function at 0x529960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668afc
mov eax, dword fs:[0]
push eax
mov eax, 0x1af0
call fcn.005c8950
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ac8], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1ac0], ecx
lea ecx, [ebp - 0x1abc]
call fcn.0047b900
lea edx, [ebp - 0x1abc]
push edx
mov eax, dword [ebp - 0x1ac0]
push eax
call fcn.0046a540
mov ecx, eax
call fcn.0046ff40
movzx ecx, al
test ecx, ecx
jne 0x5299db
xor eax, eax
jmp 0x529cbf
lea edx, [ebp - 0x107a]
push edx
lea ecx, [ebp - 0x58]
call fcn.00447470
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0044e170
movzx eax, al
test eax, eax
jne 0x529a2d
lea ecx, [ebp - 0x58]
call fcn.0043dc00
push eax
lea ecx, [ebp - 0x70]
call fcn.00447470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
push ecx
call fcn.0045d5c0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.0043cfa0
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054e470
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x1ac0]
push eax
lea ecx, [ebp - 0x1ac4]
call fcn.0054eb30
lea ecx, [ebp - 0x187a]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00447470
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x529b88
lea ecx, [ebp - 0x40]
call fcn.0044e170
movzx edx, al
test edx, edx
jne 0x529b88
mov eax, dword [ebp - 0x1ac8]
mov dword [ebp - 0x1acc], eax
mov dword [ebp - 0x1ae8], 0x529d10
mov dword [ebp - 0x1ae4], 0
mov ecx, dword [ebp - 0x1ae8]
mov dword [ebp - 0x1af0], ecx
mov edx, dword [ebp - 0x1ae4]
mov dword [ebp - 0x1aec], edx
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x1af4], esp
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x1af8], esp
push 0x693eca
lea ecx, [ebp - 0x1acc]
push ecx
lea edx, [ebp - 0x1af0]
push edx
push eax
call fcn.0052a4a0
add esp, 0x10
mov ecx, esi
call fcn.0052a0d0
mov dword [ebp - 0x1ad0], eax
mov eax, dword [ebp - 0x1ad0]
mov dword [ebp - 0x1afc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1ac0]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00536c00
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.005373d0
mov dword [ebp - 0x1ad4], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054e490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
mov eax, dword [ebp - 0x1ad4]
jmp 0x529cbf
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x529c07
push 0
mov eax, dword [ebp - 0x1ac0]
push eax
push 0xfbb
mov ecx, dword [ebp - 0x1ac8]
mov edx, dword [ecx + 0x248]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x1ad8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054e490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
mov eax, dword [ebp - 0x1ad8]
jmp 0x529cbf
cmp dword [ebp - 0x1ac0], 1
jne 0x529c79
push 0
mov eax, dword [ebp - 0x1ac0]
push eax
push 0xfbb
mov ecx, dword [ebp - 0x1ac8]
mov edx, dword [ecx + 0x248]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x1adc], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054e490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
mov eax, dword [ebp - 0x1adc]
jmp 0x529cbf
mov dword [ebp - 0x1ae0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac4]
call fcn.0054e490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
mov eax, dword [ebp - 0x1ae0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 0x10