Function at 0x10017f70
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1030
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1044]
lea eax, [esp + 0x3c]
push 0x1000
push 0
push eax
mov dword [esp + 0x28], edi
call sub.VCRUNTIME140.dll_memset
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10017fd4
push 0x100419dc
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10033b30
mov dword [esi], eax
jmp 0x10017fd6
xor esi, esi
mov dword [edi], esi
test esi, esi
je 0x100183b0
xor ebp, ebp
mov dword [esp + 0x28], 0
push str.GetLatestJavawsVersion__:
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], 0x800
call fcn.10003ca0
add esp, 4
cmp dword [esp + 0x1048], ebp
je 0x10018028
mov esi, 0x20219
mov eax, str.___checking_32_bit
jmp 0x10018032
mov esi, 0x20119
mov eax, str.___checking_64_bit
push eax
call fcn.10003ca0
add esp, 4
lea ecx, [esp + 0x28]
push esi
push str.SOFTWAREJavaSoftJava_Web_Start
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10003a10
mov esi, dword [esp + 0x28]
test eax, eax
je 0x10018090
push str.___failed_to_open_SOFTWAREJavaSoftJava_Web_Start
call fcn.10003ca0
add esp, 4
test esi, esi
je 0x1001806f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x103c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1030
ret
lea eax, [esp + 0x34]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10018064
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x100183b0
push str.___Processing_key:
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10033b30
push 0xc
mov dword [esi], eax
call fcn.10033b30
mov edi, eax
add esp, 4
test edi, edi
je 0x100183b0
lea eax, [esp + 0x3c]
mov dword [edi + 4], 0
push eax
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x100183b0
push 0xc
call fcn.10033b30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100183b0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
mov eax, dword [esi]
test eax, eax
je 0x1001814d
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebp, eax
mov dword [esp + 0x14], eax
jmp 0x10018153
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov eax, dword [edi]
test eax, eax
je 0x10018162
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x10018164
xor eax, eax
add ebp, eax
mov dword [esp + 0x18], eax
cmp ebp, eax
jb 0x100183b0
mov eax, ebp
mov ecx, 2
mul ecx
test edx, edx
ja 0x100183b0
jb 0x1001818e
cmp eax, 0xffffffff
ja 0x100183b0
lea eax, [ebp*2]
push eax
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, eax
mov dword [ebx], ecx
test ecx, ecx
jne 0x100181b4
test ebp, ebp
jne 0x100183b0
jmp 0x100181fa
mov edx, dword [esi]
mov ebp, dword [esp + 0x14]
test edx, edx
je 0x100181d8
lea eax, [ebp*2 + 2]
push eax
mov eax, dword [esp + 0x14]
push edx
add eax, 2
push eax
push ecx
call fcn.10005cb0
add esp, 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x100181fa
mov eax, dword [esp + 0x18]
lea eax, [eax*2 + 2]
push eax
push ecx
push eax
mov eax, dword [ebx]
lea eax, [eax + ebp*2]
push eax
call fcn.10005cb0
add esp, 0x10
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1001823c
mov eax, dword [esi]
test eax, eax
je 0x1001821a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10018231
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x1001827e
mov eax, dword [edi]
test eax, eax
je 0x1001825c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10018273
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
push dword [ebx]
call fcn.10003ca0
lea eax, [esp + 0x104c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.1002ad90
add esp, 0xc
test eax, eax
jne 0x100182db
lea eax, [esp + 0x1048]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1002a610
add esp, 8
test eax, eax
jne 0x100182db
push str.Ignore_invalid_deploy_version:
call fcn.10003ca0
lea eax, [esp + 0x40]
push eax
call fcn.10003ca0
mov edi, dword [esp + 0x24]
add esp, 8
xor eax, eax
mov word [esp + 0x3c], ax
jmp 0x1001834c
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.10001f10
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10016410
add esp, 8
test eax, eax
jle 0x1001834c
mov eax, dword [edi]
test eax, eax
je 0x10018302
mov eax, dword [eax]
jmp 0x10018304
xor eax, eax
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x1001834c
mov ecx, edi
call fcn.10002020
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x10018344
lea eax, [esp + 0x3c]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x100183b0
jmp 0x10018346
xor esi, esi
mov dword [edi], esi
test esi, esi
je 0x100183b0
mov ebp, dword [esp + 0x24]
lea ecx, [ebx + 8]
inc ebp
mov dword [esp + 0x20], 0x800
mov dword [esp + 0x24], ebp
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
mov esi, dword [esp + 0x28]
jne 0x10018090
mov eax, dword [ebx]
test eax, eax
je 0x10018385
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001839c
push eax
call fcn.1003b898
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.10033b30
mov esi, dword [esp + 0x30]
add esp, 8
jmp 0x10018090
push 0x8007000e
call fcn.10033b30
int3