Function at 0x1004d170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102df820], 1
push ebx
push esi
push edi
jne 0x1004da7e
cmp byte [0x102bdfdd], 1
je 0x1004da7e
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004da7e
mov eax, dword [0xe61e18]
cmp eax, 0x22
je 0x1004da7e
cmp eax, 0x1e
je 0x1004da7e
cmp eax, 0x12
jl 0x1004d269
cmp eax, 0x17
jle 0x1004da7e
cmp eax, 0x35
je 0x1004da7e
cmp eax, 0x2d
jl 0x1004d269
cmp eax, 0x32
jle 0x1004da7e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004da64
mov eax, dword [0x1010ac74]
sub esp, 0x10
cdq
mov edi, 0x790b50
sub eax, edx
mov byte [0x102bbc9d], 1
sar eax, 1
mov dword [0xe8cb3c], 1
movss xmm2, dword [0x102bbce0]
movss xmm1, dword [0x102bbce4]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov dword [0x102bbcec], 0x42000000
movss dword [esp + 0xc], xmm1
subss xmm3, dword [0x10101fe8]
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42000000
movaps xmm0, xmm3
movss dword [esp], xmm3
push dword [0x102bbcdc]
addss xmm0, xmm2
movss dword [ebp - 4], xmm3
movss dword [0x102bbce8], xmm3
movss dword [0x102bbcf0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10101ec4]
movss dword [0x102bbcf4], xmm0
call edi
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102bbd40]
movaps xmm0, xmm3
movss xmm1, dword [0x102bbd44]
addss xmm0, xmm2
movss dword [0x102bbd48], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x41f00000
movss dword [0x102bbd50], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10101ebc]
movss dword [esp], xmm3
push dword [0x102bbd3c]
mov dword [0x102bbd4c], 0x41f00000
movss dword [0x102bbd54], xmm0
call edi
movss xmm4, dword [0x10101edc]
add esp, 0x14
movss xmm0, dword [0x102bbda4]
mov esi, 0xe
movss dword [ebp - 0xc], xmm4
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102bbda0]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm4
movss dword [esp], xmm0
push dword [0x102bbd9c]
call edi
movss xmm4, dword [ebp - 0xc]
add esp, 0x14
movss xmm0, dword [0x102bbda4]
addss xmm4, xmm0
movss dword [ebp - 0xc], xmm4
sub esi, 1
jne 0x1004d3a0
movss xmm3, dword [ebp - 4]
sub esp, 0x10
movss xmm2, dword [0x102bbe00]
movaps xmm0, xmm3
movss xmm1, dword [0x102bbe04]
addss xmm0, xmm2
movss dword [0x102bbe08], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm4
movss dword [0x102bbe10], xmm0
movaps xmm0, xmm4
addss xmm0, xmm1
movss dword [esp], xmm3
push dword [0x102bbdfc]
movss dword [0x102bbe0c], xmm4
movss dword [0x102bbe14], xmm0
call edi
add esp, 0x14
mov ecx, 0x101c3ae8
push 0x48
call fcn.100427e0
push eax
cvttss2si eax, dword [ebp - 4]
push 3
push 0xd2
push 0x28
add eax, 0xa
push eax
push 0xff19bdff
push 0x102ba770
call fcn.10077f40
movss xmm0, dword [ebp - 4]
add esp, 0x1c
addss xmm0, dword [0x10101e90]
mov ecx, 0x101c3ae8
push 0xb1
cvttss2si ebx, xmm0
mov dword [ebp - 0x10], ebx
call fcn.100427e0
push eax
push 1
push 0x34
push 0x43
push ebx
push 0xff19bdff
push 0x102ba770
call fcn.10077f40
movss xmm0, dword [ebp - 4]
add esp, 0x1c
addss xmm0, dword [0x10101f58]
mov ecx, 0x101c3ae8
push 0x49
cvttss2si ebx, xmm0
mov dword [ebp - 0x14], ebx
call fcn.100427e0
push eax
push 1
push 0x34
push 0x43
push ebx
push 0xff19bdff
push 0x102ba770
call fcn.10077f40
xor edx, edx
add esp, 0x1c
xor edi, edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edi
mov esi, 0x1025c4b1
nop dword [eax]
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d515
sub ecx, ebx
test ecx, ecx
jle 0x1004d59b
movd xmm0, edi
lea ebx, [esi + 0xb]
cvtdq2ps xmm0, xmm0
push esi
push 1
push 0x34
addss xmm0, dword [0x10101f80]
cvttss2si edi, xmm0
push edi
push dword [ebp - 0x10]
test dl, 1
jne 0x1004d56b
push 0xb4ffffff
push 0x102ba770
call fcn.10077f40
add esp, 0x1c
push ebx
push 1
push 0x96
push edi
push dword [ebp - 0x14]
push 0xb4ffffff
jmp 0x1004d58e
push 0xff8be100
push 0x102ba770
call fcn.10077f40
add esp, 0x1c
push ebx
push 1
push 0x96
push edi
push dword [ebp - 0x14]
push 0xff8be100
push 0x102ba770
call fcn.10077f40
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, 0x1025d0d2
jl 0x1004d510
mov ecx, 0x1025c4b1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d5c2
movss xmm1, dword [0x10101f2c]
mov esi, 0x790b10
sub ecx, edx
je 0x1004d613
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 0x1004d60b
mov dword [0x1025b884], 0x1025c515
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x10101f2c]
mov ecx, 0x1025c580
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d620
sub ecx, edx
je 0x1004d65c
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 0x1004d65c
mov dword [0x1025b884], 0x1025c5e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025c64f
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d664
sub ecx, edx
je 0x1004d6a4
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0x6c
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d6a4
mov dword [0x1025b884], 0x1025c6b3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025c71e
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d6b0
sub ecx, edx
je 0x1004d6f0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0x79
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d6f0
mov dword [0x1025b884], 0x1025c782
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025c7ed
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d6f8
sub ecx, edx
je 0x1004d73b
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0x86
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d73b
mov dword [0x1025b884], 0x1025c851
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025c8bc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d743
sub ecx, edx
je 0x1004d786
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0x93
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d786
mov dword [0x1025b884], 0x1025c920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025c98b
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d790
sub ecx, edx
je 0x1004d7d3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0xa0
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d7d3
mov dword [0x1025b884], 0x1025c9ef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025ca5a
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d7e0
sub ecx, edx
je 0x1004d823
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0xad
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d823
mov dword [0x1025b884], 0x1025cabe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025cb29
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d830
sub ecx, edx
je 0x1004d873
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0xba
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d873
mov dword [0x1025b884], 0x1025cb8d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025cbf8
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d880
sub ecx, edx
je 0x1004d8c3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0xc7
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d8c3
mov dword [0x1025b884], 0x1025cc5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025ccc7
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d8d0
sub ecx, edx
je 0x1004d913
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0xd4
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d913
mov dword [0x1025b884], 0x1025cd2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025cd96
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d920
sub ecx, edx
je 0x1004d963
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0xe1
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d963
mov dword [0x1025b884], 0x1025cdfa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025ce65
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d970
sub ecx, edx
je 0x1004d9b3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0xee
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d9b3
mov dword [0x1025b884], 0x1025cec9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025cf34
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d9c0
sub ecx, edx
je 0x1004da03
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0xfb
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004da03
mov dword [0x1025b884], 0x1025cf98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1025d003
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004da10
sub ecx, edx
je 0x1004da53
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f2c]
push 0xd
push 0xc8
push 0x109
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004da53
mov dword [0x1025b884], 0x1025d067
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1025b884], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x102bbc9d], 0
je 0x1004da77
mov dword [0xe8cb3c], 0
mov byte [0x102bbc9d], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret