Function at 0x41c7a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da00a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
call fcn.004543ea
test al, al
je 0x41c7ea
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
mov eax, dword [0x6743e0]
test eax, eax
jne 0x41c825
push 0x15c
call fcn.0045133e
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41c817
mov ecx, eax
call fcn.00443700
jmp 0x41c819
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6743e0], eax
mov ecx, eax
call fcn.0045d928
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x41c84b
xor ecx, ecx
jmp 0x41c85f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c850
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403000
push 0x14
push str.WindowsRestMater.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00405290
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ca83
call fcn.00454543
test al, al
je 0x41c8b7
push ebp
pop esp
pop esi
push ecx
pop edi
push ebx
push ebx
push esi
pop ebp
pop ebp
push ebp
push ecx
push esp
pop edi
pop esi
push esp
push esp
pop ebx
mov esi, dword [ebp - 0x2c]
cmp dword [ebp + 8], 0
je 0x41ca4d
call fcn.00454543
test al, al
je 0x41c8dd
pop ebx
pop eax
pop edi
push esi
push esp
pop ecx
pop ecx
pop edi
pop ebp
pop esi
pop eax
pop edi
push edx
push esp
pop esi
pop ebx
pop eax
push esi
push esp
cmp dword [ebp + 0xc], 0
jne 0x41c973
call fcn.004547f5
test al, al
je 0x41c900
pop eax
push esp
pop eax
push esi
pop esi
push edx
push edi
push ebp
pop ecx
push ecx
push eax
push ebp
push ebx
push ecx
push eax
pop ebx
call fcn.004549d8
test al, al
je 0x41c919
push ebx
pop edx
push esi
push edx
push esi
pop esp
push ecx
pop edx
pop ecx
pop ebx
push ebp
push esi
push ebx
pop ebp
push edx
pop edx
call fcn.00454657
test al, al
je 0x41c940
pop esi
push esp
pop ecx
push esp
push ecx
pop esi
pop esi
pop eax
pop eax
push ebx
push edi
push edi
pop ebp
push ebx
push ecx
push esp
pop edi
pop ecx
push esi
pop edx
push ebp
pop ecx
push edx
pop edi
push eax
pop esi
pop ebx
pop edx
pop eax
pop esp
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
call fcn.0041ce30
test eax, eax
je 0x41c97d
call fcn.0045483a
test al, al
je 0x41c976
pop esi
pop ecx
pop ebp
pop ebp
pop ebp
pop edi
pop ecx
pop esp
pop ecx
pop edi
push ebx
pop ebx
pop esi
pop edx
push ecx
push edx
pop ebx
pop esp
pop edi
pop edi
pop eax
push esi
push ebx
push ebp
pop ebx
pop ebp
pop eax
pop eax
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
call fcn.0041bf90
cmp dword [ebp + 0x10], 0
je 0x41c9ed
call fcn.004544b9
test al, al
je 0x41c9a3
pop esi
push ebx
pop edi
push ecx
pop ebx
push edi
pop ebp
push ecx
push ebx
push ebx
push esi
pop edx
push eax
push ecx
pop edi
push edx
push edi
pop ebx
pop esp
pop esi
push edx
pop ebp
push eax
call fcn.004543ea
test al, al
je 0x41c9c3
pop esi
pop ecx
push ecx
pop ebp
push ebp
push ebp
push ebx
push edi
pop ebp
push esp
push ecx
pop edi
push eax
push eax
push ebx
push ebp
pop edx
pop edx
push esi
pop ebp
pop edi
pop ecx
push ecx
call fcn.0045494e
test al, al
je 0x41c9e5
push esp
push edi
push edi
push esp
pop esi
pop ecx
push ecx
pop edi
push ecx
pop esp
push ebp
push esi
pop edx
push edx
pop ebx
push esp
pop eax
pop esi
pop eax
pop edx
push ecx
pop esp
push eax
pop edi
push ecx
mov ecx, dword [ebp - 0x2c]
jmp 0x41ca7e
mov ecx, ebx
call fcn.0041cac0
test eax, eax
je 0x41ca83
call fcn.0045487f
test al, al
je 0x41ca26
pop ebx
push ecx
pop esi
push ebp
pop edi
pop ebx
push esi
pop esi
push esi
pop esi
pop esp
pop esp
pop ecx
push eax
pop esp
push ebx
pop eax
pop ebx
pop edi
pop esi
pop esp
push esp
pop ecx
pop edi
pop ebp
pop edx
pop eax
pop edx
pop edi
pop edx
mov ebx, dword [ebp - 0x2c]
call fcn.00454a62
test al, al
je 0x41ca49
pop ebp
push esp
push ebp
pop esp
push esp
push edi
push edi
pop esp
push eax
push ebx
pop eax
pop edx
pop edi
pop ebp
push esp
pop esp
push esi
push esp
pop edi
pop esi
push edx
pop eax
push esp
pop esi
push edi
push edi
mov ecx, ebx
jmp 0x41ca7e
call fcn.0045469c
test al, al
je 0x41ca75
push eax
push esp
push ebx
pop esp
push esp
push eax
pop ebp
push edi
pop ebp
push ecx
pop ebp
push ecx
push eax
push esi
push edi
push edi
pop ecx
pop ebx
pop ebp
pop eax
push ebp
push eax
push edi
pop esp
pop ebx
push esp
push ebx
push ecx
push ebp
push edi
pop esp
mov ecx, esi
call fcn.0041bf90
mov ecx, esi
call fcn.0041b270
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41ca98
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045132d
mov esp, ebp
pop ebp
ret 0xc