Function at 0x1031301
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 0x103157d
je 0x103156c
add eax, 0xfffffff4
cmp edi, eax
ja 0x10314e5
je 0x10314cb
cmp edi, 0x130
je 0x10314b1
cmp edi, 0x131
je 0x1031482
cmp edi, 0x132
je 0x1031449
cmp edi, 0x191
je 0x103143d
mov eax, 0x192
cmp edi, eax
je 0x1031414
jbe 0x103178b
cmp edi, 0x195
ja 0x103178b
call fcn.0102f6bb
test eax, eax
je 0x103178b
xor eax, eax
cmp edi, 0x193
setne al
mov ecx, esi
add eax, 0x217
push eax
call fcn.0102ec4d
push 1
xor ebx, ebx
push ebx
push 3
push ebx
mov ecx, esi
call fcn.01002250
cmp edi, 0x193
push ebx
push ebx
push ebx
jne 0x10313d3
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CascadeWindows]
jmp 0x10313ec
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 + 0x424], ebx
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push ebx
push 3
push ebx
mov ecx, esi
call fcn.01002250
jmp 0x103178b
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.0102f873
push dword [0x1046088]
call dword [sym.imp.SHELL32.dll_Ordinal_54]
jmp 0x103178b
mov ecx, esi
call fcn.0101bcbe
jmp 0x103178b
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jne 0x103178b
push ebx
push ebx
push 0xf2
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 4
je 0x103178b
push dword [esi + 0x34]
mov ecx, esi
call fcn.0102dd98
mov ecx, esi
call fcn.0102f6d4
jmp 0x103178b
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 + 0x34]
call edi
push ebx
push ebx
push 0xf3
push dword [esi + 0x34]
call edi
jmp 0x103178b
push 0
push 0x132
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x103178b
xor eax, eax
cmp dword [0x104608c], eax
push 1
sete al
mov ecx, esi
push eax
call fcn.010039fa
jmp 0x103178b
sub edi, 0x198
je 0x1031559
dec edi
dec edi
je 0x103154c
dec edi
je 0x1031537
dec edi
dec edi
je 0x1031529
dec edi
dec edi
je 0x1031511
dec edi
jne 0x103178b
push 0
mov ecx, esi
call fcn.01030718
jmp 0x103178b
push 0
mov ecx, esi
call fcn.0102f18f
mov dword [esi + 0x424], 1
jmp 0x103178b
push 1
mov ecx, esi
call fcn.0103028b
jmp 0x103178b
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x1030837
call dword [sym.imp.SHLWAPI.dll_SHCreateThread]
jmp 0x103178b
xor ebx, ebx
push ebx
push 1
push ebx
push 0x102f1bb
jmp 0x1031541
push dword [esi + 4]
push 0x102657c
call dword [sym.imp.SHELL32.dll_Ordinal_161]
jmp 0x103178b
push 0x1f5
mov ecx, esi
call fcn.0101b60b
jmp 0x103178b
mov eax, 0x1fe
cmp edi, eax
ja 0x1031659
je 0x103163b
mov eax, edi
sub eax, 0x1a4
je 0x1031631
dec eax
je 0x103162a
sub eax, 3
je 0x10315ef
sub eax, 0x4f
je 0x10315e0
dec eax
dec eax
je 0x103163b
dec eax
jne 0x103178b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x1046088]
mov ecx, esi
call fcn.01031219
jmp 0x103178b
push 0x2dc
call fcn.0102f0c0
jmp 0x103178b
xor eax, eax
cmp dword [esi + 0x4fc], eax
push 2
sete al
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x1018734
push 0x100c568
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
mov ecx, esi
call fcn.010186ca
mov ecx, esi
call fcn.01016a73
jmp 0x103178b
push 5
jmp 0x103152b
call fcn.01038637
jmp 0x103178b
xor eax, eax
cmp edi, 0x1f9
setne al
push 2
add eax, 3
push eax
push dword [esi + 4]
call fcn.0101b7f1
jmp 0x103178b
sub edi, 0x1388
je 0x103176e
dec edi
je 0x1031767
sub edi, 0x8ca7
je 0x10316af
sub edi, 0x35
je 0x10316a3
sub edi, 0x20
je 0x1031694
dec edi
jne 0x103178b
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_Ordinal_91]
jmp 0x103178b
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHFindFiles]
jmp 0x103178b
mov ecx, esi
call fcn.01030f69
jmp 0x103178b
mov dword [ebp - 0x18], 0x100
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 0x103173d
push edi
push dword [esi + 0x34]
call fcn.01006e9e
test eax, eax
je 0x1031721
cmp dword [ebp + 8], ebx
jne 0x1031736
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_Ordinal_479]
jmp 0x103178b
push edi
push dword [esi + 0x3a4]
call fcn.01006e9e
test eax, eax
je 0x103173d
cmp dword [ebp + 8], ebx
jne 0x1031710
call fcn.0102f099
jmp 0x103178b
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_Ordinal_478]
test eax, eax
je 0x103178b
cmp dword [ebp + 8], ebx
mov ecx, esi
je 0x103175f
push dword [esi + 0x34]
call fcn.0102dd98
jmp 0x103178b
push dword [esi + 0x3a4]
jmp 0x1031758
call fcn.01027551
jmp 0x103178b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x1046088]
call dword [sym.imp.SHELL32.dll_Ordinal_254]
pop edi
pop esi
pop ebx
leave
ret 4