Function at 0x45b360
Capabilities:
Check if file exists
Check internet connectivity via wininet
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d613c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x65a000]
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 ebx, dword [0x6fb010]
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.00459ca0
mov ecx, ebx
call fcn.0045bc00
push 3
xor eax, eax
push 0x60f994
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 1
call fcn.00406e30
mov esi, eax
lea eax, [ebp - 0x228]
cmp eax, esi
je 0x45b457
cmp dword [ebp - 0x214], 8
jb 0x45b42e
push dword [ebp - 0x228]
call fcn.0048166b
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
call fcn.004053e0
cmp dword [ebp - 0x280], 8
jb 0x45b46e
push dword [ebp - 0x294]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x268], 8
mov dword [ebp - 0x280], 7
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
jb 0x45b4a5
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
push 0x1a
push str.DriverDRVSETUPSETUP.EXE
lea ecx, [ebp - 0x228]
call fcn.004057a0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0xa
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x27c]
push str.ONLINEFLAG
cmp eax, 1
jne 0x45b56f
xor eax, eax
mov word [ebp - 0x27c], ax
call fcn.004058d0
push 0
lea eax, [ebp - 0x27c]
lea edi, [ebx + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00407870
mov byte [ebp - 4], 0
cmp dword [ebp - 0x268], 8
jb 0x45b538
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
push 0xd
xor eax, eax
push str.CD_ONLINEFLAG
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
mov byte [ebp - 4], 3
push 1
jmp 0x45b5e4
xor eax, eax
mov word [ebp - 0x27c], ax
call fcn.004058d0
push 1
lea eax, [ebp - 0x27c]
lea edi, [ebx + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00407870
mov byte [ebp - 4], 0
cmp dword [ebp - 0x268], 8
jb 0x45b5af
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
push 0xd
xor eax, eax
push str.CD_ONLINEFLAG
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x27c]
push eax
mov ecx, edi
call fcn.00407870
mov byte [ebp - 4], 0
cmp dword [ebp - 0x268], 8
jb 0x45b60d
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
push 0
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 0x244], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
push 0xe
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x27c]
push str.NO_WEBCONECTED
test eax, eax
jne 0x45b65f
mov word [ebp - 0x27c], ax
call fcn.004058d0
mov byte [ebp - 4], 6
push 1
jmp 0x45b673
xor eax, eax
mov word [ebp - 0x27c], ax
call fcn.004058d0
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x27c]
push eax
mov ecx, edi
call fcn.00407870
mov byte [ebp - 4], 0
cmp dword [ebp - 0x268], 8
jb 0x45b69c
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
mov ecx, ebx
call fcn.0045c010
test eax, eax
jne 0x45b764
push 0xe
push str.NO_WEBCONECTED
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], eax
mov word [ebp - 0x27c], ax
call fcn.004058d0
push 1
lea eax, [ebp - 0x27c]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00407870
mov byte [ebp - 4], 0
cmp dword [ebp - 0x268], 8
jb 0x45b703
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
push 0xa
xor eax, eax
push str.ONLINEFLAG
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
push 1
lea eax, [ebp - 0x27c]
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00407870
cmp dword [ebp - 0x268], 8
jb 0x45b75d
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
xor esi, esi
jmp 0x45bbc8
push 0x16
xor eax, eax
push str.SOFTWARECANONMSETUP4
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
call fcn.004058d0
push 0x17
push str.InstalledDeviceCanon
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xa
call fcn.004057a0
push 4
xor eax, eax
push str.NAME
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x294]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00406e30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xc
call fcn.00405690
cmp dword [ebp - 0x280], 8
jb 0x45b81c
push dword [ebp - 0x294]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x268], 8
mov dword [ebp - 0x280], 7
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
jb 0x45b854
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
push 0x14
xor eax, eax
push str.INSTALLED_DEVICE_REG
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00407490
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x268], 8
jb 0x45b8b8
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
mov ecx, ebx
call fcn.0045cfc0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
push esi
mov ecx, ebx
call fcn.00460440
mov ecx, ebx
push esi
call fcn.00460690
xor eax, eax
push 6
push str.REBOOT
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
push 0
lea eax, [ebp - 0x27c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00407870
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x268], 8
jb 0x45b936
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.005a7690
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [ebp - 0x248]
lea eax, [ebp - 0x210]
push dword [ebp - 0x24c]
push 0x62477c
push 0xffffffffffffffff
push 0x100
push eax
call fcn.005a4e29
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x280], 7
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
cmp word [ebp - 0x210], ax
jne 0x45b9b2
xor ecx, ecx
jmp 0x45b9cf
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
jmp 0x45b9c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b9c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x294]
call fcn.004058d0
mov byte [ebp - 4], 0xf
push 0xb
xor eax, eax
push str.MS_INSTDATE
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x27c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00407490
cmp dword [ebp - 0x268], 8
jb 0x45ba45
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x280], 8
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
jb 0x45ba7d
push dword [ebp - 0x294]
call fcn.0048166b
add esp, 4
push 3
xor eax, eax
push 0x60e1b0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
call fcn.004058d0
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00406e30
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x268], 8
jb 0x45bae1
push dword [ebp - 0x27c]
call fcn.0048166b
add esp, 4
xor eax, eax
push 0xe
push str.INIT_MSETUPLOG
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
mov dword [ebp - 0x280], 7
mov dword [ebp - 0x284], eax
mov word [ebp - 0x294], ax
call fcn.004058d0
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x14
mov ecx, dword [0x6fb00c]
push eax
call fcn.004534f0
cmp dword [ebp - 0x280], 8
jb 0x45bb5b
push dword [ebp - 0x294]
call fcn.0048166b
add esp, 4
cmp dword [ebp - 0x250], 8
mov esi, 1
jb 0x45bb77
push dword [ebp - 0x264]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x22c], 8
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
mov word [ebp - 0x264], ax
jb 0x45bbab
push dword [ebp - 0x240]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
cmp dword [ebp - 0x214], 8
jb 0x45bbdf
push dword [ebp - 0x228]
call fcn.0048166b
add esp, 4
mov eax, esi
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.005a4646
mov esp, ebp
pop ebp
ret