Function at 0x1028b80
Capabilities:
Create thread
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1250
call fcn.0103e847
mov eax, dword [0x107342c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.01028989
mov dword [ebp - 0x1218], eax
call fcn.0102831e
lea eax, [ebp - 0x121c]
push eax
push 0x1012a44
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor esi, esi
test eax, eax
jne 0x1028c01
lea eax, [ebp - 0x122c]
push eax
lea eax, [ebp - 0xa0c]
push eax
push esi
push esi
push 0x1012d0c
push dword [ebp - 0x121c]
mov dword [ebp - 0x122c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x121c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.010283ef
mov eax, dword [0x1074484]
cmp eax, 4
je 0x1028c27
cmp eax, 2
je 0x1028c27
push esi
push 0x10112a0
push 0x1010d8c
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
mov ebx, dword [sym.imp.USER32.dll_GetUserObjectInformationW]
push esi
push 0xc
lea eax, [ebp - 0x1228]
push eax
mov eax, dword [edi + 8]
xor esi, esi
inc esi
push esi
push dword [eax + 4]
call ebx
push 0xc
lea eax, [ebp - 0x1228]
push eax
mov eax, dword [edi + 8]
push esi
mov dword [ebp - 0x1228], esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetUserObjectInformationW]
push 0
push 0xc
lea eax, [ebp - 0x1228]
push eax
mov eax, dword [edi + 8]
push esi
push dword [eax + 0x10]
call ebx
push 0xc
lea eax, [ebp - 0x1228]
push eax
mov eax, dword [edi + 8]
push esi
mov dword [ebp - 0x1228], esi
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_SetUserObjectInformationW]
xor ebx, ebx
cmp dword [ebp - 0x1218], ebx
jne 0x1028ca3
push 2
push edi
call fcn.01031e59
jmp 0x1028ccf
mov eax, dword [edi + 8]
push dword [eax + 8]
lea eax, [ebp - 0x20c]
push 0x1011f70
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x10
push 0x258
push 0x320
call fcn.010289d3
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
lea eax, [ebp - 0xa0c]
push 0xa0
mov dword [ebp - 0x1210], eax
call esi
push 0xa1
mov dword [ebp - 0x1230], eax
call esi
cmp dword [0x1076c84], ebx
mov ecx, 0x8000
je 0x1028d04
mov eax, ecx
mov edx, eax
or edx, dword [ebp - 0x1230]
test cx, dx
je 0x1028d45
test cx, ax
mov eax, 0x1012d04
jne 0x1028d20
mov eax, 0x1010d74
lea ecx, [ebp - 0xa0c]
push ecx
push eax
lea eax, [ebp - 0x120c]
push 0x1012cec
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x120c]
jmp 0x1028d4b
mov ecx, dword [ebp - 0x1210]
cmp dword [ebp - 0x1218], ebx
lea eax, [ebp - 0x20c]
jne 0x1028d5e
mov eax, 0x1012ccc
push ebx
lea edx, [ebp - 0x1214]
push edx
push ebx
push ebx
push ebx
push 0x80000000
push 2
push eax
push ecx
call fcn.01029a08
test eax, eax
je 0x1028df0
cmp dword [ebp - 0x1214], ebx
je 0x1028df0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1076c80], eax
lea eax, [ebp - 0x1234]
push eax
push ebx
push dword [ebp - 0x1214]
push 0x1028a2c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp - 0x1210], eax
je 0x1028de4
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1028dc8
lea eax, [ebp - 0x1250]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x1250]
push ebx
push eax
call esi
test eax, eax
jne 0x1028dbb
push dword [ebp - 0x1210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
call fcn.01031e59
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0103e4d8
leave
ret 4