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

Disassembly:
mov eax, 0x404d3a
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 0x4076ec
push 0x80000002
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x404016
lea ecx, [ebp - 0x1c]
call fcn.0040266e
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
jne 0x404016
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 0x4076f8
push ecx
mov dword [ebp - 0x20], ebx
call edi
cmp eax, ebx
jne 0x404016
lea ecx, [ebp - 0x18]
call fcn.0040266e
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x404016
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 0x404016
lea ecx, [ebp - 0x14]
call fcn.0040266e
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x404016
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 0x404016
lea ecx, [ebp - 0x10]
call fcn.0040266e
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
je 0x40404f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040266e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040266e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0040266e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040266e
mov eax, 0x80004005
jmp 0x40419a
cmp dword [ebp + 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
jne 0x40406e
push 0x407718
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404085
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 0x40409a
push 0x407738
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4040b1
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 0x4040c6
push 0x407758
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4040dd
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 0x4040f2
push 0x407780
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404109
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 0x40411e
push 0x4077a8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404135
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 0x40414a
push 0x4077c8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x404161
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 0x404174
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x404181
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x40418e
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x1c], ebx
je 0x404198
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