Function at 0x1004de90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102e17c0], 1
push ebx
push esi
push edi
jne 0x1004e79e
cmp byte [0x102bff7d], 1
je 0x1004e79e
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004e79e
mov eax, dword [0xe61e18]
cmp eax, 0x22
je 0x1004e79e
cmp eax, 0x1e
je 0x1004e79e
cmp eax, 0x12
jl 0x1004df89
cmp eax, 0x17
jle 0x1004e79e
cmp eax, 0x35
je 0x1004e79e
cmp eax, 0x2d
jl 0x1004df89
cmp eax, 0x32
jle 0x1004e79e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004e784
mov eax, dword [0x1010cba8]
sub esp, 0x10
cdq
mov edi, 0x790b50
sub eax, edx
mov byte [0x102bdc3d], 1
sar eax, 1
mov dword [0xe8cb3c], 1
movss xmm2, dword [0x102bdc80]
movss xmm1, dword [0x102bdc84]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov dword [0x102bdc8c], 0x42000000
movss dword [esp + 0xc], xmm1
subss xmm3, dword [0x10104038]
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42000000
movaps xmm0, xmm3
movss dword [esp], xmm3
push dword [0x102bdc7c]
addss xmm0, xmm2
movss dword [ebp - 4], xmm3
movss dword [0x102bdc88], xmm3
movss dword [0x102bdc90], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10103f14]
movss dword [0x102bdc94], xmm0
call edi
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102bdce0]
movaps xmm0, xmm3
movss xmm1, dword [0x102bdce4]
addss xmm0, xmm2
movss dword [0x102bdce8], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x41f00000
movss dword [0x102bdcf0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10103f0c]
movss dword [esp], xmm3
push dword [0x102bdcdc]
mov dword [0x102bdcec], 0x41f00000
movss dword [0x102bdcf4], xmm0
call edi
movss xmm4, dword [0x10103f2c]
add esp, 0x14
movss xmm0, dword [0x102bdd44]
mov esi, 0xe
movss dword [ebp - 0xc], xmm4
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102bdd40]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm4
movss dword [esp], xmm0
push dword [0x102bdd3c]
call edi
movss xmm4, dword [ebp - 0xc]
add esp, 0x14
movss xmm0, dword [0x102bdd44]
addss xmm4, xmm0
movss dword [ebp - 0xc], xmm4
sub esi, 1
jne 0x1004e0c0
movss xmm3, dword [ebp - 4]
sub esp, 0x10
movss xmm2, dword [0x102bdda0]
movaps xmm0, xmm3
movss xmm1, dword [0x102bdda4]
addss xmm0, xmm2
movss dword [0x102bdda8], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm4
movss dword [0x102bddb0], xmm0
movaps xmm0, xmm4
addss xmm0, xmm1
movss dword [esp], xmm3
push dword [0x102bdd9c]
movss dword [0x102bddac], xmm4
movss dword [0x102bddb4], xmm0
call edi
add esp, 0x14
mov ecx, 0x101c5a88
push 0x48
call fcn.10043560
push eax
cvttss2si eax, dword [ebp - 4]
push 3
push 0xd2
push 0x28
add eax, 0xa
push eax
push 0xff19bdff
push 0x102bc710
call fcn.1007a330
movss xmm0, dword [ebp - 4]
add esp, 0x1c
addss xmm0, dword [0x10103ee0]
mov ecx, 0x101c5a88
push 0xb1
cvttss2si ebx, xmm0
mov dword [ebp - 0x10], ebx
call fcn.10043560
push eax
push 1
push 0x34
push 0x43
push ebx
push 0xff19bdff
push 0x102bc710
call fcn.1007a330
movss xmm0, dword [ebp - 4]
add esp, 0x1c
addss xmm0, dword [0x10103fa8]
mov ecx, 0x101c5a88
push 0x49
cvttss2si ebx, xmm0
mov dword [ebp - 0x14], ebx
call fcn.10043560
push eax
push 1
push 0x34
push 0x43
push ebx
push 0xff19bdff
push 0x102bc710
call fcn.1007a330
xor edx, edx
add esp, 0x1c
xor edi, edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edi
mov esi, 0x1025e451
nop dword [eax]
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e235
sub ecx, ebx
test ecx, ecx
jle 0x1004e2bb
movd xmm0, edi
lea ebx, [esi + 0xb]
cvtdq2ps xmm0, xmm0
push esi
push 1
push 0x34
addss xmm0, dword [0x10103fd0]
cvttss2si edi, xmm0
push edi
push dword [ebp - 0x10]
test dl, 1
jne 0x1004e28b
push 0xb4ffffff
push 0x102bc710
call fcn.1007a330
add esp, 0x1c
push ebx
push 1
push 0x96
push edi
push dword [ebp - 0x14]
push 0xb4ffffff
jmp 0x1004e2ae
push 0xff8be100
push 0x102bc710
call fcn.1007a330
add esp, 0x1c
push ebx
push 1
push 0x96
push edi
push dword [ebp - 0x14]
push 0xff8be100
push 0x102bc710
call fcn.1007a330
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, 0x1025f072
jl 0x1004e230
mov ecx, 0x1025e451
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e2e2
movss xmm1, dword [0x10103f7c]
mov esi, 0x790b10
sub ecx, edx
je 0x1004e333
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 0x1004e32b
mov dword [0x1025d824], 0x1025e4b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x10103f7c]
mov ecx, 0x1025e520
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e340
sub ecx, edx
je 0x1004e37c
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 0x1004e37c
mov dword [0x1025d824], 0x1025e584
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025e5ef
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e384
sub ecx, edx
je 0x1004e3c4
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0x6c
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e3c4
mov dword [0x1025d824], 0x1025e653
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025e6be
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e3d0
sub ecx, edx
je 0x1004e410
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0x79
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e410
mov dword [0x1025d824], 0x1025e722
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025e78d
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e418
sub ecx, edx
je 0x1004e45b
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0x86
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e45b
mov dword [0x1025d824], 0x1025e7f1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025e85c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e463
sub ecx, edx
je 0x1004e4a6
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0x93
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e4a6
mov dword [0x1025d824], 0x1025e8c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025e92b
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e4b0
sub ecx, edx
je 0x1004e4f3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0xa0
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e4f3
mov dword [0x1025d824], 0x1025e98f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025e9fa
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e500
sub ecx, edx
je 0x1004e543
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0xad
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e543
mov dword [0x1025d824], 0x1025ea5e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025eac9
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e550
sub ecx, edx
je 0x1004e593
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0xba
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e593
mov dword [0x1025d824], 0x1025eb2d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025eb98
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e5a0
sub ecx, edx
je 0x1004e5e3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0xc7
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e5e3
mov dword [0x1025d824], 0x1025ebfc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025ec67
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e5f0
sub ecx, edx
je 0x1004e633
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0xd4
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e633
mov dword [0x1025d824], 0x1025eccb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025ed36
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e640
sub ecx, edx
je 0x1004e683
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0xe1
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e683
mov dword [0x1025d824], 0x1025ed9a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025ee05
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e690
sub ecx, edx
je 0x1004e6d3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0xee
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e6d3
mov dword [0x1025d824], 0x1025ee69
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025eed4
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e6e0
sub ecx, edx
je 0x1004e723
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0xfb
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e723
mov dword [0x1025d824], 0x1025ef38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025efa3
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e730
sub ecx, edx
je 0x1004e773
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10103f7c]
push 0xd
push 0xc8
push 0x109
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004e773
mov dword [0x1025d824], 0x1025f007
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1025d824], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x102bdc3d], 0
je 0x1004e797
mov dword [0xe8cb3c], 0
mov byte [0x102bdc3d], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret