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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x100a509c]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [0x2fb7ac4]
movzx eax, word [eax + 0x14]
push ebx
push esi
push edi
mov edi, ecx
movzx ecx, word [edi]
cmp ecx, eax
jne 0x1003e2b5
cmp word [edi + 4], 0x3b
jne 0x1003dfb4
cmp word [edi + 6], 0x1c
jne 0x1003dfb4
push 0x32
xor esi, esi
lea eax, [esp + 0x20]
push esi
push eax
call sub.MSVCR100.dll_memset
lea eax, [esp + 0x28]
add esp, 0xc
push eax
mov eax, dword [edi + 0xc]
call fcn.1003f6c1
pop ecx
cmp dword [0x10374e88], esi
jle 0x1003df59
mov ebx, 0x10374690
mov edi, ebx
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003df37
inc esi
add edi, 0x14
cmp esi, dword [0x10374e88]
jl 0x1003df17
jmp 0x1003df59
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esi*4 + 0x10374ca8], eax
imul esi, esi, 0x14
add esi, ebx
push esi
call fcn.100060fb
pop ecx
call edi
mov dword [0x103c1434], eax
xor esi, esi
cmp dword [0x103d176c], esi
jle 0x1003df85
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x103d1764]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003dfa5
inc esi
cmp esi, dword [0x103d176c]
jl 0x1003df63
push 1
mov esi, 0x103d1c8c
call fcn.1000117c
lea eax, [esp + 0x1c]
push eax
mov esi, 0x103d1764
call fcn.100010da
jmp 0x1003e2b5
mov eax, dword [0x103d1c8c]
mov eax, dword [eax + esi*4]
inc dword [eax]
jmp 0x1003e2b5
cmp ecx, eax
jne 0x1003e2b5
cmp word [edi + 4], 0xd
jne 0x1003e058
cmp word [edi + 6], 0x7b
jne 0x1003e058
push 0x32
xor esi, esi
lea eax, [esp + 0x20]
push esi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp word [edi + 8], 1
jne 0x1003e2b5
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x14]
mov byte [0x1035ef24], 1
call fcn.1003f6c1
pop ecx
cmp dword [0x103d4564], esi
jle 0x1003e02e
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x103d455c]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003e049
inc esi
cmp esi, dword [0x103d4564]
jl 0x1003e00c
lea eax, [esp + 0x1c]
push eax
mov esi, 0x103d455c
call fcn.100010da
push 1
mov esi, 0x103d5c34
jmp 0x1003e0e9
mov eax, dword [0x103d5c34]
mov esi, dword [eax + esi*4]
inc dword [esi]
jmp 0x1003e2b5
cmp ecx, eax
jne 0x1003e2b5
mov eax, 0x93
cmp word [edi + 4], ax
jne 0x1003e2b5
add eax, 0xfffffff5
cmp word [edi + 6], ax
jne 0x1003e2b5
push 0x32
xor ebx, ebx
lea eax, [esp + 0x20]
push ebx
push eax
call sub.MSVCR100.dll_memset
movzx eax, word [edi + 8]
add esp, 0xc
cmp eax, 1
jne 0x1003e102
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x10]
call fcn.1003f6c1
mov edi, dword [edi + 0x18]
xor esi, esi
pop ecx
cmp dword [0x103cecac], ebx
jle 0x1003e0d4
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x103ceca4]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003e0f3
inc esi
cmp esi, dword [0x103cecac]
jl 0x1003e0b2
lea eax, [esp + 0x1c]
push eax
mov esi, 0x103ceca4
call fcn.100010da
push edi
mov esi, 0x103cf1e4
call fcn.1000117c
jmp 0x1003e2b5
mov eax, dword [0x103cf1e4]
mov eax, dword [eax + esi*4]
add dword [eax], edi
jmp 0x1003e2b5
cmp eax, 2
jne 0x1003e11a
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x10]
call fcn.1003f6c1
pop ecx
jmp 0x1003e2b5
cmp eax, 3
je 0x1003e128
cmp eax, 4
jne 0x1003e2b5
movzx ecx, byte [edi + 0x41]
mov eax, dword [0x2f99460]
mov esi, dword [eax + ecx*4 + 0x53c]
mov dword [esp + 0x10], eax
cmp esi, ebx
je 0x1003e2b5
cmp word [edi + 0x18], bx
jbe 0x1003e2b5
push 0x64
lea eax, [esp + 0x54]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x64
lea eax, [esp + 0xbc]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [esp + 0xb8]
push eax
push esi
call fcn.1001679c
add esi, 0x64
pop ecx
pop ecx
mov dword [esp + 0x18], esi
cmp byte [esp + 0xb8], bl
jne 0x1003e1a7
push esi
lea eax, [esp + 0x54]
push 0x1008a5f0
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
jmp 0x1003e1c3
lea eax, [esp + 0xb8]
push eax
push esi
lea eax, [esp + 0x58]
push 0x10097844
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
xor esi, esi
cmp dword [0x103cfd7c], ebx
jle 0x1003e1f3
lea eax, [esp + 0x50]
push eax
mov eax, dword [0x103cfd74]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003e2ca
inc esi
cmp esi, dword [0x103cfd7c]
jl 0x1003e1cd
lea eax, [esp + 0x50]
push eax
mov esi, 0x103cfd74
call fcn.100010da
movzx eax, word [edi + 0x18]
push eax
mov esi, 0x103d1384
call fcn.1000117c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x103d77f4]
cmp eax, 0x7d0
jb 0x1003e2b5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1003e2b5
and dword [esp + 0x14], 0
call fcn.100061d1
test eax, eax
je 0x1003e2b5
mov eax, dword [esp + 0x10]
add eax, 0x53c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
test esi, esi
je 0x1003e2a1
push dword [esp + 0x18]
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x1003e2a1
call ebx
mov dword [0x103d77f4], eax
mov eax, dword [esi + 0xd4c]
cdq
push edx
push eax
push 3
mov ecx, esi
call fcn.1003a7e8
mov eax, dword [esi + 0xd4c]
cdq
add esp, 0xc
push edx
push eax
push 4
mov ecx, esi
call fcn.1003a7e8
add esp, 0xc
inc dword [esp + 0x14]
add dword [esp + 0x10], 4
call fcn.100061d1
cmp dword [esp + 0x14], eax
jb 0x1003e252
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10082395
mov esp, ebp
pop ebp
ret
mov eax, dword [0x103d1384]
movzx ecx, word [edi + 0x18]
mov eax, dword [eax + esi*4]
add dword [eax], ecx
jmp 0x1003e211