Function at 0x420ee0
Capabilities:
Check for time delay via gettickcount
Create directory
Delete directory
Get common file path
Log keystrokes via polling
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff784
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, 0x460924
call fcn.00455438
cmp ebx, 0x4e
jne 0x42149e
mov ebx, dword [ebp + 0x18]
xor edx, edx
mov eax, 0x4608fc
mov ecx, dword [ebx + 8]
cmp ecx, dword [eax]
jne 0x420f2c
push 0
push 0
push 0x400
mov eax, dword [0x4656d8]
push eax
call sub.USER32.dll_PostMessageA
jmp 0x420f35
inc edx
add eax, 4
cmp edx, 6
jl 0x420f0f
mov edx, dword [ebx + 8]
cmp edx, 0xffffff96
jg 0x420f69
je 0x4211e9
sub edx, 0xffffff65
je 0x420f89
sub edx, 0x29
je 0x4210bd
sub edx, 5
je 0x42112a
dec edx
je 0x421134
jmp 0x421490
sub edx, 0xffffff97
je 0x421146
sub edx, 0x66
je 0x421107
sub edx, 2
je 0x42146f
jmp 0x421490
mov ebx, dword [ebp + 0x18]
push 0x10
call sub.USER32.dll_GetKeyState
test ah, 0x80
setne al
and eax, 1
push 0x12
mov edi, eax
call sub.USER32.dll_GetKeyState
test ah, 0x80
setne al
and eax, 1
mov dword [ebp - 0x28], eax
push 0x11
call sub.USER32.dll_GetKeyState
test ah, 0x80
setne dl
and edx, 1
mov dword [ebp - 0x2c], edx
cmp word [ebx + 0xc], 0x79
jne 0x420fdb
test edi, edi
jne 0x420fd5
cmp dword [ebp - 0x28], 0
je 0x420fdb
push esi
call fcn.004221c4
test edi, edi
jne 0x421490
cmp dword [ebp - 0x28], 0
jne 0x421490
cmp dword [ebp - 0x2c], 0
jne 0x421490
movzx ecx, word [ebx + 0xc]
cmp ecx, 0x2d
jg 0x42101a
je 0x42104a
sub ecx, 9
je 0x421092
sub ecx, 4
je 0x421029
sub ecx, 0x13
je 0x42104a
jmp 0x421490
sub ecx, 0x70
je 0x421055
sub ecx, 4
je 0x421071
jmp 0x421490
call fcn.0045c2ec
mov dword [0x4608f8], eax
push 1
push esi
call fcn.004215a4
call fcn.0045c2ec
mov dword [0x4608f8], eax
jmp 0x421490
push esi
call fcn.00421d3c
jmp 0x421490
push 0
push 0x8c
push 0x111
mov eax, dword [0x4656d8]
push eax
call sub.USER32.dll_SendMessageA
jmp 0x421490
cmp dword [0x466a98], 0
jne 0x421490
push 0x460a4b
push 0x4656f0
call fcn.0041f7c4
jmp 0x421490
cmp dword [0x4656dc], 0
je 0x421490
call sub.USER32.dll_GetFocus
cmp eax, dword [esi]
jne 0x421490
mov edx, dword [0x4656dc]
push edx
call sub.USER32.dll_SetFocus
jmp 0x421490
push 0
push 0x460a55
push 0x460a4c
call fcn.0040bb50
test eax, eax
je 0x421490
push esi
call fcn.004226bc
test eax, eax
je 0x421490
call fcn.0045c2ec
sub eax, dword [0x4608f8]
cmp eax, 0x3e8
jle 0x421490
push 1
push esi
call fcn.004215a4
jmp 0x421490
push esi
call fcn.004226bc
test eax, eax
je 0x421119
push 1
push esi
call fcn.004215a4
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4214ba
call fcn.00419148
jmp 0x421490
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x10]
push eax
push esi
call fcn.004214c4
jmp 0x421490
cmp dword [0x466a98], 0
je 0x421169
cmp byte [esi + 0x20], 0
jne 0x421169
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4214ba
cmp byte [esi + 0x20], 0
je 0x421175
mov byte [esi + 0x21], 0
jmp 0x4211d8
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x10]
xor edx, edx
lea ebx, [esi + 0x21]
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x54]
mov dword [ebp - 0x3c], 0x400
mov dword [ebp - 0x40], ebx
push edx
push eax
push 0x102d
mov eax, dword [esi]
push eax
call sub.USER32.dll_SendMessageA
mov eax, ebx
mov edx, 0x460a61
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4211d8
test cl, cl
je 0x4211c2
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4211d8
add eax, 2
add edx, 2
test cl, cl
jne 0x4211a6
jne 0x4211d8
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4214ba
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4214ba
mov edi, dword [ebp + 0x18]
xor ebx, ebx
mov byte [0x46fee0], 0
cmp dword [edi + 0x20], 0
jne 0x421230
mov eax, dword [edi + 0x10]
xor edx, edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x68], 0x46fee0
mov dword [ebp - 0x64], 0x400
mov dword [ebp - 0x7c], 1
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x1005
mov eax, dword [esi]
push eax
call sub.USER32.dll_SendMessageA
jmp 0x42125b
mov edx, dword [edi + 0x20]
push esi
push edi
xor eax, eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, 0x46fee0
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
cmp byte [esi + 0x20], 0
je 0x421413
mov byte [esi + 0x20], 0
cmp dword [0x466a98], 0
je 0x4213d4
lea eax, [ebp - 0x47c]
push eax
push 0x400
call sub.KERNEL32.dll_GetTempPathA
lea edx, [ebp - 0x47c]
push edx
call fcn.004080c8
push 0x460a64
lea ecx, [ebp - 0x47c]
push ecx
call fcn.00452e5c
add esp, 8
lea eax, [ebp - 0x47c]
push eax
call fcn.00456624
pop ecx
push 0
lea edx, [ebp - 0x47c]
push edx
call sub.KERNEL32.dll_CreateDirectoryA
xor eax, eax
lea edi, [ebp - 0x47c]
or ecx, 0xffffffff
lea esi, [ebp - 0x87c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x47c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004080c8
push 0x46fee0
lea edx, [ebp - 0x47c]
push edx
call fcn.00452e5c
add esp, 8
push 0
lea ecx, [ebp - 0x47c]
push ecx
call sub.KERNEL32.dll_CreateDirectoryA
test eax, eax
je 0x4213b3
push 0x474
call fcn.00459db0
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x421362
mov word [ebp - 0x14], 0x14
mov edx, dword [ebp - 4]
add edx, 0x450
push edx
call fcn.004262c0
mov ecx, dword [ebp - 4]
add ecx, 0x458
push ecx
call fcn.004262c0
mov word [ebp - 0x14], 8
mov esi, dword [ebp - 4]
jmp 0x421365
mov esi, dword [ebp - 4]
xor eax, eax
push esi
lea edi, [ebp - 0x47c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0
push 1
push 1
push esi
call fcn.0040c8a4
lea eax, [ebp - 0x47c]
push eax
call sub.KERNEL32.dll_RemoveDirectoryA
lea edx, [ebp - 0x87c]
push edx
call sub.KERNEL32.dll_RemoveDirectoryA
jmp 0x42144a
lea ecx, [ebp - 0x47c]
push ecx
push 0x1f7
call fcn.00408028
push eax
call fcn.00414028
add esp, 8
call fcn.00408e44
jmp 0x42144a
push 0
push 0x46fee0
call sub.KERNEL32.dll_CreateDirectoryA
test eax, eax
je 0x4213eb
mov ebx, 1
jmp 0x42144a
cmp byte [0x46fee0], 0
je 0x42144a
push 0x46fee0
push 0x1f7
call fcn.00408028
push eax
call fcn.00414028
add esp, 8
call fcn.00408e44
jmp 0x42144a
push 0x46fee0
lea edi, [esi + 0x21]
push edi
call sub.KERNEL32.dll_MoveFileA
test eax, eax
je 0x42142c
mov ebx, 1
jmp 0x42144a
push 0x46fee0
push edi
push 0x206
call fcn.00408028
push eax
call fcn.00414028
add esp, 0xc
call fcn.00408e44
push 0x46fee0
push 0
push 0x402
mov eax, dword [0x4656d8]
push eax
call sub.USER32.dll_PostMessageA
mov eax, ebx
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4214ba
push 0x30
push 0x65
call fcn.00408028
push eax
push 0x1f4
call fcn.00408028
push eax
mov ecx, dword [0x4656d8]
push ecx
call sub.USER32.dll_MessageBoxA
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4214ba
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
push ebx
mov edx, dword [ebp + 0xc]
push edx
call sub.USER32.dll_DefWindowProcA
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14