Function at 0x41df6c
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x43b8eb
call fcn.004269e3
mov ebx, dword [ebp + 8]
xor esi, esi
test ebx, ebx
jne 0x41df86
mov dword [ebp - 0x2c], esi
jmp 0x41df8c
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x30], eax
call fcn.0040add6
mov edi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
cmp eax, 0x100
jb 0x41dfc3
cmp eax, 0x109
ja 0x41dfc3
mov dword [ebp - 0x20], 9
jmp 0x41dfd6
push 9
pop ecx
add eax, 0xfffffe00
mov dword [ebp - 0x20], ecx
cmp eax, ecx
ja 0x41e0e1
test edi, edi
je 0x41e0e1
cmp dword [edi + 0x6c], esi
jne 0x41e00b
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040add6
cmp eax, ebx
je 0x41e00b
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040add6
mov edi, eax
test edi, edi
jne 0x41dfde
test edi, edi
je 0x41e030
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x41e030
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x41e030
push dword [ebp + 0xc]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
test eax, eax
jne 0x41e030
inc eax
jmp 0x41e198
mov eax, dword [ebp - 0x14]
cmp eax, 0x101
je 0x41e048
cmp eax, 0x100
je 0x41e048
cmp eax, 0x102
jne 0x41e083
test edi, edi
je 0x41e083
mov edx, dword [edi + 0x6c]
test edx, edx
je 0x41e083
mov eax, dword [ebp + 0xc]
push 0xd
movzx edi, word [eax + 8]
pop ecx
cmp di, cx
jne 0x41e06b
test byte [edx + 0x84], 1
jne 0x41e07c
push 0x1b
pop ecx
cmp di, cx
jne 0x41e086
test byte [edx + 0x84], 2
je 0x41e086
xor eax, eax
jmp 0x41e198
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
push dword [eax]
call fcn.0040add6
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], esi
sub ecx, 0x100
je 0x41e1a0
dec ecx
dec ecx
je 0x41e0e6
sub ecx, 4
jne 0x41e2d6
test edi, edi
jne 0x41e0cf
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x41e2d6
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
push 0x20
pop ecx
cmp word [eax + 8], cx
je 0x41e2d9
jmp 0x41e0e9
mov eax, dword [ebp + 0xc]
jmp 0x41e089
mov eax, dword [ebp + 0xc]
push eax
push edx
call fcn.0041e95b
cmp dword [ebp - 0x14], 0x102
mov ecx, eax
jne 0x41e104
test cl, 0x84
jne 0x41e2d6
mov eax, dword [ebp + 0xc]
movzx edx, word [eax + 8]
cmp dx, word [ebp - 0x20]
jne 0x41e11a
test cl, 2
jne 0x41e2d9
push 0x20
pop ecx
cmp dx, cx
je 0x41e07c
push eax
push dword [ebp - 0x24]
push ebx
call fcn.0041e98b
test eax, eax
je 0x41e2d6
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41e2d6
push dword [ebp + 0xc]
call fcn.0041c954
xor esi, esi
inc esi
mov edi, dword [sym.imp.USER32.dll_GetFocus]
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e196
call edi
push eax
call fcn.0040add6
mov edi, dword [ebp - 0x1c]
push eax
push edi
call fcn.0041e56e
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e196
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0040add6
push eax
push edi
push ebx
call fcn.0041e5f1
mov eax, esi
call fcn.00426948
ret 8
push dword [ebp + 0xc]
push edx
call fcn.0041e95b
mov edx, eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 8]
cmp ecx, 0x1b
jg 0x41e26a
je 0x41e2b3
cmp ecx, 3
je 0x41e2b3
cmp ecx, dword [ebp - 0x20]
je 0x41e1dd
cmp ecx, 0xd
je 0x41e286
jmp 0x41e2d9
test dl, 2
jne 0x41e2d9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
push ecx
mov dword [ebp + 8], ecx
push esi
mov ecx, ebx
call fcn.0040eff1
test eax, eax
je 0x41e2d6
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41e221
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0xac]
jmp 0x41e14b
cmp dword [eax], 0
je 0x41e234
push dword [eax]
call fcn.0040add6
mov ecx, eax
mov dword [ebp + 0xc], ecx
jmp 0x41e246
push dword [ebp + 8]
mov ecx, ebx
push dword [ebp - 0x24]
call fcn.00406a04
mov ecx, eax
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x41e14b
mov eax, dword [ebx + 0x68]
push ecx
mov dword [eax + 0x70], esi
call fcn.0041e6ce
push dword [ebp + 0xc]
push edi
call fcn.0041e56e
pop ecx
pop ecx
jmp 0x41e14b
cmp ecx, 0x25
jl 0x41e2d9
cmp ecx, 0x26
jle 0x41e362
cmp ecx, 0x28
jle 0x41e369
cmp ecx, 0x2b
jne 0x41e2d9
test dl, 4
jne 0x41e2d9
push edi
call fcn.0041df22
pop ecx
test al, 0x10
je 0x41e2a2
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.0040ee3f
jmp 0x41e2a8
push ebx
call fcn.0041eb63
mov ecx, eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41e2c4
jmp 0x41e2b6
push 2
pop ecx
push ecx
push ebx
call fcn.0041e6ff
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41e2d6
mov ecx, eax
call fcn.0040f35c
test eax, eax
jne 0x41e328
push esi
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [ebp + 0xc]
test dword [ebx + 0x58], 0x1000
jne 0x41e14e
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov esi, eax
test esi, esi
je 0x41e14e
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0040add6
cmp eax, edi
mov edi, dword [sym.imp.USER32.dll_GetFocus]
je 0x41e154
call edi
push eax
call fcn.0040add6
push eax
call fcn.0041e4fd
pop ecx
jmp 0x41e154
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6c], esi
je 0x41e2d6
push esi
push esi
push esi
push 1
push 0xfffffdd9
push eax
mov dword [ebp - 4], esi
call fcn.0040f2bc
add esp, 0x18
jmp 0x41e359
or dword [ebp - 4], 0xffffffff
jmp 0x41e14b
mov dword [ebp - 0x28], 1
push eax
push edi
call fcn.0041e95b
test al, 1
jne 0x41e2d6
cmp dword [ebp - 0x28], 0
push esi
mov ecx, ebx
je 0x41e388
call fcn.0040f194
jmp 0x41e38d
call fcn.0040efa1
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41e2d6
cmp dword [eax + 8], esi
je 0x41e3a8
push eax
mov ecx, ebx
call fcn.0040f4d4
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x41e211
cmp dword [eax], ecx
je 0x41e3c5
push dword [eax]
call fcn.0040add6
mov ecx, eax
mov dword [ebp + 8], ecx
jmp 0x41e3d5
push dword [ebp - 0x28]
mov ecx, ebx
push edi
call fcn.0041df48
mov ecx, eax
mov dword [ebp + 8], eax
test ecx, ecx
je 0x41e2d6
mov eax, dword [ebx + 0x68]
push ecx
mov dword [eax + 0x70], esi
call fcn.0041e6ce
mov eax, dword [ebp - 0x24]
cmp dword [eax + 8], esi
je 0x41e14b
mov eax, dword [ebp + 8]
push 0xfffffffffffffff4
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov edi, eax
mov eax, dword [ebp + 8]
push 0xf1
push dword [eax + 0x20]
call esi
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
movzx eax, di
push eax
push 0x111
push dword [ebx + 0x20]
call esi
push dword [ebp + 8]
call fcn.0041e6ce
jmp 0x41e14b