Function at 0x40b0ce
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x40c902
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x818
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
push str.Mozilla_4.0__compatible__Win32__jupdate_
mov byte [ebp - 4], 4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ecx
lea eax, [ebp - 0x10]
mov edi, 0x20019
push eax
push edi
push ebx
push str.Software
push SysReAllocString
mov dword [ebp - 0x10], ebx
call esi
cmp eax, ebx
jne 0x40b1b8
lea ecx, [ebp - 0x24]
call fcn.0040a747
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x24], ecx
jne 0x40b1b8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push edi
push ebx
push str.MicroSoft
push ecx
call esi
cmp eax, ebx
jne 0x40b1b8
lea ecx, [ebp - 0x18]
call fcn.0040a747
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x40b1b8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push edi
push ebx
push str.Windows
push ecx
call esi
cmp eax, ebx
jne 0x40b1b8
lea ecx, [ebp - 0x14]
call fcn.0040a747
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x40b1b8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push edi
push ebx
push str.CurrentVersion
push ecx
call esi
cmp eax, ebx
jne 0x40b1b8
lea ecx, [ebp - 0x1c]
call fcn.0040a747
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
je 0x40b1f8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040a747
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040a747
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040a747
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0040a747
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040a747
jmp 0x40b2e7
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push edi
push ebx
push str.Internet_Settings
push ecx
call esi
cmp eax, ebx
jne 0x40b21f
lea ecx, [ebp - 0x20]
call fcn.0040a747
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x20], ecx
je 0x40b239
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040a747
cmp dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b2b9
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.User_Agent
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40b2a3
lea eax, [ebp - 0x824]
push 0x29
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x40b2a3
lea ecx, [ebp - 0x824]
sub eax, ecx
inc eax
push eax
lea eax, [ebp - 0x824]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.__jupdate
push dword [ebp + 8]
call esi
push edi
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x20], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40b2b6
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x1c], ebx
je 0x40b2c3
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x14], ebx
je 0x40b2d0
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x40b2dd
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x24], ebx
je 0x40b2e7
push dword [ebp - 0x24]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret