Function at 0x1017b020
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019a412
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x101e5820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c936c]
cvttss2si eax, xmm0
mov dword [ebp + 0x18], eax
mov ecx, dword [0x10210f28]
call fcn.100d90e0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8f30
push 0xc
mov ecx, dword [ebp + 0x14]
sub ecx, 4
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, 0x101eb298
call fcn.1014e0b0
movzx ecx, al
test ecx, ecx
je 0x1017b122
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x1017b122
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2c]
sub eax, dword [ecx + 0x28]
cmp eax, 0xc8
jbe 0x1017b122
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x24]
add eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x24], 2
jle 0x1017b116
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov ecx, 0x102a6490
call fcn.10179540
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c936c]
movss dword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x24], 0
jne 0x1017b2eb
mov ecx, dword [0x10210f28]
call fcn.100d90e0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c89b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8c60]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8e10
push 0x118
mov ecx, 0x10215e40
call fcn.100f88a0
push eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x14]
sub ecx, 2
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
mov edx, dword [0x10210f28]
push edx
call fcn.100d8e90
add esp, 0x18
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c936c]
cvttss2si eax, xmm0
mov dword [ebp + 0x18], eax
mov ecx, dword [0x10210f28]
call fcn.100d97e0
mov dword [ebp - 0x38], 0
jmp 0x1017b22a
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x44]
cmp dword [ebp - 0x38], eax
jge 0x1017b2e6
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x38]
movzx edx, byte [ecx + 0x45]
test edx, edx
je 0x1017b251
mov dword [ebp - 0x58], 0
jmp 0x1017b258
mov dword [ebp - 0x58], 2
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [0x10210f28]
call fcn.100d9110
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x18
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x170]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
call fcn.10001e20
mov dword [ebp - 0x9c], eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x14]
subss xmm0, dword [0x101c8ef0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8fb0
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c9354]
cvttss2si ecx, xmm0
mov dword [ebp + 0x18], ecx
jmp 0x1017b221
jmp 0x1017b61e
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x24], 1
jne 0x1017b46a
mov ecx, dword [0x10210f28]
call fcn.100d90e0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c89b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8c60]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8e10
push 0x119
mov ecx, 0x10215e40
call fcn.100f88a0
push eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
mov eax, dword [ebp + 0x14]
sub eax, 2
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
push ecx
call fcn.100d8e90
add esp, 0x18
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c936c]
cvttss2si edx, xmm0
mov dword [ebp + 0x18], edx
mov ecx, dword [0x10210f28]
call fcn.100d97e0
push 0
mov ecx, dword [0x10210f28]
call fcn.100d9110
mov dword [ebp - 0x40], 0
jmp 0x1017b3d7
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xdc]
cmp dword [ebp - 0x40], edx
jge 0x1017b465
mov eax, dword [ebp - 0x40]
imul eax, eax, 0x18
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x200]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push edx
call fcn.10001e20
mov dword [ebp - 0x88], eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x14]
subss xmm0, dword [0x101c8ef0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8fb0
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c9354]
cvttss2si eax, xmm0
mov dword [ebp + 0x18], eax
jmp 0x1017b3ce
jmp 0x1017b61e
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x24], 2
jne 0x1017b61e
mov ecx, dword [0x10210f28]
call fcn.100d90e0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c89b4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8c60]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8e10
push 0x11a
mov ecx, 0x10215e40
call fcn.100f88a0
push eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
mov edx, dword [ebp + 0x14]
sub edx, 2
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
mov eax, dword [0x10210f28]
push eax
call fcn.100d8e90
add esp, 0x18
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c936c]
cvttss2si ecx, xmm0
mov dword [ebp + 0x18], ecx
mov ecx, dword [0x10210f28]
call fcn.100d97e0
push 0
mov ecx, dword [0x10210f28]
call fcn.100d9110
mov edx, dword [ebp + 8]
add edx, 0x1c
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.10001110
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10001140
jmp 0x1017b56e
lea ecx, [ebp - 0x44]
call fcn.10012450
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x44]
call fcn.10001350
movzx eax, al
test eax, eax
je 0x1017b61e
lea ecx, [ebp - 0x44]
call fcn.100012c0
push eax
lea ecx, [ebp - 0x28]
call fcn.10001e20
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x28]
push edx
call fcn.10001e20
mov dword [ebp - 0x98], eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x14]
subss xmm0, dword [0x101c8ef0]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8fb0
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c9354]
cvttss2si eax, xmm0
mov dword [ebp + 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a4d0
jmp 0x1017b566
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c9300]
cvttss2si ecx, xmm0
mov dword [ebp + 0x18], ecx
mov ecx, dword [0x10210f28]
call fcn.100d97e0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x28], 0
jne 0x1017b7ea
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 1
jne 0x1017b6d7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x20]
test edx, edx
jne 0x1017b6d7
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2sd xmm0, dword [ebp + 0xc]
addsd xmm0, qword [0x101c9078]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x44]
call fcn.100af580
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x44]
call fcn.100af5e0
push 0x11b
mov ecx, 0x10215e40
call fcn.100f88a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
call fcn.1000a2f0
mov dword [ebp - 0x90], eax
push 3
push 0
push 3
push 0x27
push 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x44]
call fcn.100af8f0
jmp 0x1017b7e8
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2sd xmm0, dword [ebp + 0xc]
addsd xmm0, qword [0x101c8fe8]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x40]
call fcn.100af580
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x40]
call fcn.100af5e0
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x20]
test eax, eax
je 0x1017b723
mov dword [ebp - 0x54], 0x11d
jmp 0x1017b72a
mov dword [ebp - 0x54], 0x11c
mov ecx, dword [ebp - 0x54]
push ecx
mov ecx, 0x10215e40
call fcn.100f88a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
call fcn.1000a2f0
mov dword [ebp - 0x74], eax
push 3
push 0
push 3
push 0x27
push 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x40]
call fcn.100af8f0
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2sd xmm0, dword [ebp + 0xc]
addsd xmm0, qword [0x101c90f0]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x44]
call fcn.100af580
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x44]
call fcn.100af5e0
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x20]
test eax, eax
je 0x1017b7aa
mov dword [ebp - 0x48], 0x11e
jmp 0x1017b7b1
mov dword [ebp - 0x48], 0x11b
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, 0x10215e40
call fcn.100f88a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c], esp
push eax
call fcn.1000a2f0
mov dword [ebp - 0x84], eax
push 3
push 0
push 3
push 0x27
push 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x44]
call fcn.100af8f0
jmp 0x1017b85d
cvtsi2ss xmm0, dword [ebp + 0x18]
push ecx
movss dword [esp], xmm0
cvtsi2sd xmm0, dword [ebp + 0xc]
addsd xmm0, qword [0x101c9078]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x40]
call fcn.100af580
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x40]
call fcn.100af5e0
push 0x11c
mov ecx, 0x10215e40
call fcn.100f88a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.1000a2f0
mov dword [ebp - 0x94], eax
push 3
push 0
push 3
push 0x27
push 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x40]
call fcn.100af8f0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8f30
mov eax, 0x861110
call eax
mov edx, 0x861240
mov ecx, eax
call edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x2c], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x24], 1
jne 0x1017b9b6
mov dword [ebp - 0x3c], 0
jmp 0x1017b8df
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xdc]
cmp dword [ebp - 0x3c], edx
jge 0x1017b9b1
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x18
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax + 0xde]
cmp edx, 3
jne 0x1017b99a
push 0xc
mov eax, dword [ebp + 0x14]
sub eax, 4
push eax
cvttss2si ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, 0x101eb298
call fcn.1014e0b0
movzx eax, al
test eax, eax
je 0x1017b99a
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x18
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0xe2]
push eax
mov edx, 0x7e1b10
mov ecx, dword [ebp - 0x50]
call edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1c]
mov dword [edx + 0x18], eax
mov ecx, 0x1020e8b0
call fcn.100ad440
cvtsi2ss xmm0, dword [0x8793410]
addss xmm0, dword [0x101c9378]
cvttss2si eax, xmm0
push eax
cvtsi2ss xmm0, dword [0x879340c]
subss xmm0, dword [0x101c94c0]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.1014cbe0
add esp, 0xc
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [0x101c9354]
movss dword [ebp - 0x34], xmm0
jmp 0x1017b8d6
jmp 0x1017bb0a
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x24], 0
jne 0x1017bb0a
mov dword [ebp - 0x30], 0
jmp 0x1017b9d5
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x44]
cmp dword [ebp - 0x30], edx
jge 0x1017bb0a
push 0xc
mov eax, dword [ebp + 0x14]
sub eax, 4
push eax
cvttss2si ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, 0x101eb298
call fcn.1014e0b0
movzx eax, al
test eax, eax
je 0x1017baf3
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x18
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx + 0x4c]
cmp eax, 1
jne 0x1017ba45
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x18
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x50]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
movzx edx, word [ecx + 4]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x2c], edx
jmp 0x1017baf3
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x18
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx + 0x4c]
cmp ecx, 5
jne 0x1017ba79
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x18
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x50]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1c]
mov dword [edx + 0x2c], eax
jmp 0x1017baf3
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x18
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax + 0x4c]
cmp edx, 3
jne 0x1017baf3
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x18
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x50]
push edx
mov eax, 0x7e1b10
mov ecx, dword [ebp - 0x50]
call eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1c]
mov dword [edx + 0x18], eax
mov ecx, 0x1020e8b0
call fcn.100ad440
cvtsi2ss xmm0, dword [0x8793410]
addss xmm0, dword [0x101c9378]
cvttss2si eax, xmm0
push eax
cvtsi2ss xmm0, dword [0x879340c]
subss xmm0, dword [0x101c94c0]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.1014cbe0
add esp, 0xc
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [0x101c9354]
movss dword [ebp - 0x34], xmm0
jmp 0x1017b9cc
mov ecx, dword [0x10210f28]
call fcn.100d97e0
cvtsi2ss xmm0, dword [ebp + 0x18]
addss xmm0, dword [0x101c9394]
cvttss2si edx, xmm0
mov dword [ebp + 0x18], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d7c0
mov esp, ebp
pop ebp
ret 0x14