Function at 0x1003e700
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 [0x100a609c]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [0x307809c]
movzx eax, word [eax + 0x14]
push ebx
push esi
push edi
mov edi, ecx
movzx ecx, word [edi]
cmp ecx, eax
jne 0x1003eb16
cmp word [edi + 4], 0x3b
jne 0x1003e815
cmp word [edi + 6], 0x1c
jne 0x1003e815
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.1003ff51
pop ecx
cmp dword [0x10375f10], esi
jle 0x1003e7ba
mov ebx, 0x10375718
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 0x1003e798
inc esi
add edi, 0x14
cmp esi, dword [0x10375f10]
jl 0x1003e778
jmp 0x1003e7ba
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esi*4 + 0x10375d30], eax
imul esi, esi, 0x14
add esi, ebx
push esi
call fcn.100060db
pop ecx
call edi
mov dword [0x103c24bc], eax
xor esi, esi
cmp dword [0x103d2e74], esi
jle 0x1003e7e6
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x103d2e6c]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003e806
inc esi
cmp esi, dword [0x103d2e74]
jl 0x1003e7c4
push 1
mov esi, 0x103d43dc
call fcn.1000117c
lea eax, [esp + 0x1c]
push eax
mov esi, 0x103d2e6c
call fcn.10001109
jmp 0x1003eb16
mov eax, dword [0x103d43dc]
mov eax, dword [eax + esi*4]
inc dword [eax]
jmp 0x1003eb16
cmp ecx, eax
jne 0x1003eb16
cmp word [edi + 4], 0xd
jne 0x1003e8b9
cmp word [edi + 6], 0x7b
jne 0x1003e8b9
push 0x32
xor esi, esi
lea eax, [esp + 0x20]
push esi
push eax
call sub.MSVCR100.dll_memset
xor ebx, ebx
inc ebx
add esp, 0xc
cmp word [edi + 8], bx
jne 0x1003eb16
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x14]
mov dword [0x1035ff7c], ebx
call fcn.1003ff51
pop ecx
cmp dword [0x103d6eac], esi
jle 0x1003e890
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x103d6ea4]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003e8aa
inc esi
cmp esi, dword [0x103d6eac]
jl 0x1003e86e
lea eax, [esp + 0x1c]
push eax
mov esi, 0x103d6ea4
call fcn.10001109
push ebx
mov esi, 0x103d70d0
jmp 0x1003e94a
mov eax, dword [0x103d70d0]
mov esi, dword [eax + esi*4]
inc dword [esi]
jmp 0x1003eb16
cmp ecx, eax
jne 0x1003eb16
mov eax, 0x93
cmp word [edi + 4], ax
jne 0x1003eb16
add eax, 0xfffffff5
cmp word [edi + 6], ax
jne 0x1003eb16
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 0x1003e963
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x10]
call fcn.1003ff51
mov edi, dword [edi + 0x18]
xor esi, esi
pop ecx
cmp dword [0x103cfe24], ebx
jle 0x1003e935
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x103cfe1c]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003e954
inc esi
cmp esi, dword [0x103cfe24]
jl 0x1003e913
lea eax, [esp + 0x1c]
push eax
mov esi, 0x103cfe1c
call fcn.10001109
push edi
mov esi, 0x103d035c
call fcn.1000117c
jmp 0x1003eb16
mov eax, dword [0x103d035c]
mov eax, dword [eax + esi*4]
add dword [eax], edi
jmp 0x1003eb16
cmp eax, 2
jne 0x1003e97b
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x10]
call fcn.1003ff51
pop ecx
jmp 0x1003eb16
cmp eax, 3
je 0x1003e989
cmp eax, 4
jne 0x1003eb16
movzx ecx, byte [edi + 0x41]
mov eax, dword [0x3059750]
mov esi, dword [eax + ecx*4 + 0x53c]
mov dword [esp + 0x10], eax
cmp esi, ebx
je 0x1003eb16
cmp word [edi + 0x18], bx
jbe 0x1003eb16
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.1001693f
add esi, 0x64
pop ecx
pop ecx
mov dword [esp + 0x18], esi
cmp byte [esp + 0xb8], bl
jne 0x1003ea08
push esi
lea eax, [esp + 0x54]
push 0x1008b5f8
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
jmp 0x1003ea24
lea eax, [esp + 0xb8]
push eax
push esi
lea eax, [esp + 0x58]
push 0x10098b80
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
xor esi, esi
cmp dword [0x103d0ef4], ebx
jle 0x1003ea54
lea eax, [esp + 0x50]
push eax
mov eax, dword [0x103d0eec]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003eb2b
inc esi
cmp esi, dword [0x103d0ef4]
jl 0x1003ea2e
lea eax, [esp + 0x50]
push eax
mov esi, 0x103d0eec
call fcn.10001109
movzx eax, word [edi + 0x18]
push eax
mov esi, 0x103d2944
call fcn.1000117c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x103d8a98]
cmp eax, 0x7d0
jb 0x1003eb16
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1003eb16
and dword [esp + 0x14], 0
call fcn.100061b1
test eax, eax
je 0x1003eb16
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 0x1003eb02
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 0x1003eb02
call ebx
mov dword [0x103d8a98], eax
mov eax, dword [esi + 0xd4c]
cdq
push edx
push eax
push 3
mov ecx, esi
call fcn.1003afad
mov eax, dword [esi + 0xd4c]
cdq
add esp, 0xc
push edx
push eax
push 4
mov ecx, esi
call fcn.1003afad
add esp, 0xc
inc dword [esp + 0x14]
add dword [esp + 0x10], 4
call fcn.100061b1
cmp dword [esp + 0x14], eax
jb 0x1003eab3
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008344f
mov esp, ebp
pop ebp
ret
mov eax, dword [0x103d2944]
movzx ecx, word [edi + 0x18]
mov eax, dword [eax + esi*4]
add dword [eax], ecx
jmp 0x1003ea72