Function at 0x417bb0
Capabilities:
Query or enumerate registry key
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov ebx, ecx
push edi
push eax
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x248], eax
mov byte [ebp - 0x110], al
call fcn.0045e060
mov edi, eax
test edi, edi
je 0x417c64
push 0x104
lea eax, [ebp - 0x110]
push eax
push str.PackageComponents
push edi
call fcn.0045e550
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
jne 0x417c62
cmp byte [ebp - 0x110], 0
je 0x417c62
lea eax, [ebp - 0x110]
push 0x4c2a00
push eax
call fcn.00463f60
xor ecx, ecx
add esp, 8
test eax, eax
setne cl
xor esi, esi
mov dword [ebp - 0x228], ecx
test eax, eax
jne 0x417c64
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
xor esi, esi
cmp dword [0x4d4c60], 0
je 0x4185a8
push str.AppInfo
push str.CommonInfo
push str.SoftwareK7_ComputingK7TotalSecurity
push 0x4c1ff4
lea eax, [ebp - 0x110]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x18
lea eax, [ebp - 0x110]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e320
mov dword [ebp - 0x244], eax
test eax, eax
je 0x4185a8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test ebx, ebx
mov ebx, eax
je 0x417d32
lea eax, [ebp - 0x250]
mov dword [ebp - 0x24c], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov dword [ebp - 0x250], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x250]
mov eax, dword [ecx]
cmp eax, dword [0x4d690c]
jne 0x417d1c
mov eax, dword [ecx + 4]
cmp eax, dword [0x4d6910]
je 0x418568
mov eax, dword [ebp - 0x250]
mov dword [0x4d690c], eax
mov eax, dword [ebp - 0x24c]
mov dword [0x4d6910], eax
push 0x10800
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x418562
push 0
push str.SoftwareK7_ComputingK7TotalSecurity
lea eax, [edi + 0x1400]
mov byte [edi], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x238], eax
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x417d8a
push 0x104
push edi
push str.DirProductBase
push esi
call fcn.0045e550
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.K7AppCtrl.dat
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
call fcn.00437eb0
mov ecx, dword [ebp - 0x234]
xor edx, edx
add esp, 4
cmp eax, 1
cmovne ecx, edx
xor eax, eax
mov dword [ebp - 0x230], ecx
mov ecx, dword [ebp - 0x238]
mov esi, ecx
xor cl, cl
mov byte [ebp - 0x22a], cl
push 0x104
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x23c], eax
push ecx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x41841b
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.0045e320
mov ebx, eax
mov dword [ebp - 0x234], ebx
test ebx, ebx
je 0x41841b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push eax
push str.InfoUpdated
push ebx
call fcn.0045e500
cmp dword [ebp - 0x228], 0
je 0x418402
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push eax
push str.LastUpdated
push ebx
call fcn.0045e500
cmp dword [ebp - 0x228], 0
je 0x418402
push 0x400
push edi
push str.FilePath
push ebx
mov byte [ebp - 0x229], 0
mov byte [edi], 0
call fcn.0045e550
cmp byte [edi], 0
je 0x417eb7
push 0x10
lea ebx, [edi + 1]
push str.:PROGRAM_FILES_
push ebx
call fcn.0048f15c
add esp, 0xc
test eax, eax
je 0x417eaa
push 0x16
push str.:PROGRAM_FILES__X86__
push ebx
call fcn.0048f15c
add esp, 0xc
test eax, eax
jne 0x417eb1
mov byte [ebp - 0x229], 1
mov ebx, dword [ebp - 0x234]
push 0x5c
push edi
mov byte [edi + 0x1000], 0
call fcn.00463740
add esp, 8
test eax, eax
je 0x417eed
lea ecx, [eax + 1]
lea edx, [edi + 0x1000]
sub edx, ecx
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x417ee0
push 0x400
push edi
push str.FileSigner
push ebx
mov byte [edi], 0
call fcn.0045e550
cmp dword [ebp - 0x230], 0
je 0x417f70
cmp byte [edi], 0
je 0x417f70
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417f14
sub ecx, edx
mov dword [ebp - 0x228], ecx
cmp ecx, 0x80
jae 0x417f70
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x254]
push eax
push edi
push str.FileSigner
mov dword [ebp - 0x228], 0
call fcn.004376d0
test eax, eax
je 0x417f62
push eax
call fcn.00491469
add esp, 4
mov dword [ebp - 0x228], eax
jmp 0x417f68
mov eax, dword [ebp - 0x228]
test eax, eax
jne 0x4183f5
mov eax, dword [ebp - 0x238]
add eax, 0xc800
cmp esi, eax
ja 0x418402
push str.app
push esi
mov dword [ebp - 0x240], esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov byte [edi], 0
add esi, eax
push 0x400
push edi
push 0x4c2a78
push ebx
call fcn.0045e550
push edi
push 0x4c2a88
push esi
call fcn.00401a50
add esp, 0xc
add esi, eax
cmp dword [ebp - 0x230], 0
je 0x418035
cmp byte [edi], 0
je 0x418035
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417fd2
sub ecx, edx
mov dword [ebp - 0x228], ecx
cmp ecx, 0x80
jae 0x418035
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x258]
push eax
push edi
push 0x4c2a78
mov dword [ebp - 0x228], 0
call fcn.004376d0
test eax, eax
je 0x418020
push eax
call fcn.00491469
add esp, 4
mov dword [ebp - 0x228], eax
jmp 0x418026
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x418035
mov esi, dword [ebp - 0x240]
jmp 0x4183f5
push 0x400
push edi
push 0x4c2a8c
push ebx
mov byte [edi], 0
call fcn.0045e550
push edi
push 0x4c2a88
push esi
call fcn.00401a50
add esp, 0xc
mov byte [edi], 0
add esi, eax
push 0x400
push edi
push str.FileVendor
push ebx
call fcn.0045e550
push edi
push 0x4c2a88
push esi
call fcn.00401a50
add esp, 0xc
add esi, eax
cmp dword [ebp - 0x230], 0
je 0x418174
cmp byte [edi], 0
je 0x418174
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4180a0
sub ecx, edx
mov dword [ebp - 0x228], ecx
cmp ecx, 0x80
jae 0x418103
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x25c]
push eax
push edi
push str.FileVendor
mov dword [ebp - 0x228], 0
call fcn.004376d0
test eax, eax
je 0x4180ee
push eax
call fcn.00491469
add esp, 4
mov dword [ebp - 0x228], eax
jmp 0x4180f4
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x418103
mov esi, dword [ebp - 0x240]
jmp 0x4183f5
cmp byte [ebp - 0x229], 0
jne 0x418174
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418111
sub ecx, edx
mov dword [ebp - 0x228], ecx
cmp ecx, 0x80
jae 0x418174
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x260]
push eax
push edi
push str.FileVendor_NonPgm
mov dword [ebp - 0x228], 0
call fcn.004376d0
test eax, eax
je 0x41815f
push eax
call fcn.00491469
add esp, 4
mov dword [ebp - 0x228], eax
jmp 0x418165
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x418174
mov esi, dword [ebp - 0x240]
jmp 0x4183f5
push 0x400
push edi
push str.FileMD5
push ebx
mov byte [edi], 0
call fcn.0045e550
push edi
push 0x4c2a88
push esi
call fcn.00401a50
add esp, 0xc
add esi, eax
cmp dword [ebp - 0x230], 0
je 0x418213
cmp byte [edi], 0
je 0x418213
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4181b0
sub ecx, edx
mov dword [ebp - 0x228], ecx
cmp ecx, 0x80
jae 0x418213
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x264]
push eax
push edi
push str.FileMD5
mov dword [ebp - 0x228], 0
call fcn.004376d0
test eax, eax
je 0x4181fe
push eax
call fcn.00491469
add esp, 4
mov dword [ebp - 0x228], eax
jmp 0x418204
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x418213
mov esi, dword [ebp - 0x240]
jmp 0x4183f5
push 0x400
push edi
push str.K7Info
push ebx
mov byte [edi], 0
call fcn.0045e550
push edi
push 0x4c2a88
push esi
call fcn.00401a50
add esp, 0xc
mov dword [ebp - 0x228], 0
add esi, eax
lea eax, [ebp - 0x228]
push eax
push str.Flags1
push ebx
call fcn.0045e500
push dword [ebp - 0x228]
push str._lu
push esi
call fcn.00401a50
add esp, 0xc
mov dword [ebp - 0x228], 0
add esi, eax
lea eax, [ebp - 0x228]
push eax
push str.FileSize
push ebx
call fcn.0045e500
push dword [ebp - 0x228]
push str._lu
push esi
call fcn.00401a50
add esp, 0xc
mov dword [ebp - 0x228], 0
add esi, eax
lea eax, [ebp - 0x228]
push eax
push str.LastAction
push ebx
call fcn.0045e500
push dword [ebp - 0x228]
push str._lu
push esi
call fcn.00401a50
add esp, 0xc
mov dword [ebp - 0x228], 0
add esi, eax
lea eax, [ebp - 0x228]
push eax
push str.RuleApplied
push ebx
call fcn.0045e500
push dword [ebp - 0x228]
push str._lu
push esi
call fcn.00401a50
add esp, 0xc
mov byte [edi], 0
add esi, eax
push 0x1000
push edi
push str.IconImage
push ebx
call fcn.0045e550
mov al, byte [edi]
test al, al
je 0x418341
cmp al, 0x2d
je 0x418341
push edi
push 0x4c2a88
push esi
call fcn.00401a50
add esp, 0xc
add esi, eax
push 0x4c2b08
push str.IconImage
push ebx
call fcn.0045e7c0
jmp 0x418356
push 0x4c1220
push 0x4c2b0c
push esi
call fcn.00401a50
add esp, 0xc
add esi, eax
push 0x200
push edi
push str.LastUserName
push ebx
mov byte [edi], 0
call fcn.0045e550
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov ebx, eax
test ebx, ebx
je 0x41839a
lea eax, [ebp - 0x248]
push eax
push str.ProductMode
push ebx
call fcn.0045e500
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x248], 1
jne 0x4183c6
cmp byte [edi + 0x1000], 0
lea ebx, [edi + 0x1000]
je 0x4183c6
push edi
push 0x4c2a88
push esi
call fcn.00401a50
add esp, 0xc
add esi, eax
push ebx
jmp 0x4183c7
push edi
push 0x4c2b0c
push esi
call fcn.00401a50
add esp, 0xc
add esi, eax
push 0x4c2b20
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [ebp - 0x234]
add esp, 8
add esi, eax
mov byte [ebp - 0x22a], 1
push 0
push str.InfoUpdated
push ebx
call fcn.0045e790
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x23c]
mov ebx, dword [ebp - 0x244]
inc eax
jmp 0x417dcd
cmp byte [ebp - 0x22a], 0
je 0x418562
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
push 3
push 0
push 0
mov byte [esi], 0
sub esi, dword [ebp - 0x238]
push 0xc0000000
push 0x4c95fc
inc esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x41849a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x418491
push 0x2710
push 0x4c95fc
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push 0x4c95fc
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x418455
jmp 0x41849a
cmp edi, 0xffffffff
je 0x418562
lea eax, [esi + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x418562
mov dword [ebx], 0x4b374147
mov dword [ebx + 4], 6
mov dword [ebx + 8], esi
test esi, esi
je 0x4184de
push esi
push dword [ebp - 0x238]
lea eax, [ebx + 0xc]
push eax
call fcn.0046c5d0
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x418506
mov dword [ebp - 0x23c], eax
jmp 0x41853c
push 0
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0
push eax
push 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [esi + 0xc]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov dword [ebp - 0x23c], esi
cmp edi, 0xffffffff
je 0x418548
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x23c]
jmp 0x41856a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor esi, esi
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x230]
test ebx, ebx
je 0x4185a8
mov eax, dword [ebx + 4]
mov dword [ebx], 0x4be6a8
test eax, eax
je 0x41859a
push eax
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x224
push ebx
call fcn.004609d1
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret