Function at 0x100f15d0
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 [0x1078597c]
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 0x100f1b8c
mov ecx, dword [esi + 0xbc]
xor edx, edx
mov eax, dword [esi + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.100eb890
mov ebx, eax
add esp, 4
cmp dword [edi + 0x1a34], ebx
jne 0x100f1630
mov dword [edi + 0x1a38], ebx
cmp dword [edi + 0x1a6c], ebx
jne 0x100f163f
mov byte [edi + 0x1a70], 1
mov edx, dword [ebp - 0x34]
mov eax, edx
cmp edx, 0xffffffff
jae 0x100f1666
nop dword [eax]
mov cl, byte [eax]
test cl, cl
je 0x100f1666
cmp cl, 0x23
jne 0x100f1660
cmp byte [eax + 1], cl
je 0x100f1666
inc eax
cmp eax, 0xffffffff
jb 0x100f1650
movss xmm0, dword [edi + 0x18d0]
cmp edx, eax
jne 0x100f167c
xorps xmm1, xmm1
movss dword [ebp - 0x30], xmm1
jmp 0x100f16c7
movss xmm3, dword [0x1074b9d4]
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.1010a1e0
movss xmm0, dword [ebp - 0x14]
xorps xmm1, xmm1
addss xmm0, dword [0x1074b834]
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 0x100f16f0
movss xmm0, dword [edi + 0x1adc]
jmp 0x100f16f8
movss xmm0, dword [ecx + 0x1a8]
comiss xmm1, xmm0
jbe 0x100f1730
mov eax, ecx
cmp dword [eax + 0x190], 0
movss xmm1, dword [eax + 0x244]
je 0x100f1718
movss xmm1, dword [eax + 0x224]
subss xmm1, dword [ecx + 0xc8]
addss xmm1, xmm0
movss xmm0, dword [0x1074b838]
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.100f7330
movss xmm1, dword [ebp - 0x30]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x100f1772
movaps xmm4, xmm1
addss xmm4, dword [edi + 0x1568]
jmp 0x100f1775
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.100f6e20
push 0
mov edx, ebx
lea ecx, [ebp - 0x44]
call fcn.100f6f50
add esp, 4
test al, al
je 0x100f1b8c
mov edx, ebx
mov ecx, esi
call fcn.100ee760
mov edx, ebx
mov byte [ebp - 5], al
lea ecx, [ebp - 0x2c]
call fcn.100ee510
mov byte [ebp - 6], al
test al, al
je 0x100f1865
mov eax, dword [0x1078597c]
mov dword [eax + 0x1a20], ebx
mov byte [eax + 0x1a24], 0
test ebx, ebx
je 0x100f184e
cmp dword [eax + 0x1a28], ebx
je 0x100f184e
mov dword [eax + 0x1a30], 0
mov dword [eax + 0x1a2c], 0
mov dword [edi + 0x1d94], 1
cmp byte [edi + 0x3e0], 0
je 0x100f1865
mov al, 1
jmp 0x100f1867
xor al, al
cmp byte [ebp - 5], 0
jne 0x100f188c
test al, al
jne 0x100f188c
cmp byte [edi + 0x3e0], al
je 0x100f18d4
cmp dword [edi + 0x1a34], ebx
jne 0x100f18d4
xor edx, edx
xor ecx, ecx
call fcn.100ee430
jmp 0x100f18d4
cmp dword [edi + 0x1a34], ebx
je 0x100f18c4
push 0x200
lea eax, [edi + 0x104]
mov dword [edi + 0xf0], 0
push 0
push eax
mov byte [edi + 0xf4], 0
call fcn.1013a920
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ecx], 0
mov edx, esi
mov ecx, ebx
call fcn.100ee430
mov ecx, esi
call fcn.100f65a0
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 0x100f1944
mov esi, 8
nop dword [eax]
cmp byte [edi + esi + 0x104], 0
je 0x100f190a
xor edx, edx
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov byte [ebp - 5], 1
call fcn.100ee430
inc esi
cmp esi, 0xfe
jle 0x100f18f0
mov eax, dword [0x1078597c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x100f193c
call fcn.100f1510
test al, al
je 0x100f193c
mov eax, dword [ebp - 0xc]
xor edx, edx
xor ecx, ecx
mov dword [eax], 0
call fcn.100ee430
jmp 0x100f1944
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 [0x10749890]
push 0x3b
mov byte [ebp - 0x80], al
lea eax, [ebp - 0x7f]
push 0
push eax
call fcn.1013a920
movss xmm0, dword [edi + 0x1558]
add esp, 0xc
movss dword [ebp - 0x18], xmm0
cmp dword [edi + 0x1a34], ebx
jne 0x100f1983
mov ecx, 9
jmp 0x100f198e
xor ecx, ecx
cmp byte [ebp - 6], cl
setne cl
add ecx, 7
movss xmm1, dword [0x1074b838]
call fcn.100ec490
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.100ed0a0
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov esi, dword [eax]
test esi, esi
je 0x100f1a36
cmp dword [edi + 0x1a34], ebx
je 0x100f1a3e
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
add esi, 0xffffffdf
cmp esi, 0x6f
ja case.0x100f1a07.41
movzx ecx, byte [esi + 0x100f1ba0]
jmp dword [ecx*4 + 0x100f1b98]
or eax, 0x100
push 0x40
push 0x10a79c60
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
mov ecx, 0x10a79c60
mov edx, str._Error_
cmove ecx, edx
push ecx
jmp 0x100f1a43
cmp dword [edi + 0x1a34], ebx
jne 0x100f1a54
push str._Press_a_key_
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.1013ff4b
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 0x100f1ae5
mov al, byte [ebx]
test al, al
je 0x100f1ae5
cmp al, 0x23
jne 0x100f1adf
cmp byte [ebx + 1], al
je 0x100f1ae5
inc ebx
cmp ebx, 0xffffffff
jb 0x100f1ad0
mov eax, ebx
lea ecx, [ebp - 0x84]
sub eax, ecx
je 0x100f1b48
mov esi, dword [0x1078597c]
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.100ec8a0
add esp, 0x18
cmp byte [esi + 0x2dc8], 0
je 0x100f1b3e
push ebx
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x14]
call fcn.100fbfe0
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 0x100f1b82
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.100ec750
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