Function at 0x471d5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb9c
push ebx
push esi
mov esi, str._UYVY
call fcn.0045f88c
mov ebx, eax
lea eax, [esi + 0x46d]
push eax
call fcn.0045df78
pop ecx
lea edx, [ebp - 4]
push edx
push 0x5f5bf0
push 0x17
push 0
push 0x5f5b80
call sub.OLE32.DLL_CoCreateInstance
test eax, eax
jl 0x471e12
lea ecx, [esi + 0x49b]
push ecx
call fcn.0045df78
pop ecx
lea eax, [esi + 0x4a1]
push eax
call fcn.0045df78
pop ecx
cmp dword [0x7cc83c], 0
jne 0x471dd2
cmp dword [0x7c9d94], 0
jne 0x471dcb
xor eax, eax
jmp 0x471dd7
mov eax, 0x7c997c
jmp 0x471dd7
mov eax, dword [0x7cc83c]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x48]
test eax, eax
jge 0x471e03
lea eax, [esi + 0x4b8]
push eax
call fcn.0045df78
pop ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
or eax, 0xffffffff
jmp 0x472056
lea edx, [esi + 0x4e6]
push edx
call fcn.0045df78
pop ecx
jmp 0x471e27
lea ecx, [esi + 0x4fc]
push ecx
call fcn.0045df78
pop ecx
or eax, 0xffffffff
jmp 0x472056
cmp dword [0x7c9d94], 1
jne 0x471eda
call fcn.0045e204
push 0x7c998c
lea edx, [esi + 0x51e]
push edx
call fcn.0045e1bc
add esp, 8
push 0x7c9b8c
lea ecx, [esi + 0x537]
push ecx
call fcn.0045e1bc
add esp, 8
cmp dword [0x7c9d90], 0
je 0x471e72
lea eax, [esi + 0x55b]
jmp 0x471e78
lea eax, [esi + 0x560]
push eax
lea edx, [esi + 0x548]
push edx
call fcn.0045e1bc
add esp, 8
mov ecx, dword [0x7c9d8c]
mov dword [ebp - 0x454], ecx
xor eax, eax
mov dword [ebp - 0x450], eax
fild qword [ebp - 0x454]
fmul dword [0x47205c]
add esp, 0xfffffff8
lea edx, [esi + 0x565]
fstp qword [esp]
push edx
call fcn.0045e1bc
add esp, 0xc
call fcn.0045e210
xor ecx, ecx
mov dword [ebx + 0x50c], ecx
mov eax, dword [0x7c9d8c]
mov dword [ebx + 0x510], eax
jmp 0x47204c
lea edx, [esi + 0x57e]
push edx
call fcn.0045df78
pop ecx
call fcn.0045e204
push 0x10
call sub.USER32.DLL_GetKeyState
test al, 0x80
je 0x47202c
push 0
lea ecx, [ebp - 0x44c]
push ecx
mov eax, dword [ebp - 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x6c]
mov cx, word [ebp - 0x4c]
and cx, 0xffff
movzx eax, cx
push eax
mov edx, dword [ebp - 0x4c]
shr edx, 0x10
movzx ecx, dx
push ecx
mov ax, word [ebp - 0x48]
and ax, 0xffff
movzx edx, ax
push edx
mov ecx, dword [ebp - 0x48]
shr ecx, 0x10
movzx eax, cx
push eax
lea edx, [ebp - 0x44c]
push edx
lea ecx, [esi + 0x592]
push ecx
call fcn.0045e1bc
add esp, 0x18
lea eax, [ebp - 0x24c]
push eax
lea edx, [esi + 0x5c2]
push edx
call fcn.0045e1bc
add esp, 8
lea ecx, [ebp - 0x44c]
push ecx
lea eax, [ebx + 0x30c]
push eax
call fcn.0045e850
add esp, 8
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebx + 0x40c]
push ecx
call fcn.0045e850
add esp, 8
lea eax, [ebp - 0x1c]
push 0x10
push 0
push eax
call fcn.0045ea68
add esp, 0xc
lea edx, [ebp - 0xc]
mov dword [ebp - 0x1c], 0x4000
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], edx
fild qword [ebp - 0x45c]
fmul dword [0x47205c]
add esp, 0xfffffff8
xor eax, eax
fstp qword [esp]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x464], ecx
mov dword [ebp - 0x460], eax
fild qword [ebp - 0x464]
fmul dword [0x47205c]
add esp, 0xfffffff8
lea edx, [esi + 0x5d4]
fstp qword [esp]
push edx
call fcn.0045e1bc
add esp, 0x14
call fcn.0045e210
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x50c], ecx
mov eax, dword [ebp - 8]
mov dword [ebx + 0x510], eax
jmp 0x47204c
mov byte [ebx + 0x30c], 0
mov byte [ebx + 0x40c], 0
xor edx, edx
mov dword [ebx + 0x50c], edx
mov dword [ebx + 0x510], 0x1000000
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret