Function at 0x408b5e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.004104f0
mov eax, dword [0x43c814]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
push ebx
push esi
xor esi, esi
push edi
mov ebx, 0x44c8e8
cmp dword [0x451174], esi
jne 0x408e04
mov edi, 0x800
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push ebx
call fcn.00411b16
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
xor eax, eax
movzx ecx, word [eax + 0x44c8e8]
mov word [ebp + eax + 0x78c], cx
add eax, 2
cmp cx, si
jne 0x408bb2
lea eax, [ebp + 0x78c]
push 0x5c
push eax
call fcn.00411b16
pop ecx
pop ecx
test eax, eax
je 0x408bf2
lea eax, [ebp + 0x78c]
push 0x5c
push eax
call fcn.00411b16
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x78c]
push eax
call fcn.00408082
pop ecx
test eax, eax
je 0x408c0d
mov dword [0x451174], 1
cmp dword [0x451174], esi
jne 0x408e04
push str.11.181.2
push str.SoftwareJavaSoftJava_Web_Start_
push 0x439454
push 0x400
mov esi, 0x4500e8
push esi
call fcn.004100c8
add esp, 0x14
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408cd1
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
push 0
push str.Home
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408cd1
movzx ecx, word [eax + 0x44c8e8]
mov word [ebp + eax + 0x78c], cx
add eax, 2
test cx, cx
jne 0x408c76
lea eax, [ebp + 0x78c]
push 0x5c
push eax
call fcn.00411b16
pop ecx
pop ecx
test eax, eax
je 0x408cb6
lea eax, [ebp + 0x78c]
push 0x5c
push eax
call fcn.00411b16
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x78c]
push eax
call fcn.00408082
pop ecx
test eax, eax
je 0x408cd1
mov dword [0x451174], 1
cmp dword [0x451174], 0
jne 0x408e04
push edi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x43946c
push ebx
call fcn.00410c93
pop ecx
pop ecx
test eax, eax
je 0x408daf
push str.binjavaws.exe
push ebx
call fcn.00410c93
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
xor eax, eax
movzx ecx, word [eax + 0x44c8e8]
mov word [ebp + eax + 0x78c], cx
add eax, 2
test cx, cx
jne 0x408d11
mov eax, 0x4394ac
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408d2f
lea edi, [ebp + 0x78c]
sub eax, edx
sub edi, 2
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x408d45
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, str.jre_bin
rep movsb byte es:[edi], byte [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408d68
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x408d78
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x78c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00408082
pop ecx
test eax, eax
je 0x408daf
mov dword [0x451174], 1
cmp dword [0x451174], 0
jne 0x408e04
mov esi, 0x400
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00408331
pop ecx
pop ecx
test eax, eax
je 0x408df7
lea eax, [ebp - 0x74]
push eax
push str._s_bin
push esi
push ebx
call fcn.004100c8
lea eax, [ebp - 0x74]
push eax
call fcn.00408082
add esp, 0x14
test eax, eax
je 0x408df7
mov dword [0x451174], 1
cmp dword [0x451174], 0
jne 0x408e04
xor eax, eax
jmp 0x408e06
mov eax, ebx
mov ecx, dword [ebp + 0xf8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fefe
add ebp, 0xf90
leave
ret