Function at 0x100192c7
Capabilities:
Check if file exists
Query or enumerate registry key

Disassembly:
mov eax, 0x1150
call fcn.1001f380
mov eax, dword [0x1006b1fc]
xor eax, esp
mov dword [esp + 0x114c], eax
mov eax, dword [esp + 0x1154]
lea ecx, [esp + 0x24]
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1164]
mov ebx, 0x80004005
push edi
mov edi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], edi
mov ebp, esi
mov edi, 0x20019
mov dword [esp + 0x20], ebx
push edi
push 0x10053d70
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.10006b74
test eax, eax
jne 0x1001966a
push edi
push 0x10053d7c
push dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
call fcn.10006b74
mov ebp, dword [esp + 0x40]
test eax, eax
jne 0x1001966a
push edi
push str.Java_Runtime_Environment
push ebp
lea ecx, [esp + 0x58]
call fcn.10006b74
test eax, eax
jne 0x1001966a
mov eax, 0x400
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x160]
push esi
push eax
call fcn.10022670
mov ecx, dword [esp + 0x20]
push ecx
push dword [esp + 0x117c]
push dword [esp + 0x2c]
call fcn.10024438
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x28]
add esp, 0x18
push esi
push esi
push esi
push esi
push eax
lea eax, [esp + 0x170]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1001966a
mov eax, esi
mov ecx, esi
cmp dword [esp + 0x10], eax
jbe 0x10019634
cmp byte [esp + eax + 0x15c], 0x2e
jne 0x10019407
inc ecx
cmp ecx, 1
jg 0x10019417
inc eax
cmp eax, dword [esp + 0x10]
jb 0x100193f7
cmp ecx, 1
jle 0x10019634
push 3
lea eax, [esp + 0x160]
push 0x10053da4
push eax
call fcn.10024500
add esp, 0xc
test eax, eax
js 0x10019634
push 0x20019
lea eax, [esp + 0x160]
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.10006b74
test eax, eax
jne 0x10019666
push 5
push dword [esp + 0x18]
lea eax, [esp + 0x164]
push eax
call fcn.10024500
add esp, 0xc
test eax, eax
jne 0x10019634
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x15c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001949e
test dl, dl
je 0x1001949a
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001949e
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001947e
mov eax, esi
jmp 0x100194a3
sbb eax, eax
or eax, 1
test eax, eax
js 0x10019634
mov eax, 0x104
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.10022670
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
lea eax, [esp + 0x5c]
push eax
push 0x10053da8
call fcn.100073a2
test eax, eax
jne 0x10019634
push 0x400
lea eax, [esp + 0x960]
push esi
push eax
call fcn.10022670
add esp, 0xc
lea eax, [esp + 0x95c]
push 0x400
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push 0x400
lea eax, [esp + 0xd60]
push esi
push eax
call fcn.10022670
lea ecx, [esp + 0x168]
add esp, 0xc
lea eax, [ecx + 1]
mov edx, esi
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019537
sub ecx, dword [esp + 0x1c]
lea eax, [esp + 0xd5c]
mov bl, byte [esp + edx + 0x15c]
cmp bl, 0x2e
je 0x10019558
mov byte [eax], bl
inc eax
inc edx
cmp edx, ecx
jbe 0x10019549
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x55c]
push 0x400
push esi
push eax
call fcn.10022670
lea eax, [esp + 0x968]
push eax
lea eax, [esp + 0x56c]
push 0x400
push eax
call fcn.10024438
push str._bin_
lea eax, [esp + 0x578]
push 0x400
push eax
call fcn.10024492
mov ecx, dword [esp + 0x38]
mov edx, str.npjava
mov eax, str.npjpi
cmp byte [ecx + 2], 0x33
cmove eax, edx
push eax
lea eax, [esp + 0x584]
push 0x400
push eax
call fcn.10024492
lea eax, [esp + 0xd8c]
push eax
lea eax, [esp + 0x590]
push 0x400
push eax
call fcn.10024492
push str..dll
lea eax, [esp + 0x59c]
push 0x400
push eax
call fcn.10024492
add esp, 0x48
lea eax, [esp + 0x55c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10019634
lea eax, [esp + 0x15c]
push eax
push dword [esp + 0x1170]
push dword [esp + 0x20]
call fcn.10024438
mov ebx, esi
add esp, 0xc
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push esi
push esi
push esi
push esi
push ecx
lea ecx, [esp + 0x170]
mov dword [esp + 0x24], 0x400
inc eax
push ecx
push eax
push edi
mov dword [esp + 0x44], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x100193e9
mov esi, dword [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10019677
push esi
call edi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10019682
push eax
call edi
test ebp, ebp
je 0x10019689
push ebp
call edi
cmp dword [esp + 0x34], 0
je 0x10019696
push dword [esp + 0x34]
call edi
mov ecx, dword [esp + 0x115c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001f12f
add esp, 0x1150
ret