Function at 0x1004a860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102c72ac], 1
push ebx
push esi
push edi
jne 0x1004b16e
cmp byte [0x102a5abd], 1
je 0x1004b16e
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004b16e
mov eax, dword [0xe61e18]
cmp eax, 0x22
je 0x1004b16e
cmp eax, 0x1e
je 0x1004b16e
cmp eax, 0x12
jl 0x1004a959
cmp eax, 0x17
jle 0x1004b16e
cmp eax, 0x35
je 0x1004b16e
cmp eax, 0x2d
jl 0x1004a959
cmp eax, 0x32
jle 0x1004b16e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004b154
mov eax, dword [0x100fac74]
sub esp, 0x10
cdq
mov edi, 0x790b50
sub eax, edx
mov byte [0x102a37dd], 1
sar eax, 1
mov dword [0xe8cb3c], 1
movss xmm2, dword [0x102a3820]
movss xmm1, dword [0x102a3824]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov dword [0x102a382c], 0x42000000
movss dword [esp + 0xc], xmm1
subss xmm3, dword [0x100f1e4c]
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42000000
movaps xmm0, xmm3
movss dword [esp], xmm3
push dword [0x102a381c]
addss xmm0, xmm2
movss dword [ebp - 4], xmm3
movss dword [0x102a3828], xmm3
movss dword [0x102a3830], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100f1d28]
movss dword [0x102a3834], xmm0
call edi
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102a3880]
movaps xmm0, xmm3
movss xmm1, dword [0x102a3884]
addss xmm0, xmm2
movss dword [0x102a3888], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x41f00000
movss dword [0x102a3890], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100f1d20]
movss dword [esp], xmm3
push dword [0x102a387c]
mov dword [0x102a388c], 0x41f00000
movss dword [0x102a3894], xmm0
call edi
movss xmm4, dword [0x100f1d40]
add esp, 0x14
movss xmm0, dword [0x102a38e4]
mov esi, 0xe
movss dword [ebp - 0xc], xmm4
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102a38e0]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm4
movss dword [esp], xmm0
push dword [0x102a38dc]
call edi
movss xmm4, dword [ebp - 0xc]
add esp, 0x14
movss xmm0, dword [0x102a38e4]
addss xmm4, xmm0
movss dword [ebp - 0xc], xmm4
sub esi, 1
jne 0x1004aa90
movss xmm3, dword [ebp - 4]
sub esp, 0x10
movss xmm2, dword [0x102a3940]
movaps xmm0, xmm3
movss xmm1, dword [0x102a3944]
addss xmm0, xmm2
movss dword [0x102a3948], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm4
movss dword [0x102a3950], xmm0
movaps xmm0, xmm4
addss xmm0, xmm1
movss dword [esp], xmm3
push dword [0x102a393c]
movss dword [0x102a394c], xmm4
movss dword [0x102a3954], xmm0
call edi
add esp, 0x14
mov ecx, 0x101b3888
push 0x48
call fcn.10042330
push eax
cvttss2si eax, dword [ebp - 4]
push 3
push 0xd2
push 0x28
add eax, 0xa
push eax
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
movss xmm0, dword [ebp - 4]
add esp, 0x1c
addss xmm0, dword [0x100f1ce8]
mov ecx, 0x101b3888
push 0xb1
cvttss2si ebx, xmm0
mov dword [ebp - 0x10], ebx
call fcn.10042330
push eax
push 1
push 0x34
push 0x43
push ebx
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
movss xmm0, dword [ebp - 4]
add esp, 0x1c
addss xmm0, dword [0x100f1dbc]
mov ecx, 0x101b3888
push 0x49
cvttss2si ebx, xmm0
mov dword [ebp - 0x14], ebx
call fcn.10042330
push eax
push 1
push 0x34
push 0x43
push ebx
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
xor edx, edx
add esp, 0x1c
xor edi, edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edi
mov esi, 0x10247389
nop dword [eax]
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ac05
sub ecx, ebx
test ecx, ecx
jle 0x1004ac8b
movd xmm0, edi
lea ebx, [esi + 0xb]
cvtdq2ps xmm0, xmm0
push esi
push 1
push 0x34
addss xmm0, dword [0x100f1de4]
cvttss2si edi, xmm0
push edi
push dword [ebp - 0x10]
test dl, 1
jne 0x1004ac5b
push 0xb4ffffff
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x1c
push ebx
push 1
push 0x96
push edi
push dword [ebp - 0x14]
push 0xb4ffffff
jmp 0x1004ac7e
push 0xff8be100
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x1c
push ebx
push 1
push 0x96
push edi
push dword [ebp - 0x14]
push 0xff8be100
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x1c
inc dword [ebp - 8]
add esi, 0xcf
add dword [ebp - 0xc], 0xd
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
cmp esi, 0x10247faa
jl 0x1004ac00
mov ecx, 0x10247389
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004acb2
movss xmm1, dword [0x100f1d90]
mov esi, 0x790b10
sub ecx, edx
je 0x1004ad03
movss xmm0, dword [ebp - 4]
addss xmm0, xmm1
push 0xd
push 0xc8
push 0x55
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004acfb
mov dword [0x1024675c], 0x102473ed
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x100f1d90]
mov ecx, 0x10247458
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ad10
sub ecx, edx
je 0x1004ad4c
movss xmm0, dword [ebp - 4]
addss xmm0, xmm1
push 0xd
push 0xc8
push 0x5f
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004ad4c
mov dword [0x1024675c], 0x102474bc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247527
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ad54
sub ecx, edx
je 0x1004ad94
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0x6c
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004ad94
mov dword [0x1024675c], 0x1024758b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x102475f6
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ada0
sub ecx, edx
je 0x1004ade0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0x79
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004ade0
mov dword [0x1024675c], 0x1024765a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x102476c5
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ade8
sub ecx, edx
je 0x1004ae2b
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0x86
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004ae2b
mov dword [0x1024675c], 0x10247729
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247794
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ae33
sub ecx, edx
je 0x1004ae76
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0x93
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004ae76
mov dword [0x1024675c], 0x102477f8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247863
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ae80
sub ecx, edx
je 0x1004aec3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0xa0
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004aec3
mov dword [0x1024675c], 0x102478c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247932
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004aed0
sub ecx, edx
je 0x1004af13
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0xad
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004af13
mov dword [0x1024675c], 0x10247996
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247a01
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004af20
sub ecx, edx
je 0x1004af63
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0xba
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004af63
mov dword [0x1024675c], 0x10247a65
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247ad0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004af70
sub ecx, edx
je 0x1004afb3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0xc7
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004afb3
mov dword [0x1024675c], 0x10247b34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247b9f
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004afc0
sub ecx, edx
je 0x1004b003
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0xd4
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004b003
mov dword [0x1024675c], 0x10247c03
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247c6e
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b010
sub ecx, edx
je 0x1004b053
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0xe1
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004b053
mov dword [0x1024675c], 0x10247cd2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247d3d
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b060
sub ecx, edx
je 0x1004b0a3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0xee
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004b0a3
mov dword [0x1024675c], 0x10247da1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247e0c
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b0b0
sub ecx, edx
je 0x1004b0f3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0xfb
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004b0f3
mov dword [0x1024675c], 0x10247e70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x10247edb
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b100
sub ecx, edx
je 0x1004b143
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x100f1d90]
push 0xd
push 0xc8
push 0x109
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004b143
mov dword [0x1024675c], 0x10247f3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1024675c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x102a37dd], 0
je 0x1004b167
mov dword [0xe8cb3c], 0
mov byte [0x102a37dd], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret