Function at 0x10026020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x558
push esi
push edi
lea edi, [ebp - 0x558]
mov ecx, 0x156
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10363590]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.1002a1b0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10026080
mov esi, esp
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
cmp esi, esp
call fcn.101b9ab0
jmp 0x100267b0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x514], edx
cmp dword [ebp - 0x514], 0x20
ja 0x100260cf
cmp dword [ebp - 0x514], 0x20
je 0x10026734
mov eax, dword [ebp - 0x514]
sub eax, 2
mov dword [ebp - 0x514], eax
cmp dword [ebp - 0x514], 0x12
ja case.0x100260c8.1
mov ecx, dword [ebp - 0x514]
movzx edx, byte [ecx + 0x1002689c]
jmp dword [edx*4 + 0x10026888]
cmp dword [ebp - 0x514], 0x100
ja 0x100260f9
cmp dword [ebp - 0x514], 0x100
je 0x1002675d
cmp dword [ebp - 0x514], 0x46
je 0x1002611e
jmp case.0x100260c8.1
cmp dword [ebp - 0x514], 0x200
jb case.0x100260c8.1
cmp dword [ebp - 0x514], 0x209
jbe 0x1002619b
jmp case.0x100260c8.1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x510]
push edx
call fcn.10027c10
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
add edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
add ecx, 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], ecx
jmp case.0x100260c8.1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0
je 0x1002650b
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 0x10]
and ecx, 1
je 0x100261ca
mov dword [ebp - 0x518], 1
jmp 0x100261d4
mov dword [ebp - 0x518], 0
mov edx, dword [ebp + 0x10]
and edx, 2
je 0x100261e8
mov dword [ebp - 0x51c], 2
jmp 0x100261f2
mov dword [ebp - 0x51c], 0
mov eax, dword [ebp + 0x10]
and eax, 0x10
je 0x10026206
mov dword [ebp - 0x520], 4
jmp 0x10026210
mov dword [ebp - 0x520], 0
mov ecx, dword [ebp + 0x10]
and ecx, 8
je 0x10026224
mov dword [ebp - 0x524], 8
jmp 0x1002622e
mov dword [ebp - 0x524], 0
mov edx, dword [ebp + 0x10]
and edx, 4
je 0x10026242
mov dword [ebp - 0x528], 0x10
jmp 0x1002624c
mov dword [ebp - 0x528], 0
mov esi, esp
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.101b9ab0
cwde
test eax, eax
jge 0x1002626e
mov dword [ebp - 0x52c], 0x20
jmp 0x10026278
mov dword [ebp - 0x52c], 0
mov ecx, dword [ebp - 0x518]
or ecx, dword [ebp - 0x51c]
or ecx, dword [ebp - 0x520]
or ecx, dword [ebp - 0x524]
or ecx, dword [ebp - 0x528]
or ecx, dword [ebp - 0x52c]
mov dword [ebp - 0x70], ecx
cmp dword [ebp + 0xc], 0x201
jne 0x100262b7
mov dword [ebp - 0x530], 1
jmp 0x100263d5
cmp dword [ebp + 0xc], 0x204
jne 0x100262cf
mov dword [ebp - 0x534], 2
jmp 0x100263c9
cmp dword [ebp + 0xc], 0x207
jne 0x100262e7
mov dword [ebp - 0x538], 3
jmp 0x100263bd
cmp dword [ebp + 0xc], 0x202
jne 0x100262ff
mov dword [ebp - 0x53c], 4
jmp 0x100263b1
cmp dword [ebp + 0xc], 0x205
jne 0x10026317
mov dword [ebp - 0x540], 5
jmp 0x100263a5
cmp dword [ebp + 0xc], 0x208
jne 0x1002632c
mov dword [ebp - 0x544], 6
jmp 0x10026399
cmp dword [ebp + 0xc], 0x203
jne 0x10026341
mov dword [ebp - 0x548], 7
jmp 0x1002638d
cmp dword [ebp + 0xc], 0x206
jne 0x10026356
mov dword [ebp - 0x54c], 8
jmp 0x10026381
cmp dword [ebp + 0xc], 0x209
jne 0x1002636b
mov dword [ebp - 0x550], 9
jmp 0x10026375
mov dword [ebp - 0x550], 0
mov edx, dword [ebp - 0x550]
mov dword [ebp - 0x54c], edx
mov eax, dword [ebp - 0x54c]
mov dword [ebp - 0x548], eax
mov ecx, dword [ebp - 0x548]
mov dword [ebp - 0x544], ecx
mov edx, dword [ebp - 0x544]
mov dword [ebp - 0x540], edx
mov eax, dword [ebp - 0x540]
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x538], ecx
mov edx, dword [ebp - 0x538]
mov dword [ebp - 0x534], edx
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp - 0x530]
mov dword [ebp - 0x74], ecx
cmp dword [ebp + 0xc], 0x201
je 0x100263f9
cmp dword [ebp + 0xc], 0x204
je 0x100263f9
cmp dword [ebp + 0xc], 0x207
jne 0x1002640c
mov esi, esp
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
cmp esi, esp
call fcn.101b9ab0
cmp dword [ebp + 0xc], 0x202
je 0x10026427
cmp dword [ebp + 0xc], 0x205
je 0x10026427
cmp dword [ebp + 0xc], 0x208
jne 0x10026436
mov esi, esp
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp esi, esp
call fcn.101b9ab0
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp + 0x14]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x3c], eax
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.101b9ab0
push 0
push 0
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10028970
add esp, 0x10
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
cmp eax, 1
jge 0x1002649b
mov dword [ebp - 0x554], 1
jmp 0x100264a7
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x54]
mov dword [ebp - 0x554], ecx
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 0x58]
cmp edx, 1
jge 0x100264be
mov dword [ebp - 0x558], 1
jmp 0x100264ca
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x558], eax
mov esi, esp
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x64]
cdq
idiv dword [ebp - 0x554]
push eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x558]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c]
call eax
add esp, 0x14
cmp esi, esp
call fcn.101b9ab0
jmp case.0x100260c8.1
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x1c], 0
je 0x100266e9
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10028970
add esp, 0x10
mov esi, esp
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0xdc], eax
mov esi, esp
push 3
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp esi, esp
call fcn.101b9ab0
cmp dword [ebp - 0x7c], 1
jne 0x10026619
mov dword [ebp - 0x4e8], 0
jmp 0x100265ae
mov edx, dword [ebp - 0x4e8]
add edx, 1
mov dword [ebp - 0x4e8], edx
cmp dword [ebp - 0x4e8], 0x100
jge 0x100265f5
mov eax, dword [ebp - 0x4e8]
mov cl, byte [ebp - 0x4e8]
mov byte [ebp + eax*4 - 0x4e0], cl
mov edx, dword [ebp - 0x4e8]
mov al, byte [ebp - 0x4e8]
mov byte [ebp + edx*4 - 0x4df], al
mov ecx, dword [ebp - 0x4e8]
mov dl, byte [ebp - 0x4e8]
mov byte [ebp + ecx*4 - 0x4de], dl
jmp 0x1002659f
mov esi, esp
lea eax, [ebp - 0x4e0]
push eax
push 0xff
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
cmp esi, esp
call fcn.101b9ab0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 1
je 0x1002665e
mov esi, esp
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
push 0
push 0
mov eax, dword [ebp - 0xdc]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, esp
call fcn.101b9ab0
jmp 0x100266cd
mov esi, esp
lea ecx, [ebp - 0x4fc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0xcc0020
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x4f0]
sub edx, dword [ebp - 0x4f8]
push edx
mov eax, dword [ebp - 0x4f4]
sub eax, dword [ebp - 0x4fc]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
cmp esi, esp
call fcn.101b9ab0
jmp 0x1002670d
mov esi, esp
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
cmp esi, esp
call fcn.101b9ab0
jmp 0x100267b0
xor eax, eax
jmp 0x100267b0
mov edx, dword [ebp - 8]
cmp dword [edx + 0x1c], 0
je 0x10026724
xor eax, eax
jmp 0x100267b0
jmp case.0x100260c8.1
mov eax, dword [ebp - 8]
push eax
call fcn.10028f60
add esp, 4
jmp case.0x100260c8.1
mov esi, esp
push 0xfffffffffffffff4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClassLongA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp esi, esp
call fcn.101b9ab0
xor eax, eax
jmp 0x100267b0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x20], eax
xor eax, eax
jmp 0x100267b0
mov ecx, dword [ebp + 0x14]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 8]
mov dword [eax + 0x4c], edx
mov esi, esp
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
cmp esi, esp
call fcn.101b9ab0
push edx
mov ecx, ebp
push eax
lea edx, [0x100267e0]
call fcn.101b9a50
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101b9ae0
add esp, 0x558
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret 0x10