Function at 0x1000b470
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x1005b2f4]
xorps xmm0, xmm0
push esi
mov esi, dword [0x1005b0cc]
push edi
mov edi, dword [0x1005b2f8]
movss xmm1, dword [esi + 0x18]
subss xmm1, dword [edi + 0x60]
mov byte [esi + 0x4a], 0
comiss xmm0, xmm1
movss dword [ebp - 8], xmm1
setae byte [ebp - 1]
cmp byte [ebx + 0x3a4], 0
je 0x1000b75c
mov eax, dword [ebx + 0x3ac]
mov ecx, dword [ebx + 0x3a8]
sub eax, 0
je 0x1000b50f
sub eax, 1
je 0x1000b4ef
sub eax, 1
jne 0x1000b75c
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [0x1005b2f8]
test ax, ax
mov ebx, dword [0x1005b2f4]
setne al
jmp 0x1000b507
mov eax, dword [0x1005b304]
cmp ecx, 0x100
jae 0x1000b779
mov al, byte [eax + ecx + 0x118]
test al, al
je 0x1000b75c
cmp dword [edi + 0x70], 0x10
mov eax, dword [edi + 0x6c]
mov edx, dword [ebp + 8]
setge cl
mov byte [eax], cl
cmp byte [esi + 0x34], 0
jne 0x1000b575
mov eax, dword [0x1005b31c]
movss xmm1, dword [eax + 0x1fcc]
movss xmm0, dword [eax + 0x1fc8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
movss xmm1, dword [0x10045f78]
comiss xmm1, xmm0
jb 0x1000b55d
mov byte [esi + 0x34], 1
jmp 0x1000b572
mov eax, dword [ebp + 8]
push eax
call fcn.1002dea0
mov edi, dword [0x1005b2f8]
mov ebx, dword [0x1005b2f4]
mov edx, dword [ebp + 8]
cmp byte [esi + 0x20], 0
je 0x1000b719
mov ecx, dword [ebx + 0x3c]
mov eax, dword [edi + 0x14]
cmp dword [ecx + eax], 0
je 0x1000b770
mov eax, dword [esi + 0x44]
test eax, eax
jle 0x1000b5b4
cmp eax, 4
je 0x1000b5a0
cmp eax, 2
jne 0x1000b5a6
mov eax, dword [edi + 0x6c]
mov byte [eax], 1
dec dword [esi + 0x44]
push edx
call fcn.1002dea0
jmp 0x1000b72d
mov cl, byte [esi + 0x41]
test cl, cl
jne 0x1000b5f2
mov eax, dword [0x1005b358]
movss xmm0, dword [ebp - 8]
mov ebx, dword [esi + 0x14]
add ebx, 2
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10045fc0]
cvttss2si eax, xmm0
cmp ebx, eax
jl 0x1000b5f2
mov word [esi + 0x40], 0x101
mov cl, 1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], 0
cmp byte [esi + 0x40], 0
jne 0x1000b618
mov ebx, dword [esi + 0x14]
mov eax, 0x10
sub eax, dword [edi + 0x70]
add ebx, 2
cmp ebx, eax
jl 0x1000b687
mov byte [esi + 0x40], 1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], 0
test cl, cl
jne 0x1000b695
push edx
call fcn.1002dea0
mov eax, dword [0x1005b31c]
dec dword [esi + 0x3c]
movss xmm1, dword [eax + 0x1fcc]
movss xmm0, dword [eax + 0x1fc8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
movss xmm1, dword [0x10045f78]
comiss xmm1, xmm0
jb 0x1000b65b
inc dword [esi + 0x38]
cmp dword [esi + 0x38], 2
jl 0x1000b72d
mov eax, dword [0x1005b2f8]
mov byte [esi + 0x40], 0
mov eax, dword [eax + 0x6c]
mov byte [eax], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x44], 1
jmp 0x1000b726
test cl, cl
jne 0x1000b695
mov eax, dword [edi + 0x6c]
mov byte [eax], cl
jmp 0x1000b72d
push edx
call fcn.1002dea0
mov eax, dword [0x1005b31c]
dec dword [esi + 0x3c]
movss xmm1, dword [eax + 0x1fcc]
movss xmm0, dword [eax + 0x1fc8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
movss xmm1, dword [0x10045f78]
comiss xmm1, xmm0
jb 0x1000b6dd
mov eax, dword [esi + 0x38]
cmp eax, 0xffffffff
je 0x1000b6dd
inc eax
mov dword [esi + 0x38], eax
cmp dword [esi + 0x38], 2
jl 0x1000b6fc
mov eax, dword [0x1005b2f8]
mov eax, dword [eax + 0x6c]
mov byte [eax], 1
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0xffffffff
mov bl, byte [ebp - 1]
test bl, bl
je 0x1000b730
mov word [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 4
jmp 0x1000b730
mov word [esi + 0x40], 0
mov dword [esi + 0x44], 2
mov dword [esi + 0x3c], 0
mov bl, byte [ebp - 1]
cmp byte [esi + 0x34], 0
je 0x1000b74d
cmp byte [esi + 0x20], 0
jne 0x1000b74d
mov eax, dword [ebp + 8]
push eax
call fcn.1002dea0
test bl, bl
je 0x1000b74d
mov byte [esi + 0x20], 1
mov word [esi + 0x49], 0x101
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esi + 0x34], 0
mov byte [esi + 0x20], 0
mov eax, dword [edi + 0x68]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x3c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.1001b160
int3