Function at 0x4ee5c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b8d3
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x28], 0
je 0x4ee7eb
movzx ecx, byte [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x28]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.004ee880
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
lea ecx, [ebp - 0x10]
call fcn.0041dbd0
test eax, eax
je 0x4ee7d5
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ee7d5
movzx edx, byte [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp + 8]
push edx
call fcn.0041d990
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
call fcn.004ee980
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x28]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x28]
call fcn.00429150
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0041e330
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
jne 0x4ee721
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x34], 0
je 0x4ee6da
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x4ee6d3
push 1
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x58], eax
jmp 0x4ee6da
mov dword [ebp - 0x58], 0
push 0
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
call fcn.00434810
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x50]
add edx, 0x5c
push edx
mov eax, dword [ebp - 0x50]
add eax, 0x5c
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
push 1
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.0046ae20
jmp 0x4ee7aa
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x38], 0
je 0x4ee759
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4ee752
push 1
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x5c], eax
jmp 0x4ee759
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x38], 0
push 0
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
call fcn.00434810
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x50]
add eax, 0xf0
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xf0
push ecx
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.USER32.dll_UnionRect]
push 1
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.0046ae20
push 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x28]
push edx
push 0xfbd
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.0042c560
mov ecx, eax
call fcn.00401050
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x30]
mov byte [edx + 0x32], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 8