Function at 0x100383fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1034]
mov eax, 0x1034
call fcn.1003b1e0
push 0xffffffffffffffff
push 0x1006b436
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x100be114]
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 esi, dword [ebp + 0x103c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], 1
mov edi, 0x1000
lea eax, [ebp + 0x30]
xor ebx, ebx
push edi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1003d660
add esp, 0xc
mov dword [ebp - 0x2c], edi
mov ecx, esi
push 0x100a3e28
call fcn.1000154d
push 0x100a3e30
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 1
call fcn.1000154d
push 0x100a3e2c
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
call fcn.100127e8
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.10001683
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100384c3
call fcn.100016dc
lea eax, [ebp + 0x1040]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001683
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x100384dd
mov eax, dword [esi]
jmp 0x100384df
mov eax, ebx
lea ecx, [ebp - 0x28]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1003851c
test esi, esi
je 0x10038504
mov ecx, esi
call fcn.100016dc
mov ecx, dword [ebp + 0x1040]
test ecx, ecx
je 0x100387c8
call fcn.100016dc
jmp 0x100387c8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push str.JavaHome
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x28]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1003877f
cmp dword [ebp - 0x34], 1
jne 0x1003877f
mov eax, dword [ebp - 0x2c]
shr eax, 1
cmp eax, 0x800
jae 0x1003856f
add eax, eax
cmp eax, 0x1000
jae 0x100387ee
jmp 0x10038574
mov eax, 0xffe
xor ecx, ecx
mov word [ebp + eax + 0x30], cx
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000154d
push 0x100a3e9c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.100127e8
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x18]
call fcn.10001683
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x100385b8
call fcn.100016dc
push 0x100a3ea0
lea ecx, [ebp - 0x14]
call fcn.1000154d
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x18]
call fcn.10001683
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100385e1
call fcn.100016dc
xor eax, eax
lea edi, [ebp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 7
test edi, edi
je 0x10038609
mov eax, dword [edi]
jmp 0x1003860b
mov eax, ebx
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0xec]
call fcn.100122e6
mov eax, dword [ebp - 0xec]
or ebx, 0xffffffff
mov byte [ebp - 4], 8
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe0], 6
jne 0x10038719
jmp 0x100386aa
cmp dword [ebp + 0x2c], 8
lea eax, [ebp + 0x18]
push 0x3d
cmovae eax, dword [ebp + 0x18]
push 0
push dword [ebp + 0x28]
push eax
call fcn.1003a12f
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x1003868b
lea ecx, [ebp - 0xd]
push ecx
push eax
push 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp]
call fcn.1001259e
or dword [ebp - 0x1c], 6
lea ecx, [ebp]
push str.javafx.runtime.version
call fcn.10014880
mov byte [ebp - 0xd], 1
test eax, eax
je 0x1003868f
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x1c]
test al, 2
je 0x100386a4
and eax, 0xfffffffd
lea ecx, [ebp]
mov dword [ebp - 0x1c], eax
call fcn.100144d4
cmp byte [ebp - 0xd], 0
jne 0x100386d0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.100120b0
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
je 0x1003863d
jmp 0x1003870e
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp]
push ebx
inc eax
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.1001259e
or dword [ebp - 0x1c], 8
cmp dword [ebp + 0x14], 8
lea eax, [ebp]
mov ecx, dword [ebp - 0x30]
cmovae eax, dword [ebp]
push eax
mov byte [ebp - 4], 9
call fcn.100015d8
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.100144d4
lea ecx, [ebp - 0xec]
call fcn.10014823
lea ecx, [ebp - 0xec]
call fcn.10012e88
mov eax, dword [ebp + 0x2c]
cmp eax, 8
jb 0x10038761
mov ecx, dword [ebp + 0x18]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x10038758
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10006c83
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.1003b0f2
pop ecx
pop ecx
and dword [ebp + 0x28], 0
xor eax, eax
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
test edi, edi
je 0x10038782
mov ecx, edi
call fcn.100016dc
jmp 0x10038782
or ebx, 0xffffffff
test esi, esi
je 0x100387a1
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x100387a1
mov ecx, esi
call fcn.10001703
push 0xc
push esi
call fcn.1003b0f2
pop ecx
pop ecx
mov esi, dword [ebp + 0x1040]
test esi, esi
je 0x100387c8
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x100387c8
test esi, esi
je 0x100387c8
mov ecx, esi
call fcn.10001703
push 0xc
push esi
call fcn.1003b0f2
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
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.1003b105
add ebp, 0x1034
leave
ret
call fcn.1003b8ee
int3