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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
push 0xd
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
je 0x100d38f4
push 7
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x100d38f4
push 0xe
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x100d38f4
push 0xf
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x100d38f4
push 9
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x100d38f4
push 0x3c
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x100d38f4
push 0x3d
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x100d38f4
push 0xc
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x100d38f4
push 8
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x100d38f4
push 0x4c
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x100d38f4
push 0x7f
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx ecx, al
test ecx, ecx
jne 0x100d38f4
push 0x80
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx edx, al
test edx, edx
je 0x100d38fb
xor al, al
jmp 0x100d3a89
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x28]
cmp eax, 0xc8
jae 0x100d3915
xor al, al
jmp 0x100d3a89
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
jge 0x100d3a87
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
jne 0x100d3a87
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movsx ecx, word [eax]
test ecx, ecx
jge 0x100d395f
xor al, al
jmp 0x100d3a89
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp - 0xc]
movsx eax, word [edx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1d90
je 0x100d398c
cmp dword [ebp - 0x10], 0x1d91
je 0x100d3995
cmp dword [ebp - 0x10], 0x1d92
je 0x100d399e
jmp 0x100d39a7
mov dword [ebp - 8], 1
jmp 0x100d39ae
mov dword [ebp - 8], 2
jmp 0x100d39ae
mov dword [ebp - 8], 3
jmp 0x100d39ae
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 8], 0xffffffff
je 0x100d3a73
mov ecx, dword [ebp - 0xc]
movsx edx, word [ecx]
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0xc]
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], dl
push 0x4d
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
je 0x100d3a55
mov edx, dword [0x101b4ba8]
sub edx, 0x17c
cmp dword [0x879340c], edx
jbe 0x100d3a55
mov eax, dword [0x101b4ba8]
sub eax, 0x17c
cmp dword [0x879340c], eax
jbe 0x100d3a55
mov ecx, dword [0x101b4ba8]
sub ecx, 0xbe
cmp dword [0x879340c], ecx
jae 0x100d3a55
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x24]
add eax, 0x40
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x24], al
cmp dword [0x8793410], 0x82
jle 0x100d3a55
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x24]
add eax, 0x20
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x24], al
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x20], eax
push 0x80
mov ecx, 0x101e2e2c
call fcn.10100520
mov al, 1
jmp 0x100d3a89
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0xffffffff
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 0xffffffff
xor al, al
mov esp, ebp
pop ebp
ret 4