Function at 0x418ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a51f2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x630198]
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 [0x6351a4]
test eax, eax
jne 0x419063
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x419055
mov ecx, eax
call fcn.00419d20
jmp 0x419057
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6351a4], eax
push 0xffffffffffffffff
push str.8ea4d
push str.Setting
mov ecx, eax
call fcn.0043e03e
mov ebx, eax
mov eax, dword [0x6351a4]
test eax, eax
jne 0x4190b3
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4190a5
mov ecx, eax
call fcn.00419d20
jmp 0x4190a7
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6351a4], eax
push 0xffffffffffffffff
push str.7c319
push str.Setting
mov ecx, eax
call fcn.0043e03e
mov esi, eax
mov eax, dword [0x6351a4]
test eax, eax
jne 0x419103
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4190f5
mov ecx, eax
call fcn.00419d20
jmp 0x4190f7
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6351a4], eax
push 0xffffffffffffffff
push str.359c8
push str.Setting
mov ecx, eax
call fcn.0043e03e
mov edi, eax
cmp esi, 0xffffffff
je 0x419126
cmp edi, 0xffffffff
jne 0x4191dc
push 0x11
push 8
call fcn.0042970f
mov esi, eax
add esp, 8
mov eax, dword [0x6351a4]
test eax, eax
jne 0x41916f
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x419161
mov ecx, eax
call fcn.00419d20
jmp 0x419163
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6351a4], eax
push esi
push str.7c319
push str.Setting
mov ecx, eax
call fcn.0043faa8
push 0x3c
push 0
call fcn.0042970f
mov edi, eax
add esp, 8
mov eax, dword [0x6351a4]
test eax, eax
jne 0x4191ca
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4191bc
mov ecx, eax
call fcn.00419d20
jmp 0x4191be
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6351a4], eax
push edi
push str.359c8
push str.Setting
mov ecx, eax
call fcn.0043faa8
movzx eax, word [ebp - 0x4a]
cmp ebx, eax
je 0x419356
dec eax
cmp eax, ebx
jne 0x419210
movzx eax, word [ebp - 0x48]
cmp eax, esi
jne 0x41920a
movzx eax, word [ebp - 0x46]
xor ecx, ecx
cmp eax, edi
setge cl
test ecx, ecx
je 0x419356
jmp 0x419210
jle 0x419356
push str.WnUpd.exe
lea ecx, [ebp - 0x68]
call fcn.00403700
cmp dword [ebp - 0x58], 0
mov dword [ebp - 4], 5
je 0x419341
push 0x5a98a4
lea ecx, [ebp - 0x28]
call fcn.00403700
push 0x5a98a4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00403700
mov byte [ebp - 4], 7
call fcn.00401960
mov ecx, eax
call fcn.0043dd53
push eax
lea ecx, [ebp - 0x40]
call fcn.00403990
push str.WnUpd.exe
lea ecx, [ebp - 0x40]
call fcn.0040bf70
push 0x5ab5a0
lea ecx, [ebp - 0x28]
call fcn.00403990
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004051b0
push 0x5ab5a4
lea ecx, [ebp - 0x28]
call fcn.0040bf70
push 0x5ab604
lea ecx, [ebp - 0x28]
call fcn.0040bf70
push 0xffffffffffffffff
push str.7c319
push str.Setting
call fcn.00401960
mov ecx, eax
call fcn.0043faa8
push 0xffffffffffffffff
push str.359c8
push str.Setting
call fcn.00401960
mov ecx, eax
call fcn.0043faa8
movzx eax, word [ebp - 0x4a]
push eax
push str.8ea4d
push str.Setting
call fcn.00401960
mov ecx, eax
call fcn.0043faa8
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 0x419331
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.0042dd84
push esi
test eax, eax
je 0x419329
mov ecx, dword [ebp - 0x70]
call fcn.00419ad0
jmp 0x419331
call fcn.004345ce
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.0041a3f0
lea ecx, [ebp - 0x28]
call fcn.0041a3f0
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x419356
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00402260
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.0043c551
mov esp, ebp
pop ebp
ret