Function at 0x1003cb50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10053040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x120], ecx
push esi
mov esi, dword [ebp + 0x20]
push edi
test ebx, ebx
jne 0x1003cb8b
push dword [0x100e0bd0]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1003ce3c
mov eax, dword [0x1007208c]
test eax, eax
jne 0x1003cb9b
mov dword [0x10100b88], eax
jmp 0x1003cc10
cmp eax, 3
jne 0x1003cbac
mov dword [0x10100b88], 0xf
jmp 0x1003cc10
cmp eax, 4
jne 0x1003cbbd
mov dword [0x10100b88], 0x1e
jmp 0x1003cc10
cmp eax, 7
jne 0x1003cbce
mov dword [0x10100b88], 0x2d
jmp 0x1003cc10
cmp eax, 9
jne 0x1003cbdf
mov dword [0x10100b88], 0x3c
jmp 0x1003cc10
cmp eax, 0xb
jne 0x1003cbf0
mov dword [0x10100b88], 0x78
jmp 0x1003cc10
cmp eax, 0xd
jne 0x1003cc01
mov dword [0x10100b88], 0xf0
jmp 0x1003cc10
cmp eax, 0xf
jne 0x1003cc10
mov dword [0x10100b88], 0x168
cmp dword [0x10053098], 0xffffffff
jne 0x1003cc46
cmp dword [0x100e0bf4], 0
je 0x1003ce28
mov edx, dword [ebp + 0x18]
push esi
push ecx
mov dword [0x10100b88], eax
call fcn.1003c630
add esp, 8
mov dword [0x10053098], eax
cmp eax, 0xffffffff
je 0x1003ce28
cmp dword [0x100e0bf4], 0
je 0x1003ce28
mov ecx, dword [0x1014edd0]
mov eax, dword [ecx]
call dword [eax + 0xec]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, eax
push 4
push esi
call edi
test eax, eax
jne 0x1003ce3c
test esi, esi
je 0x1003ce3c
mov ecx, dword [esi + 0x184]
mov eax, dword [0x10053098]
push 4
mov esi, dword [ecx + eax*4]
push esi
call edi
test eax, eax
jne 0x1003ce14
test esi, esi
je 0x1003ce14
mov ebx, dword [esi + 0x10]
push 4
push ebx
call edi
test eax, eax
jne 0x1003ce11
test ebx, ebx
je 0x1003ce11
mov eax, dword [0x10100ba0]
cmp eax, 1
jne 0x1003ccf6
mov ecx, dword [0x1014edc8]
lea edx, [ebp - 0x11c]
push 1
push edx
push 8
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x118]
addss xmm0, dword [0x100501c4]
movss dword [ebp - 0x118], xmm0
jmp 0x1003cd70
cmp eax, 2
jne 0x1003cd08
push 1
lea edx, [ebp - 0x11c]
push edx
push 6
jmp 0x1003cd62
cmp eax, 3
jne 0x1003cd40
mov ecx, dword [0x1014edc8]
lea edx, [ebp - 0x11c]
push 1
push edx
push 4
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x118]
subss xmm0, dword [0x100501c4]
movss dword [ebp - 0x118], xmm0
jmp 0x1003cd70
cmp eax, 4
jne 0x1003cd52
push 1
lea edx, [ebp - 0x11c]
push edx
push 0x15
jmp 0x1003cd62
cmp eax, 5
jne 0x1003cd70
push 1
lea edx, [ebp - 0x11c]
push edx
push 0x24
mov ecx, dword [0x1014edc8]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, dword [0x1014edf4]
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 - 0x11c]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x114]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x12c]
call fcn.1003c2e0
movss xmm0, dword [ebp - 0x128]
add esp, 0x18
cmp dword [ebp + 0xc], 0
mulss xmm0, dword [0x10050100]
movss dword [esi + 0x58], xmm0
movss xmm0, dword [ebp - 0x12c]
mulss xmm0, dword [0x10050100]
movss dword [esi + 0x54], xmm0
je 0x1003ce06
mov esi, dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 2
call esi
push 0
push 0
push 0
push 0
push 4
call esi
cmp dword [ebp - 0x120], 1
jne 0x1003ce3c
jmp 0x1003ce28
mov ebx, dword [ebp + 8]
cmp dword [ebp + 0x1c], 0
jne 0x1003ce28
mov dword [0x100e0bf4], 0
test ebx, ebx
je 0x1003ce32
mov dword [0x100e0bf4], 1
mov dword [0x10053098], 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10047730
mov esp, ebp
pop ebp
ret