Function at 0x41d1a8
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x154
mov eax, 0x628c90
call fcn.0058c0ed
mov esi, ecx
mov dword [ebp - 0x18], esi
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov eax, dword [esi + 0xbac]
mov al, byte [eax + 0x1d29]
mov byte [ebp - 0xf], al
mov eax, dword [esi + 0xba8]
push dword [eax + 0x20]
setl byte [ebp - 0xe]
call dword [sym.imp.USER32.dll_IsWindowVisible]
dec eax
neg eax
sbb al, al
inc al
xor ebx, ebx
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xe], bl
jne 0x41d291
mov ecx, dword [esi + 0x14c8]
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
je 0x41d23b
lea edi, [esi + 0x14c4]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00408c8a
mov ecx, dword [eax]
cmp byte [ecx + 0x21c], bl
jne 0x41d233
push ebx
mov byte [ecx + 0x198], 1
call fcn.0055c063
cmp dword [ebp - 0x14], ebx
jne 0x41d211
mov al, byte [ebp - 0xd]
mov ecx, dword [esi + 0xcb4]
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
je 0x41d26b
lea edi, [esi + 0xcb0]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00408c8a
mov eax, dword [eax]
push ebx
mov ecx, eax
call fcn.0055c063
cmp dword [ebp - 0x14], ebx
jne 0x41d24e
mov al, byte [ebp - 0xd]
cmp byte [ebp - 0xf], bl
je 0x41d281
mov ecx, dword [esi + 0xbac]
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov al, byte [ebp - 0xd]
test al, al
je 0x41d291
mov ecx, dword [esi + 0xba8]
push ebx
call fcn.0055c063
or edi, 0xffffffff
cmp byte [ebp + 8], 0
mov dword [ebp - 0x14], ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
je 0x41d2f8
push 0x4e
call ebx
push 0x4f
mov edi, eax
call ebx
push 0x4c
mov dword [ebp + 8], eax
call ebx
push 0x4d
mov esi, eax
call ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], esi
add esi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
add eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040fd13
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jmp 0x41d38d
push 0
lea ecx, [ebp - 0xec]
call fcn.0049e15e
mov eax, dword [esi + 0xe94]
and dword [ebp - 4], 0
mov dword [ebp - 0x54], eax
lea eax, [esi + 0xc5c]
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.00409c4b
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x50], eax
call fcn.00566c09
cmp eax, 1
jne 0x41d37e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x41d37e
mov ecx, dword [ebp - 0x18]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040fd13
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.0049e072
cmp byte [ebp - 0xe], 0
jne 0x41d421
mov eax, dword [esi + 0x14c8]
mov dword [ebp + 8], eax
test eax, eax
je 0x41d3d2
lea edi, [esi + 0x14c4]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00408c8a
mov ecx, dword [eax]
lea eax, [ecx + 0x198]
cmp byte [eax], 0
je 0x41d3cc
push 5
mov byte [eax], 0
call fcn.0055c063
cmp dword [ebp + 8], 0
jne 0x41d3aa
mov eax, dword [esi + 0xcb4]
mov dword [ebp + 8], eax
test eax, eax
je 0x41d401
lea edi, [esi + 0xcb0]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00408c8a
mov eax, dword [eax]
push 5
mov ecx, eax
call fcn.0055c063
cmp dword [ebp + 8], 0
jne 0x41d3e5
cmp byte [ebp - 0xf], 0
je 0x41d40e
mov ecx, esi
call fcn.0040b8c5
cmp byte [ebp - 0xd], 0
je 0x41d421
mov ecx, dword [esi + 0xba8]
push 5
call fcn.0055c063
cmp dword [ebp - 0x14], 0
je 0x41d533
push 0xffffffffffffffff
push 0
push 1
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push str.screen_grab
call fcn.00402035
mov ecx, esi
call fcn.0041b93f
push 0xffffffffffffffff
push dword [ebp - 0x14]
mov edi, eax
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x6401e8
call fcn.00402035
mov ecx, edi
call fcn.004fdff7
or eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x41d511
lea ecx, [ebp - 0x160]
call fcn.0040d212
lea eax, [ebp - 0x160]
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.004f5b39
push 0x4d
call ebx
push 0x4c
mov dword [ebp - 0x18], eax
call ebx
mov ecx, dword [edi + 0x1d4]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x160]
push eax
call fcn.004dbffa
mov ebx, dword [ebp - 0x38]
sub ebx, eax
cmp ebx, dword [ebp + 8]
jge 0x41d4d8
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0x1d4]
lea eax, [ebp - 0x160]
push eax
call fcn.004dbfdc
mov ecx, dword [ebp - 0x34]
sub ecx, eax
cmp ecx, dword [ebp - 0x18]
jge 0x41d4f7
mov ecx, dword [ebp - 0x18]
push 0
push ecx
push ebx
mov ecx, edi
call fcn.004f1729
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.0040c7d6
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, edi
call fcn.004f6c9f
mov ecx, edi
call fcn.004f0a0d
mov ecx, esi
call fcn.0040b088
call fcn.0058c1c5
ret 4