Function at 0x1005f840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f310
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
push esi
push edi
mov eax, dword [0x100b1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], edx
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x64], xmm1
mov dword [ebp - 0x28], ecx
mov eax, dword [0x100b24e4]
mov edx, dword [0x100b251c]
movss xmm0, dword [0x100ab1c8]
mov byte [0x100b210e], 0
mov ecx, dword [eax + 0x2bdc]
mov eax, dword [edx]
push ecx
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], 0
movss dword [ebp - 0x58], xmm0
call eax
mov ecx, dword [0x100b24e4]
mov esi, eax
movsd xmm2, qword [0x100ab0b8]
mov dword [ebp - 0x34], esi
movq xmm0, qword [ecx + 0x100]
mov ecx, dword [ecx + 0x108]
movq qword [ebp - 0x70], xmm0
movss xmm1, dword [ebp - 0x70]
comiss xmm1, dword [0x100ab170]
mov dword [ebp - 0x68], ecx
jbe 0x1005f912
cvtps2pd xmm0, xmm1
subsd xmm0, xmm2
jmp 0x1005f926
movss xmm0, dword [0x100ab200]
comiss xmm0, xmm1
jbe 0x1005f92a
cvtps2pd xmm0, xmm1
addsd xmm0, xmm2
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x6c]
movss xmm2, dword [0x100ab144]
comiss xmm0, xmm2
ja 0x1005f949
movss xmm2, dword [0x100ab1f8]
comiss xmm2, xmm0
jbe 0x1005f94c
movaps xmm0, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10011780
mov eax, dword [0x100b24e4]
movss dword [ebp - 0x84], xmm0
mov dword [ebp - 0x18], 0
movq xmm1, qword [eax + 0x2d40]
mov eax, dword [eax + 0x2d48]
movq qword [ebp - 0x9c], xmm1
mov dword [ebp - 0x94], eax
test esi, esi
je case.0x1005fa2d.203
add esi, 8
jne 0x1005f99e
xor eax, eax
jmp 0x1005f9a7
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax + 0x14]
add eax, 0xffffff30
cmp eax, 0x1d
ja case.0x1005f9bb.211
movzx eax, byte [eax + 0x10060158]
jmp dword [eax*4 + 0x10060150]
movd xmm1, dword [0x100b10d4]
cvtdq2ps xmm1, xmm1
jmp 0x1005fa44
test esi, esi
jne 0x1005f9d7
xor eax, eax
jmp 0x1005f9e0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax + 0x14]
add eax, 0xffffff38
cmp eax, 0x20
ja case.0x1005f9f4.202
movzx eax, byte [eax + 0x10060180]
jmp dword [eax*4 + 0x10060178]
movd xmm1, dword [0x100b10cc]
cvtdq2ps xmm1, xmm1
jmp 0x1005fa44
test esi, esi
jne 0x1005fa10
xor eax, eax
jmp 0x1005fa19
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax + 0x14]
add eax, 0xffffff36
cmp eax, 0x1f
ja case.0x1005fa2d.203
movzx eax, byte [eax + 0x100601ac]
jmp dword [eax*4 + 0x100601a4]
movd xmm1, dword [0x100b10c8]
cvtdq2ps xmm1, xmm1
jmp 0x1005fa44
xorps xmm1, xmm1
mov ecx, dword [0x100b24e4]
mov edx, dword [0x100b15a8]
movss dword [ebp - 0x54], xmm1
mov dword [ebp - 0x30], edx
movq xmm0, qword [ecx + 0x418]
mov eax, dword [ecx + 0x420]
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x88], eax
movss xmm0, dword [ebp - 0x88]
addss xmm0, dword [ecx + 0xfc]
mov eax, dword [0x100b15a4]
mov dword [ebp - 0x1c], eax
movss dword [ebp - 0x60], xmm0
cmp eax, edx
je 0x10060139
nop dword [eax]
mov edi, dword [eax]
test edi, edi
je 0x1005fd66
cmp byte [edi + 0x9b], 0
jne 0x1005fd66
lea ecx, [edi + 8]
test ecx, ecx
je 0x1005fad3
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov edx, dword [ebp - 0x30]
test al, al
mov eax, dword [ebp - 0x1c]
jne 0x1005fd66
cmp byte [edi + 0x33ac], 0
jne 0x1005fd66
mov eax, dword [0x100b24e4]
mov ecx, dword [edi + 0xa4]
cmp ecx, dword [eax + 0xa4]
jne 0x1005fb00
cmp byte [0x100b2369], 0
je 0x1005fd6e
push dword [0x100b2384]
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x1005fb7e
cmp byte [0x100b2367], 0
je 0x1005fb7e
mov eax, dword [edi + 0x664]
movss xmm0, dword [eax + 0x14c]
movss xmm1, dword [eax + 0x13c]
movss xmm2, dword [eax + 0x12c]
movss dword [ebp - 0xa0], xmm0
mov eax, dword [ebp - 0xa0]
unpcklps xmm2, xmm1
mov dword [ebp - 0x48], eax
movss xmm0, dword [ebp - 0x48]
movq qword [ebp - 0x50], xmm2
movss xmm1, dword [ebp - 0x4c]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x50]
jmp 0x1005fc24
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
jne 0x1005fc1a
mov esi, dword [edi + 0x664]
mov ecx, dword [eax + 0x14]
lea ecx, [ecx + ecx*2]
add ecx, ecx
movss xmm0, dword [esi + ecx*8 + 0x2c]
movss xmm2, dword [esi + ecx*8 + 0xc]
movss xmm1, dword [esi + ecx*8 + 0x1c]
movss dword [ebp - 0x74], xmm0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 8]
unpcklps xmm2, xmm1
movq qword [ebp - 0x50], xmm2
cmp byte [ecx + 0xd], 0
je 0x1005fbe8
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1005fbe4
cmp eax, dword [ecx + 8]
jne 0x1005fbe4
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1005fbd4
mov eax, ecx
jmp 0x1005fbfe
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x1005fbfe
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x1005fbf2
cmp byte [eax + 0xd], 0
je 0x1005fb95
movss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x4c]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x50]
jmp 0x1005fc24
movss xmm0, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x24]
subss xmm1, dword [ebp - 0x8c]
subss xmm0, dword [ebp - 0x90]
sub esp, 8
movss dword [ebp - 0x38], xmm1
fld dword [ebp - 0x38]
fstp dword [esp + 4]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fstp dword [esp]
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x24], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
movss xmm0, dword [ebp - 0x54]
divss xmm0, dword [0x100ab150]
movss xmm2, dword [ebp - 0x2c]
subss xmm2, dword [ebp - 0x60]
addss xmm0, dword [0x100ab020]
fstp dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x14]
xorps xmm2, xmmword [0x100ab6e0]
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
call fcn.10043a80
mulss xmm0, dword [0x100ab130]
mov esi, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x9c]
mulss xmm2, dword [ebp - 0x2c]
subss xmm0, dword [esi + 0xc]
movss xmm1, dword [ebp - 0x20]
subss xmm0, xmm2
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x24]
call fcn.10043a80
mulss xmm0, dword [0x100ab130]
movss xmm1, dword [ebp - 0x98]
mulss xmm1, dword [ebp - 0x2c]
subss xmm0, dword [esi + 0x10]
subss xmm0, xmm1
xorps xmm1, xmm1
subss xmm1, dword [esi + 0x14]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x94]
mulss xmm0, dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x38]
subss xmm1, xmm0
fstp dword [esp]
movss dword [ebp - 0x68], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
movss xmm1, dword [ebp - 0x58]
add esp, 8
mov edx, dword [ebp - 0x30]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
comiss xmm1, xmm0
jbe 0x1005fd71
movss xmm1, dword [ebp - 0x64]
comiss xmm1, xmm0
jb 0x1005fd71
mov eax, dword [ebp - 0x68]
movss dword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], edi
jmp 0x1005fd74
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
jmp 0x1005fd77
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, edx
jne 0x1005faa0
test edi, edi
je 0x10060139
push 6
mov ecx, edi
call fcn.10062ec0
test al, al
jne 0x1005fdf9
push 8
mov ecx, edi
call fcn.10062ec0
test al, al
jne 0x1005fdf9
push 0xd
mov ecx, edi
call fcn.10062ec0
test al, al
jne 0x1005fdf9
push 0x27
mov ecx, edi
call fcn.10062ec0
test al, al
jne 0x1005fdf9
push 0x42
mov ecx, edi
call fcn.10062ec0
test al, al
jne 0x1005fdf9
push 0x43
mov ecx, edi
call fcn.10062ec0
test al, al
jne 0x1005fdf9
push 0x49
mov ecx, edi
call fcn.10062ec0
test al, al
jne 0x1005fdf9
push 0x4a
mov ecx, edi
call fcn.10062ec0
test al, al
je 0x10060139
mov eax, dword [0x100b24e4]
mov ecx, dword [0x100b251c]
mov edx, dword [eax + 0x2bdc]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [0x100b24e8]
movss xmm1, dword [eax + 0x2588]
movss xmm0, dword [ecx + 0xc]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm1, qword [0x100ab040]
comisd xmm0, xmm1
movss xmm0, dword [0x100aafa0]
jb 0x1005fffe
mov edi, dword [ebp - 0x34]
mov dword [ebp - 4], 0
cmp byte [0x100b2365], 0
je 0x1005fff5
mov ecx, edi
call fcn.1005ef30
subss xmm0, dword [0x100ab0ec]
mov eax, dword [0x100b24e4]
movq xmm1, qword [eax + 0x100]
mov eax, dword [eax + 0x108]
movq qword [ebp - 0x50], xmm1
movss xmm1, dword [ebp - 0x50]
movss xmm2, dword [ebp - 0x4c]
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [ebp - 0x20], xmm2
addss xmm0, xmm1
call fcn.10011780
movaps xmm1, xmm0
movss xmm0, dword [0x100aafa0]
comiss xmm0, xmm1
movss dword [ebp - 0x14], xmm1
jae 0x1005ffef
movss xmm0, dword [ebp - 0x50]
comiss xmm0, dword [0x100ab170]
jbe 0x1005fee7
cvtps2pd xmm0, xmm0
subsd xmm0, qword [0x100ab0b8]
jmp 0x1005feff
movss xmm1, dword [0x100ab200]
comiss xmm1, xmm0
jbe 0x1005ff08
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x100ab0b8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x4c]
movss xmm1, dword [0x100ab144]
comiss xmm0, xmm1
ja 0x1005ff27
movss xmm1, dword [0x100ab1f8]
comiss xmm1, xmm0
jbe 0x1005ff2c
movss dword [ebp - 0x20], xmm1
xorps xmm0, xmm0
call fcn.10011720
movss xmm1, dword [ebp - 0x24]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x20]
call fcn.10043a80
mulss xmm0, dword [0x100ab130]
movss xmm1, dword [esi + 0x10]
subss xmm1, xmm0
mulss xmm1, dword [0x100aaf84]
movaps xmm0, xmm1
movss dword [ebp - 0x60], xmm1
call fcn.1002eb60
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x60]
call fcn.10011720
movss xmm2, dword [ebp - 0x5c]
movaps xmm3, xmm0
movss xmm4, dword [ebp - 0x14]
mulss xmm3, dword [ebp - 0x38]
movaps xmm1, xmm4
mov ecx, dword [0x100b24e8]
xorps xmm1, xmmword [0x100ab6e0]
mulss xmm2, dword [ebp - 0x38]
movss xmm0, dword [ecx + 0xc]
mulss xmm3, xmm1
mulss xmm2, xmm1
movss xmm1, dword [edi + 0x2588]
subss xmm1, dword [0x100aafa4]
comiss xmm0, xmm1
movss xmm0, dword [0x100aafa0]
jb 0x1005fff5
comiss xmm4, dword [ebp - 0x34]
jbe 0x1005fff5
addss xmm3, xmm3
mov dword [ebp - 4], 0xffffffff
addss xmm2, xmm2
movss dword [esi + 0x18], xmm3
movss dword [esi + 0x1c], xmm2
jmp 0x10060001
mov ecx, dword [0x100b24e8]
mov dword [ebp - 4], 0xffffffff
jmp 0x10060001
mov edi, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x80]
xorps xmm1, xmm1
comiss xmm2, xmm1
jbe 0x10060054
movss xmm1, dword [ebp - 0x58]
divss xmm1, dword [ebp - 0x64]
mulss xmm1, xmm2
maxss xmm0, xmm1
movss xmm1, dword [0x100ab010]
subss xmm1, xmm0
movaps xmm2, xmm1
movaps xmm0, xmm1
mulss xmm2, dword [ebp - 0x44]
mulss xmm0, dword [ebp - 0x40]
mulss xmm1, dword [ebp - 0x3c]
unpcklps xmm2, xmm0
movq qword [ebp - 0x44], xmm2
movss dword [ebp - 0x74], xmm1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
movss xmm1, dword [edi + 0x2588]
movss xmm0, dword [ecx + 0xc]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm1, qword [0x100ab028]
comisd xmm0, xmm1
jb 0x10060139
cmp byte [0x100b235b], 0
je 0x100600e7
movss xmm2, dword [ebp - 0x44]
mov ecx, edi
addss xmm2, dword [esi + 0xc]
movss xmm1, dword [ebp - 0x40]
addss xmm1, dword [esi + 0x10]
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [esi + 0x14]
mov byte [0x100b210e], 1
unpcklps xmm2, xmm1
movq qword [esi + 0xc], xmm2
movss dword [ebp - 0x74], xmm0
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x14], eax
call fcn.1005ef30
comiss xmm0, dword [ebp - 0x84]
jb 0x10060139
mov edx, edi
mov ecx, esi
call fcn.100601e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [0x100b2380]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x10060139
movss xmm2, dword [ebp - 0x44]
mov ecx, esi
addss xmm2, dword [esi + 0xc]
movss xmm1, dword [ebp - 0x40]
addss xmm1, dword [esi + 0x10]
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [esi + 0x14]
mov byte [0x100b210e], 1
unpcklps xmm2, xmm1
movq qword [esi + 0xc], xmm2
movss dword [ebp - 0x74], xmm0
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x14], eax
call fcn.1005f0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret