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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x361f6dc]
movzx eax, word [eax + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
movzx ecx, word [edi]
cmp ecx, eax
jne 0x1005ce20
cmp word [edi + 4], 0x3b
jne 0x1005ca0f
cmp word [edi + 6], 0x1c
jne 0x1005ca0f
push 0x32
lea ecx, [ebp - 0x38]
push 0
push ecx
call sub.MSVCR100.dll_memset
mov eax, dword [edi + 0xc]
lea edx, [ebp - 0x38]
push edx
push eax
call fcn.1004a950
mov ebx, dword [0x101435f0]
add esp, 0x14
xor edi, edi
test ebx, ebx
jle 0x1005c972
mov esi, 0x10142df8
lea ecx, [ebp - 0x38]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005c936
test dl, dl
je 0x1005c932
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005c936
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005c916
xor eax, eax
jmp 0x1005c93b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005c949
inc edi
add esi, 0x14
cmp edi, ebx
jl 0x1005c911
jmp 0x1005c972
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
lea ecx, [edi + edi*4]
lea edx, [ecx*4 + 0x10142df8]
push edx
mov dword [edi*4 + 0x10143410], eax
call fcn.10008090
add esp, 4
call esi
mov dword [0x101b8984], eax
mov ecx, 0x10197cdc
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1005c9c8
mov eax, dword [0x10197cdc]
mov eax, dword [eax + esi*4]
lea ecx, [ebp - 0x38]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005c9b0
test dl, dl
je 0x1005c9ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005c9b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005c990
xor eax, eax
jmp 0x1005c9b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005c9f3
mov ecx, 0x10197cdc
inc esi
call fcn.10001240
cmp esi, eax
jl 0x1005c982
push 1
mov ecx, 0x10199554
call fcn.100011e0
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x10197cdc
call fcn.10001160
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10199554]
mov eax, dword [ecx + esi*4]
inc dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
cmp ecx, eax
jne 0x1005ce20
cmp word [edi + 4], 0xd
jne 0x1005caff
cmp word [edi + 6], 0x7b
jne 0x1005caff
push 0x32
lea eax, [ebp - 0x38]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp word [edi + 8], 1
jne 0x1005ce20
mov edx, dword [edi + 0x14]
lea ecx, [ebp - 0x38]
push ecx
push edx
call fcn.1004a950
add esp, 8
mov ecx, 0x10199cf4
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1005cab8
jmp 0x1005ca70
mov eax, dword [0x10199cf4]
mov eax, dword [eax + esi*4]
lea ecx, [ebp - 0x38]
jmp 0x1005ca80
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005caa0
test dl, dl
je 0x1005ca9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005caa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005ca80
xor eax, eax
jmp 0x1005caa5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005cae3
mov ecx, 0x10199cf4
inc esi
call fcn.10001240
cmp esi, eax
jl 0x1005ca70
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x10199cf4
call fcn.10001160
push 1
mov ecx, 0x1019a6ec
call fcn.100011e0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1019a6ec]
mov eax, dword [ecx + esi*4]
inc dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
cmp ecx, eax
jne 0x1005ce20
mov eax, 0x93
cmp word [edi + 4], ax
jne 0x1005ce20
mov ecx, 0x88
cmp word [edi + 6], cx
jne 0x1005ce20
push 0x32
lea edx, [ebp - 0x38]
push 0
push edx
call sub.MSVCR100.dll_memset
movzx eax, word [edi + 8]
add esp, 0xc
cmp eax, 1
jne 0x1005cbfd
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x38]
push eax
push ecx
call fcn.1004a950
mov edi, dword [edi + 0x18]
add esp, 8
mov ecx, 0x10190d5c
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1005cbb8
jmp 0x1005cb70
mov edx, dword [0x10190d5c]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0x38]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005cba0
test dl, dl
je 0x1005cb9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005cba0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005cb80
xor eax, eax
jmp 0x1005cba5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005cbe2
mov ecx, 0x10190d5c
inc esi
call fcn.10001240
cmp esi, eax
jl 0x1005cb70
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x10190d5c
call fcn.10001160
push edi
mov ecx, 0x1019561c
call fcn.100011e0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1019561c]
mov eax, dword [eax + esi*4]
add dword [eax], edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1005cc23
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x38]
push edx
push eax
call fcn.1004a950
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
cmp eax, 3
je 0x1005cc31
cmp eax, 4
jne 0x1005ce20
movzx ecx, byte [edi + 0x41]
mov eax, dword [0x35f30a4]
mov esi, dword [eax + ecx*4 + 0x53c]
mov dword [ebp - 0x108], eax
test esi, esi
je 0x1005ce20
cmp word [edi + 0x18], 0
jbe 0x1005ce20
push 0x64
lea edx, [ebp - 0x9c]
push 0
push edx
call sub.MSVCR100.dll_memset
push 0x64
lea eax, [ebp - 0x100]
push 0
push eax
call sub.MSVCR100.dll_memset
lea ecx, [ebp - 0x100]
push ecx
push esi
call fcn.10019530
add esi, 0x64
add esp, 0x20
cmp byte [ebp - 0x100], 0
mov dword [ebp - 0x104], esi
jne 0x1005ccb4
push esi
lea edx, [ebp - 0x9c]
push 0x1009648c
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
jmp 0x1005ccd1
lea eax, [ebp - 0x100]
push eax
push esi
lea ecx, [ebp - 0x9c]
push 0x100a02ac
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
mov ecx, 0x1019593c
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1005cd2c
mov edx, dword [0x1019593c]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0x9c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005cd10
test dl, dl
je 0x1005cd0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005cd10
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005ccf0
xor eax, eax
jmp 0x1005cd15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005cdc3
mov ecx, 0x1019593c
inc esi
call fcn.10001240
cmp esi, eax
jl 0x1005cce1
lea edx, [ebp - 0x9c]
push edx
mov ecx, 0x1019593c
call fcn.10001160
movzx eax, word [edi + 0x18]
push eax
mov ecx, 0x101971b4
call fcn.100011e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101b8cf8]
cmp eax, 0x7d0
jb 0x1005ce20
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1005ce20
xor ebx, ebx
call fcn.10006a90
test eax, eax
je 0x1005ce20
mov edi, dword [ebp - 0x108]
add edi, 0x53c
nop
mov esi, dword [edi]
test esi, esi
je 0x1005ce0f
mov ecx, dword [ebp - 0x104]
lea eax, [esi + 0x64]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005cdd6
test dl, dl
je 0x1005cdbf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005cdd6
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005cda3
xor eax, eax
jmp 0x1005cddb
mov eax, dword [0x101971b4]
movzx ecx, word [edi + 0x18]
mov eax, dword [eax + esi*4]
add dword [eax], ecx
jmp 0x1005cd4c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005ce0f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101b8cf8], eax
mov eax, dword [esi + 0xd4c]
cdq
push edx
push eax
push 3
push esi
call fcn.100384f0
mov eax, dword [esi + 0xd4c]
cdq
push edx
push eax
push 4
push esi
call fcn.100384f0
add esp, 0x20
inc ebx
add edi, 4
call fcn.10006a90
cmp ebx, eax
jb 0x1005cd90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret