Function at 0x10047f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c6040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], edi
push eax
movss xmm0, dword [edi + 0x434]
lea eax, [ebp - 0x10]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [edi + 0x438]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [edi + 0x43c]
addss xmm0, dword [edi + 0x418]
push eax
mov eax, 0x62f279
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x100bc878]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
call eax
movzx eax, word [edi + 0x7e]
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov ebx, 0x37
mov ecx, dword [ebp - 0x18]
sub edx, 0x11
imul esi, eax, 0x74
add ecx, 0x2a
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x106a5904]
mov dword [ebp - 0x24], eax
cmp eax, 0x5f5e0ff
ja 0x100480f4
mov eax, dword [esi + 0x106a5910]
cmp eax, 0x5f5e0ff
ja 0x100480f4
mov esi, dword [esi + 0x106a590c]
cmp esi, 0x5f5e0ff
ja 0x100480f4
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x106a5908], 0x5f5e0ff
mov edi, dword [ebp - 0x20]
ja 0x100480f4
cmp dword [ebp - 0x24], 0x98967f
ja 0x100480ed
cmp eax, 0x98967f
ja 0x100480ed
cmp esi, 0x98967f
ja 0x100480ed
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x106a5908], 0x98967f
mov edi, dword [ebp - 0x20]
ja 0x100480ed
cmp dword [ebp - 0x24], 0xf423f
ja 0x100480e6
cmp eax, 0xf423f
ja 0x100480e6
cmp esi, 0xf423f
ja 0x100480e6
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x106a5908], 0xf423f
mov edi, dword [ebp - 0x20]
ja 0x100480e6
cmp dword [ebp - 0x24], 0x1869f
ja 0x100480e6
cmp eax, 0x1869f
ja 0x100480e6
cmp esi, 0x1869f
ja 0x100480e6
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x106a5908], 0x1869f
jbe 0x100480f9
mov ebx, 0x32
jmp 0x100480f9
mov ebx, 0x2d
jmp 0x100480f9
mov ebx, 0x28
mov esi, dword [0x8b156ec]
lea eax, [edx - 5]
cmp esi, eax
jl 0x10048440
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
addss xmm0, dword [0x100bca80]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jb 0x10048440
mov edx, dword [0x8b156f0]
lea eax, [ecx - 0xa]
cmp edx, eax
jl 0x10048440
lea eax, [ecx + 0x5f]
cmp edx, eax
jge 0x10048440
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10048440
add dword [ebp - 0x14], 0x28
mov eax, 0x62f75b
push 1
call eax
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
mov dword [esp], 0x3f19999a
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff8
push 0
sub esp, 0x14
movd xmm0, eax
mov eax, 0x630f0a
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x42a40000
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x100bc69c]
movss dword [esp], xmm0
call eax
mov eax, 0x62f7f0
call eax
lea eax, [edi + 0x38]
push eax
mov eax, dword [ebp - 0x18]
push 0x100b9b30
push 0
push 3
push 0x50
add eax, 0xfffffffc
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0xff2d5fe1
push 0x106a58f8
call fcn.10048460
add esp, 0x3c
mov eax, 0x436d31
mov ecx, 0x8499de0
push 0xc17
call eax
push eax
mov eax, dword [ebp - 0x18]
push 0
push 1
push 0x28
add eax, 0x10
push eax
mov eax, dword [ebp - 0x14]
add eax, 7
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xbf
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x18]
push 0
push 1
push 0x28
add eax, 0x1a
push eax
mov eax, dword [ebp - 0x14]
add eax, 7
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
push 0xc0
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x18]
push 0
push 1
push 0x28
add eax, 0x24
push eax
mov eax, dword [ebp - 0x14]
add eax, 7
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xc1
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x18]
push 0
push 1
push 0x28
add eax, 0x2e
push eax
mov eax, dword [ebp - 0x14]
add eax, 7
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xc2
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x18]
push 0
push 1
push 0x28
add eax, 0x38
push eax
mov eax, dword [ebp - 0x14]
add eax, 7
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [edi + 0x7e]
imul eax, eax, 0x74
movzx eax, word [eax + 0x106a58fe]
push eax
mov eax, dword [ebp - 0x18]
push 0x100ba730
push 0
push 1
push 0x32
add eax, 0x10
push eax
mov eax, dword [ebp - 0x14]
add eax, ebx
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
movzx eax, word [edi + 0x7e]
add esp, 0x44
imul eax, eax, 0x74
push dword [eax + 0x106a5904]
mov eax, dword [ebp - 0x18]
push 0x100ba730
push 0
push 1
push 0x32
add eax, 0x1a
push eax
mov eax, dword [ebp - 0x14]
add eax, ebx
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
movzx eax, word [edi + 0x7e]
add esp, 0x24
imul eax, eax, 0x74
push dword [eax + 0x106a5910]
mov eax, dword [ebp - 0x18]
push 0x100ba730
push 0
push 1
push 0x32
add eax, 0x24
push eax
mov eax, dword [ebp - 0x14]
add eax, ebx
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
movzx eax, word [edi + 0x7e]
add esp, 0x24
imul eax, eax, 0x74
push dword [eax + 0x106a590c]
mov eax, dword [ebp - 0x18]
push 0x100ba730
push 0
push 1
push 0x32
add eax, 0x2e
push eax
mov eax, dword [ebp - 0x14]
add eax, ebx
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
movzx eax, word [edi + 0x7e]
add esp, 0x24
imul eax, eax, 0x74
push dword [eax + 0x106a5908]
mov eax, dword [ebp - 0x18]
push 0x100ba730
push 0
push 1
push 0x32
add eax, 0x38
push eax
mov eax, dword [ebp - 0x14]
add eax, ebx
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x14
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c0ce
mov esp, ebp
pop ebp
ret 4