Function at 0x6d5b5190
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x102c
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x1028], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x103c]
push 0xffe
xor ebp, ebp
lea ecx, [esp + 0x3a]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x24], edi
mov word [esp + 0x40], ax
call sub.MSVCR100.dll_memset
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 0x10
cmp esi, ebp
je 0x6d5b51f7
push 0x6d5d52a4
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call fcn.6d5ca1c9
mov dword [esi], eax
jmp 0x6d5b51f9
xor esi, esi
mov dword [edi], esi
cmp esi, ebp
jne 0x6d5b5209
push 0x8007000e
call fcn.6d5ca1c9
push str.GetLatestJavawsVersion__:
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], 0x800
call fcn.6d5951a0
add esp, 4
cmp dword [esp + 0x1040], ebp
je 0x6d5b5243
mov esi, 0x20219
push str.___checking_32_bit
jmp 0x6d5b524d
mov esi, 0x20119
push str.___checking_64_bit
call fcn.6d5951a0
add esp, 4
push ebx
push esi
push str.SOFTWAREJavaSoftJava_Web_Start
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x30]
call fcn.6d593190
cmp eax, ebp
je 0x6d5b5286
push str.___failed_to_open_SOFTWAREJavaSoftJava_Web_Start
call fcn.6d5951a0
mov esi, dword [esp + 0x28]
add esp, 4
jmp 0x6d5b5483
xor ebp, ebp
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x14]
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x6d5b547f
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x6d5b5475
lea ebx, [edi + 8]
push str.___Processing_key:
mov dword [edi + 4], ebp
mov dword [ebx], 1
call fcn.6d5ca1c9
push 0xc
mov dword [edi], eax
mov dword [esp + 0x18], edi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x6d5b5475
mov dword [esi + 4], ebp
lea eax, [esp + 0x38]
lea ebp, [esi + 8]
push eax
mov dword [ebp], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x6d5b5475
push 0xc
mov dword [esp + 0x24], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x6d5b5475
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.6d593e50
mov dword [esp + 0x14], eax
test eax, eax
je 0x6d5b5475
push ebx
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x6d5b537c
mov eax, dword [edi]
test eax, eax
je 0x6d5b5363
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x6d5b5373
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
call ebx
test eax, eax
jne 0x6d5b53a9
mov eax, dword [esi]
test eax, eax
je 0x6d5b5390
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5b53a0
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push eax
call fcn.6d5951a0
lea ecx, [esp + 0x1048]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.6d5b0f60
add esp, 0xc
test eax, eax
jne 0x6d5b5407
lea eax, [esp + 0x1044]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.6d5b0bc0
add esp, 8
test eax, eax
jne 0x6d5b5407
push str.Ignore_invalid_deploy_version:
call fcn.6d5951a0
lea edx, [esp + 0x3c]
push edx
call fcn.6d5951a0
add esp, 8
xor eax, eax
mov word [esp + 0x38], ax
jmp 0x6d5b5430
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.6d592320
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.6d5a9160
add esp, 8
test eax, eax
jle 0x6d5b5430
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.6d597280
inc dword [esp + 0x10]
lea eax, [esi + 8]
push eax
mov dword [esp + 0x1c], 0x800
call ebx
test eax, eax
jne 0x6d5b5284
mov eax, dword [esi]
test eax, eax
je 0x6d5b5457
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5b5467
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x6d5b5284
push 0x8007000e
call fcn.6d5ca1c9
mov edi, dword [esp + 0x1c]
cmp esi, ebp
je 0x6d5b548e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1038]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x102c
ret