Function at 0x4023b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1a64
call fcn.004118b0
mov eax, dword [0x41a07c]
xor eax, esp
mov dword [esp + 0x1a60], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edi
call fcn.00402240
test eax, eax
jne 0x4023fb
mov dword [esp + 0x10], 0x75
jmp 0x402956
call fcn.00408b30
test eax, eax
je 0x402412
push 1
call fcn.00408b70
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x22c]
cmp eax, edi
je 0x402934
cmp eax, 4
jg 0x402934
lea eax, [esp + 0x18]
push eax
push 0x20019
push edi
push str.SOFTWAREK7_ComputingK7TotalSecurity
push 0x80000002
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x402934
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x66c]
push edx
push edi
push edi
push str.DirProductBase
push eax
mov dword [esp + 0x6c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x402934
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x200
lea edx, [esp + 0xa6c]
push edx
push edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4024bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
jmp 0x402934
lea eax, [esp + 0xa68]
push eax
push str._s__silent
mov ecx, 0x400
lea ebx, [esp + 0x1270]
call fcn.00401890
lea ecx, [esp + 0xa70]
push 0x5c
push ecx
call fcn.00408f58
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x402500
mov dword [esp + 0x10], 3
jmp 0x402934
lea edx, [esp + 0xa68]
push 0x2e
push edx
call fcn.00408f58
add esp, 8
test eax, eax
jne 0x402523
mov dword [esp + 0x10], 3
jmp 0x402934
lea ecx, [edi + 2]
push ecx
mov ecx, eax
sub ecx, edi
sar ecx, 1
lea edx, [esp + 0x46c]
call section..text
mov eax, dword [esi + 0x22c]
lea edx, [eax + eax*2]
mov eax, dword [edx*4 + 0x41b27c]
push eax
lea ecx, [esp + 0x46c]
push ecx
push str.SOFTWAREK7_ComputingSharedTechnologyK7TaskManager
push str._S_S_S
mov ecx, 0x400
lea edi, [esp + 0x78]
call fcn.00401830
push 0x4000
call fcn.00408dda
add esp, 0x14
push 0x4000
push 0
push eax
mov dword [esp + 0x20], eax
call fcn.0040d1f0
add esp, 0xc
push 0x30
lea edx, [esp + 0x28]
push 0
push edx
call fcn.0040d1f0
add esp, 0xc
mov edi, esi
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4846
mov eax, 0x30
push ecx
mov word [esp + 0x2c], ax
mov dword [esp + 0x48], 0
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x4028f3
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x147
push edx
call ebx
cmp eax, 0xffffffff
je 0x402934
mov ecx, dword [edi + 4]
mov eax, dword [eax*8 + 0x41b250]
push 0x484a
push ecx
mov dword [esp + 0x4c], eax
call esi
lea edx, [esp + 0x58]
push edx
push 0
push 0x1001
push eax
call ebx
test eax, eax
je 0x40262a
mov dword [esp + 0x10], 0x76d
jmp 0x402934
movzx eax, word [esp + 0x60]
movzx ecx, word [esp + 0x62]
lea edx, [esp + 0x58]
push edx
mov word [esp + 0x38], ax
mov word [esp + 0x3a], cx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x5e]
movzx ecx, word [esp + 0x5a]
mov dx, word [esp + 0x58]
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x44]
mov word [esp + 0x2a], cx
mov word [esp + 0x28], dx
cmp eax, 1
jne 0x40267a
mov word [esp + 0x48], ax
jmp 0x4027b7
cmp eax, 2
jne 0x402787
mov eax, dword [edi + 4]
push 0x484b
mov ecx, 1
xor edx, edx
push eax
mov word [esp + 0x50], cx
mov word [esp + 0x52], dx
call esi
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x4026ba
mov ecx, 2
mov word [esp + 0x4a], cx
mov edx, dword [edi + 4]
push 0x484c
push edx
call esi
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x4026dc
or word [esp + 0x4a], 4
mov eax, dword [edi + 4]
push 0x484d
push eax
call esi
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x4026fe
or word [esp + 0x4a], 8
mov ecx, dword [edi + 4]
push 0x484e
push ecx
call esi
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x402720
or word [esp + 0x4a], 0x10
mov edx, dword [edi + 4]
push 0x484f
push edx
call esi
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x402742
or word [esp + 0x4a], 0x20
mov eax, dword [edi + 4]
push 0x4850
push eax
call esi
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x402764
or word [esp + 0x4a], 0x40
mov ecx, dword [edi + 4]
push 0x4851
push ecx
call esi
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x4027b7
or word [esp + 0x4a], ax
jmp 0x4027b7
cmp eax, 3
jne 0x4027b7
mov edx, dword [edi + 4]
push 0x4852
push edx
call esi
push 0
push 0
push 0x147
push eax
call ebx
mov ecx, eax
mov edx, 1
shl edx, cl
xor eax, eax
mov word [esp + 0x4c], ax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x68]
push ecx
push 0x417010
push str.__s_s__r_n
push edx
call esi
push 1
mov ebx, eax
add ebx, dword [esp + 0x28]
push str.bEnabled
push str.__s_dword:_08x_r_n
push ebx
call esi
mov edi, dword [edi + 0x22c]
add ebx, eax
lea eax, [edi + edi*2]
mov ecx, dword [eax*4 + 0x41b280]
push ecx
push str.dwRunAsType
push str.__s_dword:_08x_r_n
push ebx
call esi
push 1
push str.dwShowMethod
add ebx, eax
push str.__s_dword:_08x_r_n
push ebx
call esi
add esp, 0x40
lea edx, [esp + 0x1268]
push edx
push 0x41706c
mov ecx, 0x400
lea edi, [esp + 0x70]
add ebx, eax
call fcn.00401830
mov eax, edi
push eax
push str.szProgramSpec
push str.__s___s__r_n
push ebx
call esi
lea ecx, [esp + 0x680]
push ecx
push 0x41706c
mov ecx, 0x400
add ebx, eax
call fcn.00401830
mov edx, edi
push edx
push str.szWorkingDir
push str.__s___s__r_n
push ebx
call esi
push str.bTriggerInfo
add ebx, eax
push str.__s_hex:
push ebx
call esi
add esp, 0x3c
add ebx, eax
xor edi, edi
jmp 0x402890
movzx eax, byte [esp + edi + 0x24]
push eax
push str._02x_
push ebx
call esi
inc edi
add esp, 0xc
add ebx, eax
cmp edi, 0x2f
jb 0x402890
movzx ecx, byte [esp + edi + 0x24]
push ecx
push str._02x
push ebx
call esi
add esp, 0xc
add ebx, eax
push 0x4170c8
push ebx
call esi
add ebx, eax
push 0x4170c8
push ebx
mov dword [esp + 0x2c], 0
call esi
mov esi, dword [esp + 0x24]
sub ebx, esi
lea ebx, [eax + ebx + 1]
lea edx, [esp + 0x2c]
mov edi, ebx
push edx
mov ebx, 0x10044
call fcn.00408450
jmp 0x402931
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x68]
push eax
push 0x417010
push str.LEDR_s_s
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_wsprintfA]
add eax, 8
lea ecx, [esp + 0x2c]
push ecx
mov edi, eax
mov ebx, 0x1003e
call fcn.00408450
mov dword [esp + 0x24], 0
add esp, 0x14
xor edi, edi
cmp dword [esp + 0x20], edi
je 0x402945
push edi
call fcn.00408b70
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x402956
push eax
call fcn.00408d7e
add esp, 4
call fcn.00408bd0
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40296a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1a6c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00408c7e
mov esp, ebp
pop ebp
ret