Function at 0x1002702a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1005e2a0
push 0xffffffffffffffff
push 0x100cde41
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
push 0x2001f
xor ebx, ebx
lea ecx, [ebp - 0x20]
push 0x100e8e18
inc ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], bl
call fcn.100c0f6c
push 0x2001f
test eax, eax
lea ecx, [ebp - 0x2c]
push str.SOFTWAREJavaSoftJava_Web_Start
mov esi, edi
push reloc.OLEAUT32.dll_SysReAllocString
cmovne esi, ebx
call fcn.100c0f6c
test eax, eax
je 0x100270cf
test esi, esi
je 0x100270cf
mov ebx, dword [ebp - 0x20]
xor esi, esi
mov edi, dword [ebp - 0x2c]
inc esi
jmp 0x10027290
mov ebx, dword [ebp - 0x20]
lea eax, [ebp]
push 0x800
push eax
mov esi, edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x1002713c
lea eax, [ebp]
inc esi
push 0
push eax
call fcn.10028ea9
pop ecx
pop ecx
test eax, eax
jne 0x10027132
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.100176df
mov ecx, eax
test ecx, ecx
jne 0x1002717e
lea ecx, [ebp - 0x20]
call fcn.10017647
push 0x2001f
push 0x100e8ee4
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
xor esi, esi
call fcn.100c0f6c
test eax, eax
jne 0x1002716b
mov ebx, dword [ebp - 0x20]
push 0x800
lea eax, [ebp]
push eax
push esi
push ebx
call edi
test eax, eax
je 0x100270e6
test ebx, ebx
je 0x10027153
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
and dword [ebp - 0x1c], 0
lea eax, [ebp]
mov edi, dword [ebp - 0x2c]
xor esi, esi
push 0x800
push eax
push esi
jmp 0x10027270
push str.Error_open_Java_Plug_in_key
call fcn.100c0f6c
mov ebx, dword [ebp - 0x20]
pop ecx
jmp 0x1002720f
cmp ecx, 5
mov edx, 0x100e8eac
mov eax, 0x100e8e9c
lea ecx, [ebp - 0x14]
cmovne eax, edx
push eax
call fcn.1000dcc0
push 0x100e8ebc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10001719
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100271c8
call fcn.10001b13
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001719
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100271f0
call fcn.10001b13
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100271fb
mov eax, dword [esi]
jmp 0x100271fd
xor eax, eax
push eax
call fcn.100c0f6c
pop ecx
test esi, esi
je 0x1002720f
mov ecx, esi
call fcn.10001b13
mov edi, dword [ebp - 0x2c]
xor esi, esi
jmp 0x10027290
lea eax, [ebp]
inc esi
push 0
push eax
call fcn.100292d1
pop ecx
pop ecx
test eax, eax
jne 0x10027266
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100176df
mov ecx, eax
test ecx, ecx
jne 0x100272de
lea ecx, [ebp - 0x2c]
call fcn.10017647
push 0x2001f
push 0x100e8f88
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
xor esi, esi
call fcn.100c0f6c
test eax, eax
jne 0x100272cb
mov edi, dword [ebp - 0x2c]
push 0x800
lea eax, [ebp]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10027216
test edi, edi
je 0x10027288
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov esi, eax
test edi, edi
je 0x1002729b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x100272a6
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x1004
leave
ret
push str.Error_open_Java_Web_Start_key
call fcn.100c0f6c
mov edi, dword [ebp - 0x2c]
pop ecx
jmp 0x1002736f
cmp ecx, 5
mov edx, str.runtime_error
mov eax, str.access_denied
lea ecx, [ebp - 0x14]
cmovne eax, edx
push eax
call fcn.1000dcc0
push str._when_deleting_key
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.10001719
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10027328
call fcn.10001b13
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001719
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10027350
call fcn.10001b13
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1002735b
mov eax, dword [esi]
jmp 0x1002735d
xor eax, eax
push eax
call fcn.100c0f6c
pop ecx
test esi, esi
je 0x1002736f
mov ecx, esi
call fcn.10001b13
xor esi, esi
jmp 0x10027290