Function at 0x1008ee00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov edi, dword [0x105ef74c]
mov ebx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x34], ebx
mov eax, dword [edi + 0x1a00]
mov byte [eax + 0x7c], 1
mov esi, dword [edi + 0x1a00]
cmp byte [esi + 0x7f], 0
jne 0x1008f3bc
mov ecx, dword [esi + 0xbc]
xor edx, edx
mov eax, dword [esi + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.100890e0
mov ebx, eax
add esp, 4
cmp dword [edi + 0x1a34], ebx
jne 0x1008ee60
mov dword [edi + 0x1a38], ebx
cmp dword [edi + 0x1a6c], ebx
jne 0x1008ee6f
mov byte [edi + 0x1a70], 1
mov edx, dword [ebp - 0x34]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1008ee96
nop dword [eax]
mov cl, byte [eax]
test cl, cl
je 0x1008ee96
cmp cl, 0x23
jne 0x1008ee90
cmp byte [eax + 1], cl
je 0x1008ee96
inc eax
cmp eax, 0xffffffff
jb 0x1008ee80
movss xmm0, dword [edi + 0x18d0]
cmp edx, eax
jne 0x1008eeac
xorps xmm1, xmm1
movss dword [ebp - 0x30], xmm1
jmp 0x1008eef7
movss xmm3, dword [0x105cfe84]
movaps xmm2, xmm0
push 0
push eax
push edx
push ecx
mov ecx, dword [edi + 0x18cc]
lea eax, [ebp - 0x14]
mov dword [esp], 0xbf800000
push eax
call fcn.100a76d0
movss xmm0, dword [ebp - 0x14]
xorps xmm1, xmm1
addss xmm0, dword [0x105cfd2c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x10]
test byte [edi + 0x1ad8], 1
movss xmm2, dword [edi + 0x1554]
mov ecx, dword [edi + 0x1a00]
addss xmm2, xmm2
addss xmm2, xmm0
je 0x1008ef20
movss xmm0, dword [edi + 0x1adc]
jmp 0x1008ef28
movss xmm0, dword [ecx + 0x1a8]
comiss xmm1, xmm0
jbe 0x1008ef60
mov eax, ecx
cmp dword [eax + 0x190], 0
movss xmm1, dword [eax + 0x244]
je 0x1008ef48
movss xmm1, dword [eax + 0x224]
subss xmm1, dword [ecx + 0xc8]
addss xmm1, xmm0
movss xmm0, dword [0x105cfd30]
maxss xmm0, xmm1
mov ecx, dword [ebp + 8]
sub esp, 8
cvttss2si eax, xmm0
mov edx, esp
movd xmm1, eax
mov eax, dword [ecx]
cvtdq2ps xmm1, xmm1
mov dword [edx], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x14]
mov dword [edx + 4], eax
call fcn.10094ae0
movss xmm1, dword [ebp - 0x30]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x1008efa2
movaps xmm4, xmm1
addss xmm4, dword [edi + 0x1568]
jmp 0x1008efa5
xorps xmm4, xmm4
movss xmm1, dword [esi + 0xcc]
lea ecx, [ebp - 0x1c]
addss xmm4, dword [ebp - 0x14]
movss xmm2, dword [esi + 0xc8]
movaps xmm3, xmm1
addss xmm3, dword [ebp - 0x10]
movaps xmm0, xmm2
movss dword [ebp - 0x28], xmm1
addss xmm0, dword [ebp - 0x14]
addss xmm4, xmm2
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x38], xmm3
subss xmm3, xmm1
movss xmm1, dword [edi + 0x1554]
movss dword [ebp - 0x3c], xmm4
subss xmm4, xmm2
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x44], xmm2
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x1c], xmm4
call fcn.100945d0
push 0
mov edx, ebx
lea ecx, [ebp - 0x44]
call fcn.10094700
add esp, 4
test al, al
je 0x1008f3bc
mov edx, ebx
mov ecx, esi
call fcn.1008bfb0
mov edx, ebx
mov byte [ebp - 5], al
lea ecx, [ebp - 0x2c]
call fcn.1008bd60
mov byte [ebp - 6], al
test al, al
je 0x1008f095
mov eax, dword [0x105ef74c]
mov dword [eax + 0x1a20], ebx
mov byte [eax + 0x1a24], 0
test ebx, ebx
je 0x1008f07e
cmp dword [eax + 0x1a28], ebx
je 0x1008f07e
mov dword [eax + 0x1a30], 0
mov dword [eax + 0x1a2c], 0
mov dword [edi + 0x1d94], 1
cmp byte [edi + 0x3e0], 0
je 0x1008f095
mov al, 1
jmp 0x1008f097
xor al, al
cmp byte [ebp - 5], 0
jne 0x1008f0bc
test al, al
jne 0x1008f0bc
cmp byte [edi + 0x3e0], al
je 0x1008f104
cmp dword [edi + 0x1a34], ebx
jne 0x1008f104
xor edx, edx
xor ecx, ecx
call fcn.1008bc80
jmp 0x1008f104
cmp dword [edi + 0x1a34], ebx
je 0x1008f0f4
push 0x200
lea eax, [edi + 0x104]
mov dword [edi + 0xf0], 0
push 0
push eax
mov byte [edi + 0xf4], 0
call fcn.100d7380
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ecx], 0
mov edx, esi
mov ecx, ebx
call fcn.1008bc80
mov ecx, esi
call fcn.10093dd0
mov eax, dword [ebp - 0xc]
mov byte [ebp - 5], 0
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x1a34], ebx
jne 0x1008f174
mov esi, 8
nop dword [eax]
cmp byte [edi + esi + 0x104], 0
je 0x1008f13a
xor edx, edx
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov byte [ebp - 5], 1
call fcn.1008bc80
inc esi
cmp esi, 0xfe
jle 0x1008f120
mov eax, dword [0x105ef74c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1008f16c
call fcn.1008ed40
test al, al
je 0x1008f16c
mov eax, dword [ebp - 0xc]
xor edx, edx
xor ecx, ecx
mov dword [eax], 0
call fcn.1008bc80
jmp 0x1008f174
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [str.None]
mov dword [ebp - 0x84], eax
mov al, byte [0x105cde00]
push 0x3b
mov byte [ebp - 0x80], al
lea eax, [ebp - 0x7f]
push 0
push eax
call fcn.100d7380
movss xmm0, dword [edi + 0x1558]
add esp, 0xc
movss dword [ebp - 0x18], xmm0
cmp dword [edi + 0x1a34], ebx
jne 0x1008f1b3
mov ecx, 9
jmp 0x1008f1be
xor ecx, ecx
cmp byte [ebp - 6], cl
setne cl
add ecx, 7
movss xmm1, dword [0x105cfd30]
call fcn.10089ce0
movss xmm0, dword [ebp - 0x24]
sub esp, 8
movss xmm2, dword [ebp - 0x18]
mov ecx, esp
mov esi, eax
sub esp, 8
mov eax, esp
mov dl, 1
movss dword [ecx], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ecx + 4], xmm0
mov ecx, esi
movss xmm0, dword [ebp - 0x2c]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [eax + 4], xmm0
call fcn.1008a8f0
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov esi, dword [eax]
test esi, esi
je 0x1008f266
cmp dword [edi + 0x1a34], ebx
je 0x1008f26e
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
add esi, 0xffffffdf
cmp esi, 0x6f
ja case.0x1008f237.41
movzx ecx, byte [esi + 0x1008f3d0]
jmp dword [ecx*4 + 0x1008f3c8]
or eax, 0x100
push 0x40
push 0x1076bb70
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
mov ecx, 0x1076bb70
mov edx, str._Error_
cmove ecx, edx
push ecx
jmp 0x1008f273
cmp dword [edi + 0x1a34], ebx
jne 0x1008f284
push str._Press_a_key_
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.100dee84
add esp, 0xc
movss xmm5, dword [ebp - 0x2c]
lea ebx, [ebp - 0x84]
movss xmm2, dword [ebp - 0x28]
movaps xmm0, xmm5
addss xmm0, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x24]
mov eax, ebx
movss xmm1, dword [edi + 0x1550]
movss xmm4, dword [ebp - 0x20]
movss dword [ebp - 0x44], xmm5
movss dword [ebp - 0x3c], xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x40], xmm2
addss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x38], xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
addss xmm1, xmm5
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edi + 0x1554]
movss dword [ebp - 0x14], xmm1
subss xmm4, xmm0
addss xmm0, xmm2
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x10], xmm0
cmp eax, 0xffffffff
jae 0x1008f315
mov al, byte [ebx]
test al, al
je 0x1008f315
cmp al, 0x23
jne 0x1008f30f
cmp byte [ebx + 1], al
je 0x1008f315
inc ebx
cmp ebx, 0xffffffff
jb 0x1008f300
mov eax, ebx
lea ecx, [ebp - 0x84]
sub eax, ecx
je 0x1008f378
mov esi, dword [0x105ef74c]
lea eax, [ebp - 0x44]
push eax
lea eax, [edi + 0x159c]
push eax
mov eax, ecx
lea edx, [ebp - 0x14]
mov ecx, dword [esi + 0x1a00]
push 0
push ebx
push eax
mov ecx, dword [ecx + 0x278]
lea eax, [ebp - 0x1c]
push eax
call fcn.1008a0f0
add esp, 0x18
cmp byte [esi + 0x2dc8], 0
je 0x1008f36e
push ebx
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x14]
call fcn.10099670
add esp, 4
movss xmm3, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x30]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1008f3b2
addss xmm2, dword [edi + 0x1554]
addss xmm3, dword [edi + 0x1568]
sub esp, 8
xor edx, edx
mov ecx, esp
push 1
movss dword [ecx], xmm3
movss dword [ecx + 4], xmm2
mov ecx, dword [ebp - 0x34]
call fcn.10089fa0
add esp, 0xc
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret