Function at 0x6d5b4950
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1020
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x101c], eax
mov eax, dword [esp + 0x1024]
push ebx
mov ebx, dword [esp + 0x1034]
push esi
push edi
push 0xffe
xor edi, edi
lea edx, [esp + 0x2e]
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebx
mov word [esp + 0x34], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x800
mov esi, 0x20019
cmp ebx, edi
je 0x6d5b49c6
mov esi, dword [ebx]
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0x100
or esi, 0x20019
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0xc], edi
push esi
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x103c], edi
je 0x6d5b49eb
push str.SOFTWAREJavaSoftJava_Plug_in
jmp 0x6d5b4a08
push str.SOFTWAREJavaSoftJRE
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.6d593190
cmp eax, edi
je 0x6d5b4a3f
push esi
push str.SOFTWAREJavaSoftJava_Runtime_Environment
lea ecx, [esp + 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.6d593190
cmp eax, edi
je 0x6d5b4a3f
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x6d5b4a25
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x101c]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1020
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
push edi
push edi
push edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
push ebp
call ebx
mov esi, eax
test esi, esi
jne 0x6d5b4b30
lea ebx, [ebx]
cmp dword [esp + 0x103c], 0
je 0x6d5b4ac2
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.6d5b0bc0
add esp, 8
test eax, eax
je 0x6d5b4aa2
lea ecx, [esp + 0x2c]
push esi
push ecx
call fcn.6d5b0f60
add esp, 8
test eax, eax
jne 0x6d5b4ac2
push str.Ignore_invalid_deploy_version:
call fcn.6d5951a0
lea edx, [esp + 0x30]
push edx
call fcn.6d5951a0
add esp, 8
xor eax, eax
mov word [esp + 0x2c], ax
jmp 0x6d5b4b04
cmp word [esp + 0x2c], 0
je 0x6d5b4b04
test edi, edi
je 0x6d5b4ae4
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.6d5a9160
add esp, 8
test eax, eax
jle 0x6d5b4b04
mov ecx, dword [esp + 0x1038]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
push 0x6d5cfa40
push ecx
push edx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
inc edi
push edi
push ebp
mov dword [esp + 0x34], 0x800
call ebx
mov esi, eax
test esi, esi
je 0x6d5b4a70
cmp dword [esp + 0x103c], 0
je 0x6d5b4b41
push str.Latest_deploy_version:
jmp 0x6d5b4b46
push str.Latest_JRE_version:
call fcn.6d5951a0
mov edi, dword [esp + 0x1c]
add esp, 4
push edi
call fcn.6d5951a0
add esp, 4
test esi, esi
je 0x6d5b4b67
cmp esi, 0x103
jne 0x6d5b4b6f
mov dword [esp + 0x10], 1
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d5b4b74
sub eax, edx
sar eax, 1
jne 0x6d5b4b8d
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x6d5b4b98
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x102c]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1020
ret