Function at 0x100270d7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.100588e0
push 0xffffffffffffffff
push 0x100baa10
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1011ca44]
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 - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push 0x2001f
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push 0x100d07a0
inc ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], bl
call fcn.10061e37
push 0x2001f
test eax, eax
lea ecx, [ebp - 0x20]
push 0x100d07e0
mov esi, edi
push reloc.OLEAUT32.dll_SysReAllocString
cmovne esi, ebx
call fcn.10061e37
test eax, eax
je 0x10027172
test esi, esi
jne 0x100272d6
push 0x800
lea eax, [ebp]
mov esi, edi
push eax
push edi
mov edi, dword [ebp - 0x2c]
jmp 0x100271d9
lea eax, [ebp]
inc esi
push 0
push eax
call fcn.10028e69
pop ecx
pop ecx
test eax, eax
jne 0x100271cf
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10017f3e
mov ecx, eax
test ecx, ecx
jne 0x1002720a
lea ecx, [ebp - 0x2c]
call fcn.10017ea6
push 0x2001f
push 0x100d086c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
xor esi, esi
call fcn.10061e37
test eax, eax
jne 0x10027200
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 0x10027183
lea ecx, [ebp - 0x2c]
call fcn.10017ea6
mov edi, dword [ebp - 0x20]
lea eax, [ebp]
push 0x800
xor esi, esi
push eax
push esi
jmp 0x100272c3
push str.Error_open_Java_Plug_in_key
jmp 0x10027310
cmp ecx, 5
mov edx, 0x100d0834
mov eax, 0x100d0824
lea ecx, [ebp - 0x14]
cmovne eax, edx
push eax
call fcn.1000d9ae
push 0x100d0844
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10001727
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10027254
call fcn.10001b26
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001727
mov byte [ebp - 4], 4
jmp 0x10027375
lea eax, [ebp]
inc esi
push 0
push eax
call fcn.10029278
pop ecx
pop ecx
test eax, eax
jne 0x100272b9
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.10017f3e
mov ecx, eax
test ecx, ecx
jne 0x1002731b
lea ecx, [ebp - 0x20]
call fcn.10017ea6
push 0x2001f
push 0x100d0918
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
xor esi, esi
call fcn.10061e37
test eax, eax
jne 0x1002730b
mov edi, dword [ebp - 0x20]
push 0x800
lea eax, [ebp]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10027269
lea ecx, [ebp - 0x20]
call fcn.10017ea6
lea ecx, [ebp - 0x20]
call fcn.10017ea6
lea ecx, [ebp - 0x2c]
call fcn.10017ea6
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 + 0x1000]
xor ecx, ebp
call fcn.100587af
add ebp, 0x1004
leave
ret
push str.Error_open_Java_Web_Start_key
call fcn.10061e37
pop ecx
jmp 0x100273ac
cmp ecx, 5
mov edx, str.runtime_error
mov eax, str.access_denied
lea ecx, [ebp - 0x14]
cmovne eax, edx
push eax
call fcn.1000d9ae
push str._when_deleting_key
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.10001727
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10027365
call fcn.10001b26
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001727
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1002738d
call fcn.10001b26
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10027398
mov eax, dword [esi]
jmp 0x1002739a
xor eax, eax
push eax
call fcn.10061e37
pop ecx
test esi, esi
je 0x100273ac
mov ecx, esi
call fcn.10001b26
xor ebx, ebx
jmp 0x100272d6