Function at 0x1001edc0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x1024
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x1020], eax
push ebx
push esi
xor ebx, ebx
push 0x2001f
push str.SOFTWAREJavaSoftJava_Plug_in
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
xor esi, esi
call fcn.10003190
test eax, eax
je 0x1001ee15
lea esi, [ebx + 1]
push 0x2001f
push str.SOFTWAREJavaSoftJava_Web_Start
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x28]
call fcn.10003190
test eax, eax
je 0x1001ee6d
cmp esi, ebx
je 0x1001ee6d
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x1001ee46
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001ee51
push eax
call esi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1020]
xor ecx, esp
call fcn.1003779c
add esp, 0x1024
ret
push ebp
mov ebp, dword [esp + 0x14]
push edi
push 0x800
lea eax, [esp + 0x34]
push eax
push ebx
push ebp
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1001f013
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ebx
push ecx
inc edi
call fcn.1001e250
add esp, 8
test eax, eax
jne 0x1001eff5
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x1001eef1
cmp dword [edi], ebx
je 0x1001eee5
push str.Advapi32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x1001eeea
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
je 0x1001eeea
mov edx, dword [edi]
push ebx
push edx
push ebx
push ebx
lea ecx, [esp + 0x40]
push ecx
push ebp
call eax
jmp 0x1001ef41
cmp dword [edi + 4], ebx
jne 0x1001ef35
mov eax, 1
jmp 0x1001ef41
cmp byte [0x1004fbb8], bl
jne 0x1001ef20
push str.Advapi32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x1001ef19
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1004fbb4], eax
mov byte [0x1004fbb8], 1
mov eax, dword [0x1004fbb4]
cmp eax, ebx
je 0x1001ef35
push ebx
push esi
lea ecx, [esp + 0x38]
push ecx
push ebp
call eax
jmp 0x1001ef41
lea edx, [esp + 0x30]
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x1001f0b7
cmp ebp, ebx
je 0x1001ef56
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov esi, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x10], ebx
cmp esi, ebx
je 0x1001efb7
cmp dword [esi], ebx
je 0x1001efab
push str.Advapi32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
cmp eax, ebx
jne 0x1001ef7e
mov eax, 1
jmp 0x1001efd2
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
je 0x1001ef77
mov ecx, dword [esi]
push ebx
push ecx
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push str.SOFTWAREJavaSoftJava_Plug_in
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x1001efd2
cmp dword [esi + 4], ebx
je 0x1001ef77
lea eax, [esp + 0x10]
push eax
jmp 0x1001efbc
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push ebx
push str.SOFTWAREJavaSoftJava_Plug_in
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1001f140
xor eax, eax
cmp ebp, ebx
je 0x1001efe7
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x10]
xor esi, esi
cmp eax, ebx
jne 0x1001f140
push 0x800
lea edx, [esp + 0x34]
push edx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1001ee93
mov dword [esp + 0x18], ebp
cmp ebp, ebx
je 0x1001f022
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x24]
push 0x800
lea eax, [esp + 0x34]
push eax
push ebx
push esi
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1001f215
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ebx
push ecx
inc ebp
call fcn.1001e5f0
add esp, 8
test eax, eax
jne 0x1001f1fb
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
call fcn.100030e0
cmp eax, ebx
jne 0x1001f24d
cmp esi, ebx
je 0x1001f080
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
cmp edi, ebx
je 0x1001f1b7
cmp dword [edi], ebx
je 0x1001f1a7
push str.Advapi32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
cmp eax, ebx
jne 0x1001f176
mov eax, 1
jmp 0x1001f1d2
cmp eax, 5
mov dword [esp + 0x18], ebp
mov eax, str.access_denied
je 0x1001f0ca
mov eax, str.runtime_error
push eax
lea ecx, [esp + 0x14]
call fcn.10006920
push str._when_deleting_key
lea ecx, [esp + 0x18]
call fcn.10002e00
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.10004760
lea ecx, [esp + 0x14]
call fcn.10002330
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.10002e00
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.10004760
lea ecx, [esp + 0x14]
call fcn.10002330
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001f12a
mov eax, dword [eax]
jmp 0x1001f12c
xor eax, eax
push eax
call fcn.10004ff0
add esp, 4
lea ecx, [esp + 0x10]
call fcn.10002330
jmp 0x1001f151
push str.Error_open_Java_Plug_in_key
mov dword [esp + 0x1c], ebp
call fcn.10004ff0
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1001f160
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, ebx
je 0x1001f2f9
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1001f234
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
je 0x1001f0ad
mov ecx, dword [edi]
push ebx
push ecx
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push str.SOFTWAREJavaSoftJava_Web_Start
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x1001f1d2
cmp dword [edi + 4], ebx
je 0x1001f0ad
lea eax, [esp + 0x10]
push eax
jmp 0x1001f1bc
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push ebx
push str.SOFTWAREJavaSoftJava_Web_Start
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1001f2d2
xor eax, eax
cmp esi, ebx
je 0x1001f1e7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
cmp eax, ebx
jne 0x1001f2d2
push 0x800
lea edx, [esp + 0x34]
push edx
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1001f046
cmp esi, ebx
je 0x1001f220
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001f22f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x1030]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x1024
ret
cmp eax, 5
mov eax, str.access_denied
je 0x1001f25c
mov eax, str.runtime_error
push eax
lea ecx, [esp + 0x14]
call fcn.10006920
push str._when_deleting_key
lea ecx, [esp + 0x18]
call fcn.10002e00
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.10004760
lea ecx, [esp + 0x14]
call fcn.10002330
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.10002e00
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.10004760
lea ecx, [esp + 0x14]
call fcn.10002330
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001f2bc
mov eax, dword [eax]
jmp 0x1001f2be
xor eax, eax
push eax
call fcn.10004ff0
add esp, 4
lea ecx, [esp + 0x10]
call fcn.10002330
jmp 0x1001f2df
push str.Error_open_Java_Web_Start_key
call fcn.10004ff0
add esp, 4
cmp esi, ebx
je 0x1001f2ea
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001f2f9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1001f234