Function at 0x404a93
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, 0x4069b4
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x20]
mov esi, 0xf003f
push eax
push esi
push ebx
push 0x4099a4
push 0x80000002
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x404b84
lea ecx, [ebp - 0x1c]
call fcn.00402e41
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
jne 0x404b84
lea eax, [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push 0x4099b0
push ecx
mov dword [ebp - 0x20], ebx
call edi
cmp eax, ebx
jne 0x404b84
lea ecx, [ebp - 0x18]
call fcn.00402e41
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x404b84
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push str.Java_Update
push ecx
call edi
cmp eax, ebx
jne 0x404b84
lea ecx, [ebp - 0x14]
call fcn.00402e41
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x404b84
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push str.Policy
push ecx
call edi
cmp eax, ebx
jne 0x404b84
lea ecx, [ebp - 0x10]
call fcn.00402e41
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
je 0x404bbd
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402e41
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00402e41
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00402e41
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402e41
mov eax, 0x80004005
jmp 0x404d08
cmp dword [ebp + 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
jne 0x404bdc
push 0x4099d0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404bf3
push dword [ebp + 8]
call edi
inc eax
push eax
push dword [ebp + 8]
push 1
push ebx
push str.LocalFileName
push dword [ebp - 0x10]
call esi
cmp dword [ebp + 0xc], ebx
jne 0x404c08
push 0x4099f0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404c1f
push dword [ebp + 0xc]
call edi
inc eax
push eax
push dword [ebp + 0xc]
push 1
push ebx
push str.InstallOptions
push dword [ebp - 0x10]
call esi
cmp dword [ebp + 0x10], ebx
jne 0x404c34
push 0x409a10
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404c4b
push dword [ebp + 0x10]
call edi
inc eax
push eax
push dword [ebp + 0x10]
push 1
push ebx
push str.UpdateDescription
push dword [ebp - 0x10]
call esi
cmp dword [ebp + 0x14], ebx
jne 0x404c60
push 0x409a38
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404c77
push dword [ebp + 0x14]
call edi
inc eax
push eax
push dword [ebp + 0x14]
push 1
push ebx
push str.UpdateMoreInfoUrl
push dword [ebp - 0x10]
call esi
cmp dword [ebp + 0x18], ebx
jne 0x404c8c
push 0x409a60
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404ca3
push dword [ebp + 0x18]
call edi
inc eax
push eax
push dword [ebp + 0x18]
push 1
push ebx
push str.BalloonTitle
push dword [ebp - 0x10]
call esi
cmp dword [ebp + 0x1c], ebx
jne 0x404cb8
push 0x409a80
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404ccf
push dword [ebp + 0x1c]
call edi
inc eax
push eax
push dword [ebp + 0x1c]
push 1
push ebx
push str.BalloonTip
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x404ce2
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x404cef
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x404cfc
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x1c], ebx
je 0x404d06
push dword [ebp - 0x1c]
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret