Function at 0x42a080
Capabilities:
Copy file
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x118], 0
call fcn.0045e060
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
je 0x42a0d2
lea eax, [ebp - 0x118]
push eax
push str.RebootPending
push esi
call fcn.0045e500
push esi
call ebx
cmp dword [ebp - 0x118], 0
je 0x42a10e
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e320
mov esi, eax
test esi, esi
jne 0x42a0f6
xor edi, edi
jmp 0x42a108
push 0
push str.RebootPending
push esi
call fcn.0045e790
push esi
mov edi, eax
call ebx
mov dword [ebp - 0x118], edi
push 0x1d
call dword [sym.imp.SHLWAPI.dll_IsOS]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e320
mov esi, eax
test esi, esi
je 0x42a13d
push 0xffffffffffffffff
push str.LastUpdateResult
push esi
call fcn.0045e790
push esi
call ebx
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x42a167
push 0x4d3e08
push str.ProductType
push esi
call fcn.0045e500
push esi
call ebx
push 0
push str.SoftwareK7_ComputingK7TotalSecurity
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x42a198
push 0x104
lea eax, [ebp - 0x110]
push eax
push str.DirProductBase
push esi
call fcn.0045e550
push esi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push 0x4c0ed8
push eax
call esi
push str.K7OEMCfg.Dat
lea eax, [ebp - 0x110]
push eax
call esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
lea ecx, [ebp - 0x110]
call fcn.00437eb0
add esp, 4
cmp eax, 1
jne 0x42a26b
mov esi, dword [ebp - 0x114]
lea eax, [ebp - 0x11c]
push eax
push str.RegSilent
push str.Registration
mov ecx, esi
call fcn.004376d0
test eax, eax
je 0x42a212
push eax
call fcn.00491469
add esp, 4
mov dword [0x4d3e04], eax
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
push str.RegCredsReqd
push str.Registration
call fcn.004376d0
test eax, eax
je 0x42a23c
push eax
call fcn.00491469
add esp, 4
mov dword [0x4d3e00], eax
test esi, esi
je 0x42a26b
mov eax, dword [esi + 4]
mov dword [esi], 0x4be6a8
test eax, eax
je 0x42a25d
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x224
push esi
call fcn.004609d1
add esp, 8
push str.CommonInfo
push str.SoftwareK7_ComputingK7TotalSecurity
push 0x4c2040
lea eax, [ebp - 0x110]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
lea eax, [ebp - 0x110]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x42a2bb
push 0x4d0dd0
push str.TakeSecurityOwnership
push esi
call fcn.0045e500
push esi
call ebx
cmp byte [0x4d4c91], 0
mov byte [0x4d3afb], 0
mov byte [0x4d3afa], 0
jne 0x42a385
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x42a385
push 0x1000
mov byte [0x4d4c91], 1
call fcn.00460a14
mov edi, eax
add esp, 4
test edi, edi
je 0x42a385
push 0
push str.SoftwareK7_ComputingK7TotalSecurity
lea eax, [edi + 0x800]
mov byte [edi], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x114], eax
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x42a33c
push 0x104
push edi
push str.DirProductBase
push esi
call fcn.0045e550
push esi
call ebx
cmp byte [edi], 0
je 0x42a37a
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push str._sK7TSSettings.dll
push dword [ebp - 0x114]
call esi
add esp, 0xc
lea ebx, [edi + 0x400]
push edi
push str._sK7TSCnfg.dll
push ebx
call esi
add esp, 0xc
lea eax, [ebx + 0x400]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 1
push edi
call fcn.004609d1
add esp, 8
call fcn.00404600
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0x42f1d0
push 0
push 0
call edi
movzx ecx, byte [0x4d3afb]
test eax, eax
mov edx, 0xff
mov dword [0x4d59c4], eax
cmove ecx, edx
push 0x4d59e4
mov byte [0x4d3afb], cl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp byte [0x4d3fac], 1
jne 0x42a3df
mov byte [0x4d3afa], 1
jmp 0x42a40f
xor esi, esi
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0x42a4a0
push 0
push 0
call edi
mov dword [0x4d59c8], eax
test eax, eax
je 0x42a408
inc esi
cmp esi, 3
jl 0x42a3e1
jmp 0x42a40f
mov byte [0x4d3afa], 0xff
mov eax, dword [0x4d3f88]
test eax, eax
je 0x42a43e
inc dword [0x4d3fa0]
push 0x4d3f8c
push eax
mov dword [0x4d3fa4], 0x7d0
mov dword [0x4d3f90], 2
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov al, byte [0x4d3afb]
test al, al
jne 0x42a466
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
cmp byte [0x4d3afa], 0
jne 0x42a466
push 0x14
call esi
mov al, byte [0x4d3afb]
test al, al
je 0x42a450
cmp al, 0xff
je 0x42a489
cmp byte [0x4d3afa], 0xff
je 0x42a489
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret