Function at 0x41ce9d
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 0x41cefa
cmp ecx, dword [edi + 0x158]
jge 0x41cefa
test eax, eax
js 0x41cefa
cmp eax, dword [edi + 0x160]
jge 0x41cefa
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.0x41ce8a.46
mov eax, dword [ebp + 8]
add eax, 0xffffffd3
cmp eax, 0x3e
ja case.0x41ce8a.46
movzx eax, byte [eax + 0x41d684]
jmp dword [eax*4 + 0x41d66c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18c]
jmp case.0x41ce8a.46
push ecx
mov ecx, edi
call fcn.004241f0
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x41ce8a.46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x180]
jmp case.0x41ce8a.46
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x184]
jmp case.0x41ce8a.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 0x41cf0a
cmp ecx, 0x2d
jne 0x41cf0a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x188]
mov ecx, edi
call fcn.00463023
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 0x2e
jne 0x41cf1e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x160]
jmp 0x41d488
cmp ecx, 0x28
jne 0x41cf6c
mov ecx, dword [edi + 0x158]
mov edx, esi
inc esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jge 0x41cfb3
test esi, esi
js 0x41cf58
cmp esi, ecx
jge 0x41cf58
cmp esi, dword [edi + 0x170]
jge 0x41d667
mov eax, dword [edi + 0x16c]
cmp dword [eax + esi*4], 0
jg 0x41d488
inc esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jl 0x41cf34
mov esi, edx
mov dword [esp + 0x28], esi
jmp 0x41d488
cmp ecx, 0x26
jne 0x41cfbe
mov ecx, dword [edi + 0x15c]
mov edx, esi
dec esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jl 0x41cfb3
test esi, esi
js 0x41cfaa
cmp esi, dword [edi + 0x158]
jge 0x41cfaa
cmp esi, dword [edi + 0x170]
jge 0x41d667
mov eax, dword [edi + 0x16c]
cmp dword [eax + esi*4], 0
jg 0x41d488
dec esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jge 0x41cf82
mov esi, edx
mov dword [esp + 0x28], esi
jmp 0x41d488
cmp ecx, 0x27
je 0x41d3c4
cmp ecx, 9
jne 0x41d0a1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41d065
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41cefa
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 0x41d383
mov eax, dword [edi + 0x164]
dec eax
cmp ebx, eax
jne 0x41d37c
mov eax, dword [edi + 0x15c]
cmp esi, eax
jle 0x41d37c
dec esi
mov dword [esp + 0x28], esi
cmp esi, eax
jle 0x41d367
push esi
mov ecx, edi
call fcn.00423ce0
test eax, eax
jg 0x41d35f
dec esi
mov dword [esp + 0x28], esi
cmp esi, dword [edi + 0x15c]
jg 0x41d043
jmp 0x41d367
cmp byte [edi + 0x50a], 0
je 0x41d3c1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0046326d
test eax, eax
je 0x41cf01
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 0x41cfff
cmp ecx, 0x22
jne 0x41d11e
push ecx
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00421160
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.00421160
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
je 0x41d10e
add esi, eax
mov eax, dword [edi + 0x158]
dec eax
mov dword [esp + 0x28], esi
cmp esi, eax
jle 0x41d488
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x41d488
mov esi, dword [edi + 0x158]
dec esi
mov dword [esp + 0x28], esi
jmp 0x41d488
cmp ecx, 0x21
jne 0x41d190
push ecx
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00421160
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.00421160
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
je 0x41d181
add esi, eax
mov eax, dword [edi + 0x15c]
mov dword [esp + 0x28], esi
cmp esi, eax
jge 0x41d488
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x41d488
mov esi, dword [edi + 0x15c]
mov dword [esp + 0x28], esi
jmp 0x41d488
cmp ecx, 0x24
jne 0x41d265
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
push 0
push 6
test cx, ax
je 0x41d1e1
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 0x41d1f0
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 0x41d22c
lea ecx, [ecx]
push ebx
mov ecx, edi
call fcn.00423d20
test eax, eax
jg 0x41d22c
mov eax, dword [edi + 0x160]
inc ebx
dec eax
mov dword [esp + 0x2c], ebx
cmp ebx, eax
jl 0x41d210
mov eax, dword [edi + 0x158]
dec eax
cmp esi, eax
jge 0x41d488
jmp 0x41d240
push esi
mov ecx, edi
call fcn.00423ce0
test eax, eax
jg 0x41d488
mov eax, dword [edi + 0x158]
inc esi
dec eax
mov dword [esp + 0x28], esi
cmp esi, eax
jl 0x41d240
jmp 0x41d488
cmp ecx, 0x23
jne 0x41d335
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
push 0
push 7
test cx, ax
je 0x41d2b7
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 0x41d2c6
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 0x41d300
push ebx
mov ecx, edi
call fcn.00423d20
test eax, eax
jg 0x41d300
mov eax, dword [edi + 0x164]
dec ebx
inc eax
mov dword [esp + 0x2c], ebx
cmp ebx, eax
jg 0x41d2e4
mov eax, dword [edi + 0x15c]
inc eax
cmp esi, eax
jle 0x41d488
nop
push esi
mov ecx, edi
call fcn.00423ce0
test eax, eax
jg 0x41d488
mov eax, dword [edi + 0x15c]
dec esi
inc eax
mov dword [esp + 0x28], esi
cmp esi, eax
jg 0x41d310
jmp 0x41d488
cmp ecx, 0x71
jne 0x41cefa
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 0x41d488
mov dword [esp + 0x18], 1
mov ebx, dword [edi + 0x160]
dec ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x2c], ebx
jmp 0x41d383
mov ecx, edi
call fcn.00463023
cmp ebx, dword [edi + 0x164]
jl 0x41d3ad
jmp 0x41d390
push ebx
mov ecx, edi
call fcn.00423d20
test eax, eax
jg 0x41d488
dec ebx
mov dword [esp + 0x2c], ebx
cmp ebx, dword [edi + 0x164]
jge 0x41d390
cmp dword [esp + 0x18], 0
jne 0x41d488
mov ebx, dword [esp + 0x20]
jmp 0x41d484
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 0x41d436
cmp ebx, dword [edi + 0x160]
jne 0x41d42f
mov ecx, dword [edi + 0x158]
lea eax, [ecx - 1]
cmp esi, eax
jge 0x41d42f
inc esi
mov dword [esp + 0x28], esi
cmp esi, ecx
jge 0x41d41b
push esi
mov ecx, edi
call fcn.00423ce0
test eax, eax
jg 0x41d413
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [edi + 0x158]
jl 0x41d3f8
jmp 0x41d41b
mov dword [esp + 0x18], 1
mov ebx, dword [edi + 0x164]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], 1
jmp 0x41d436
mov ecx, edi
call fcn.00463023
mov edx, dword [edi + 0x160]
cmp ebx, edx
jge 0x41d47a
test ebx, ebx
js 0x41d471
cmp ebx, edx
jge 0x41d471
mov eax, dword [edi + 0x4f0]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
js 0x41d667
cmp ecx, dword [edi + 0x184]
jge 0x41d667
mov eax, dword [edi + 0x180]
cmp dword [eax + ecx*4], 0
jg 0x41d488
inc ebx
mov dword [esp + 0x2c], ebx
cmp ebx, edx
jl 0x41d440
cmp dword [esp + 0x18], 0
cmove ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
cmp esi, dword [edi + 0x338]
jne 0x41d49c
cmp ebx, dword [edi + 0x33c]
je 0x41cf01
cmp dword [edi + 0x30c], 0
jne 0x41d513
lea ecx, [edi + 0x37c]
call fcn.0042e110
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 0x41d4db
cmp dword [ebp + 8], 9
jne 0x41d4e7
mov dword [edi + 0x330], esi
mov dword [edi + 0x334], ebx
push 0xffffffffffffff9c
push ebx
push esi
mov ecx, edi
call fcn.0041c4a0
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0041f530
push 0xffffffffffffff9b
push ebx
push esi
mov ecx, edi
call fcn.0041c4a0
mov dword [edi + 0x30c], 0
push ebx
push esi
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0041eb70
push ebx
push esi
mov ecx, edi
call fcn.00424fd0
test eax, eax
jne 0x41d621
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x1f
ja case.0x41d548.10
movzx eax, byte [eax + 0x41d6dc]
jmp dword [eax*4 + 0x41d6c4]
push 0
push 0
jmp 0x41d5f5
push 0
push 1
push 0x115
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], 1
jmp case.0x41d548.10
push 0
push 0
jmp 0x41d55c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41d5c2
cmp dword [esp + 0x14], 0
push 0
push 0
je 0x41d5f5
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.004215f0
jmp case.0x41d548.10
cmp dword [esp + 0x14], 0
je case.0x41d548.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.004215f0
jmp case.0x41d548.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.00424c30
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push esi
mov ecx, edi
call fcn.00424c30
cmp dword [esp + 0xc], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x41d645
push 0
push 8
push 0x114
push dword [edi + 0x20]
call ebx
cmp dword [esp + 0x10], 0
je 0x41cf01
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.0045d0fa
ror dh, 0x41
add byte [ecx - 872398386], dl
into
inc ecx
add byte [esi + ecx*8 - 0x3162ffbf], dh
inc ecx
add dh, dl
into
inc ecx
add byte [eax], al
add eax, 0x5050505
add eax, 84215045
add eax, 84215045
add eax, 17106181
add eax, 84215040
add eax, 84215045
add eax, 84215045
add eax, 84215045
add al, byte [84215043]
add eax, 84215045
add eax, 84215045
add eax, 84215045
add al, 144
add eax, 0x5050505
add eax, 84215045
add eax, 84215045
add eax, 84018437
add eax, dword [84215045]
add eax, 84215045
add eax, 84215045
add eax, -1878784763
jge 0x41d69b
inc ecx
add byte [edi - 0x2b], cl
inc ecx
add byte [edi - 0x2b], dh
inc ecx
add cl, dh
aad 0x41
add byte [eax - 0x2b], bl
inc ecx
add byte [ebx], cl
salc
inc ecx
add byte [eax], al
add eax, 0x5050505
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 50462981
add al, 204
int3