Function at 0x43e080
Capabilities:
Check if file exists
Get file attributes
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push closesocket
push 0
push 0
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x278], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test edi, edi
jne 0x43e0c7
xor ebx, ebx
jmp 0x43e138
push 4
push str.K7Sentry
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
mov dword [ebp - 0x27c], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x43e0f2
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x43e138
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
je 0x43e125
mov eax, dword [ebp - 0x224]
mov ebx, 1
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x278], eax
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp esi, 5
je 0x43e7f7
cmp esi, 0x424
jne 0x43e80a
push str.SystemRoot_system32driversK7Sentry.sys
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x108]
call fcn.0043de90
mov ebx, eax
cmp ebx, 1
jne 0x43e7f7
push 0
push str.SYSTEMCurrentControlSetServicesK7SentryConfig
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e090
mov edi, eax
mov dword [ebp - 0x27c], edi
test edi, edi
je 0x43e7f7
push str.K7CmnRes.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x288], esi
test esi, esi
je 0x43e7e5
push 1
push str.EnableOnStartUp
push edi
mov dword [ebp - 0x270], 1
call fcn.0045e790
push 0x104
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], 0
push eax
push 0x3401
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x108], 0
je 0x43e211
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x108]
push 0x4c8df8
push eax
call fcn.00401d30
add esp, 0xc
push dword [ebp - 0x270]
push str.ScanOnStartUp
push edi
call fcn.0045e790
push 0x104
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], 0
push eax
push 0x33ff
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x108], 0
je 0x43e265
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x108]
push 0x4c8df8
push eax
call fcn.00401d30
add esp, 0xc
push dword [ebp - 0x270]
push str.FixRegKeys
push edi
call fcn.0045e790
push 0x104
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], 0
push eax
push 0x3401
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x108], 0
je 0x43e2b9
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x108]
push 0x4c8df8
push eax
call fcn.00401d30
add esp, 0xc
push dword [ebp - 0x270]
push str.DefFileProt
push edi
call fcn.0045e790
push 0x4000
call fcn.00460a14
mov esi, eax
add esp, 4
mov dword [ebp - 0x284], esi
test esi, esi
je 0x43e7df
push 0
push str.SOFTWAREK7_ComputingCommonInfoAntiVirus
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov ebx, eax
test ebx, ebx
je 0x43e460
push 0xfa0
push esi
push str.VDefPath
push ebx
mov byte [esi], 0
call fcn.0045e550
push esi
push str.VDefPath
push edi
call fcn.0045e7c0
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 0
push eax
push str.VDefVersion
push ebx
call fcn.0045e500
push dword [ebp - 0x270]
push str.VDefVersion
push edi
call fcn.0045e790
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 0
push eax
push str.VDefWVersion
push ebx
call fcn.0045e500
push dword [ebp - 0x270]
push str.VDefWVersion
push edi
call fcn.0045e790
push 0xfa0
push esi
push str.ProductDir
push ebx
mov byte [esi], 0
call fcn.0045e550
cmp byte [esi], 0
je 0x43e3a1
push esi
push str.ProductDir
push edi
call fcn.0045e7c0
push 0xfa0
push esi
push str.UserAgentDll
push ebx
mov byte [esi], 0
call fcn.0045e550
cmp byte [esi], 0
je 0x43e3c6
push esi
push str.UserAgentDll
push edi
call fcn.0045e7c0
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 1
push eax
push str.SelfProtection
push ebx
call fcn.0045e500
test eax, eax
je 0x43e3f7
push dword [ebp - 0x270]
push str.SelfProtection
push edi
call fcn.0045e790
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 0
push eax
push str.LoadMode
push ebx
call fcn.0045e500
test eax, eax
je 0x43e428
push dword [ebp - 0x270]
push str.LoadMode
push edi
call fcn.0045e790
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 1
push eax
push str.K7ARAvailable
push ebx
call fcn.0045e500
test eax, eax
je 0x43e459
push dword [ebp - 0x270]
push str.K7ARAvailable
push edi
call fcn.0045e790
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea ebx, [esi + 0x1000]
push str.SoftwareK7_ComputingK7TotalSecurity
lea eax, [ebx + 0x1000]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x278], eax
call fcn.0045e060
mov dword [ebp - 0x274], eax
test eax, eax
je 0x43e4aa
push 0x104
push esi
push str.DirProductBase
push eax
call fcn.0045e550
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SoftwareK7_ComputingK7TotalSecurity
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov dword [ebp - 0x274], eax
test eax, eax
je 0x43e4e2
push 0x104
push ebx
push str.DirFiles
push eax
call fcn.0045e550
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
mov ebx, dword [ebp - 0x278]
push esi
push 0x4c8ea8
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
push str.VDefProtectedDir
push edi
call fcn.0045e7c0
push str.CommonInfo
push str.SoftwareK7_ComputingK7TotalSecurity
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x280], 0
push 0x4c0e3c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov dword [ebp - 0x274], eax
test eax, eax
je 0x43e569
lea ecx, [ebp - 0x280]
push ecx
push str.BlockStopSvc
push eax
call fcn.0045e500
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x280], 0
je 0x43e7cf
push str.K7_ComputingCommonInfo
push str._s
push ebx
mov dword [ebp - 0x23c], str.K7TSMngr
mov dword [ebp - 0x238], str.K7RTScan
mov dword [ebp - 0x234], str.K7Sentry
mov dword [ebp - 0x230], str.K7EmlPxy
mov dword [ebp - 0x22c], str.K7FWFilt
mov dword [ebp - 0x228], str.K7FWHlpr
mov dword [ebp - 0x224], str.K7FWSrvc
mov dword [ebp - 0x220], str.K7PSSrvc
mov dword [ebp - 0x21c], str.K7SpmSrc
mov dword [ebp - 0x218], str.K7TdiHlp
mov dword [ebp - 0x214], str.K7CrvSvc
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x26c], str.K7TSMNGR.EXE
mov dword [ebp - 0x268], str.K7RTSCAN.EXE
mov dword [ebp - 0x264], str.K7FWSRVC.EXE
mov dword [ebp - 0x260], str.K7PSSRVC.EXE
mov dword [ebp - 0x25c], str.K7SYSMON.EXE
mov dword [ebp - 0x258], str.K7EMLPXY.EXE
mov dword [ebp - 0x254], str.K7AVSCAN.EXE
mov dword [ebp - 0x250], str.K7TSHLPR.EXE
mov dword [ebp - 0x24c], str.K7CRVSVC.EXE
mov dword [ebp - 0x248], str.K7TSMAIN.EXE
mov dword [ebp - 0x244], str.K7TWP.EXE
mov dword [ebp - 0x240], 0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
add ebx, dword [ebp - 0x278]
push str.K7_ComputingK7TotalSecurity
push str._s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
push str.K7_ComputingSharedTechnology
add ebx, eax
push str._s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add ebx, eax
add esp, 0x24
mov dword [ebp - 0x274], ebx
xor esi, esi
mov edi, dword [ebp - 0x274]
mov ebx, str.K7TSMngr
nop dword [eax + eax]
push ebx
call fcn.0045f570
test eax, eax
je 0x43e6dc
push ebx
push str.Services_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add edi, eax
mov ebx, dword [ebp + esi*4 - 0x238]
inc esi
test ebx, ebx
jne 0x43e6c0
mov ebx, dword [ebp - 0x278]
mov edi, dword [ebp - 0x27c]
push ebx
push str.VDefProtectedKeys
push edi
call fcn.0045e7c0
mov esi, dword [ebp - 0x284]
mov edi, ebx
mov byte [ebx], 0
mov ebx, str.K7TSMNGR.EXE
mov dword [ebp - 0x274], 0
nop word [eax + eax]
push ebx
push esi
lea eax, [esi + 0x1000]
push 0x4c0e3c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esi + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43e75d
push 0x4c
push ebx
push 0x4c9020
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
add edi, eax
mov eax, dword [ebp - 0x274]
inc eax
mov dword [ebp - 0x274], eax
mov ebx, dword [ebp + eax*4 - 0x26c]
test ebx, ebx
jne 0x43e720
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x274], edi
mov edi, dword [ebp - 0x27c]
mov al, byte [eax]
test al, al
je 0x43e7be
mov ebx, dword [ebp - 0x274]
push 0x4c
push str.K7TSECURITY.EXE
push 0x4c9020
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x4c
push str.K7TSECURITY.EX
add ebx, eax
push str._s_c
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
push dword [ebp - 0x278]
push str.VDefProtectedProcs
push edi
call fcn.0045e7c0
push 1
push esi
call fcn.004609d1
add esp, 8
mov ebx, 1
mov esi, dword [ebp - 0x288]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43e7f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x278], 1
je 0x43e17b
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret