Function at 0x41ccc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5811a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push esi
push eax
mov esi, ecx
mov dword [ebp - 0x30], ebx
call fcn.0046fab0
push dword [ebx + 4]
lea eax, [ebp - 0x14]
push dword [ebx]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41cd24
cmp dword [ebp + 0xc], 0
je 0x41cd5e
cmp dword [esi + 0x48c], 0
je 0x41cd5e
push dword [esi + 0x54]
call fcn.004175d0
mov ecx, dword [esi + 0x498]
cmp dword [esi + 0xd8], eax
je 0x41cd38
or ecx, 1
mov dword [esi + 0x498], ecx
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c77a6
mov esp, ebp
pop ebp
ret 8
and cl, 3
cmp cl, 2
jne 0x41cd5e
mov dword [esi + 0x498], 0
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c77a6
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push 1
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
push eax
mov ecx, esi
mov dword [ebp - 0x20], 0
call fcn.00423440
movzx eax, word [esi + 0x4e0]
lea edi, [esi + 0x24c]
mov ecx, edi
mov dword [ebp - 0x34], eax
call fcn.004877a0
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
je 0x41ce28
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xb
jae 0x41ce28
cmp dword [esi + 0x4c0], 0
mov ecx, dword [esi + 0x448]
mov dword [ebp - 0x24], 1
mov dword [esi + 0x4bc], 1
jne 0x41cdff
mov dword [esi + 0x4c0], 1
mov eax, dword [ecx + 4]
mov dword [esi + 0x4c4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x4c8], eax
mov ebx, dword [ebp - 0x20]
push ecx
push ebx
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.00487d30
mov ecx, dword [esi + 0x448]
mov eax, dword [ecx + 4]
mov dword [esi + 0x4cc], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x4d0], eax
jmp 0x41ce42
push dword [esi + 0x448]
mov ebx, dword [ebp - 0x20]
mov ecx, edi
push ebx
push dword [ebp - 0x1c]
call fcn.00487d30
mov ecx, dword [esi + 0x448]
push dword [ebp - 0x1c]
call fcn.0048abd0
lea ecx, [eax - 1]
lea eax, [esi + 0x224]
push eax
xor eax, eax
add ecx, ebx
cmovns eax, ecx
mov ecx, edi
push eax
call fcn.00487530
cmp dword [ebp + 0xc], 0
mov word [esi + 0x4e0], ax
je 0x41ceb5
cmp dword [ebp - 0x24], 0
jne 0x41ceb5
mov ecx, dword [esi + 0x448]
cmp dword [ecx + 0x48], 0
je 0x41ce90
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ebp - 0x1c]
jne 0x41ce90
cmp dword [ecx + 0x78], 0
jge 0x41ceb5
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x4bc], 1
mov dword [esi + 0x4cc], eax
mov dword [esi + 0x4c4], eax
mov dword [esi + 0x4d0], ebx
mov dword [esi + 0x4c8], ebx
mov eax, dword [esi + 0x448]
cmp dword [eax + 0xc], 1
jne 0x41d00d
cmp dword [esi + 0x21c], 0
mov dword [esi + 0x494], 0
jne 0x41d00d
push 9
push 1
lea ecx, [esi + 0x224]
call fcn.00485030
mov ecx, dword [esi + 0x448]
fstp dword [ebp - 0x20]
push dword [ecx + 4]
call fcn.0048ab40
test eax, eax
jne 0x41cfbd
mov ecx, dword [esi + 0x448]
push dword [ecx + 4]
call fcn.0048ab10
mov edx, eax
test edx, edx
je 0x41cf85
mov cl, byte [edx + 0x25]
mov byte [ebp - 0x15], cl
test cl, cl
je 0x41cf85
mov ecx, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x20]
mov ecx, dword [ecx]
sub ecx, dword [esi + 0x154]
sub ecx, dword [esi + 0x144]
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
divss xmm0, xmm1
cvttss2si ecx, xmm0
test ecx, ecx
jle 0x41cf76
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
mulss xmm1, dword [0x5066d4]
subss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x41cf76
inc ecx
movzx eax, byte [ebp - 0x15]
cmp ecx, eax
cmovge ecx, eax
mov dword [esi + 0x494], ecx
cmp dword [esi + 0x478], 2
jne 0x41d00d
mov al, byte [edx + 0x24]
cmp al, 0xff
je 0x41cfa9
movzx eax, al
cmp dword [esi + 0x494], eax
jg 0x41d00d
inc eax
mov dword [esi + 0x494], eax
jmp 0x41d00d
movzx eax, byte [edx + 0x25]
cmp dword [esi + 0x494], eax
jge 0x41d00d
mov dword [esi + 0x494], eax
jmp 0x41d00d
cmp dword [esi + 0x478], 2
jne 0x41d00d
mov ecx, dword [esi + 0x448]
push dword [ecx + 4]
call fcn.0048ab10
mov ecx, dword [esi + 0x448]
mov al, byte [eax + 0x24]
cmp al, 0xff
je 0x41cfec
movzx eax, al
cmp dword [ecx + 8], eax
jg 0x41d00d
inc eax
jmp 0x41d001
push dword [ecx + 4]
mov ecx, esi
call fcn.00421110
mov ecx, dword [esi + 0x448]
cmp dword [ecx + 8], eax
jge 0x41d00d
push ecx
push eax
push dword [ecx + 4]
mov ecx, edi
call fcn.00487d30
cmp dword [ebp - 0x24], 0
jne 0x41d03d
cmp dword [esi + 0x4c0], 0
je 0x41d03d
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00424700
test eax, eax
jne 0x41d03d
push eax
push dword [esi + 0xd8]
mov dword [esi + 0x4c0], eax
call fcn.004337f0
movzx eax, word [esi + 0x4e0]
cmp ax, word [ebp - 0x34]
je 0x41d059
push 0
push eax
push 0xb8
mov ecx, esi
call fcn.00431a30
mov ecx, edi
call fcn.004877a0
cmp dword [ebp - 0x28], eax
je 0x41d099
push 0
mov ecx, edi
call fcn.004877a0
push eax
push 0xb7
mov ecx, esi
call fcn.00431a30
mov eax, dword [esi + 0x448]
cmp dword [eax + 0xc], 1
jne 0x41d099
push dword [eax + 8]
mov ecx, esi
push dword [eax + 4]
push 0xbb
call fcn.00431a30
cmp dword [ebp + 0xc], 0
pop edi
je 0x41d0b7
cmp dword [esi + 0x4bc], 0
je 0x41d0b7
push dword [esi + 0xd8]
push dword [esi + 0x54]
call fcn.00417a70
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.004c77a6
mov esp, ebp
pop ebp
ret 8