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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x1c
call fcn.0046c44c
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 0x18
push ebx
push 0x10
call fcn.0046c44c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4a2e60
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 0
jne 0x40f51a
mov dword [ebp + 0xc], 0x32
cmp dword [ebp + 0x18], 0
jne 0x40f52f
push dword [ebp + 8]
call fcn.0040fbfe
mov dword [ebp + 0x14], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov word [ebx], ax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40f58a
push 0x136
push 0x4012185
push 6
call fcn.0046c458
add esp, 0xc
mov ebx, dword [ebp - 8]
mov word [ebx], ax
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
cmp dword [ebp + 0xc], 3
jne 0x40f72e
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
cmp dword [ebp + 0x14], 0
je 0x40f5c9
mov eax, 1
jmp 0x40f5ce
mov eax, 0
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push 0x1c
mov eax, dword [ebp - 4]
push eax
push 0x1c
call fcn.0046c44c
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_SendInput]
nop
nop
cmp dword [ebp - 8], esp
je 0x40f695
push 0x255
push 0x4012185
push 6
call fcn.0046c458
add esp, 0xc
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.0046dae0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40f70a
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40f708
imul eax, dword [edi]
jmp 0x40f6fd
mov ecx, eax
cmp ecx, 2
jle 0x40f714
mov ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.0046c446
add esp, 4
pop eax
jmp 0x40fbdc
cmp dword [ebp + 0xc], 4
jne 0x40f8ba
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
cmp dword [ebp + 0x14], 0
je 0x40f755
mov eax, 3
jmp 0x40f75a
mov eax, 2
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push 0x1c
mov eax, dword [ebp - 4]
push eax
push 0x1c
call fcn.0046c44c
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_SendInput]
nop
nop
cmp dword [ebp - 8], esp
je 0x40f821
push 0x33d
push 0x4012185
push 6
call fcn.0046c458
add esp, 0xc
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.0046dae0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40f896
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40f894
imul eax, dword [edi]
jmp 0x40f889
mov ecx, eax
cmp ecx, 2
jle 0x40f8a0
mov ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.0046c446
add esp, 4
pop eax
jmp 0x40fbdc
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
cmp dword [ebp + 0x14], 0
je 0x40f8d7
mov eax, 1
jmp 0x40f8dc
mov eax, 0
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push 0x1c
mov eax, dword [ebp - 4]
push eax
push 0x1c
call fcn.0046c44c
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_SendInput]
nop
nop
cmp dword [ebp - 8], esp
je 0x40f9a3
push 0x3f0
push 0x4012185
push 6
call fcn.0046c458
add esp, 0xc
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.0046dae0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40fa18
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40fa16
imul eax, dword [edi]
jmp 0x40fa0b
mov ecx, eax
cmp ecx, 2
jle 0x40fa22
mov ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.0046c446
add esp, 4
pop eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.0040fca7
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
cmp dword [ebp + 0x14], 0
je 0x40fa68
mov eax, 3
jmp 0x40fa6d
mov eax, 2
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push 0x1c
mov eax, dword [ebp - 4]
push eax
push 0x1c
call fcn.0046c44c
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_SendInput]
nop
nop
cmp dword [ebp - 8], esp
je 0x40fb34
push 0x4bb
push 0x4012185
push 6
call fcn.0046c458
add esp, 0xc
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.0046dae0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40fba9
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40fba7
imul eax, dword [edi]
jmp 0x40fb9c
mov ecx, eax
cmp ecx, 2
jle 0x40fbb3
mov ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.0046c446
add esp, 4
pop eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.0040fca7
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x18
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0046c446
add esp, 4
pop ebx
call fcn.0046c446
add esp, 4
mov esp, ebp
pop ebp
ret 0x14