Function at 0x409fd0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc3c
mov eax, dword [str._q_]
xor eax, esp
push ebx
mov ebx, ecx
mov dword [esp + 0xc3c], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x30]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKA_s
push edx
call fcn.0040f6f9
add esp, 0xc
push 0
lea eax, [esp + 8]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a419
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
push edx
push 0x41b7d8
push eax
lea ecx, [esp + 0x38]
push str._s_s__r__g__s__l____TEMP__kasetup.log_
push ecx
call fcn.0040f6f9
lea eax, [esp + 0x40]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a053
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
push 1
push 0
push str.UninstallString
push eax
call esi
mov eax, dword [esp + 0xc4c]
test eax, eax
je 0x40a0fe
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x448]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.DisplayName
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x800
mov byte [esp + 0x45c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a0d8
cmp dword [esp + 0x18], 1
jne 0x40a0d8
mov al, byte [esp + 0x444]
test al, al
jne 0x40a124
mov edx, dword [ebx]
mov ecx, dword [edx + 0x44]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a0e2
sub eax, edi
inc eax
push eax
mov eax, dword [esp + 0x10]
push ecx
push 1
push 0
push str.DisplayName
push eax
jmp 0x40a122
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x44]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a108
sub eax, edi
inc eax
push eax
push edx
mov edx, dword [esp + 0x14]
push 1
push 0
push str.DisplayName
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.NoModify
push ecx
mov dword [esp + 0x28], 1
call esi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.NoRepair
push eax
call esi
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x24]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a164
mov edx, dword [esp + 0xc]
sub eax, edi
inc eax
push eax
push ecx
push 1
push 0
push str.InstallLocation
push edx
call esi
mov eax, dword [ebx]
mov ecx, dword [eax + 0x24]
push str.AgentMon.exe
push ecx
lea edx, [esp + 0x3c]
push str._s_s
push edx
call fcn.0040f6f9
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.0040dc60
add esp, 0x1c
test eax, eax
jne 0x40a252
mov eax, dword [esp + 0x20]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [esp + 0x1c]
movzx edx, ax
push edx
shr eax, 0x10
push eax
lea eax, [esp + 0x44]
push str._d._d._d._d
push eax
call fcn.0040f6f9
lea eax, [esp + 0x4c]
add esp, 0x18
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a1f0
sub eax, edx
mov edx, dword [esp + 0xc]
inc eax
push eax
lea ecx, [esp + 0x38]
push ecx
push 1
push 0
push str.DisplayVersion
push edx
call esi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.VersionMajor
shr eax, 0x10
push edx
mov dword [esp + 0x28], eax
call esi
movzx eax, word [esp + 0x14]
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.VersionMinor
push edx
mov dword [esp + 0x28], eax
call esi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x2a]
movzx edx, word [esp + 0x26]
movzx eax, word [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x40]
push str._d_02d_02d
push ecx
call fcn.0040f6f9
lea eax, [esp + 0x48]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a288
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
push 1
push 0
push str.InstallDate
push eax
call esi
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x24]
push 0x41b7d8
push edx
lea eax, [esp + 0x3c]
push str._s_s
push eax
call fcn.0040f6f9
lea eax, [esp + 0x44]
add esp, 0x10
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a2d0
mov edx, dword [esp + 0xc]
sub eax, ecx
inc eax
push eax
lea ecx, [esp + 0x38]
push ecx
push 1
push 0
push str.DisplayIcon
push edx
call esi
mov eax, dword [ebx]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x40a31c
mov eax, ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a300
sub eax, edi
inc eax
push eax
push ecx
mov ecx, dword [esp + 0x14]
push 1
push 0
push str.Publisher
push ecx
call esi
mov edx, dword [ebx]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x40a34c
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a330
sub eax, edi
inc eax
push eax
mov eax, dword [esp + 0x10]
push ecx
push 1
push 0
push str.URLInfoAbout
push eax
call esi
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x40a37c
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a360
mov edx, dword [esp + 0xc]
sub eax, edi
inc eax
push eax
push ecx
push 1
push 0
push str.Comments
push edx
call esi
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x40a3ac
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a390
sub eax, edi
inc eax
push eax
push ecx
mov ecx, dword [esp + 0x14]
push 1
push 0
push str.Contact
push ecx
call esi
mov edx, dword [ebx]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x40a3dc
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a3c0
sub eax, edi
inc eax
push eax
mov eax, dword [esp + 0x10]
push ecx
push 1
push 0
push str.URLInfoAbout
push eax
call esi
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x40a40c
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a3f0
mov edx, dword [esp + 0xc]
sub eax, edi
inc eax
push eax
push ecx
push 1
push 0
push str.HelpLink
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [esp + 0xc3c]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040f175
add esp, 0xc3c
ret 4