Function at 0x10047dc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100e8ffc]
push esi
mov esi, ecx
mov ecx, dword [eax]
call fcn.1007ad50
cmp dword [eax], 0
jne 0x10048007
mov eax, dword [0x100e8820]
mov eax, dword [eax]
cmp byte [eax + 0x20], 0
jne 0x10048007
movsd xmm2, qword [0x100ea3f0]
xorps xmm1, xmm1
ucomisd xmm2, xmm1
lahf
test ah, 0x44
jp 0x10047e4e
movsd xmm0, qword [0x100ea3f8]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10048012
ucomisd xmm2, xmm1
lahf
test ah, 0x44
jp 0x10047e4e
mov ecx, esi
call fcn.10048030
movsd xmm0, qword [0x100ea3f0]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10048012
mov ecx, esi
call fcn.10049340
mov ecx, esi
call fcn.10048e60
mov ecx, esi
call fcn.10048030
mov eax, dword [0x100e8818]
cmp byte [eax], 0
je 0x10047ea1
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x100e8810]
divss xmm0, dword [0x1008d7e8]
mulss xmm0, dword [0x1008d76c]
addss xmm0, dword [0x1008d770]
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
mov eax, dword [0x100e8ffc]
mov ecx, dword [eax]
call fcn.10040fb0
test eax, eax
je 0x10048012
mov ecx, dword [0x100e8960]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
je 0x10048012
mov ecx, dword [0x100e8ffc]
push edi
mov ecx, dword [ecx]
call fcn.10047d20
mov edi, dword [eax]
mov eax, dword [0x100e8810]
test byte [eax + 0x30], 1
je 0x10047f3b
mov ecx, esi
call fcn.10047b50
cmp word [eax], 0x2b
jl 0x10047f01
mov ecx, esi
call fcn.10047b50
cmp word [eax], 0x30
jle 0x10047f3b
call fcn.10045930
mov eax, dword [0x100e8ffc]
mov ecx, dword [eax]
call fcn.10047c30
xor cl, cl
movd xmm0, dword [eax]
mov eax, dword [0x100e8968]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
call fcn.10042880
test al, al
je 0x10047f3b
mov ecx, esi
call fcn.10047b50
cmp word [eax], 0x40
jne 0x10047f52
cmp edi, 9
je 0x10047f52
cmp edi, 8
je 0x10047f52
push 0x45
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10047f7a
mov ecx, dword [0x100e8994]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [0x100e8810]
movss xmm0, dword [ebp - 0x10]
movss dword [eax + 0xc], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [eax + 0x10], xmm0
mov ecx, esi
call fcn.10047b50
pop edi
cmp word [eax], 0x2b
jl 0x10048012
mov ecx, esi
call fcn.10047b50
cmp word [eax], 0x30
jg 0x10048012
mov ecx, esi
call fcn.1007ac70
cmp byte [eax], 0
jne 0x10048012
mov ecx, esi
call fcn.1007ab90
movss xmm1, dword [eax]
comiss xmm1, dword [0x1008d504]
jbe 0x10048012
mov eax, dword [0x100e8968]
movss xmm0, dword [eax + 0x10]
comiss xmm0, xmm1
jbe 0x10048012
mov ecx, dword [0x100e8994]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [0x100e8810]
movss xmm0, dword [ebp - 0x1c]
pop esi
movss dword [eax + 0xc], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [eax + 0x10], xmm0
mov eax, dword [0x100e8818]
mov byte [eax], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
ret
call fcn.10049b90
mov dword [eax], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007ba06
mov esp, ebp
pop ebp
ret