Function at 0x10285ca
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.0103d5b9
mov eax, dword [0x10723e4]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.010283d3
mov dword [ebp - 0x1218], eax
call fcn.01027d68
lea eax, [ebp - 0x121c]
push eax
push 0x1012764
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor esi, esi
test eax, eax
jne 0x102864b
lea eax, [ebp - 0x122c]
push eax
lea eax, [ebp - 0xa0c]
push eax
push esi
push esi
push 0x1012a2c
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.01027e39
mov eax, dword [0x10733c0]
cmp eax, 4
je 0x1028671
cmp eax, 2
je 0x1028671
push esi
push 0x1010fe0
push 0x1010acc
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 0x10286ed
push 2
push edi
call fcn.010317b0
jmp 0x1028719
mov eax, dword [edi + 8]
push dword [eax + 8]
lea eax, [ebp - 0x20c]
push 0x1011cb0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x10
push 0x258
push 0x320
call fcn.0102841d
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 [0x1075ba4], ebx
mov ecx, 0x8000
je 0x102874e
mov eax, ecx
mov edx, eax
or edx, dword [ebp - 0x1230]
test cx, dx
je 0x102878f
test cx, ax
mov eax, 0x1012a24
jne 0x102876a
mov eax, 0x1010ab4
lea ecx, [ebp - 0xa0c]
push ecx
push eax
lea eax, [ebp - 0x120c]
push 0x1012a0c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x120c]
jmp 0x1028795
mov ecx, dword [ebp - 0x1210]
cmp dword [ebp - 0x1218], ebx
lea eax, [ebp - 0x20c]
jne 0x10287a8
mov eax, 0x10129ec
push ebx
lea edx, [ebp - 0x1214]
push edx
push ebx
push ebx
push ebx
push 0x80000000
push 2
push eax
push ecx
call fcn.01029452
test eax, eax
je 0x102883a
cmp dword [ebp - 0x1214], ebx
je 0x102883a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1075ba0], eax
lea eax, [ebp - 0x1234]
push eax
push ebx
push dword [ebp - 0x1214]
push 0x1028476
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp - 0x1210], eax
je 0x102882e
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1028812
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 0x1028805
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.010317b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0103d24a
leave
ret 4