Function at 0x4200d0
Capabilities:
Check os version
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b358b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x610
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x4d3fa8], eax
call fcn.0045fab0
push str.K7CmnRes.dll
mov byte [ebp - 0x5e1], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4201ce
push str.K7CmnRes.dll
mov byte [ebp - 0x5e1], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x4201ce
push eax
push str.SoftwareK7_ComputingK7TotalSecurity
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x4d63f8], al
call fcn.0045e060
mov edi, eax
test edi, edi
je 0x420192
push 0x104
push 0x4d63f8
push str.DirProductBase
push edi
call fcn.0045e550
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x4d63f8], 0
je 0x4201ce
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4c0ed8
push 0x4d63f8
call esi
push str.K7CmnRes.dll
push 0x4d63f8
call esi
push 0x4d63f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42073a
push ecx
push 0
push 0x4d0f80
push str.IDS_ModuleK7TSMngr
mov edx, 0xa23
mov ecx, esi
call fcn.0044f650
add esp, 0x10
mov edi, eax
cmp byte [ebp - 0x5e1], 0
je 0x420200
test esi, esi
je 0x420200
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, 1
jne 0x42073a
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov eax, dword [ebp - 0x5f4]
cmp byte [eax + 0x154], 0
jne 0x4202b6
xorps xmm0, xmm0
mov dword [ebp - 0x604], 0
movups xmmword [ebp - 0x614], xmm0
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x614]
call fcn.00422ac0
mov esi, dword [ebp - 0x614]
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push 0
push esi
mov dword [ebp - 4], edi
call fcn.004609d1
push dword [ebp - 0x610]
call fcn.0048b923
add esp, 0xc
push dword [ebp - 0x60c]
call fcn.0048b923
add esp, 4
push dword [ebp - 0x608]
call fcn.0048b923
add esp, 4
push dword [ebp - 0x604]
call fcn.0048b923
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00402f70
mov dword [ebp - 0x5fc], eax
lea eax, [ebp - 0x228]
push 0x104
push eax
push 0
mov dword [ebp - 0x5e8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x228]
push 0x5c
push eax
call fcn.00463740
mov esi, eax
add esp, 8
test esi, esi
je 0x420407
mov byte [esi], 0
lea eax, [ebp - 0x228]
inc esi
push esi
push eax
lea eax, [ebp - 0x120]
push 0x4c0e3c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x2a8
lea eax, [ebp - 0x5dc]
push 0
push eax
call fcn.004644e0
add esp, 0x1c
mov dword [ebp - 0x5e0], 0x2ac
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0045d520
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0045d110
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x228]
add esp, 8
push eax
lea eax, [ebp - 0x4d8]
push eax
call edi
push esi
lea eax, [ebp - 0x5dc]
push eax
call edi
cmp byte [ebp - 0x3d4], 0
jne 0x4203ac
push esi
lea eax, [ebp - 0x3d4]
push eax
call edi
lea eax, [ebp - 0x3d4]
push 0x2e
push eax
call fcn.00463610
add esp, 8
test eax, eax
je 0x4203ac
mov byte [eax], 0
lea eax, [ebp - 0x5e8]
mov byte [ebp - 0x340], 1
push eax
push 0x20006
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityProductsFireWallApplications
push reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp - 0x33e], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x420407
push 0x2ac
lea eax, [ebp - 0x5e0]
push eax
push 3
push 0
push esi
push dword [ebp - 0x5e8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x5e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x330]
push str.K7TS001_08x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea eax, [ebp - 0x330]
add esp, 0xc
push eax
push 1
push 0
call esi
mov dword [ebp - 0x600], eax
call fcn.004011e0
push str.GlobalK7TSMngr11GlobalMutex
mov edi, eax
push 0
push edi
call esi
mov dword [ebp - 0x5f8], eax
test edi, edi
je 0x420467
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.0042a080
cmp eax, 1
jne 0x420694
mov esi, dword [0x4d3e84]
xor edi, edi
test esi, esi
je 0x4204f1
cmp dword [esi], edi
je 0x4204f1
test edi, edi
jne 0x42059a
mov eax, dword [esi + 8]
mov dword [ebp - 0x5e8], edi
test eax, eax
je 0x4204e1
lea ecx, [ebp - 0x5e8]
push ecx
push 0x4c4748
push dword [esi + 0xc]
call eax
mov edi, eax
test edi, edi
js 0x4204c9
lea eax, [esi + 0x14]
push eax
push 1
push 0x14
push dword [ebp - 0x5e8]
push dword [esi]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov edi, eax
mov eax, dword [ebp - 0x5e8]
test eax, eax
je 0x4204e1
mov ecx, dword [eax]
cmp ecx, 0x4be624
jne 0x420758
add esi, 0x24
cmp dword [esi], 0
jne 0x420485
test edi, edi
jne 0x42059a
mov eax, dword [0x4d1038]
mov edi, 1
mov edx, dword [0x4d103c]
mov dword [ebp - 0x5f0], eax
cmp eax, edx
jae 0x42059a
nop
test edi, edi
js 0x42059a
mov esi, dword [eax]
test esi, esi
je 0x420589
mov ecx, dword [esi + 8]
mov dword [ebp - 0x5ec], 0
test ecx, ecx
jne 0x420533
xor edi, edi
jmp 0x420589
lea eax, [ebp - 0x5ec]
push eax
push 0x4c4748
push dword [esi + 0xc]
call ecx
mov edi, eax
test edi, edi
js 0x420565
mov eax, dword [esi + 0x10]
add eax, 4
push eax
push 1
push 0x14
push dword [ebp - 0x5ec]
push dword [esi]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov edi, eax
mov eax, dword [ebp - 0x5ec]
test eax, eax
je 0x42057d
mov ecx, dword [eax]
cmp ecx, 0x4be624
jne 0x420761
mov edx, dword [0x4d103c]
mov eax, dword [ebp - 0x5f0]
add eax, 4
mov dword [ebp - 0x5f0], eax
cmp eax, edx
jb 0x420510
mov esi, dword [ebp - 0x5f4]
push str.Service_started
push esi
call fcn.0041f8e0
add esp, 8
cmp byte [esi + 0x168], 0
je 0x4205e9
mov ecx, dword [esi + 0x130]
test ecx, ecx
je 0x4205e9
inc dword [esi + 0x148]
lea eax, [esi + 0x134]
push eax
push ecx
mov dword [esi + 0x14c], 0x7d0
mov dword [esi + 0x138], 4
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x61c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x42062c
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
nop dword [eax + eax]
lea eax, [ebp - 0x61c]
push eax
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x61c]
push eax
call esi
test eax, eax
jne 0x420610
mov esi, dword [0x4d3e84]
xor eax, eax
mov edi, dword [sym.imp.ole32.dll_CoRevokeClassObject]
test esi, esi
je 0x42065c
cmp dword [esi], eax
je 0x42065c
test eax, eax
jne 0x420694
mov eax, dword [esi + 0x14]
test eax, eax
je 0x420650
push eax
call edi
add esi, 0x24
cmp dword [esi], 0
jne 0x420642
test eax, eax
jne 0x420694
mov esi, dword [0x4d1038]
xor eax, eax
mov edx, dword [0x4d103c]
cmp esi, edx
jae 0x420694
nop
test eax, eax
jne 0x420694
mov ecx, dword [esi]
test ecx, ecx
je 0x42068d
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x42068d
push eax
call edi
mov edx, dword [0x4d103c]
add esi, 4
cmp esi, edx
jb 0x420670
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x5f8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4206ad
push eax
call edi
mov eax, dword [ebp - 0x600]
test eax, eax
je 0x4206ba
push eax
call edi
cmp dword [ebp - 0x5fc], 1
jne 0x42073a
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
lea eax, [ebp - 0x120]
push str.K7Sentry
jb 0x4206df
push str..Global_s
jmp 0x4206e4
push str.._s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x120]
push 0
push 0
push 3
push 0
push 0
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42073a
push 0
lea eax, [ebp - 0x5fc]
push eax
push 4
lea eax, [ebp - 0x5f8]
push eax
push 0
push 0
push 0x95002554
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test esi, esi
je 0x42073a
push esi
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call dword [ecx + 8]
jmp 0x4204e1
push eax
call dword [ecx + 8]
jmp 0x42057d