Function at 0x100256c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0x10], 0
jge 0x100256d9
xor al, al
jmp 0x10025be0
mov eax, dword [ebp - 0x14]
add eax, 0x2b2
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ebp - 0x1d], al
inc dword [ebp - 0x18]
cmp byte [ebp - 0x1d], 0
jne 0x100256eb
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x32
jb 0x1002571c
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2e5], 0
xor al, al
jmp 0x10025be0
je 0x10025729
jne 0x10025729
call 0x11019cf3
mov byte [ebp - 1], 0
cmp dword [ebp + 0xc], 0x41
jb 0x10025793
cmp dword [ebp + 0xc], 0x5a
ja 0x10025793
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 1
je 0x1002575b
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
sar ecx, 0xf
test ecx, ecx
je 0x1002577d
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 1
jne 0x10025785
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
sar eax, 0xf
test eax, eax
je 0x10025785
mov cl, byte [ebp + 0xc]
mov byte [ebp - 1], cl
jmp 0x1002578e
mov edx, dword [ebp + 0xc]
add edx, 0x20
mov byte [ebp - 1], dl
jmp 0x10025acb
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 1
je 0x100257c0
cmp dword [ebp + 0xc], 0x60
jb 0x100257c0
cmp dword [ebp + 0xc], 0x69
ja 0x100257c0
mov ecx, dword [ebp + 0xc]
sub ecx, 0x30
mov byte [ebp - 1], cl
jmp 0x10025acb
cmp dword [ebp + 0xc], 0x30
jb 0x10025859
cmp dword [ebp + 0xc], 0x39
ja 0x10025859
je 0x100257e1
jne 0x100257e1
call 0x2601684f
dec esp
lds ecx, [ecx]
adc byte [edi], cl
mov edi, 0xffac1d0
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
sar edx, 0xf
test edx, edx
je 0x1002584e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 0x30
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 9
ja case.default.0x1002580b
mov edx, dword [ebp - 0x28]
jmp dword [edx*4 + 0x10025be6]
mov byte [ebp - 1], 0x21
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x40
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x23
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x24
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x25
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x5e
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x26
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x2a
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x28
jmp case.default.0x1002580b
mov byte [ebp - 1], 0x29
jmp 0x10025854
mov al, byte [ebp + 0xc]
mov byte [ebp - 1], al
jmp 0x10025acb
cmp dword [ebp + 0xc], 0xbd
jne 0x10025883
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
sar ecx, 0xf
test ecx, ecx
je 0x1002587a
mov byte [ebp - 1], 0x5f
jmp 0x1002587e
mov byte [ebp - 1], 0x2d
jmp 0x10025acb
cmp dword [ebp + 0xc], 0xbe
jne 0x10025895
mov byte [ebp - 1], 0x2e
jmp 0x10025acb
cmp dword [ebp + 0xc], 9
je 0x100258a1
cmp dword [ebp + 0xc], 0xd
jne 0x100258ea
mov edx, dword [ebp - 0x14]
add edx, 0x2b2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0x31], dl
inc dword [ebp - 0x2c]
cmp byte [ebp - 0x31], 0
jne 0x100258b4
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jbe 0x100258e5
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x2e5], 0
mov al, 1
jmp 0x10025be0
jmp 0x10025acb
cmp dword [ebp + 0xc], 0x25
jne 0x10025918
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x2e8], 0
je 0x10025918
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2e8]
sub ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x2e8], ecx
xor al, al
jmp 0x10025be0
cmp dword [ebp + 0xc], 0x27
jne 0x10025974
mov eax, dword [ebp - 0x14]
add eax, 0x2b2
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x3c]
mov al, byte [edx]
mov byte [ebp - 0x41], al
inc dword [ebp - 0x3c]
cmp byte [ebp - 0x41], 0
jne 0x10025930
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2e8]
cmp eax, dword [ebp - 0x48]
je 0x10025974
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2e8]
add edx, 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2e8], edx
xor al, al
jmp 0x10025be0
cmp dword [ebp + 0xc], 8
jne 0x10025a3d
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x2e8], 0
je 0x10025a3d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2e8]
sub eax, 1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2e8], eax
mov edx, dword [ebp - 0x14]
add edx, 0x2b2
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ecx]
mov byte [ebp - 0x51], dl
inc dword [ebp - 0x4c]
cmp byte [ebp - 0x51], 0
jne 0x100259b6
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2e8]
cmp edx, dword [ebp - 0x58]
jne 0x100259f4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [ebp - 0x14]
mov byte [edx + ecx + 0x2b2], 0
jmp 0x10025a36
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2e8]
mov dword [ebp - 8], ecx
jmp 0x10025a0b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x2b2]
test ecx, ecx
je 0x10025a36
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
mov cl, byte [eax + 0x2b3]
mov byte [edx + 0x2b2], cl
jmp 0x10025a02
xor al, al
jmp 0x10025be0
cmp dword [ebp + 0xc], 0x2e
jne 0x10025acb
mov edx, dword [ebp - 0x14]
add edx, 0x2b2
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x5c]
mov dl, byte [ecx]
mov byte [ebp - 0x61], dl
inc dword [ebp - 0x5c]
cmp byte [ebp - 0x61], 0
jne 0x10025a5a
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2e8]
cmp edx, dword [ebp - 0x68]
je 0x10025acb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2e8]
mov dword [ebp - 0xc], ecx
jmp 0x10025a99
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x2b2]
test ecx, ecx
je 0x10025ac4
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x2b3]
mov byte [edx + 0x2b2], cl
jmp 0x10025a90
xor al, al
jmp 0x10025be0
movsx edx, byte [ebp - 1]
test edx, edx
je 0x10025bde
mov eax, dword [ebp - 0x14]
add eax, 0x2b2
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
inc ecx
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x6c]
mov al, byte [edx]
mov byte [ebp - 0x71], al
inc dword [ebp - 0x6c]
cmp byte [ebp - 0x71], 0
jne 0x10025ae9
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x70]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x78]
cmp eax, dword [edx + 0x2e8]
jne 0x10025b41
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 1]
mov byte [eax + edx + 0x2b2], cl
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2e8]
add eax, 1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2e8], eax
jmp 0x10025bde
mov edx, dword [ebp - 0x14]
add edx, 0x2b2
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ecx]
mov byte [ebp - 0x81], dl
inc dword [ebp - 0x7c]
cmp byte [ebp - 0x81], 0
jne 0x10025b54
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x10], ecx
jmp 0x10025b8b
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x2e8]
jle 0x10025bb3
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
mov cl, byte [eax + 0x2b1]
mov byte [edx + 0x2b2], cl
jmp 0x10025b82
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2e8]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 1]
mov byte [ecx + eax + 0x2b2], dl
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2e8]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x2e8], ecx
xor al, al
mov esp, ebp
pop ebp
ret 0xc