Function at 0x10022250
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x102c
call fcn.100378e0
mov eax, dword [0x1004f860]
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 0x100222b7
push 0x10041fa4
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call fcn.10030fd0
mov dword [esi], eax
jmp 0x100222b9
xor esi, esi
mov dword [edi], esi
cmp esi, ebp
jne 0x100222c9
push 0x8007000e
call fcn.10030fd0
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.10004ff0
add esp, 4
cmp dword [esp + 0x1040], ebp
je 0x10022303
mov esi, 0x20219
push str.___checking_32_bit
jmp 0x1002230d
mov esi, 0x20119
push str.___checking_64_bit
call fcn.10004ff0
add esp, 4
push ebx
push esi
push str.SOFTWAREJavaSoftJava_Web_Start
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x30]
call fcn.10003190
cmp eax, ebp
je 0x10022346
push str.___failed_to_open_SOFTWAREJavaSoftJava_Web_Start
call fcn.10004ff0
mov esi, dword [esp + 0x28]
add esp, 4
jmp 0x10022543
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 0x1002253f
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x10022535
lea ebx, [edi + 8]
push str.___Processing_key:
mov dword [edi + 4], ebp
mov dword [ebx], 1
call fcn.10030fd0
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 0x10022535
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 0x10022535
push 0xc
mov dword [esp + 0x24], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10022535
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.10003e50
mov dword [esp + 0x14], eax
test eax, eax
je 0x10022535
push ebx
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x1002243c
mov eax, dword [edi]
test eax, eax
je 0x10022423
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x10022433
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 0x10022469
mov eax, dword [esi]
test eax, eax
je 0x10022450
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10022460
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.10004ff0
lea ecx, [esp + 0x1048]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.1001e5f0
add esp, 0xc
test eax, eax
jne 0x100224c7
lea eax, [esp + 0x1044]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.1001e250
add esp, 8
test eax, eax
jne 0x100224c7
push str.Ignore_invalid_deploy_version:
call fcn.10004ff0
lea edx, [esp + 0x3c]
push edx
call fcn.10004ff0
add esp, 8
xor eax, eax
mov word [esp + 0x38], ax
jmp 0x100224f0
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.10002320
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.10016c30
add esp, 8
test eax, eax
jle 0x100224f0
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.10006f80
inc dword [esp + 0x10]
lea eax, [esi + 8]
push eax
mov dword [esp + 0x1c], 0x800
call ebx
test eax, eax
jne 0x10022344
mov eax, dword [esi]
test eax, eax
je 0x10022517
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10022527
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 0x10022344
push 0x8007000e
call fcn.10030fd0
mov edi, dword [esp + 0x1c]
cmp esi, ebp
je 0x1002254e
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.1003779c
add esp, 0x102c
ret