Function at 0x41c5dc
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 ecx, dword [edi + 0x338]
mov eax, dword [edi + 0x33c]
test ecx, ecx
js 0x41c60a
cmp ecx, dword [edi + 0x158]
jge 0x41c60a
test eax, eax
js 0x41c60a
cmp eax, dword [edi + 0x160]
jge 0x41c60a
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebx, eax
mov dword [esp + 0x28], esi
push 0x11
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je case.0x41c59a.46
mov eax, dword [ebp + 8]
add eax, 0xffffffd3
cmp eax, 0x3e
ja case.0x41c59a.46
movzx eax, byte [eax + 0x41cd94]
jmp dword [eax*4 + 0x41cd7c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18c]
jmp case.0x41c59a.46
push ecx
mov ecx, edi
call fcn.00423900
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x41c59a.46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x180]
jmp case.0x41c59a.46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x184]
jmp case.0x41c59a.46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x188]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov ecx, dword [ebp + 8]
je 0x41c61a
cmp ecx, 0x2d
jne 0x41c61a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x188]
mov ecx, edi
call fcn.00459ece
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 0x2e
jne 0x41c62e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x160]
jmp 0x41cb98
cmp ecx, 0x28
jne 0x41c67c
mov ecx, dword [edi + 0x158]
mov edx, esi
inc esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jge 0x41c6c3
test esi, esi
js 0x41c668
cmp esi, ecx
jge 0x41c668
cmp esi, dword [edi + 0x170]
jge 0x41cd77
mov eax, dword [edi + 0x16c]
cmp dword [eax + esi*4], 0
jg 0x41cb98
inc esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jl 0x41c644
mov esi, edx
mov dword [esp + 0x28], esi
jmp 0x41cb98
cmp ecx, 0x26
jne 0x41c6ce
mov ecx, dword [edi + 0x15c]
mov edx, esi
dec esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jl 0x41c6c3
test esi, esi
js 0x41c6ba
cmp esi, dword [edi + 0x158]
jge 0x41c6ba
cmp esi, dword [edi + 0x170]
jge 0x41cd77
mov eax, dword [edi + 0x16c]
cmp dword [eax + esi*4], 0
jg 0x41cb98
dec esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jge 0x41c692
mov esi, edx
mov dword [esp + 0x28], esi
jmp 0x41cb98
cmp ecx, 0x27
je 0x41cad4
cmp ecx, 9
jne 0x41c7b1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41c775
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41c60a
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], ebx
dec ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ebx
cmp ecx, 9
jne 0x41ca93
mov eax, dword [edi + 0x164]
dec eax
cmp ebx, eax
jne 0x41ca8c
mov eax, dword [edi + 0x15c]
cmp esi, eax
jle 0x41ca8c
dec esi
mov dword [esp + 0x28], esi
cmp esi, eax
jle 0x41ca77
push esi
mov ecx, edi
call fcn.004233f0
test eax, eax
jg 0x41ca6f
dec esi
mov dword [esp + 0x28], esi
cmp esi, dword [edi + 0x15c]
jg 0x41c753
jmp 0x41ca77
cmp byte [edi + 0x50a], 0
je 0x41cad1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0045a118
test eax, eax
je 0x41c611
push 0
push 0
push 0x28
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 0x25
je 0x41c70f
cmp ecx, 0x22
jne 0x41c82e
push ecx
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00420870
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0x115
push dword [edi + 0x20]
call eax
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 1
push eax
mov ecx, edi
call fcn.00420870
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
je 0x41c81e
add esi, eax
mov eax, dword [edi + 0x158]
dec eax
mov dword [esp + 0x28], esi
cmp esi, eax
jle 0x41cb98
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x41cb98
mov esi, dword [edi + 0x158]
dec esi
mov dword [esp + 0x28], esi
jmp 0x41cb98
cmp ecx, 0x21
jne 0x41c8a0
push ecx
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00420870
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 2
push 0x115
push dword [edi + 0x20]
call eax
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 1
push eax
mov ecx, edi
call fcn.00420870
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
je 0x41c891
add esi, eax
mov eax, dword [edi + 0x15c]
mov dword [esp + 0x28], esi
cmp esi, eax
jge 0x41cb98
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x41cb98
mov esi, dword [edi + 0x15c]
mov dword [esp + 0x28], esi
jmp 0x41cb98
cmp ecx, 0x24
jne 0x41c975
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
push 0
push 6
test cx, ax
je 0x41c8f1
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x115
push dword [edi + 0x20]
call ebx
push 0
push 6
push 0x114
push dword [edi + 0x20]
call ebx
mov esi, dword [edi + 0x15c]
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], esi
jmp 0x41c900
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0x114
push dword [edi + 0x20]
call eax
mov eax, dword [edi + 0x160]
mov ebx, dword [edi + 0x164]
dec eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], 1
cmp ebx, eax
jge 0x41c93c
lea ecx, [ecx]
push ebx
mov ecx, edi
call fcn.00423430
test eax, eax
jg 0x41c93c
mov eax, dword [edi + 0x160]
inc ebx
dec eax
mov dword [esp + 0x2c], ebx
cmp ebx, eax
jl 0x41c920
mov eax, dword [edi + 0x158]
dec eax
cmp esi, eax
jge 0x41cb98
jmp 0x41c950
push esi
mov ecx, edi
call fcn.004233f0
test eax, eax
jg 0x41cb98
mov eax, dword [edi + 0x158]
inc esi
dec eax
mov dword [esp + 0x28], esi
cmp esi, eax
jl 0x41c950
jmp 0x41cb98
cmp ecx, 0x23
jne 0x41ca45
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
push 0
push 7
test cx, ax
je 0x41c9c7
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x115
push dword [edi + 0x20]
call ebx
push 0
push 7
push 0x114
push dword [edi + 0x20]
call ebx
mov esi, dword [edi + 0x158]
dec esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], esi
jmp 0x41c9d6
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0x114
push dword [edi + 0x20]
call eax
mov ebx, dword [edi + 0x160]
mov eax, dword [edi + 0x164]
dec ebx
inc eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], 1
cmp ebx, eax
jle 0x41ca10
push ebx
mov ecx, edi
call fcn.00423430
test eax, eax
jg 0x41ca10
mov eax, dword [edi + 0x164]
dec ebx
inc eax
mov dword [esp + 0x2c], ebx
cmp ebx, eax
jg 0x41c9f4
mov eax, dword [edi + 0x15c]
inc eax
cmp esi, eax
jle 0x41cb98
nop
push esi
mov ecx, edi
call fcn.004233f0
test eax, eax
jg 0x41cb98
mov eax, dword [edi + 0x15c]
dec esi
inc eax
mov dword [esp + 0x28], esi
cmp esi, eax
jg 0x41ca20
jmp 0x41cb98
cmp ecx, 0x71
jne 0x41c60a
mov eax, dword [edi]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [edi + 0x33c]
push dword [edi + 0x338]
call dword [eax + 0x1bc]
jmp 0x41cb98
mov dword [esp + 0x18], 1
mov ebx, dword [edi + 0x160]
dec ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x2c], ebx
jmp 0x41ca93
mov ecx, edi
call fcn.00459ece
cmp ebx, dword [edi + 0x164]
jl 0x41cabd
jmp 0x41caa0
push ebx
mov ecx, edi
call fcn.00423430
test eax, eax
jg 0x41cb98
dec ebx
mov dword [esp + 0x2c], ebx
cmp ebx, dword [edi + 0x164]
jge 0x41caa0
cmp dword [esp + 0x18], 0
jne 0x41cb98
mov ebx, dword [esp + 0x20]
jmp 0x41cb94
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], ebx
inc ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ebx
cmp ecx, 9
jne 0x41cb46
cmp ebx, dword [edi + 0x160]
jne 0x41cb3f
mov ecx, dword [edi + 0x158]
lea eax, [ecx - 1]
cmp esi, eax
jge 0x41cb3f
inc esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jge 0x41cb2b
push esi
mov ecx, edi
call fcn.004233f0
test eax, eax
jg 0x41cb23
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [edi + 0x158]
jl 0x41cb08
jmp 0x41cb2b
mov dword [esp + 0x18], 1
mov ebx, dword [edi + 0x164]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], 1
jmp 0x41cb46
mov ecx, edi
call fcn.00459ece
mov edx, dword [edi + 0x160]
cmp ebx, edx
jge 0x41cb8a
test ebx, ebx
js 0x41cb81
cmp ebx, edx
jge 0x41cb81
mov eax, dword [edi + 0x4f0]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
js 0x41cd77
cmp ecx, dword [edi + 0x184]
jge 0x41cd77
mov eax, dword [edi + 0x180]
cmp dword [eax + ecx*4], 0
jg 0x41cb98
inc ebx
mov dword [esp + 0x2c], ebx
cmp ebx, edx
jl 0x41cb50
cmp dword [esp + 0x18], 0
cmove ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
cmp esi, dword [edi + 0x338]
jne 0x41cbac
cmp ebx, dword [edi + 0x33c]
je 0x41c611
cmp dword [edi + 0x30c], 0
jne 0x41cc23
lea ecx, [edi + 0x37c]
call fcn.0042d820
mov eax, dword [edi + 0x100]
neg eax
push 0x10
sbb eax, eax
add eax, 4
mov dword [edi + 0x30c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41cbeb
cmp dword [ebp + 8], 9
jne 0x41cbf7
mov dword [edi + 0x330], esi
mov dword [edi + 0x334], ebx
push 0xffffffffffffff9c
push ebx
push esi
mov ecx, edi
call fcn.0041bbb0
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0041ec40
push 0xffffffffffffff9b
push ebx
push esi
mov ecx, edi
call fcn.0041bbb0
mov dword [edi + 0x30c], 0
push ebx
push esi
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0041e280
push ebx
push esi
mov ecx, edi
call fcn.004246e0
test eax, eax
jne 0x41cd31
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x1f
ja case.0x41cc58.10
movzx eax, byte [eax + 0x41cdec]
jmp dword [eax*4 + 0x41cdd4]
push 0
push 0
jmp 0x41cd05
push 0
push 1
push 0x115
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], 1
jmp case.0x41cc58.10
push 0
push 0
jmp 0x41cc6c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41ccd2
cmp dword [esp + 0x14], 0
push 0
push 0
je 0x41cd05
push 0x115
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push dword [edi + 0x194]
mov ecx, edi
mov dword [esp + 0x18], 1
push 0
call fcn.00420d00
jmp case.0x41cc58.10
cmp dword [esp + 0x14], 0
je case.0x41cc58.39
push 0
push 1
push 0x115
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 0
push 0
mov ecx, edi
mov dword [esp + 0x1c], 1
call fcn.00420d00
jmp case.0x41cc58.10
push 0
push 1
push 0x114
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0xc], 1
push ebx
push esi
mov ecx, edi
call fcn.00424340
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push esi
mov ecx, edi
call fcn.00424340
cmp dword [esp + 0xc], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x41cd55
push 0
push 8
push 0x114
push dword [edi + 0x20]
call ebx
cmp dword [esp + 0x10], 0
je 0x41c611
push 0
push 8
push 0x115
push dword [edi + 0x20]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00453fa1
rol ch, 1
inc ecx
add byte [ecx - 0x23ffbe3b], ah
lds eax, [ecx]
invalid