Function at 0x418f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3a32
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x62e15c]
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 [0x633164]
test eax, eax
jne 0x418fc3
push 0x120
call fcn.0043ab8a
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x418fb5
mov ecx, eax
call fcn.00419c80
jmp 0x418fb7
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x633164], eax
push 0xffffffffffffffff
push str.8ea4d
push str.Setting
mov ecx, eax
call fcn.0043c914
mov ebx, eax
mov eax, dword [0x633164]
test eax, eax
jne 0x419013
push 0x120
call fcn.0043ab8a
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x419005
mov ecx, eax
call fcn.00419c80
jmp 0x419007
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x633164], eax
push 0xffffffffffffffff
push str.7c319
push str.Setting
mov ecx, eax
call fcn.0043c914
mov esi, eax
mov eax, dword [0x633164]
test eax, eax
jne 0x419063
push 0x120
call fcn.0043ab8a
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x419055
mov ecx, eax
call fcn.00419c80
jmp 0x419057
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x633164], eax
push 0xffffffffffffffff
push str.359c8
push str.Setting
mov ecx, eax
call fcn.0043c914
mov edi, eax
cmp esi, 0xffffffff
je 0x419086
cmp edi, 0xffffffff
jne 0x41913c
push 0x11
push 8
call fcn.004291b0
mov esi, eax
add esp, 8
mov eax, dword [0x633164]
test eax, eax
jne 0x4190cf
push 0x120
call fcn.0043ab8a
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4190c1
mov ecx, eax
call fcn.00419c80
jmp 0x4190c3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x633164], eax
push esi
push str.7c319
push str.Setting
mov ecx, eax
call fcn.0043e2d7
push 0x3c
push 0
call fcn.004291b0
mov edi, eax
add esp, 8
mov eax, dword [0x633164]
test eax, eax
jne 0x41912a
push 0x120
call fcn.0043ab8a
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x41911c
mov ecx, eax
call fcn.00419c80
jmp 0x41911e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x633164], eax
push edi
push str.359c8
push str.Setting
mov ecx, eax
call fcn.0043e2d7
movzx eax, word [ebp - 0x4a]
cmp ebx, eax
je 0x4192b6
dec eax
cmp eax, ebx
jne 0x419170
movzx eax, word [ebp - 0x48]
cmp eax, esi
jne 0x41916a
movzx eax, word [ebp - 0x46]
xor ecx, ecx
cmp eax, edi
setge cl
test ecx, ecx
je 0x4192b6
jmp 0x419170
jle 0x4192b6
push str.WnUpd.exe
lea ecx, [ebp - 0x68]
call fcn.00403660
cmp dword [ebp - 0x58], 0
mov dword [ebp - 4], 5
je 0x4192a1
push 0x5a7890
lea ecx, [ebp - 0x28]
call fcn.00403660
push 0x5a7890
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00403660
mov byte [ebp - 4], 7
call fcn.00401950
mov ecx, eax
call fcn.0043c629
push eax
lea ecx, [ebp - 0x40]
call fcn.004038f0
push str.WnUpd.exe
lea ecx, [ebp - 0x40]
call fcn.0040bed0
push 0x5a9580
lea ecx, [ebp - 0x28]
call fcn.004038f0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405110
push 0x5a9584
lea ecx, [ebp - 0x28]
call fcn.0040bed0
push 0x5a95e4
lea ecx, [ebp - 0x28]
call fcn.0040bed0
push 0xffffffffffffffff
push str.7c319
push str.Setting
call fcn.00401950
mov ecx, eax
call fcn.0043e2d7
push 0xffffffffffffffff
push str.359c8
push str.Setting
call fcn.00401950
mov ecx, eax
call fcn.0043e2d7
movzx eax, word [ebp - 0x4a]
push eax
push str.8ea4d
push str.Setting
call fcn.00401950
mov ecx, eax
call fcn.0043e2d7
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 0x419291
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.0042c8d7
push esi
test eax, eax
je 0x419289
mov ecx, dword [ebp - 0x70]
call fcn.00419a30
jmp 0x419291
call fcn.00433570
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00402ca0
lea ecx, [ebp - 0x28]
call fcn.00402ca0
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x4192b6
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00402250
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.0043ae55
mov esp, ebp
pop ebp
ret