Function at 0x404414
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x48
mov eax, 0x525a8f
call fcn.00505571
mov ebx, ecx
mov eax, dword [ebx + 0x3b4]
xor edi, edi
cmp eax, edi
jne 0x404435
xor eax, eax
jmp 0x404ac0
mov ecx, dword [ebx + 0x214]
cmp ecx, edi
je 0x404456
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x190]
test eax, eax
je 0x404456
xor eax, eax
inc eax
jmp 0x404ac0
cmp dword [ebp + 8], 9
jne 0x404473
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
push 0
pop eax
sete al
lea eax, [eax + eax + 0x26]
mov dword [ebp + 8], eax
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x10], edi
cmp ecx, edi
jne 0x40448c
cmp dword [ebx + 0x2c], edi
je 0x404487
cmp dword [ebx + 0x30], edi
jne 0x40448c
mov dword [ebp - 0x24], edi
jmp 0x404493
mov dword [ebp - 0x24], 1
mov esi, dword [ebp + 8]
mov eax, esi
sub eax, 0xd
mov dword [ebp - 0x28], edi
je 0x4048e7
sub eax, 0x13
je 0x4048e7
sub eax, 5
je 0x404747
dec eax
je 0x4045ff
dec eax
je 0x4045b3
dec eax
je 0x4045ff
cmp ecx, edi
je 0x4048ee
push esi
call fcn.00471884
mov dword [ebp - 0x1c], esi
cmp eax, edi
je 0x4044e9
push esi
call fcn.0046c272
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x3b4], edi
jle 0x4048ee
push edi
lea ecx, [ebx + 0x3ac]
call fcn.004ae247
mov esi, dword [eax]
push dword [ebp - 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x13c]
test eax, eax
jne 0x40444e
push dword [esi + 4]
lea ecx, [ebp + 8]
call fcn.0049e652
and dword [ebp - 4], 0
push 0
push 0x26
lea ecx, [ebp + 8]
call fcn.004510a0
test eax, eax
jl 0x404569
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jge 0x404569
inc eax
push eax
lea ecx, [ebp + 8]
call fcn.004f65ce
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x40458a
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00473247
inc edi
cmp edi, dword [ebx + 0x3b4]
jl 0x4044f5
jmp 0x4048ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test eax, eax
jne 0x40459f
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], 1
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00473247
jmp 0x4048ee
cmp ecx, edi
je 0x404747
mov ecx, dword [ebx + 0x214]
cmp ecx, edi
je 0x404747
mov eax, dword [ecx]
call dword [eax + 0x98]
test eax, eax
je 0x404747
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
jne 0x404747
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x9c]
jmp 0x4048ee
cmp dword [ebx + 0x214], edi
je 0x40472c
mov eax, dword [ebx + 0x214]
lea esi, [eax + 0x18]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
call fcn.0041a36e
cmp dword [ebp + 8], 0x28
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x214]
lea edi, [ebp - 0x54]
lea esi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x404648
mov eax, dword [ebp - 0x48]
inc eax
jmp 0x40464c
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [ebp + 8], 0x28
setne al
dec eax
and eax, 0xa
add eax, 0xfffffffb
and dword [ebp - 0x20], 0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x10], 0
jne 0x4048ee
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x6c]
mov esi, dword [ebp - 0x1c]
jge 0x40468c
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x74]
jg 0x4046f4
cmp dword [ebp - 0x10], 0
jne 0x4046e6
mov eax, dword [ebx]
push 0
push esi
push dword [ebp - 0x14]
mov ecx, ebx
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x4046bd
mov eax, dword [ebx]
push edi
push esi
push dword [ebp - 0x18]
mov ecx, ebx
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4046cd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
test eax, eax
jne 0x4046cd
xor edi, edi
mov dword [ebp - 0x10], edi
add esi, dword [ebp - 0x30]
cmp dword [ebp + 8], 0x28
jne 0x4046dd
cmp esi, dword [ebx + 0x78]
jg 0x4046e6
jmp 0x4046e2
cmp esi, dword [ebx + 0x70]
jl 0x4046e6
test edi, edi
je 0x404692
sub dword [ebp - 0x14], 5
add dword [ebp - 0x18], 5
cmp dword [ebp - 0x10], 0
je 0x404679
xor eax, eax
cmp dword [ebp - 0x20], eax
jne 0x40471a
cmp dword [ebp - 0x10], eax
jne 0x40471a
cmp dword [ebp - 0x24], eax
je 0x4048ee
cmp dword [ebp + 8], 0x28
jne 0x404714
mov eax, dword [ebx + 0x70]
jmp 0x404717
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x404666
jmp 0x4048ee
cmp esi, 0x28
mov ecx, ebx
jne 0x40473a
call fcn.0048df9b
jmp 0x40473f
call fcn.00408c6c
mov dword [ebp - 0x10], eax
jmp 0x4048ee
cmp dword [ebx + 0x1c], edi
je 0x4047b7
cmp esi, 0x25
jne 0x4047b7
mov eax, dword [ebx + 0xac]
cmp eax, edi
je 0x4047b7
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004b6e92
push eax
push 0x57be5c
call fcn.004c4aa0
pop ecx
mov esi, eax
pop ecx
mov ecx, esi
call fcn.0049acea
test eax, eax
je 0x4047b7
mov ecx, dword [ebx + 0xac]
call fcn.0047d32c
cmp eax, edi
je 0x4047aa
cmp dword [eax + 0x744], ebx
jne 0x4047aa
push 1
push dword [eax + 0x740]
mov ecx, eax
call fcn.004ef3c0
push edi
mov ecx, esi
call fcn.004ce0ae
jmp 0x40444e
cmp dword [ebx + 0x214], edi
je 0x4048de
mov eax, dword [ebx + 0x214]
lea esi, [eax + 0x18]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
call fcn.0041a36e
cmp dword [ebp + 8], 0x27
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x214]
lea edi, [ebp - 0x54]
lea esi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x404801
mov eax, dword [ebp - 0x4c]
inc eax
jmp 0x404805
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x18], eax
xor eax, eax
cmp dword [ebp + 8], 0x27
setne al
dec eax
and eax, 0xa
add eax, 0xfffffffb
and dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x10], 0
jne 0x4048ee
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x70]
mov esi, dword [ebp - 0x18]
jge 0x404845
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebx + 0x78]
jg 0x4048ad
cmp dword [ebp - 0x10], 0
jne 0x40489f
mov eax, dword [ebx]
push 0
push dword [ebp - 0x20]
mov ecx, ebx
push esi
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x404876
mov eax, dword [ebx]
push edi
push dword [ebp - 0x1c]
mov ecx, ebx
push esi
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x404886
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
test eax, eax
jne 0x404886
xor edi, edi
mov dword [ebp - 0x10], edi
add esi, dword [ebp - 0x2c]
cmp dword [ebp + 8], 0x27
jne 0x404896
cmp esi, dword [ebx + 0x74]
jg 0x40489f
jmp 0x40489b
cmp esi, dword [ebx + 0x6c]
jl 0x40489f
test edi, edi
je 0x40484b
sub dword [ebp - 0x20], 5
add dword [ebp - 0x1c], 5
cmp dword [ebp - 0x10], 0
je 0x404832
xor eax, eax
cmp dword [ebp - 0x14], eax
jne 0x4048cf
cmp dword [ebp - 0x10], eax
jne 0x4048cf
cmp dword [ebp - 0x24], eax
je 0x4048ee
cmp dword [ebp + 8], 0x27
jne 0x4048c9
mov eax, dword [ebx + 0x6c]
jmp 0x4048cc
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x40481f
jmp 0x4048ee
cmp dword [ebp + 8], 0x27
jmp 0x40472f
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x24], edi
cmp esi, edi
je 0x404a2d
mov eax, dword [ebx + 0x214]
cmp eax, esi
je 0x404a26
cmp eax, edi
je 0x40493f
mov dword [eax + 0x6c], edi
mov eax, dword [ebx + 0x214]
mov dword [eax + 0x70], edi
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
push edi
call dword [eax + 0x170]
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x114]
mov dword [ebx + 0x214], edi
cmp dword [0x581c84], edi
je 0x4049aa
mov eax, dword [ebx + 0xac]
cmp eax, edi
je 0x4049aa
cmp dword [ebx + 0x1c], edi
je 0x4049aa
mov esi, dword [ebp - 0x10]
add esi, 0x18
lea edi, [ebp - 0x54]
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 ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
movzx eax, word [ebp - 0x30]
movzx ecx, word [ebp - 0x34]
shl eax, 0x10
or eax, ecx
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0x404996
mov ecx, dword [ecx + 0x20]
push eax
push 0xfffffffffffffffc
push ecx
push 0x8005
call dword [sym.imp.USER32.dll_NotifyWinEvent]
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebx + 0x214], esi
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x16c]
mov edx, dword [esi]
xor eax, eax
inc eax
push eax
mov ecx, esi
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
call dword [edx + 0x170]
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x114]
mov eax, dword [ebx + 0xac]
cmp eax, edi
je 0x404a26
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004b6e92
push eax
push 0x5483f0
call fcn.004c4aa0
pop ecx
pop ecx
cmp eax, edi
je 0x404a26
mov ecx, dword [eax + 0xf90]
cmp ecx, edi
je 0x404a26
push dword [ebx + 0x214]
mov eax, dword [ecx]
push dword [ebx + 0xac]
call dword [eax + 0x150]
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x28], edi
je 0x404abd
mov eax, dword [ebx + 0x214]
cmp eax, edi
je 0x404abd
push eax
push 0x538d88
call fcn.004c4aa0
mov esi, eax
pop ecx
pop ecx
mov dword [ebp + 8], esi
cmp esi, edi
je 0x404abd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
mov eax, dword [esi]
mov ecx, esi
je 0x404a70
call dword [eax + 0x9c]
jmp 0x404ab6
call dword [eax + 0x38]
test eax, eax
jne 0x404ab6
mov ecx, dword [ebx + 0xac]
cmp ecx, edi
je 0x404a9b
call fcn.0047d32c
cmp eax, edi
je 0x404a9b
cmp dword [eax + 0x744], ebx
jne 0x404a9b
push 1
mov ecx, eax
call fcn.0047ceb9
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea esi, [ecx + 0x18]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [eax + 0x1ac]
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x24]
call fcn.00505649
ret 4