Function at 0x419370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0382
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x628144]
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 dword [ebp - 0x70], ecx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x62d0d0]
test eax, eax
jne 0x4193e3
push 0x120
call fcn.0042579b
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4193d5
mov ecx, eax
call fcn.0041a1a0
jmp 0x4193d7
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x62d0d0], eax
push 0xffffffffffffffff
push str.300f27
push str.Setting
mov ecx, eax
call fcn.0042da8a
mov ebx, eax
mov eax, dword [0x62d0d0]
test eax, eax
jne 0x419433
push 0x120
call fcn.0042579b
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x419425
mov ecx, eax
call fcn.0041a1a0
jmp 0x419427
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x62d0d0], eax
push 0xffffffffffffffff
push str.89a471
push str.Setting
mov ecx, eax
call fcn.0042da8a
mov esi, eax
mov eax, dword [0x62d0d0]
test eax, eax
jne 0x419483
push 0x120
call fcn.0042579b
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x419475
mov ecx, eax
call fcn.0041a1a0
jmp 0x419477
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x62d0d0], eax
push 0xffffffffffffffff
push str.74b07f
push str.Setting
mov ecx, eax
call fcn.0042da8a
mov edi, eax
cmp esi, 0xffffffff
je 0x4194a6
cmp edi, 0xffffffff
jne 0x41955c
push 0x11
push 8
call fcn.0042a88b
mov esi, eax
add esp, 8
mov eax, dword [0x62d0d0]
test eax, eax
jne 0x4194ef
push 0x120
call fcn.0042579b
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4194e1
mov ecx, eax
call fcn.0041a1a0
jmp 0x4194e3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x62d0d0], eax
push esi
push str.89a471
push str.Setting
mov ecx, eax
call fcn.0042f53a
push 0x3c
push 0
call fcn.0042a88b
mov edi, eax
add esp, 8
mov eax, dword [0x62d0d0]
test eax, eax
jne 0x41954a
push 0x120
call fcn.0042579b
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x41953c
mov ecx, eax
call fcn.0041a1a0
jmp 0x41953e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x62d0d0], eax
push edi
push str.74b07f
push str.Setting
mov ecx, eax
call fcn.0042f53a
movzx eax, word [ebp - 0x4a]
cmp ebx, eax
je 0x4196d6
dec eax
cmp eax, ebx
jne 0x419590
movzx eax, word [ebp - 0x48]
cmp eax, esi
jne 0x41958a
movzx eax, word [ebp - 0x46]
xor ecx, ecx
cmp eax, edi
setge cl
test ecx, ecx
je 0x4196d6
jmp 0x419590
jle 0x4196d6
push str.WinUpdate.exe
lea ecx, [ebp - 0x68]
call fcn.00402b80
cmp dword [ebp - 0x58], 0
mov dword [ebp - 4], 5
je 0x4196c1
push 0x5a355c
lea ecx, [ebp - 0x28]
call fcn.00402b80
push 0x5a355c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00402b80
mov byte [ebp - 4], 7
call fcn.00407690
mov ecx, eax
call fcn.0042d79f
push eax
lea ecx, [ebp - 0x40]
call fcn.00402e10
push str.WinUpdate.exe
lea ecx, [ebp - 0x40]
call fcn.0040be20
push 0x5a54f4
lea ecx, [ebp - 0x28]
call fcn.00402e10
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404800
push 0x5a54f8
lea ecx, [ebp - 0x28]
call fcn.0040be20
push str.6f31d6
lea ecx, [ebp - 0x28]
call fcn.0040be20
push 0xffffffffffffffff
push str.89a471
push str.Setting
call fcn.00407690
mov ecx, eax
call fcn.0042f53a
push 0xffffffffffffffff
push str.74b07f
push str.Setting
call fcn.00407690
mov ecx, eax
call fcn.0042f53a
movzx eax, word [ebp - 0x4a]
push eax
push str.300f27
push str.Setting
call fcn.00407690
mov ecx, eax
call fcn.0042f53a
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4196b1
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.00430fd0
push esi
test eax, eax
je 0x4196a9
mov ecx, dword [ebp - 0x70]
call fcn.00419f30
jmp 0x4196b1
call fcn.004387f3
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.0041a870
lea ecx, [ebp - 0x28]
call fcn.0041a870
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x4196d6
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00402500
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.0042578a
mov esp, ebp
pop ebp
ret