Function at 0x100124f0
Capabilities:
Check if file exists
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067086
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x184
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x28]
call fcn.100016b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.100016b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100016b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.100016b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.100016b0
mov byte [ebp - 4], 4
mov dword [ebp - 0xd0], 0x94
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
push ecx
push 0x1007c400
push 5
push 0
push 0x1007c5e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jge 0x10012625
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.100016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100016d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
jmp 0x10012e4b
cmp dword [ebp - 0xcc], 6
jae 0x100126a4
push 0x100726ec
lea ecx, [ebp - 0xf8]
call fcn.10028030
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 6
lea eax, [ebp - 0xec]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x130]
call fcn.1000a660
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf8]
call fcn.1000a640
jmp 0x10012718
push str.rootSecurityCenter2
lea ecx, [ebp - 0xfc]
call fcn.10028030
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xec]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x13c]
call fcn.1000a660
push eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
call fcn.1000a640
cmp dword [ebp - 0xf0], 0
jge 0x1001277c
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.100016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100016d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
jmp 0x10012e4b
push str.select__from_AntiVirusProduct
lea ecx, [ebp - 0x100]
call fcn.1000a5a0
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 8
push 0x10072760
lea ecx, [ebp - 0x104]
call fcn.1000a5a0
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
push ecx
push 0
push 0x10
mov ecx, dword [ebp - 0x148]
call fcn.1000a660
push eax
mov ecx, dword [ebp - 0x150]
call fcn.1000a660
push eax
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x104]
call fcn.1000a640
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x100]
call fcn.1000a640
cmp dword [ebp - 0xf0], 0
jge 0x100128a7
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0xec]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.100016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100016d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
jmp 0x10012e4b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0xe8]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
jne 0x10012a9f
cmp dword [ebp - 0x24], 0
jne 0x100128f2
jmp 0x10012a9f
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x10072764
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.10011620
add esp, 8
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx]
push edx
push 0x1007277c
lea eax, [ebp - 0xdc]
push eax
call fcn.100030c0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.100016d0
cmp dword [ebp - 0xcc], 6
jb 0x10012a9a
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push str.pathToSignedProductExe
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.10011620
add esp, 8
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx]
push edx
push 0x100727b0
lea eax, [ebp - 0x2c]
push eax
call fcn.100030c0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10c]
call fcn.100016d0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push str.pathToSignedReportingExe
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.10011620
add esp, 8
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx]
push edx
push 0x100727e8
lea eax, [ebp - 0xd8]
push eax
call fcn.100030c0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x110]
call fcn.100016d0
jmp 0x100128b1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
jmp 0x10012aee
mov dword [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x114], esp
push str.GLI_01
call fcn.10002ce0
mov dword [ebp - 0x180], eax
call fcn.1001c670
add esp, 4
push 0
push 0x100727f4
lea ecx, [ebp - 0xdc]
call fcn.10005c60
test eax, eax
jl 0x10012b3c
push 0x1006ce47
lea ecx, [ebp - 0xdc]
call fcn.10001710
cmp dword [ebp - 0xcc], 6
jb 0x10012c16
push 0x1006ce56
lea edx, [ebp - 0x2c]
push edx
call fcn.10005d50
add esp, 8
movzx eax, al
test eax, eax
jne 0x10012b80
push 0x1006ce57
lea ecx, [ebp - 0xd8]
push ecx
call fcn.10005d50
add esp, 8
movzx edx, al
test edx, edx
je 0x10012c14
push 0x1006ce72
lea eax, [ebp - 0x2c]
push eax
call fcn.10005d50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10012bc7
push 0
lea ecx, [ebp - 0x2c]
call fcn.10001730
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10012bc7
push 0
lea ecx, [ebp - 0xdc]
call fcn.10001730
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10041df0
add esp, 8
push 0x1006ce73
lea eax, [ebp - 0xd8]
push eax
call fcn.10005d50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10012c14
push 0
lea ecx, [ebp - 0xd8]
call fcn.10001730
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10012c14
push 0
lea ecx, [ebp - 0xdc]
call fcn.10001730
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10041df0
add esp, 8
jmp 0x10012c30
push 0
lea ecx, [ebp - 0xdc]
call fcn.10001730
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10041df0
add esp, 8
call fcn.10019960
movzx ecx, al
test ecx, ecx
jne 0x10012d1f
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.GLI_02
call fcn.10002ce0
mov dword [ebp - 0x184], eax
call fcn.1001c670
add esp, 4
lea ecx, [ebp - 0xf4]
call fcn.100016b0
mov byte [ebp - 4], 0xe
call fcn.1002f500
test eax, eax
je 0x10012d0b
push ecx
mov ecx, esp
mov dword [ebp - 0x11c], esp
push str.GLI_03
call fcn.10002ce0
mov dword [ebp - 0x188], eax
call fcn.1001c670
add esp, 4
push 0x10072810
mov edx, dword [ebp + 8]
push edx
call fcn.10041df0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.100016d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.100016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100016d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
jmp 0x10012e4b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.100016d0
jmp 0x10012dc8
push ecx
mov ecx, esp
mov dword [ebp - 0x120], esp
push str.GLI_04
call fcn.10002ce0
mov dword [ebp - 0x18c], eax
call fcn.1001c670
add esp, 4
call fcn.1002f500
test eax, eax
je 0x10012dc8
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
push str.GLI_05
call fcn.10002ce0
mov dword [ebp - 0x190], eax
call fcn.1001c670
add esp, 4
push 0x1007282c
mov eax, dword [ebp + 8]
push eax
call fcn.10041df0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.100016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100016d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
jmp 0x10012e4b
mov ecx, dword [ebp + 8]
push ecx
push str.GLI_08:_s
lea edx, [ebp - 0xe0]
push edx
call fcn.100030c0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
lea eax, [ebp - 0xe0]
push eax
call fcn.10002cc0
mov dword [ebp - 0x194], eax
call fcn.1001c670
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.100016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.100016d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100016d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.100016d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret