Function at 0x100ec21
Capabilities:
Delete registry value
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x121c
call fcn.01003f4c
mov eax, dword [0x10150c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.0100ec01
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
lea eax, [ebp - 0x1210]
push eax
push 0x2000000
xor ebx, ebx
push ebx
push 0x1003670
mov edi, 0x80000002
push edi
call esi
cmp eax, ebx
jne 0x100ed09
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa0c]
push eax
push ebx
push ebx
push 0x100f004
push dword [ebp - 0x1210]
mov dword [ebp - 0x121c], 0x800
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100ecce
mov eax, dword [0x10150c0]
cmp eax, 0x10150c0
je 0x100ecfb
test byte [eax + 0x1c], 4
je 0x100ecfb
cmp byte [eax + 0x19], 5
jb 0x100ecfb
lea ecx, [ebp - 0xa0c]
push ecx
push 0x100a84c
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100375d
jmp 0x100ecfb
mov ecx, dword [0x10150c0]
cmp ecx, 0x10150c0
je 0x100ecfb
test byte [ecx + 0x1c], 4
je 0x100ecfb
cmp byte [ecx + 0x19], 2
jb 0x100ecfb
push eax
push 0x100a84c
push 0xc
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002f89
push dword [ebp - 0x1210]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x100ed36
mov ecx, dword [0x10150c0]
cmp ecx, 0x10150c0
je 0x100ed36
test byte [ecx + 0x1c], 4
je 0x100ed36
cmp byte [ecx + 0x19], 2
jb 0x100ed36
push eax
push 0x100a84c
push 0xd
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002f89
push ebx
call fcn.0100e5a1
mov eax, dword [0x10150f8]
cmp eax, 4
je 0x100ed7b
cmp eax, 2
je 0x100ed7b
lea eax, [ebp - 0x1210]
push eax
push 0x2001b
push ebx
push 0x1006898
push edi
mov dword [ebp - 0x1210], ebx
call esi
test eax, eax
jne 0x100ed7b
push 0x100efe4
push dword [ebp - 0x1210]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteValueW]
cmp dword [0x1015100], ebx
je 0x100edb2
push 0x1003724
push 0x100efcc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01002691
add esp, 0x10
push 0x10
push 0x258
push 0x320
call fcn.0100e71d
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
lea edi, [ebp - 0xa0c]
call esi
push 0xa1
movzx ebx, ax
call esi
xor esi, esi
movzx ecx, ax
mov eax, 0x8000
cmp dword [0x10158ac], esi
je 0x100ede3
mov ecx, eax
mov edx, ecx
or edx, ebx
test eax, edx
je 0x100ee20
test eax, ecx
mov eax, 0x100efc4
jne 0x100edf9
mov eax, 0x100369c
lea ecx, [ebp - 0xa0c]
push ecx
push eax
push 0x100efac
lea eax, [ebp - 0x120c]
push 0x400
push eax
call fcn.01002691
add esp, 0x14
lea edi, [ebp - 0x120c]
lea eax, [ebp - 0x20c]
cmp dword [0x1015100], esi
jne 0x100ee33
mov eax, 0x100ef8c
push esi
lea ecx, [ebp - 0x1214]
push ecx
push esi
push esi
push esi
push esi
push 2
push eax
push edi
call fcn.01006a7f
cmp eax, esi
je 0x100ee8b
mov ecx, dword [0x10150c0]
cmp ecx, 0x10150c0
je 0x100ef7d
test byte [ecx + 0x1c], 4
je 0x100ef7d
cmp byte [ecx + 0x19], 2
jb 0x100ef7d
push edi
push eax
push 0x100a84c
push 0xe
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100e451
jmp 0x100ef7d
mov esi, dword [0x1015100]
neg esi
sbb esi, esi
and esi, 0xf731401
dec esi
mov eax, dword [0x10150c0]
mov edi, 0x10150c0
cmp eax, edi
je 0x100eecb
test byte [eax + 0x1c], 4
je 0x100eecb
cmp byte [eax + 0x19], 5
jb 0x100eecb
mov ebx, 0x100a84c
push ebx
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010015b6
jmp 0x100eed0
mov ebx, 0x100a84c
push esi
push dword [ebp - 0x1214]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x100ef4d
cmp eax, 0xffffffff
je 0x100ef27
lea eax, [ebp - 0x1218]
push eax
push dword [ebp - 0x1214]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [0x10150c0]
cmp eax, edi
je 0x100ef71
test byte [eax + 0x1c], 4
je 0x100ef71
cmp byte [eax + 0x19], 5
jb 0x100ef71
push dword [ebp - 0x1218]
push ebx
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002f89
jmp 0x100ef71
mov eax, dword [0x10150c0]
cmp eax, edi
je 0x100ef71
test byte [eax + 0x1c], 4
je 0x100ef71
cmp byte [eax + 0x19], 2
jb 0x100ef71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x10150c0]
push ebx
push 0x11
jmp 0x100ef1a
mov eax, dword [0x10150c0]
cmp eax, edi
je 0x100ef71
test byte [eax + 0x1c], 4
je 0x100ef71
cmp byte [eax + 0x19], 2
jb 0x100ef71
push esi
push ebx
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002f89
push dword [ebp - 0x1214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010015a4
leave
ret