Function at 0x10013ab0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x2c8]
push ebx
call fcn.10011a00
test eax, eax
je 0x10013b84
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
push 0x11
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je case.0x10013b13.46
mov eax, dword [ebp + 8]
add eax, 0xffffffd3
cmp eax, 0x3e
ja case.0x10013b13.46
movzx eax, byte [eax + 0x10014298]
jmp dword [eax*4 + 0x10014280]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x190]
jmp case.0x10013b13.46
push 0
mov ecx, edi
call fcn.1000d2b0
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x10013b13.46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x184]
jmp case.0x10013b13.46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x188]
jmp case.0x10013b13.46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18c]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov ecx, dword [ebp + 8]
je 0x10013b94
cmp ecx, 0x2d
jne 0x10013b94
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18c]
mov ecx, edi
call fcn.100c6625
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 0x2e
jne 0x10013ba8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x164]
jmp 0x10014097
cmp ecx, 0x28
jne 0x10013be9
mov eax, esi
mov dword [ebp - 0x10], eax
lea esi, [eax + 1]
mov dword [ebp - 0x24], esi
cmp esi, dword [edi + 0x118]
jge 0x10013c20
push esi
mov ecx, edi
call fcn.100106b0
test eax, eax
jg 0x10014097
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [edi + 0x118]
jl 0x10013bc0
mov eax, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x24], esi
jmp 0x10014097
cmp ecx, 0x26
jne 0x10013c2a
mov eax, esi
mov dword [ebp - 0x10], eax
lea esi, [eax - 1]
mov dword [ebp - 0x24], esi
cmp eax, dword [edi + 0x11c]
jle 0x10013c20
push esi
mov ecx, edi
call fcn.100106b0
test eax, eax
jg 0x10014097
dec esi
mov dword [ebp - 0x24], esi
cmp esi, dword [edi + 0x11c]
jge 0x10013c01
mov eax, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x24], esi
jmp 0x10014097
cmp ecx, 0x27
je 0x10013ff3
cmp ecx, 9
jne 0x10013d0e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10013cd2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10013b84
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov eax, ebx
mov dword [ebp - 0x18], eax
lea ebx, [eax - 1]
mov dword [ebp - 0x20], ebx
mov eax, ebx
cmp ecx, 9
jne 0x10013fba
mov eax, dword [edi + 0x124]
dec eax
cmp ebx, eax
jne 0x10013fb1
mov eax, dword [edi + 0x11c]
cmp esi, eax
jle 0x10013fb1
dec esi
mov dword [ebp - 0x24], esi
cmp esi, eax
jle 0x10013f9e
push esi
mov ecx, edi
call fcn.100106b0
test eax, eax
jg 0x10013f97
dec esi
mov dword [ebp - 0x24], esi
cmp esi, dword [edi + 0x11c]
jg 0x10013cb1
jmp 0x10013f9e
cmp byte [edi + 0x4a6], 0
je 0x10013ff0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.100c6c17
test eax, eax
je 0x10013b8b
push 0
push 0
push 0x28
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 0x25
je 0x10013c6b
cmp ecx, 0x22
jne 0x10013d7a
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10010900
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 3
push 0x115
push dword [edi + 0x20]
call eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.10010900
mov eax, dword [edi + 0x118]
mov ecx, dword [ebp - 0x1c]
dec eax
sub ecx, dword [ebp - 0x14]
je 0x10013c20
add esi, ecx
mov dword [ebp - 0x24], esi
cmp esi, eax
jle 0x10014097
mov esi, eax
mov dword [ebp - 0x24], esi
jmp 0x10014097
cmp ecx, 0x21
jne 0x10013ddc
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10010900
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 2
push 0x115
push dword [edi + 0x20]
call eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.10010900
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x11c]
sub ecx, dword [ebp - 0x14]
je 0x10013c20
add esi, ecx
mov dword [ebp - 0x24], esi
cmp esi, eax
jge 0x10014097
mov esi, eax
mov dword [ebp - 0x24], esi
jmp 0x10014097
cmp ecx, 0x24
jne 0x10013eab
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov eax, dword [edi + 0x20]
push 0
push 6
je 0x10013e2c
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x115
push eax
call ebx
push 0
push 6
push 0x114
push dword [edi + 0x20]
call ebx
mov esi, dword [edi + 0x11c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], esi
jmp 0x10013e39
push 0x114
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
call eax
mov eax, dword [edi + 0x120]
mov ebx, dword [edi + 0x124]
dec eax
mov dword [ebp - 0x20], ebx
cmp ebx, eax
jge 0x10013e6b
nop dword [eax]
push ebx
mov ecx, edi
call fcn.1000fb00
test eax, eax
jg 0x10013e6b
mov eax, dword [edi + 0x120]
inc ebx
dec eax
mov dword [ebp - 0x20], ebx
cmp ebx, eax
jl 0x10013e50
mov eax, dword [edi + 0x118]
dec eax
cmp esi, eax
jge 0x10013f61
nop word [eax + eax]
push esi
mov ecx, edi
call fcn.100106b0
test eax, eax
jg 0x10013f61
mov eax, dword [edi + 0x118]
inc esi
dec eax
mov dword [ebp - 0x24], esi
cmp esi, eax
jl 0x10013e80
mov dword [ebp - 8], 1
jmp 0x10014097
cmp ecx, 0x23
jne 0x10013f6d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov eax, dword [edi + 0x20]
push 0
push 7
je 0x10013efc
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x115
push eax
call ebx
push 0
push 7
push 0x114
push dword [edi + 0x20]
call ebx
mov esi, dword [edi + 0x118]
dec esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], esi
jmp 0x10013f09
push 0x114
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
call eax
mov ebx, dword [edi + 0x120]
mov eax, dword [edi + 0x124]
dec ebx
inc eax
mov dword [ebp - 0x20], ebx
cmp ebx, eax
jle 0x10013f3b
nop
push ebx
mov ecx, edi
call fcn.1000fb00
test eax, eax
jg 0x10013f3b
mov eax, dword [edi + 0x124]
dec ebx
inc eax
mov dword [ebp - 0x20], ebx
cmp ebx, eax
jg 0x10013f20
mov eax, dword [edi + 0x11c]
inc eax
cmp esi, eax
jle 0x10013f61
push esi
mov ecx, edi
call fcn.100106b0
test eax, eax
jg 0x10013f61
mov eax, dword [edi + 0x11c]
dec esi
inc eax
mov dword [ebp - 0x24], esi
cmp esi, eax
jg 0x10013f46
mov dword [ebp - 8], 1
jmp 0x10014097
cmp ecx, 0x71
jne 0x10013b84
mov eax, dword [edi]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [edi + 0x2cc]
push dword [edi + 0x2c8]
call dword [eax + 0x1c0]
jmp 0x10014097
mov dword [ebp - 0x10], 1
mov ebx, dword [edi + 0x120]
dec ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x20], ebx
jmp 0x10013fb8
mov ecx, edi
call fcn.100c6625
mov eax, ebx
cmp eax, dword [edi + 0x124]
jl 0x10013fde
push ebx
mov ecx, edi
call fcn.1000fb00
test eax, eax
jg 0x10014097
dec ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [edi + 0x124]
jge 0x10013fc2
cmp dword [ebp - 0x10], 0
jne 0x10014097
mov ebx, dword [ebp - 0x18]
jmp 0x10014094
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov eax, ebx
mov dword [ebp - 0x18], eax
lea ebx, [eax + 1]
mov dword [ebp - 0x20], ebx
mov eax, ebx
cmp ecx, 9
jne 0x1001406c
cmp ebx, dword [edi + 0x120]
jne 0x10014063
mov ecx, dword [edi + 0x118]
lea eax, [ecx - 1]
cmp esi, eax
jge 0x10014063
inc esi
mov dword [ebp - 0x24], esi
cmp esi, ecx
jge 0x10014051
nop dword [eax]
push esi
mov ecx, edi
call fcn.100106b0
test eax, eax
jg 0x1001404a
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [edi + 0x118]
jl 0x10014030
jmp 0x10014051
mov dword [ebp - 0x10], 1
mov ebx, dword [edi + 0x124]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], 1
jmp 0x1001406a
mov ecx, edi
call fcn.100c6625
mov eax, ebx
cmp eax, dword [edi + 0x120]
jge 0x1001408c
push ebx
mov ecx, edi
call fcn.1000fb00
test eax, eax
jg 0x10014097
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [edi + 0x120]
jl 0x10014074
cmp dword [ebp - 0x10], 0
cmove ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
cmp esi, dword [edi + 0x2c8]
jne 0x100140ab
cmp ebx, dword [edi + 0x2cc]
je 0x10013b8b
cmp dword [edi + 0x29c], 0
jne 0x10014121
lea ecx, [edi + 0x30c]
call fcn.10018460
mov eax, dword [edi + 0xc4]
neg eax
push 0x10
sbb eax, eax
add eax, 4
mov dword [edi + 0x29c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100140ea
cmp dword [ebp + 8], 9
jne 0x100140f6
mov dword [edi + 0x2c0], esi
mov dword [edi + 0x2c4], ebx
push 0xffffffffffffff9c
push ebx
push esi
mov ecx, edi
call fcn.10018ec0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.10015f40
push 0xffffffffffffff9b
push ebx
push esi
mov ecx, edi
call fcn.10018ec0
mov dword [edi + 0x29c], 0
push ebx
push esi
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.10019800
push ebx
push esi
mov ecx, edi
call fcn.10011980
test eax, eax
jne 0x1001423a
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x1f
ja case.0x10014155.10
movzx eax, byte [eax + 0x100142f0]
jmp dword [eax*4 + 0x100142d8]
push 0
push 1
push 0x114
push dword [edi + 0x20]
jmp 0x10014217
push 0
push 0
push 0x114
push dword [edi + 0x20]
jmp 0x10014217
push 0
push 1
push 0x115
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 1
jmp case.0x10014155.10
push 0
push 0
jmp 0x10014182
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov eax, dword [edi + 0x20]
push 0
je 0x100141e7
cmp dword [ebp - 0xc], 0
push 0
je 0x10014211
push 0x115
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [edi + 0x154]
mov ecx, edi
mov dword [ebp - 4], 1
push 0
call fcn.1001a560
jmp case.0x10014155.10
cmp dword [ebp - 0xc], 0
push 1
je 0x10014211
push 0x115
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
push 0
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.1001a560
jmp case.0x10014155.10
push 0x114
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 8], 1
push ebx
push esi
mov ecx, edi
call fcn.1000e400
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push esi
mov ecx, edi
call fcn.1000e400
cmp dword [ebp - 8], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
je 0x1001425d
push 0
push 8
push 0x114
push dword [edi + 0x20]
call ebx
cmp dword [ebp - 4], 0
je 0x10013b8b
push 0
push 8
push 0x115
push dword [edi + 0x20]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc