Function at 0x10003a50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10042040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [0x100420ac]
push esi
mov esi, dword [0x100b7f10]
push edi
push dword [0x100420b0]
mov edi, dword [0x100b7f14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10003c93
cmp dword [0x100420a0], 0xffffffff
jne 0x10003acb
test esi, esi
jne 0x10003aa8
mov dl, byte [ebp + 0x10]
sub esp, 8
push ebx
call fcn.10003190
add esp, 0xc
jmp 0x10003abd
cmp esi, 1
jne 0x10003c7f
mov dl, byte [ebp + 0x10]
push ebx
call fcn.10003490
add esp, 4
mov dword [0x100420a0], eax
cmp eax, 0xffffffff
je 0x10003c7f
mov ecx, dword [0x100b7f30]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, eax
push 4
push esi
mov dword [0x10042b78], esi
call ebx
test eax, eax
jne 0x10003c93
test esi, esi
je 0x10003c93
mov eax, dword [0x10042b78]
push 4
mov ecx, dword [eax + 0x184]
mov eax, dword [0x100420a0]
mov esi, dword [ecx + eax*4]
push esi
call ebx
test eax, eax
jne 0x10003c93
test esi, esi
je 0x10003c93
mov eax, dword [esi + 0x10]
push 4
push eax
mov dword [ebp - 0x3c], eax
call ebx
test eax, eax
jne 0x10003c93
cmp dword [ebp - 0x3c], eax
je 0x10003c93
test edi, edi
jne 0x10003b86
mov ecx, dword [0x100b7f28]
lea edx, [ebp - 0x38]
push 1
push edx
push 8
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [0x1003fbac]
movss dword [ebp - 0x34], xmm0
jmp 0x10003c1c
cmp edi, 1
jne 0x10003b94
push edi
lea edx, [ebp - 0x38]
push edx
push 7
jmp 0x10003c0e
cmp edi, 2
jne 0x10003bc3
mov ecx, dword [0x100b7f28]
lea edx, [ebp - 0x38]
push 1
push edx
push 6
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x34]
subss xmm0, dword [0x1003fb74]
movss dword [ebp - 0x34], xmm0
jmp 0x10003c1c
cmp edi, 3
jne 0x10003bf2
mov ecx, dword [0x100b7f28]
lea edx, [ebp - 0x38]
push 1
push edx
push 4
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x34]
subss xmm0, dword [0x1003fbac]
movss dword [ebp - 0x34], xmm0
jmp 0x10003c1c
cmp edi, 4
jne 0x10003c01
push 1
lea edx, [ebp - 0x38]
push edx
push 0x15
jmp 0x10003c0e
cmp edi, 5
jne 0x10003c1c
push 1
lea edx, [ebp - 0x38]
push edx
push 0x24
mov ecx, dword [0x100b7f28]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, dword [0x100b7f74]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
mov eax, dword [esi + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x38]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x30]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x48]
call fcn.10002e40
movss xmm0, dword [ebp - 0x44]
add esp, 0x18
mulss xmm0, dword [0x1003faec]
movss dword [esi + 0x58], xmm0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, dword [0x1003faec]
movss dword [esi + 0x54], xmm0
mov dword [0x100420a0], 0xffffffff
mov dword [0x100420c4], 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100390f0
mov esp, ebp
pop ebp
ret