Function at 0x41f608
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x340]
mov ecx, dword [edi + 0x344]
test eax, eax
js 0x41f572
cmp eax, dword [edi + 0x160]
jge 0x41f572
test ecx, ecx
js 0x41f572
cmp ecx, dword [edi + 0x168]
jl 0x41f582
mov ecx, edi
call fcn.0045e288
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [edi + 0x340]
mov esi, dword [edi + 0x344]
xor eax, eax
push 0x11
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je case.0x41f5c8.46
mov eax, dword [ebp + 8]
add eax, 0xffffffd3
cmp eax, 0x3e
ja case.0x41f5c8.46
movzx edx, byte [eax + 0x41fe50]
jmp dword [edx*4 + 0x41fe38]
mov eax, dword [edi]
mov edx, dword [eax + 0x18c]
mov ecx, edi
call edx
jmp case.0x41f5c8.46
mov eax, edi
call fcn.00426c20
mov eax, dword [edi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x41f5c8.46
mov edx, dword [edi]
mov eax, dword [edx + 0x180]
jmp 0x41f610
mov edx, dword [edi]
mov eax, dword [edx + 0x184]
jmp 0x41f610
mov edx, dword [edi]
mov eax, dword [edx + 0x188]
mov ecx, edi
call eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, dword [ebp + 8]
je 0x41f64a
cmp eax, 0x2d
jne 0x41f64a
mov edx, dword [edi]
mov eax, dword [edx + 0x188]
mov ecx, edi
call eax
mov ecx, edi
call fcn.0045e288
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x2e
jne 0x41f660
mov edx, dword [edi]
mov eax, dword [edx + 0x160]
mov ecx, edi
call eax
jmp 0x41fc04
cmp eax, 0x28
jne 0x41f6b7
mov eax, dword [edi + 0x160]
mov ecx, ebx
inc ebx
mov dword [esp + 0x28], ebx
cmp ebx, eax
jge 0x41f6a3
test ebx, ebx
js 0x41f696
cmp ebx, eax
jge 0x41f696
cmp ebx, dword [edi + 0x178]
jge 0x41f6ae
mov edx, dword [edi + 0x174]
cmp dword [edx + ebx*4], 0
jg 0x41fa4c
inc ebx
cmp ebx, dword [edi + 0x160]
jl 0x41f676
mov dword [esp + 0x28], ebx
mov ebx, ecx
mov dword [esp + 0x28], ebx
jmp 0x41fc04
mov dword [esp + 0x28], ebx
call fcn.004572d6
cmp eax, 0x26
jne 0x41f715
mov eax, ebx
dec ebx
mov dword [esp + 0x28], ebx
cmp ebx, dword [edi + 0x164]
jl 0x41f819
nop
test ebx, ebx
js 0x41f6f4
cmp ebx, dword [edi + 0x160]
jge 0x41f6f4
cmp ebx, dword [edi + 0x178]
jge 0x41f70c
mov ecx, dword [edi + 0x174]
cmp dword [ecx + ebx*4], 0
jg 0x41fa4c
dec ebx
cmp ebx, dword [edi + 0x164]
jge 0x41f6d0
mov dword [esp + 0x28], ebx
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x41fc04
mov dword [esp + 0x28], ebx
call fcn.004572d6
cmp eax, 0x27
je 0x41fb26
mov eax, dword [ebp + 8]
cmp eax, 9
jne 0x41f7bf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x41faec
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41f572
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], esi
dec esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], esi
cmp eax, 9
jne 0x41faae
mov eax, dword [edi + 0x16c]
dec eax
cmp esi, eax
jne 0x41faa7
mov eax, dword [edi + 0x164]
cmp ebx, eax
jle 0x41faa7
dec ebx
mov dword [esp + 0x28], ebx
cmp ebx, eax
jle 0x41fa92
lea ecx, [ecx]
mov eax, ebx
mov ecx, edi
call fcn.00426760
test eax, eax
jg 0x41fa86
dec ebx
cmp ebx, dword [edi + 0x164]
jg 0x41f7a0
jmp 0x41fa8e
cmp eax, 0x25
je 0x41f759
cmp eax, 0x22
jne 0x41f834
lea edx, [esp + 0x14]
push edx
mov esi, edi
call fcn.00423a90
mov eax, dword [edi + 0x20]
push 0
push 3
push 0x115
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x14], 1
call fcn.00423a90
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
je 0x41f824
add ebx, eax
mov eax, dword [edi + 0x160]
dec eax
mov dword [esp + 0x28], ebx
cmp ebx, eax
jle 0x41fc04
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x41fc04
mov ebx, dword [edi + 0x160]
dec ebx
mov dword [esp + 0x28], ebx
jmp 0x41fc04
cmp eax, 0x21
jne 0x41f8a2
lea edx, [esp + 0x14]
push edx
mov esi, edi
call fcn.00423a90
mov eax, dword [edi + 0x20]
push 0
push 2
push 0x115
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x14], 1
call fcn.00423a90
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
je 0x41f893
add ebx, eax
mov eax, dword [edi + 0x164]
mov dword [esp + 0x28], ebx
cmp ebx, eax
jge 0x41fc04
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x41fc04
mov ebx, dword [edi + 0x164]
mov dword [esp + 0x28], ebx
jmp 0x41fc04
cmp eax, 0x24
jne 0x41f978
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
push 0
push 6
test dx, ax
je 0x41f8fa
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x115
push eax
call esi
mov ecx, dword [edi + 0x20]
push 0
push 6
push 0x114
push ecx
call esi
mov ebx, dword [edi + 0x164]
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], ebx
jmp 0x41f911
mov edx, dword [edi + 0x20]
push 0x114
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0xc], 1
mov eax, dword [edi + 0x168]
mov esi, dword [edi + 0x16c]
dec eax
mov dword [esp + 0x2c], esi
cmp esi, eax
jge 0x41f943
mov eax, esi
mov ecx, edi
call fcn.00426790
test eax, eax
jg 0x41f93f
mov ecx, dword [edi + 0x168]
inc esi
dec ecx
cmp esi, ecx
jl 0x41f926
mov dword [esp + 0x2c], esi
mov edx, dword [edi + 0x160]
dec edx
cmp ebx, edx
jge 0x41fc04
mov eax, ebx
mov ecx, edi
call fcn.00426760
test eax, eax
jg 0x41fa4c
mov eax, dword [edi + 0x160]
inc ebx
dec eax
cmp ebx, eax
jl 0x41f952
mov dword [esp + 0x28], ebx
jmp 0x41fc04
cmp eax, 0x23
jne 0x41fa55
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
push 0
push 7
test cx, ax
je 0x41f9da
mov edx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x115
push edx
call esi
mov eax, dword [edi + 0x20]
push 0
push 7
push 0x114
push eax
call esi
mov ebx, dword [edi + 0x160]
mov esi, dword [edi + 0x168]
mov eax, 1
sub ebx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebx
sub esi, eax
jmp 0x41f9f8
mov ecx, dword [edi + 0x20]
push 0x114
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [edi + 0x168]
mov dword [esp + 0xc], 1
dec esi
mov edx, dword [edi + 0x16c]
inc edx
mov dword [esp + 0x2c], esi
cmp esi, edx
jle 0x41fa24
mov eax, esi
mov ecx, edi
call fcn.00426790
test eax, eax
jg 0x41fa20
mov eax, dword [edi + 0x16c]
dec esi
inc eax
cmp esi, eax
jg 0x41fa07
mov dword [esp + 0x2c], esi
mov ecx, dword [edi + 0x164]
inc ecx
cmp ebx, ecx
jle 0x41fc04
mov eax, ebx
mov ecx, edi
call fcn.00426760
test eax, eax
jg 0x41fa4c
mov edx, dword [edi + 0x164]
dec ebx
inc edx
cmp ebx, edx
jg 0x41fa33
mov dword [esp + 0x28], ebx
jmp 0x41fc04
cmp eax, 0x71
jne 0x41f572
mov edx, dword [edi]
mov edx, dword [edx + 0x1bc]
or eax, 0xffffffff
or ecx, eax
push 1
push ecx
mov ecx, dword [edi + 0x340]
push eax
mov eax, dword [edi + 0x344]
push eax
push ecx
mov ecx, edi
call edx
jmp 0x41fc04
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], ebx
mov esi, dword [edi + 0x168]
dec esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 1
jmp 0x41faae
mov ecx, edi
call fcn.0045e288
cmp esi, dword [edi + 0x16c]
jl 0x41fad4
mov eax, esi
mov ecx, edi
call fcn.00426790
test eax, eax
jg 0x41fc00
dec esi
cmp esi, dword [edi + 0x16c]
jge 0x41fab6
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x14], 0
jne 0x41fc04
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
jmp 0x41fc04
cmp byte [edi + 0x51a], 0
je 0x41fb26
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0045e32e
test eax, eax
je 0x41fd61
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x28
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x20], esi
inc esi
cmp dword [ebp + 8], 9
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], esi
jne 0x41fb9f
cmp esi, dword [edi + 0x168]
jne 0x41fb98
mov eax, dword [edi + 0x160]
lea ecx, [eax - 1]
cmp ebx, ecx
jge 0x41fb98
inc ebx
mov dword [esp + 0x28], ebx
cmp ebx, eax
jge 0x41fb84
jmp 0x41fb60
mov eax, ebx
mov ecx, edi
call fcn.00426760
test eax, eax
jg 0x41fb78
inc ebx
cmp ebx, dword [edi + 0x160]
jl 0x41fb60
jmp 0x41fb80
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], ebx
mov esi, dword [edi + 0x16c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 1
jmp 0x41fb9f
mov ecx, edi
call fcn.0045e288
mov ecx, dword [edi + 0x168]
cmp esi, ecx
jge 0x41fbe6
lea esp, [esp]
test esi, esi
js 0x41fbd9
cmp esi, ecx
jge 0x41fbd9
mov edx, dword [edi + 0x4fc]
mov eax, dword [edx + esi*4]
test eax, eax
js 0x41fbf7
cmp eax, dword [edi + 0x18c]
jge 0x41fbf7
mov edx, dword [edi + 0x188]
cmp dword [edx + eax*4], 0
jg 0x41fc00
inc esi
cmp esi, dword [edi + 0x168]
jl 0x41fbb0
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x14], 0
jne 0x41fc04
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
jmp 0x41fc04
mov dword [esp + 0x2c], esi
call fcn.004572d6
mov dword [esp + 0x2c], esi
cmp ebx, dword [edi + 0x340]
jne 0x41fc1c
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [edi + 0x344]
je 0x41fd61
cmp dword [edi + 0x314], 0
jne 0x41fca0
lea esi, [edi + 0x384]
call fcn.00430f40
mov edx, dword [edi + 0x108]
neg edx
sbb edx, edx
add edx, 4
push 0x10
mov dword [edi + 0x314], edx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41fc5f
cmp dword [ebp + 8], 9
jne 0x41fc71
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x338], ebx
mov dword [edi + 0x33c], esi
jmp 0x41fc75
mov esi, dword [esp + 0x2c]
push 0xffffffffffffff9c
push esi
push ebx
mov eax, edi
call fcn.0041eb20
lea ecx, [esp + 0x28]
mov eax, edi
call fcn.00421da0
push 0xffffffffffffff9b
push esi
push ebx
mov eax, edi
call fcn.0041eb20
mov dword [edi + 0x314], 0
mov edx, dword [esp + 0x2c]
push edx
push ebx
lea eax, [esp + 0x28]
push eax
mov esi, edi
call fcn.00421470
mov ecx, dword [esp + 0x2c]
push ebx
mov edx, edi
call fcn.00427930
test eax, eax
jne 0x41fd20
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x1f
ja case.0x41fcd4.10
movzx ecx, byte [eax + 0x41fea8]
jmp dword [ecx*4 + 0x41fe90]
mov edx, dword [edi + 0x20]
push 0
push 1
push 0x114
push edx
jmp 0x41fcf7
push 0
push 0
mov eax, dword [edi + 0x20]
push 0x114
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0xc], 1
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
mov ecx, edi
call fcn.00427560
mov edx, dword [edi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x2c]
push eax
push ebx
mov ecx, edi
call fcn.00427560
cmp dword [esp + 0xc], 0
je 0x41fd47
mov ecx, dword [edi + 0x20]
push 0
push 8
push 0x114
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x10], 0
je 0x41fd61
mov edx, dword [edi + 0x20]
push 0
push 8
push 0x115
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x20]
push 0
push 1
push 0x115
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], 1
jmp case.0x41fcd4.10
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x115
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], 1
jmp case.0x41fcd4.10
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
push 0
test cx, ax
je 0x41fe01
cmp dword [esp + 0x20], 0
push 0
je 0x41fdf3
mov edx, dword [edi + 0x20]
push 0x115
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x19c]
push eax
push 0
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.00423f30
jmp case.0x41fcd4.10
mov ecx, dword [edi + 0x20]
push 0x114
push ecx
jmp 0x41fcf7
cmp dword [esp + 0x20], 0
push 1
je 0x41fcee
mov edx, dword [edi + 0x20]
push 0x115
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.00423f30
jmp case.0x41fcd4.10