Function at 0x1003a499
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1034]
mov eax, 0x1034
call fcn.100588e0
push 0xffffffffffffffff
push 0x100bc1e9
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x1030], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x103c]
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], eax
mov esi, 0x1000
mov dword [ebp - 4], eax
push esi
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.1005c640
add esp, 0xc
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x20]
push 0x100fcb90
call fcn.10001727
push 0x100fcb98
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.10001727
push 0x100fcb94
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000d9ae
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.1000187c
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1003a54f
call fcn.10001b26
lea eax, [ebp + 0x1040]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000187c
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x1003a569
mov eax, dword [edi]
jmp 0x1003a56b
xor eax, eax
lea ecx, [ebp - 0x28]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003a7c0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push str.JavaHome
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x28]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1003a7c0
cmp dword [ebp - 0x30], 1
jne 0x1003a7c0
mov eax, dword [ebp - 0x2c]
mov ecx, 0x7ff
shr eax, 1
cmp eax, 0x800
cmovb ecx, eax
add ecx, ecx
cmp ecx, 0x1000
jae 0x1003a817
xor eax, eax
mov word [ebp + ecx + 0x30], ax
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001727
push 0x100fcc04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.1000d9ae
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1003a627
call fcn.10001b26
push 0x100fcc08
lea ecx, [ebp - 0x18]
call fcn.10001727
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003a650
call fcn.10001b26
and dword [ebp + 0x10], 0
xor eax, eax
mov dword [ebp + 0x14], 7
mov word [ebp], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 7
test eax, eax
je 0x1003a670
mov eax, dword [eax]
jmp 0x1003a672
xor eax, eax
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0xe8]
call fcn.1000d39b
mov eax, dword [ebp - 0xe8]
mov byte [ebp - 4], 8
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xdc], 6
jne 0x1003a790
jmp 0x1003a71a
cmp dword [ebp + 0x14], 8
lea eax, [ebp]
push 0x3d
cmovae eax, dword [ebp]
push 0
push dword [ebp + 0x10]
push eax
call fcn.1003974d
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
je 0x1003a6fb
and dword [ebp + 0x28], 0
lea ecx, [ebp + 0x18]
xor eax, eax
mov dword [ebp + 0x2c], 7
push esi
push eax
mov word [ebp + 0x18], ax
lea eax, [ebp]
push eax
call fcn.10013fe6
or dword [ebp - 0x1c], 6
lea ecx, [ebp + 0x18]
push str.javafx.runtime.version
call fcn.10014551
mov byte [ebp - 0xd], 1
test eax, eax
je 0x1003a6ff
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x1c]
test al, 2
je 0x1003a714
and eax, 0xfffffffd
lea ecx, [ebp + 0x18]
mov dword [ebp - 0x1c], eax
call fcn.100138cc
cmp byte [ebp - 0xd], 0
jne 0x1003a73e
lea eax, [ebp]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.1000cd9b
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1003a6a1
jmp 0x1003a785
and dword [ebp + 0x28], 0
lea ecx, [ebp + 0x18]
xor eax, eax
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
lea eax, [ebp]
push eax
call fcn.10013fe6
cmp dword [ebp + 0x2c], 8
lea eax, [ebp + 0x18]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp + 0x18]
push eax
call fcn.100017c2
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 8
call fcn.100138cc
lea ecx, [ebp - 0xe8]
call fcn.100144f9
mov esi, dword [ebp - 0x20]
mov dword [ebx], esi
test esi, esi
je 0x1003a79d
lock inc dword [esi + 8]
lea ecx, [ebp - 0xe8]
call fcn.100aadfa
lea ecx, [ebp]
call fcn.100138cc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1003a7cd
mov ecx, eax
call fcn.10001b26
jmp 0x1003a7cd
mov esi, dword [ebp - 0x20]
mov dword [ebx], esi
test esi, esi
je 0x1003a7cd
lock inc dword [esi + 8]
test edi, edi
je 0x1003a7d8
mov ecx, edi
call fcn.10001b26
test esi, esi
je 0x1003a7e3
mov ecx, esi
call fcn.10001b26
mov ecx, dword [ebp + 0x1040]
test ecx, ecx
je 0x1003a7f2
call fcn.10001b26
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1030]
xor ecx, ebp
call fcn.100587af
add ebp, 0x1034
leave
ret
call fcn.100aadfa
int3