Function at 0x10037475
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1034]
mov eax, 0x1034
call fcn.1003a680
push 0xffffffffffffffff
push 0x1006834f
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x100bc054]
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.1003cd40
add esp, 0xc
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x20]
push 0x100a0c24
call fcn.1000155e
push str.SOFTWAREJavaSoftJava_Runtime_Environment
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.1000155e
push 0x100a0c80
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10012712
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.10001697
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1003752b
call fcn.100016f0
lea eax, [ebp + 0x1040]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001697
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x10037545
mov eax, dword [edi]
jmp 0x10037547
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 0x1003779c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x100a0c84
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 0x1003779c
cmp dword [ebp - 0x30], 1
jne 0x1003779c
mov eax, dword [ebp - 0x2c]
mov ecx, 0x7ff
shr eax, 1
cmp eax, 0x800
cmovb ecx, eax
add ecx, ecx
cmp ecx, 0x1000
jae 0x100377f3
xor eax, eax
mov word [ebp + ecx + 0x30], ax
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000155e
push 0x100a0c98
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10012712
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x10037603
call fcn.100016f0
push 0x100a0c9c
lea ecx, [ebp - 0x18]
call fcn.1000155e
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003762c
call fcn.100016f0
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 0x1003764c
mov eax, dword [eax]
jmp 0x1003764e
xor eax, eax
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0xe8]
call fcn.100122d4
mov eax, dword [ebp - 0xe8]
mov byte [ebp - 4], 8
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xdc], 6
jne 0x1003776c
jmp 0x100376f6
cmp dword [ebp + 0x14], 8
lea eax, [ebp]
push 0x3d
cmovae eax, dword [ebp]
push 0
push dword [ebp + 0x10]
push eax
call fcn.10038f8a
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
je 0x100376d7
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.100145af
or dword [ebp - 0x1c], 6
lea ecx, [ebp + 0x18]
push str.javafx.runtime.version
call fcn.100147de
mov byte [ebp - 0xd], 1
test eax, eax
je 0x100376db
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x1c]
test al, 2
je 0x100376f0
and eax, 0xfffffffd
lea ecx, [ebp + 0x18]
mov dword [ebp - 0x1c], eax
call fcn.10014418
cmp byte [ebp - 0xd], 0
jne 0x1003771a
lea eax, [ebp]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10012073
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1003767d
jmp 0x10037761
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.100145af
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.100015e9
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 8
call fcn.10014418
lea ecx, [ebp - 0xe8]
call fcn.1001478b
mov esi, dword [ebp - 0x20]
mov dword [ebx], esi
test esi, esi
je 0x10037779
lock inc dword [esi + 8]
lea ecx, [ebp - 0xe8]
call fcn.10052ec1
lea ecx, [ebp]
call fcn.10014418
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100377a9
mov ecx, eax
call fcn.100016f0
jmp 0x100377a9
mov esi, dword [ebp - 0x20]
mov dword [ebx], esi
test esi, esi
je 0x100377a9
lock inc dword [esi + 8]
test edi, edi
je 0x100377b4
mov ecx, edi
call fcn.100016f0
test esi, esi
je 0x100377bf
mov ecx, esi
call fcn.100016f0
mov ecx, dword [ebp + 0x1040]
test ecx, ecx
je 0x100377ce
call fcn.100016f0
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.1003a5a7
add ebp, 0x1034
leave
ret
call fcn.10052ec1
int3