Function at 0x419050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2cd2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x62c144]
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 [0x631024]
test eax, eax
jne 0x4190c3
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4190b5
mov ecx, eax
call fcn.00419d80
jmp 0x4190b7
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x631024], eax
push 0xffffffffffffffff
push str.8ea4d
push str.Setting
mov ecx, eax
call fcn.0043b605
mov ebx, eax
mov eax, dword [0x631024]
test eax, eax
jne 0x419113
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x419105
mov ecx, eax
call fcn.00419d80
jmp 0x419107
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x631024], eax
push 0xffffffffffffffff
push str.7c319
push str.Setting
mov ecx, eax
call fcn.0043b605
mov esi, eax
mov eax, dword [0x631024]
test eax, eax
jne 0x419163
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x419155
mov ecx, eax
call fcn.00419d80
jmp 0x419157
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x631024], eax
push 0xffffffffffffffff
push str.359c8
push str.Setting
mov ecx, eax
call fcn.0043b605
mov edi, eax
cmp esi, 0xffffffff
je 0x419186
cmp edi, 0xffffffff
jne 0x41923c
push 0x11
push 8
call fcn.0043e368
mov esi, eax
add esp, 8
mov eax, dword [0x631024]
test eax, eax
jne 0x4191cf
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4191c1
mov ecx, eax
call fcn.00419d80
jmp 0x4191c3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x631024], eax
push esi
push str.7c319
push str.Setting
mov ecx, eax
call fcn.0043cfc6
push 0x3c
push 0
call fcn.0043e368
mov edi, eax
add esp, 8
mov eax, dword [0x631024]
test eax, eax
jne 0x41922a
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x41921c
mov ecx, eax
call fcn.00419d80
jmp 0x41921e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x631024], eax
push edi
push str.359c8
push str.Setting
mov ecx, eax
call fcn.0043cfc6
movzx eax, word [ebp - 0x4a]
cmp ebx, eax
je 0x4193b6
dec eax
cmp eax, ebx
jne 0x419270
movzx eax, word [ebp - 0x48]
cmp eax, esi
jne 0x41926a
movzx eax, word [ebp - 0x46]
xor ecx, ecx
cmp eax, edi
setge cl
test ecx, ecx
je 0x4193b6
jmp 0x419270
jle 0x4193b6
push str.WnUpd.exe
lea ecx, [ebp - 0x68]
call fcn.00403820
cmp dword [ebp - 0x58], 0
mov dword [ebp - 4], 5
je 0x4193a1
push 0x5a6864
lea ecx, [ebp - 0x28]
call fcn.00403820
push 0x5a6864
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00403820
mov byte [ebp - 4], 7
call fcn.00401910
mov ecx, eax
call fcn.0043b31a
push eax
lea ecx, [ebp - 0x40]
call fcn.00403ab0
push str.WnUpd.exe
lea ecx, [ebp - 0x40]
call fcn.0040bfe0
push 0x5a8550
lea ecx, [ebp - 0x28]
call fcn.00403ab0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004052d0
push 0x5a8554
lea ecx, [ebp - 0x28]
call fcn.0040bfe0
push 0x5a85b4
lea ecx, [ebp - 0x28]
call fcn.0040bfe0
push 0xffffffffffffffff
push str.7c319
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043cfc6
push 0xffffffffffffffff
push str.359c8
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043cfc6
movzx eax, word [ebp - 0x4a]
push eax
push str.8ea4d
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043cfc6
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 0x419391
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.0042aad9
push esi
test eax, eax
je 0x419389
mov ecx, dword [ebp - 0x70]
call fcn.00419b30
jmp 0x419391
call fcn.0042f1ea
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.0041a460
lea ecx, [ebp - 0x28]
call fcn.0041a460
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x4193b6
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00402210
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.00439cb7
mov esp, ebp
pop ebp
ret