Function at 0x1004d050
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 0x1004d95e
cmp byte [0x102bdfdd], 1
je 0x1004d95e
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x1004d95e
mov eax, dword [0xe61e18]
cmp eax, 0x22
je 0x1004d95e
cmp eax, 0x1e
je 0x1004d95e
cmp eax, 0x12
jl 0x1004d149
cmp eax, 0x17
jle 0x1004d95e
cmp eax, 0x35
je 0x1004d95e
cmp eax, 0x2d
jl 0x1004d149
cmp eax, 0x32
jle 0x1004d95e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004d944
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 [0x10101fe0]
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 [0x10101ebc]
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 [0x10101eb4]
movss dword [esp], xmm3
push dword [0x102bbd3c]
mov dword [0x102bbd4c], 0x41f00000
movss dword [0x102bbd54], xmm0
call edi
movss xmm4, dword [0x10101ed4]
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 0x1004d280
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.100426f0
push eax
cvttss2si eax, dword [ebp - 4]
push 3
push 0xd2
push 0x28
add eax, 0xa
push eax
push 0xff19bdff
push 0x102ba770
call fcn.10077e60
movss xmm0, dword [ebp - 4]
add esp, 0x1c
addss xmm0, dword [0x10101e88]
mov ecx, 0x101c3ae8
push 0xb1
cvttss2si ebx, xmm0
mov dword [ebp - 0x10], ebx
call fcn.100426f0
push eax
push 1
push 0x34
push 0x43
push ebx
push 0xff19bdff
push 0x102ba770
call fcn.10077e60
movss xmm0, dword [ebp - 4]
add esp, 0x1c
addss xmm0, dword [0x10101f50]
mov ecx, 0x101c3ae8
push 0x49
cvttss2si ebx, xmm0
mov dword [ebp - 0x14], ebx
call fcn.100426f0
push eax
push 1
push 0x34
push 0x43
push ebx
push 0xff19bdff
push 0x102ba770
call fcn.10077e60
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 0x1004d3f5
sub ecx, ebx
test ecx, ecx
jle 0x1004d47b
movd xmm0, edi
lea ebx, [esi + 0xb]
cvtdq2ps xmm0, xmm0
push esi
push 1
push 0x34
addss xmm0, dword [0x10101f78]
cvttss2si edi, xmm0
push edi
push dword [ebp - 0x10]
test dl, 1
jne 0x1004d44b
push 0xb4ffffff
push 0x102ba770
call fcn.10077e60
add esp, 0x1c
push ebx
push 1
push 0x96
push edi
push dword [ebp - 0x14]
push 0xb4ffffff
jmp 0x1004d46e
push 0xff8be100
push 0x102ba770
call fcn.10077e60
add esp, 0x1c
push ebx
push 1
push 0x96
push edi
push dword [ebp - 0x14]
push 0xff8be100
push 0x102ba770
call fcn.10077e60
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 0x1004d3f0
mov ecx, 0x1025c4b1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d4a2
movss xmm1, dword [0x10101f24]
mov esi, 0x790b10
sub ecx, edx
je 0x1004d4f3
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 0x1004d4eb
mov dword [0x1025b884], 0x1025c515
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x10101f24]
mov ecx, 0x1025c580
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d500
sub ecx, edx
je 0x1004d53c
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 0x1004d53c
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 0x1004d544
sub ecx, edx
je 0x1004d584
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0x6c
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d584
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 0x1004d590
sub ecx, edx
je 0x1004d5d0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0x79
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d5d0
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 0x1004d5d8
sub ecx, edx
je 0x1004d61b
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0x86
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d61b
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 0x1004d623
sub ecx, edx
je 0x1004d666
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0x93
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d666
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 0x1004d670
sub ecx, edx
je 0x1004d6b3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0xa0
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d6b3
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 0x1004d6c0
sub ecx, edx
je 0x1004d703
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0xad
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d703
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 0x1004d710
sub ecx, edx
je 0x1004d753
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0xba
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d753
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 0x1004d760
sub ecx, edx
je 0x1004d7a3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0xc7
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d7a3
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 0x1004d7b0
sub ecx, edx
je 0x1004d7f3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0xd4
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d7f3
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 0x1004d800
sub ecx, edx
je 0x1004d843
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0xe1
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d843
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 0x1004d850
sub ecx, edx
je 0x1004d893
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0xee
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d893
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 0x1004d8a0
sub ecx, edx
je 0x1004d8e3
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0xfb
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d8e3
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 0x1004d8f0
sub ecx, edx
je 0x1004d933
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10101f24]
push 0xd
push 0xc8
push 0x109
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
cmp al, 1
jne 0x1004d933
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 0x1004d957
mov dword [0xe8cb3c], 0
mov byte [0x102bbc9d], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret