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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0x1c
call fcn.005fffc4
add esp, 4
mov dword [ebp - 8], 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.005fffc4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x763b73
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 + 8], 0
je 0x58d38e
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call dword [sym.imp.user32.dll_IsWindow]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x58d27b
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x58d28d
jmp 0x58d734
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x58d2bb
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x58d2dd
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 1
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x58d30a
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetFocus]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x58d32c
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0xc], esp
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x58d34b
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x58d378
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x32
call fcn.004e1491
cmp dword [ebp + 0x14], 1
jge 0x58d39f
mov dword [ebp + 0x14], 1
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 1
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0xc]
mov word [ebx], ax
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push 0
push dword [ebp + 0x10]
call dword [sym.imp.user32.dll_MapVirtualKeyA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x58d3f0
push 6
call fcn.005fffca
add esp, 4
mov ebx, dword [ebp - 0xc]
mov word [ebx], ax
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0
mov eax, dword [ebp + 0x14]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x58d731
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0x1c], 0
je 0x58d435
mov eax, 1
jmp 0x58d43a
mov eax, 0
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
push 0x1c
mov eax, dword [ebp - 8]
push eax
push 0x1c
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 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
call dword [sym.imp.user32.dll_SendInput]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x58d4f7
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
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.006010d0
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 0x58d56c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x58d56a
imul eax, dword [edi]
jmp 0x58d55f
mov ecx, eax
cmp ecx, 2
jle 0x58d576
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.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x32
call fcn.004e1491
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0x1c], 0
je 0x58d5be
mov eax, 3
jmp 0x58d5c3
mov eax, 2
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
push 0x1c
mov eax, dword [ebp - 8]
push eax
push 0x1c
call fcn.005fffc4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 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
call dword [sym.imp.user32.dll_SendInput]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x58d680
push 6
call fcn.005fffca
add esp, 4
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
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.006010d0
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 0x58d6f5
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x58d6f3
imul eax, dword [edi]
jmp 0x58d6e8
mov ecx, eax
cmp ecx, 2
jle 0x58d6ff
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.005fffbe
add esp, 4
pop eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x32
call fcn.004e1491
pop eax
pop ecx
jmp 0x58d40d
add esp, 8
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x18
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005fffbe
add esp, 4
pop ebx
call fcn.005fffbe
add esp, 4
mov esp, ebp
pop ebp
ret 0x1c