Function at 0x1002229e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10039d10
push 0xffffffffffffffff
push 0x100584ca
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10080f6c]
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 esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov edi, 0x2001f
push edi
push 0x10064b40
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
call fcn.1002b477
test eax, eax
je 0x1002231d
mov dword [ebp - 0x10], 1
push edi
push str.SOFTWAREJavaSoftJava_Web_Start
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1002b477
cmp eax, esi
je 0x1002236d
cmp dword [ebp - 0x10], esi
je 0x1002236d
xor esi, esi
inc esi
lea ecx, [ebp - 0x2c]
call fcn.10016b3c
lea ecx, [ebp - 0x20]
call fcn.10016b3c
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.10039bc2
add ebp, 0x1004
leave
ret
mov edi, 0x800
push edi
lea eax, [ebp]
push eax
mov dword [ebp - 0x10], esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100223d6
inc dword [ebp - 0x10]
lea eax, [ebp]
push 0
push eax
call fcn.1002192e
pop ecx
pop ecx
test eax, eax
jne 0x100223ce
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.10016acd
test eax, eax
jne 0x100223f7
lea ecx, [ebp - 0x20]
call fcn.10016b3c
and dword [ebp - 0x10], 0
push 0x2001f
push 0x10064c0c
push ebx
lea ecx, [ebp - 0x20]
call fcn.1002b477
test eax, eax
jne 0x1002248e
push edi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x10022383
lea ecx, [ebp - 0x20]
call fcn.10016b3c
and dword [ebp - 0x10], 0
push edi
lea eax, [ebp]
push eax
push 0
jmp 0x100224ea
cmp eax, 5
mov eax, 0x10064bc4
je 0x10022406
mov eax, 0x10064bd4
push eax
lea ecx, [ebp - 0x10]
call fcn.1001060c
push 0x10064be4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10001309
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10001524
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10022440
call fcn.10001441
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001309
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001524
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10022468
call fcn.10001441
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x10022473
mov eax, dword [esi]
jmp 0x10022475
xor eax, eax
push eax
call fcn.1002b477
pop ecx
test esi, esi
je 0x10022487
mov ecx, esi
call fcn.10001441
xor esi, esi
jmp 0x10022338
push str.Error_open_Java_Plug_in_key
call fcn.1002b477
pop ecx
jmp 0x10022487
inc dword [ebp - 0x10]
lea eax, [ebp]
push 0
push eax
call fcn.10021c41
pop ecx
pop ecx
test eax, eax
jne 0x100224e2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10016acd
test eax, eax
jne 0x10022500
lea ecx, [ebp - 0x2c]
call fcn.10016b3c
and dword [ebp - 0x10], 0
push 0x2001f
push 0x10064cb0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1002b477
test eax, eax
jne 0x1002255e
push edi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
call esi
test eax, eax
je 0x1002249b
lea ecx, [ebp - 0x2c]
call fcn.10016b3c
jmp 0x10022335
cmp eax, 5
mov eax, str.access_denied
je 0x1002250f
mov eax, 0x10064c5c
push eax
lea ecx, [ebp - 0x10]
call fcn.1001060c
push str._when_deleting_key
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10001309
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.10001524
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10022549
call fcn.10001441
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001309
mov byte [ebp - 4], 7
jmp 0x10022450
push str.Error_open_Java_Web_Start_key
jmp 0x10022493