Function at 0x438940
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x470080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x470c10]
mov dword [ebp - 0x24], esi
push edi
test esi, esi
je 0x438965
mov ebx, dword [esi + 0x74]
jmp 0x438967
xor ebx, ebx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movd xmm1, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cmp byte [ebx + 0x26], 0
je 0x4389f7
mov eax, dword [0x470c10]
test eax, eax
je 0x4389b2
mov edi, dword [eax + 0x74]
jmp 0x4389b4
xor edi, edi
mov ecx, dword [eax + 0x3828]
lea esi, [eax + 0x3824]
test ecx, ecx
jns 0x4389dc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00426010
push 0
push 0x438810
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [edi + 0x26], 0
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x10]
mov ecx, edi
sub ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0xc]
mov edx, esi
sbb edx, dword [ebx + 0x14]
call fcn.0045f060
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
movss dword [ebp - 0x28], xmm0
call fcn.0045f060
movss xmm1, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], esi
call fcn.00437f90
mov eax, dword [0x470c10]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2ecc], 0
je 0x438a98
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x438a98
mov esi, dword [0x470c10]
xorps xmm3, xmm3
push 0
push 0x210
lea ecx, [esi + 8]
call fcn.00405ce0
mov dword [esi + 0x33c], 0x210
mov dword [esi + 0x8fc], 0xa0
mov eax, dword [0x470c10]
cmp byte [eax + 0x2f0c], 0
je 0x438ae0
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x438ae0
mov esi, dword [0x470c10]
xorps xmm3, xmm3
push 0
push 0x214
lea ecx, [esi + 8]
call fcn.00405ce0
mov dword [esi + 0x340], 0x214
mov dword [esi + 0x90c], 0xa1
mov eax, dword [0x470c10]
cmp byte [eax + 0x2eec], 0
je 0x438b25
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x438b25
mov esi, dword [0x470c10]
xorps xmm3, xmm3
push 0
push 0x212
lea ecx, [esi + 8]
call fcn.00405ce0
mov dword [esi + 0x228], 0x212
mov dword [esi + 0x904], 0x5b
mov eax, dword [0x470c10]
cmp byte [eax + 0x2f2c], 0
je 0x438b6a
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x438b6a
mov esi, dword [0x470c10]
xorps xmm3, xmm3
push 0
push 0x216
lea ecx, [esi + 8]
call fcn.00405ce0
mov dword [esi + 0x22c], 0x216
mov dword [esi + 0x914], 0x5c
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x60], 0
je 0x438b78
or eax, 0xffffffff
jmp 0x438b83
mov eax, dword [0x470c10]
mov eax, dword [eax + 0x428c]
cmp dword [ebx + 0x20], eax
je 0x438b90
mov dword [ebx + 0x20], eax
call fcn.00437e60
call fcn.00438250
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ddbf
mov esp, ebp
pop ebp
ret