Function at 0x420890
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov edi, 7
push 0x10
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x4208c7
mov dword [esp + 0x10], 6
mov dword [esp + 0xc], 0
cmp word [0x617b88], 0
jne 0x42090f
mov eax, dword [0x613f28]
push 0x20
push 0x617b88
push 0x9e
push eax
call sym.vidcap60.exe__SfLoadString_16
mov esi, 0x60da48
lea ecx, [ecx]
mov eax, dword [esi]
cmp eax, 0x400000
jae 0x420909
mov ecx, dword [0x613f28]
push 0x20
push esi
push eax
push ecx
call sym.vidcap60.exe__SfLoadString_16
add esi, 0x48
dec edi
jne 0x4208f0
push 0x2758
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x420935
pop edi
pop esi
pop ebx
add esp, 0x104
ret 0xc
push ebp
mov ebp, dword [esp + 0x11c]
mov ecx, 0x9d6
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x118]
push ebx
push esi
call int.0041bc90
mov edx, dword [0x613f20]
xor eax, eax
mov ecx, 0x1d
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebp
xor ebp, ebp
mov dword [esp + 0x54], eax
cmp dword [esp + 0x10], ebp
lea ecx, [esp + 0xc0]
mov dword [esp + 0x30], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], 0x34
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], 0x617b88
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ecx
je 0x420aec
push 0x1380
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor ecx, ecx
cmp eax, ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
je 0x420ae8
mov edx, 0x5d6168
mov esi, 0x34
mov edi, dword [edx - 0x18]
cmp edi, ebp
je 0x420a23
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov ecx, edi
mov dword [eax], ecx
mov ecx, dword [edx - 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [edx - 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [edx - 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx - 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx - 4]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
inc ecx
mov dword [esp + 0x70], ecx
cmp dword [edx], ebp
je 0x420a5e
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov ecx, edx
mov edi, dword [ecx]
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + 8]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0xc]
mov dword [eax + 0xc], edi
mov edi, dword [ecx + 0x10]
mov dword [eax + 0x10], edi
mov ecx, dword [ecx + 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
inc ecx
mov dword [esp + 0x70], ecx
mov edi, dword [edx + 0x18]
cmp edi, ebp
je 0x420a9a
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov ecx, edi
mov dword [eax], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
inc ecx
mov dword [esp + 0x70], ecx
mov edi, dword [edx + 0x30]
cmp edi, ebp
je 0x420ad6
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov ecx, edi
mov dword [eax], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 0x40]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
inc ecx
mov dword [esp + 0x70], ecx
add edx, 0x60
dec esi
jne 0x4209e7
cmp eax, ebp
je 0x420ae8
cmp ecx, ebp
jne 0x420aec
dec dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jbe 0x420ba7
mov ebx, 0x60da8c
mov dword [esp + 0x10], eax
mov ebp, 8
cmp dword [ebx], 0
je 0x420b93
mov edx, dword [0x613f28]
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
movzx eax, word [ebx - 4]
lea esi, [ebx - 0x44]
push 5
push eax
push edx
mov dword [esp + 0x98], 0x34
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa4], eax
call sym.vidcap60.exe__SfFindResInstance_12
mov dword [esp + 0x94], eax
mov eax, dword [ebx]
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x18]
push edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
call fcn.00420e60
test eax, eax
mov ecx, dword [esp + 0x50]
mov dword [esp + ecx*4 + 0xc0], eax
je 0x420b93
mov eax, ecx
inc eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
add ebx, 0x48
dec eax
mov dword [esp + 0x10], eax
jne 0x420b06
xor ebp, ebp
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
inc edx
cmp edx, eax
jbe 0x420bb8
mov dword [esp + 0x54], ebp
call dword [sym.imp.USER32.dll_GetFocus]
lea eax, [esp + 0x38]
push eax
call fcn.00420fa0
mov eax, dword [esp + 0x6c]
cmp eax, ebp
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x420bf2
push eax
call esi
push eax
call edi
mov ecx, dword [esp + 0x6c]
push ecx
call esi
push eax
call ebx
mov eax, dword [esp + 0x74]
cmp eax, ebp
mov dword [esp + 0x6c], ebp
je 0x420c0e
push eax
call esi
push eax
call edi
mov edx, dword [esp + 0x74]
push edx
call esi
push eax
call ebx
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x78], ebp
call esi
push eax
call edi
mov ecx, dword [esp + 0x18]
push ecx
call esi
push eax
call ebx
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret 0xc