Function at 0x53d138
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x104
ja 0x53d111
cmp dword [ebp - 0x18], 0x104
je case.0x53d131.0
mov edx, dword [ebp - 0x18]
sub edx, 0xa1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x5f
ja case.0x53d131.3
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x53d3a0]
jmp dword [ecx*4 + 0x53d394]
mov edx, dword [ebp - 0x18]
sub edx, 0x200
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 8
ja case.0x53d131.3
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x53d408]
jmp dword [ecx*4 + 0x53d400]
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xa0], 0xffffffff
je case.0x53d131.0
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je case.0x53d131.0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x21
je 0x53d247
cmp dword [ebp - 0x1c], 0x22
je 0x53d17a
jmp case.0x53d131.0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xa0]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x53d194
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xa0]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + 0x9c]
cmp dword [ebp - 4], ecx
jge 0x53d23d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cdq
idiv dword [ecx + 0x9c]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x280]
call eax
test eax, eax
je 0x53d238
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x200], 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x218]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x214]
call eax
mov ecx, eax
call fcn.004390b0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xa0]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x274]
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x200], 0
jmp 0x53d23d
jmp 0x53d18b
mov eax, 1
jmp 0x53d38e
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xa0]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x9c]
lea eax, [eax + edx - 1]
mov dword [ebp - 0xc], eax
jmp 0x53d26b
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0xa0]
jle 0x53d30b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ecx + 0x9c]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x280]
call eax
test eax, eax
je 0x53d306
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x200], 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x218]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x214]
call eax
mov ecx, eax
call fcn.004390b0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xa0]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x274]
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x200], 0
jmp 0x53d30b
jmp 0x53d262
mov eax, 1
jmp 0x53d38e
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xdc]
call fcn.00435880
test eax, eax
je 0x53d336
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xdc]
call fcn.004930f0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xd8]
call fcn.00435880
test eax, eax
je case.0x53d131.3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xd8]
call fcn.004930f0
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x203
jne 0x53d382
mov ecx, dword [ebp - 0x14]
add ecx, 0x2094
call fcn.00435880
mov ecx, dword [ebp + 8]
cmp dword [ecx], eax
jne 0x53d382
mov eax, 1
jmp 0x53d38e
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00559e00
mov esp, ebp
pop ebp
ret 4