Function at 0x1015939
Capabilities:
Log keystrokes via polling
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x1a3
cmp edi, eax
mov esi, ecx
ja 0x1026776
je 0x1026765
add eax, 0xfffffff4
cmp edi, eax
ja 0x10266de
je 0x10266c4
cmp edi, 0x130
je 0x10159c0
cmp edi, 0x131
je 0x1026695
cmp edi, 0x132
jne 0x10265a5
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jne 0x10159b9
push ebx
push ebx
push 0xf2
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 4
je 0x10159b9
push dword [esi + 0x38]
mov ecx, esi
call fcn.0101629c
mov ecx, esi
call fcn.01015bd4
pop edi
pop esi
pop ebx
leave
ret 4
push 0
push 0x132
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10159b9
cmp edi, 0x191
je 0x1026689
mov eax, 0x192
cmp edi, eax
je 0x1026660
jbe 0x10159b9
cmp edi, 0x195
ja 0x10159b9
call fcn.010324bc
test eax, eax
je 0x10159b9
xor eax, eax
cmp edi, 0x193
setne al
mov ecx, esi
add eax, 0x217
push eax
call fcn.01031958
push 1
xor ebx, ebx
push ebx
push 3
push ebx
mov ecx, esi
call fcn.010027ba
cmp edi, 0x193
push ebx
push ebx
push ebx
jne 0x102661f
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CascadeWindows]
jmp 0x1026638
xor eax, eax
cmp edi, 0x195
setne al
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_TileWindows]
push ebx
push 0x1f4
push 0x12
push dword [esi + 4]
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push ebx
push 3
push ebx
mov ecx, esi
call fcn.010027ba
jmp 0x10159b9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.010324d5
push dword [0x1046070]
call dword [sym.imp.SHELL32.dll_Ordinal_54]
jmp 0x10159b9
mov ecx, esi
call fcn.0101fbd9
jmp 0x10159b9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push 1
push 0xf3
push dword [esi + 0x38]
call edi
push ebx
push ebx
push 0xf3
push dword [esi + 0x38]
call edi
jmp 0x10159b9
xor eax, eax
cmp dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
push 1
sete al
mov ecx, esi
push eax
call fcn.01003966
jmp 0x10159b9
sub edi, 0x198
je 0x1026752
dec edi
dec edi
je 0x1026745
dec edi
je 0x1026730
dec edi
dec edi
je 0x1026722
dec edi
dec edi
je 0x102670a
dec edi
jne 0x10159b9
push 0
mov ecx, esi
call fcn.01033378
jmp 0x10159b9
push 0
mov ecx, esi
call fcn.01031e9f
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
jmp 0x10159b9
push 1
mov ecx, esi
call fcn.01032eef
jmp 0x10159b9
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x103346b
call dword [sym.imp.SHLWAPI.dll_SHCreateThread]
jmp 0x10159b9
xor ebx, ebx
push ebx
push 1
push ebx
push 0x1031ecb
jmp 0x102673a
push dword [esi + 4]
push 0x1029ddc
call dword [sym.imp.SHELL32.dll_Ordinal_161]
jmp 0x10159b9
push 0x1f5
mov ecx, esi
call fcn.0101fba9
jmp 0x10159b9
mov eax, 0x1fe
cmp edi, eax
ja 0x1026852
je 0x1026834
mov eax, edi
sub eax, 0x1a4
je 0x102682a
dec eax
je 0x1026823
sub eax, 3
je 0x10267e8
sub eax, 0x4f
je 0x10267d9
dec eax
dec eax
je 0x1026834
dec eax
jne 0x10159b9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x1046070]
mov ecx, esi
call fcn.01033f31
jmp 0x10159b9
push 0x2dc
call fcn.01031dd0
jmp 0x10159b9
xor eax, eax
cmp dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
push 2
sete al
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x101b720
push 0x100bbe8
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
mov ecx, esi
call fcn.0101b6b5
mov ecx, esi
call fcn.010189cf
jmp 0x10159b9
push 5
jmp 0x1026724
call fcn.0103ac35
jmp 0x10159b9
xor eax, eax
cmp edi, 0x1f9
setne al
push 2
add eax, 3
push eax
push dword [esi + 4]
call fcn.0103ab7d
jmp 0x10159b9
sub edi, 0x1388
je 0x1026977
dec edi
je 0x102696d
sub edi, 0x8ca7
je 0x10268a8
sub edi, 0x35
je 0x102689c
sub edi, 0x20
je 0x102688d
dec edi
jne 0x10159b9
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_Ordinal_91]
jmp 0x10159b9
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHFindFiles]
jmp 0x10159b9
mov ecx, esi
call fcn.01033c7d
jmp 0x10159b9
mov dword [ebp - 0x18], reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov dword [ebp - 0x14], 9
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetFocus]
push ebx
push 0x10002
push 0x128
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
setl cl
cmp edi, ebx
mov dword [ebp + 8], ecx
je 0x102693c
push edi
push dword [esi + 0x38]
call fcn.0101f8b2
test eax, eax
je 0x102691d
cmp dword [ebp + 8], ebx
jne 0x1026932
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [esi + 0x40]
call dword [sym.imp.SHLWAPI.dll_Ordinal_479]
jmp 0x10159b9
push edi
push dword [esi + 0x3a8]
call fcn.0101f8b2
test eax, eax
je 0x102693c
cmp dword [ebp + 8], ebx
jne 0x1026909
call fcn.01031da9
jmp 0x10159b9
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x40]
call dword [sym.imp.SHLWAPI.dll_Ordinal_478]
test eax, eax
je 0x10159b9
cmp dword [ebp + 8], ebx
mov ecx, esi
je 0x1026965
push dword [esi + 0x38]
call fcn.0101629c
jmp 0x10159b9
push dword [esi + 0x3a8]
jmp 0x102695b
call fcn.0102ac9d
jmp 0x10159b9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x1046070]
call dword [sym.imp.SHELL32.dll_Ordinal_254]
jmp 0x10159b9