Function at 0x101e2e5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x101e31c
call fcn.0100c756
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.0100c6e8
test eax, eax
jne 0x101e323
xor eax, eax
jmp 0x101e525
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
xor ecx, ecx
shr eax, 0xf
and al, 1
mov ch, al
or ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
call fcn.0100c715
cmp dword [ebp + 0x10], esi
mov ebx, eax
je 0x101e3d9
movzx eax, word [ebp + 0xc]
xor ecx, ecx
inc ecx
add eax, 0xffffffdf
cmp eax, 7
mov dword [ebp - 8], ecx
ja case.default.0x101e360
jmp dword [eax*4 + 0x101e52a]
mov dword [ebp - 4], 4
jmp 0x101e377
mov dword [ebp - 4], 3
mov esi, ecx
jmp 0x101e3dc
mov dword [ebp - 4], 4
push 2
jmp 0x101e3d3
mov dword [ebp - 4], 3
jmp 0x101e382
mov dword [ebp - 4], 2
push 0x11
call edi
mov si, ax
and si, 0x8000
neg si
sbb esi, esi
inc esi
jmp 0x101e3ce
mov dword [ebp - 4], ecx
jmp 0x101e396
mov dword [ebp - 4], 5
jmp 0x101e3bf
mov dword [ebp - 4], 6
push 0x11
call edi
test ah, ah
js 0x101e3d1
cmp dword [ebx + 0x70], esi
je 0x101e3d1
xor esi, esi
inc esi
jmp 0x101e3dc
push 3
pop esi
jmp 0x101e3dc
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [0x1039560]
je 0x101e40f
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
setne cl
push ecx
push eax
call fcn.01021632
push eax
push dword [ebp + 0xc]
call fcn.0100b377
test eax, eax
je 0x101e4ac
xor esi, esi
inc esi
jmp 0x101e519
cmp dword [ebp + 0x10], 0
jne 0x101e42d
push 0
push 0xffffffffffffffff
push dword [ebp + 0xc]
call fcn.0100b377
test eax, eax
je 0x101e42d
xor eax, eax
inc eax
jmp 0x101e523
movzx eax, word [ebp + 0xc]
cmp eax, 9
je 0x101e45b
cmp eax, 0xd
jne 0x101e4ac
cmp dword [ebp + 0x10], 0
je 0x101e4ac
push ebx
push dword [ebp + 8]
call fcn.0101d4d2
mov edi, eax
test edi, edi
je 0x101e4ac
push 2
push ebx
call fcn.010250e9
push edi
jmp 0x101e4a3
push 0x12
call edi
test ah, ah
js 0x101e4ac
cmp dword [ebp + 0x10], 0
je 0x101e4ac
push ebx
push dword [ebp + 8]
call fcn.0101d4d2
test eax, eax
mov dword [ebp + 0x10], eax
je 0x101e4ac
push 0x10
call edi
shr eax, 0xf
and eax, 1
push eax
push ebx
call fcn.010250e9
cmp eax, 3
jne 0x101e4a0
push 0x10
call edi
shr eax, 0xf
and eax, 1
push eax
push ebx
call fcn.010250e9
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.0101d4ef
cmp dword [ebp - 4], 0
je 0x101e516
push ebx
push dword [ebp + 8]
call fcn.0101d4d2
mov edi, eax
test edi, edi
je 0x101e50f
push 1
push esi
push dword [ebp - 4]
push ebx
call fcn.010248fb
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ax, word [ebp - 0x14]
mov word [ebp + 0x10], ax
mov ax, word [ebp - 0x10]
push 0
mov word [ebp + 0x12], ax
push 0x200
lea eax, [ebp + 0x10]
push eax
push ebx
call fcn.01024b4f
push edi
push ebx
push dword [ebp + 8]
call fcn.0101d4ef
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0100c6e8
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret 0xc