Function at 0x10088f94
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x20
mov eax, 0x101d3628
call fcn.101a7347
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jne 0x10088fae
mov dword [ebp - 0x24], edi
jmp 0x10088fb4
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x28], eax
call fcn.1006fdf7
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
cmp eax, 0x100
jb 0x10088fe2
cmp eax, 0x109
jbe 0x10088ff0
add eax, 0xfffffe00
cmp eax, 9
ja 0x10089119
test esi, esi
je 0x10089119
cmp dword [esi + 0x74], edi
jne 0x10089025
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1006fdf7
cmp eax, ebx
je 0x10089025
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1006fdf7
mov esi, eax
test esi, esi
jne 0x10088ff8
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1008905a
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x1008905a
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x1008905a
mov eax, dword [ecx]
push dword [ebp + 0xc]
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x101e0a88]
call esi
test eax, eax
jne 0x10089057
inc eax
jmp 0x100891c7
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, 0x101
je 0x10089076
cmp eax, 0x100
je 0x10089076
cmp eax, 0x102
jne 0x10089114
test esi, esi
je 0x10089114
mov edx, dword [esi + 0x74]
test edx, edx
je 0x10089114
mov eax, dword [ebp + 0xc]
push 0xd
pop ecx
movzx esi, word [eax + 8]
cmp si, cx
jne 0x100890a5
test byte [edx + 0x84], 1
jne 0x10089155
push 0x1b
pop ecx
cmp si, cx
jne 0x100890ba
test byte [edx + 0x84], 2
jne 0x10089155
mov esi, dword [ebp - 0x14]
push dword [eax]
call fcn.1006fdf7
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
sub ecx, 0x100
je 0x100891cf
dec ecx
sub ecx, 1
je 0x1008911e
sub ecx, 4
jne 0x10089216
test esi, esi
jne 0x10089102
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10089216
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
push 0x20
pop eax
cmp word [esi + 8], ax
je 0x10089219
jmp 0x10089121
mov eax, dword [ebp + 0xc]
jmp 0x100890ba
mov eax, dword [ebp + 0xc]
jmp 0x100890bd
mov esi, dword [ebp + 0xc]
push esi
push edx
call fcn.10089a2c
cmp dword [ebp - 0x18], 0x102
jne 0x10089139
test al, 0x84
jne 0x10089219
movzx ecx, word [esi + 8]
push 9
pop edx
cmp cx, dx
jne 0x1008914d
test al, 2
jne 0x10089219
push 0x20
pop eax
cmp cx, ax
jne 0x10089159
xor eax, eax
jmp 0x100891c7
push esi
push dword [ebp - 0x1c]
push ebx
call fcn.10089a5c
test eax, eax
je 0x10089219
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10089219
push esi
call fcn.10087977
xor edi, edi
inc edi
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100891c5
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.1006fdf7
push eax
push esi
call fcn.1008960d
pop ecx
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100891c5
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.1006fdf7
push eax
push esi
push ebx
call fcn.1008969a
mov eax, edi
call fcn.101a72a5
ret 8
push dword [ebp + 0xc]
push edx
call fcn.10089a2c
mov edx, eax
mov eax, dword [ebp + 0xc]
push 0x1b
movzx ecx, word [eax + 8]
movzx esi, cx
mov dword [ebp - 0x18], ecx
pop ecx
cmp si, cx
ja 0x100892f8
je 0x10089356
cmp esi, 3
je 0x10089356
push 9
pop eax
cmp si, ax
je 0x10089269
push 0xd
pop eax
cmp si, ax
je 0x10089321
mov esi, dword [ebp + 0xc]
test dword [ebx + 0x60], 0x1000
jne 0x1008917f
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov edi, eax
test edi, edi
je 0x1008917f
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.1006fdf7
mov esi, dword [ebp - 0x14]
cmp eax, esi
je 0x10089182
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.1006fdf7
push eax
call fcn.10089592
pop ecx
jmp 0x10089182
test dl, 2
jne 0x10089216
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
push ecx
mov dword [ebp - 0x18], ecx
mov ecx, ebx
push edi
call fcn.10074fda
mov ecx, eax
test ecx, ecx
je 0x10089216
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100892b7
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x101e0a88]
mov ecx, dword [ebp - 0x20]
call esi
jmp 0x1008917c
cmp dword [ecx], 0
je 0x100892c5
push dword [ecx]
call fcn.1006fdf7
jmp 0x100892d2
push dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x1c]
call fcn.100760ac
mov esi, eax
test esi, esi
je 0x1008917c
mov eax, dword [ebx + 0x70]
push esi
mov dword [eax + 0x70], edi
call fcn.10089778
push esi
push dword [ebp - 0x14]
call fcn.1008960d
pop ecx
pop ecx
jmp 0x1008917c
cmp esi, 0x25
jb 0x100894bb
push 0x26
pop ecx
cmp cx, si
jae 0x100893c4
cmp esi, 0x28
jbe 0x100893c1
cmp word [ebp - 0x18], 0x2b
jne 0x100894bb
test dl, 4
jne 0x10089216
mov esi, dword [ebp - 0x14]
push esi
call fcn.10088f4a
pop ecx
test al, 0x10
je 0x10089347
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.10074de1
mov dword [ebp - 0x1c], eax
jmp 0x1008934d
push ebx
call fcn.10089c41
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x1008936a
jmp 0x10089359
push 2
pop eax
push eax
push ebx
call fcn.100897a9
mov esi, eax
test esi, esi
je 0x10089216
mov ecx, esi
call fcn.100753ad
test eax, eax
jne 0x10089381
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10089216
cmp dword [esi + 0x74], edi
je 0x10089216
push edi
push edi
push edi
mov dword [ebp - 4], edi
xor edi, edi
inc edi
push edi
push 0xfffffdd9
push esi
call fcn.100752f7
add esp, 0x18
jmp 0x100893b8
or dword [ebp - 4], 0xffffffff
jmp 0x1008917f
cmp cx, si
sbb ecx, ecx
push eax
push dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x1c], ecx
call fcn.10089a2c
test al, 1
jne 0x10089216
push 0x26
pop eax
mov ecx, ebx
push edi
cmp si, ax
ja 0x100893ed
call fcn.1007519f
jmp 0x100893f2
call fcn.10074f8a
mov esi, eax
test esi, esi
je 0x10089216
cmp dword [esi + 8], edi
je 0x10089409
push esi
mov ecx, ebx
call fcn.100755f7
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1008942e
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x101e0a88]
mov ecx, dword [ebp - 0x20]
jmp 0x100892b0
cmp dword [esi], 0
je 0x10089441
push dword [esi]
call fcn.1006fdf7
mov ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x10089453
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.10088f70
mov ecx, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10089216
mov eax, dword [ebx + 0x70]
push ecx
mov dword [eax + 0x70], edi
call fcn.10089778
cmp dword [esi + 8], edi
je 0x1008917c
mov eax, dword [ebp - 0x18]
push 0xfffffffffffffff4
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push edi
xor edi, edi
mov esi, eax
mov eax, dword [ebp - 0x18]
inc edi
push edi
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x20]
movzx eax, si
push eax
push 0x111
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x18]
call fcn.10089778
jmp 0x1008917f
mov esi, eax
jmp 0x10089219