Function at 0x1007cef5
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x20
mov eax, 0x101b0a68
call fcn.10180dcc
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jne 0x1007cf0f
mov dword [ebp - 0x24], edi
jmp 0x1007cf15
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.100459e0
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
cmp eax, 0x100
jb 0x1007cf43
cmp eax, 0x109
jbe 0x1007cf51
add eax, 0xfffffe00
cmp eax, 9
ja 0x1007d07a
test esi, esi
je 0x1007d07a
cmp dword [esi + 0x74], edi
jne 0x1007cf86
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.100459e0
cmp eax, ebx
je 0x1007cf86
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.100459e0
mov esi, eax
test esi, esi
jne 0x1007cf59
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1007cfbb
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x1007cfbb
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x1007cfbb
mov eax, dword [ecx]
push dword [ebp + 0xc]
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x101bca14]
call esi
test eax, eax
jne 0x1007cfb8
inc eax
jmp 0x1007d128
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, 0x101
je 0x1007cfd7
cmp eax, 0x100
je 0x1007cfd7
cmp eax, 0x102
jne 0x1007d075
test esi, esi
je 0x1007d075
mov edx, dword [esi + 0x74]
test edx, edx
je 0x1007d075
mov eax, dword [ebp + 0xc]
push 0xd
pop ecx
movzx esi, word [eax + 8]
cmp si, cx
jne 0x1007d006
test byte [edx + 0x84], 1
jne 0x1007d0b6
push 0x1b
pop ecx
cmp si, cx
jne 0x1007d01b
test byte [edx + 0x84], 2
jne 0x1007d0b6
mov esi, dword [ebp - 0x14]
push dword [eax]
call fcn.100459e0
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
sub ecx, 0x100
je 0x1007d130
dec ecx
sub ecx, 1
je 0x1007d07f
sub ecx, 4
jne 0x1007d177
test esi, esi
jne 0x1007d063
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1007d177
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
push 0x20
pop eax
cmp word [esi + 8], ax
je 0x1007d17a
jmp 0x1007d082
mov eax, dword [ebp + 0xc]
jmp 0x1007d01b
mov eax, dword [ebp + 0xc]
jmp 0x1007d01e
mov esi, dword [ebp + 0xc]
push esi
push edx
call fcn.1007d98d
cmp dword [ebp - 0x18], 0x102
jne 0x1007d09a
test al, 0x84
jne 0x1007d17a
movzx ecx, word [esi + 8]
push 9
pop edx
cmp cx, dx
jne 0x1007d0ae
test al, 2
jne 0x1007d17a
push 0x20
pop eax
cmp cx, ax
jne 0x1007d0ba
xor eax, eax
jmp 0x1007d128
push esi
push dword [ebp - 0x1c]
push ebx
call fcn.1007d9bd
test eax, eax
je 0x1007d17a
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1007d17a
push esi
call fcn.1007b8d8
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 0x1007d126
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.100459e0
push eax
push esi
call fcn.1007d56e
pop ecx
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1007d126
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.100459e0
push eax
push esi
push ebx
call fcn.1007d5fb
mov eax, edi
call fcn.10180d2a
ret 8
push dword [ebp + 0xc]
push edx
call fcn.1007d98d
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 0x1007d259
je 0x1007d2b7
cmp esi, 3
je 0x1007d2b7
push 9
pop eax
cmp si, ax
je 0x1007d1ca
push 0xd
pop eax
cmp si, ax
je 0x1007d282
mov esi, dword [ebp + 0xc]
test dword [ebx + 0x60], 0x1000
jne 0x1007d0e0
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov edi, eax
test edi, edi
je 0x1007d0e0
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.100459e0
mov esi, dword [ebp - 0x14]
cmp eax, esi
je 0x1007d0e3
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.100459e0
push eax
call fcn.1007d4f3
pop ecx
jmp 0x1007d0e3
test dl, 2
jne 0x1007d177
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.1004c76a
mov ecx, eax
test ecx, ecx
je 0x1007d177
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1007d218
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x101bca14]
mov ecx, dword [ebp - 0x20]
call esi
jmp 0x1007d0dd
cmp dword [ecx], 0
je 0x1007d226
push dword [ecx]
call fcn.100459e0
jmp 0x1007d233
push dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x1c]
call fcn.10040d9e
mov esi, eax
test esi, esi
je 0x1007d0dd
mov eax, dword [ebx + 0x70]
push esi
mov dword [eax + 0x70], edi
call fcn.1007d6d9
push esi
push dword [ebp - 0x14]
call fcn.1007d56e
pop ecx
pop ecx
jmp 0x1007d0dd
cmp esi, 0x25
jb 0x1007d41c
push 0x26
pop ecx
cmp cx, si
jae 0x1007d325
cmp esi, 0x28
jbe 0x1007d322
cmp word [ebp - 0x18], 0x2b
jne 0x1007d41c
test dl, 4
jne 0x1007d177
mov esi, dword [ebp - 0x14]
push esi
call fcn.1007ceab
pop ecx
test al, 0x10
je 0x1007d2a8
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.1004c571
mov dword [ebp - 0x1c], eax
jmp 0x1007d2ae
push ebx
call fcn.1007dba2
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x1007d2cb
jmp 0x1007d2ba
push 2
pop eax
push eax
push ebx
call fcn.1007d70a
mov esi, eax
test esi, esi
je 0x1007d177
mov ecx, esi
call fcn.1004cb39
test eax, eax
jne 0x1007d2e2
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x1007d177
cmp dword [esi + 0x74], edi
je 0x1007d177
push edi
push edi
push edi
mov dword [ebp - 4], edi
xor edi, edi
inc edi
push edi
push 0xfffffdd9
push esi
call fcn.1004ca83
add esp, 0x18
jmp 0x1007d319
or dword [ebp - 4], 0xffffffff
jmp 0x1007d0e0
cmp cx, si
sbb ecx, ecx
push eax
push dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x1c], ecx
call fcn.1007d98d
test al, 1
jne 0x1007d177
push 0x26
pop eax
mov ecx, ebx
push edi
cmp si, ax
ja 0x1007d34e
call fcn.1004c92f
jmp 0x1007d353
call fcn.1004c71a
mov esi, eax
test esi, esi
je 0x1007d177
cmp dword [esi + 8], edi
je 0x1007d36a
push esi
mov ecx, ebx
call fcn.1004cd83
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1007d38f
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x101bca14]
mov ecx, dword [ebp - 0x20]
jmp 0x1007d211
cmp dword [esi], 0
je 0x1007d3a2
push dword [esi]
call fcn.100459e0
mov ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x1007d3b4
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.1007ced1
mov ecx, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007d177
mov eax, dword [ebx + 0x70]
push ecx
mov dword [eax + 0x70], edi
call fcn.1007d6d9
cmp dword [esi + 8], edi
je 0x1007d0dd
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.1007d6d9
jmp 0x1007d0e0
mov esi, eax
jmp 0x1007d17a