Function at 0x10025140
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 0x10025159
xor al, al
jmp 0x10025690
mov eax, dword [ebp - 0x14]
add eax, 0x280
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 0x1002516b
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x32
jb 0x100251a9
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2e4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2e8], 0
xor al, al
jmp 0x10025690
je 0x100251b6
jne 0x100251b6
call 0x11019780
mov byte [ebp - 1], 0
cmp dword [ebp + 0xc], 0x41
jb 0x10025220
cmp dword [ebp + 0xc], 0x5a
ja 0x10025220
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 1
je 0x100251e8
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
sar edx, 0xf
test edx, edx
je 0x1002520a
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 1
jne 0x10025212
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
sar ecx, 0xf
test ecx, ecx
je 0x10025212
mov dl, byte [ebp + 0xc]
mov byte [ebp - 1], dl
jmp 0x1002521b
mov eax, dword [ebp + 0xc]
add eax, 0x20
mov byte [ebp - 1], al
jmp 0x1002557b
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 1
je 0x1002524d
cmp dword [ebp + 0xc], 0x60
jb 0x1002524d
cmp dword [ebp + 0xc], 0x69
ja 0x1002524d
mov edx, dword [ebp + 0xc]
sub edx, 0x30
mov byte [ebp - 1], dl
jmp 0x1002557b
cmp dword [ebp + 0xc], 0x30
jb 0x100252f3
cmp dword [ebp + 0xc], 0x39
ja 0x100252f3
je 0x1002526e
jne 0x1002526e
call 0x1009d681
add byte [eax], al
je 0x1002527b
jne 0x1002527b
jmp 0x260162e9
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
sar eax, 0xf
test eax, eax
je 0x100252e8
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x30
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 9
ja case.default.0x100252a5
mov eax, dword [ebp - 0x28]
jmp dword [eax*4 + 0x10025696]
mov byte [ebp - 1], 0x21
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x40
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x23
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x24
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x25
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x5e
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x26
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x2a
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x28
jmp case.default.0x100252a5
mov byte [ebp - 1], 0x29
jmp 0x100252ee
mov cl, byte [ebp + 0xc]
mov byte [ebp - 1], cl
jmp 0x1002557b
cmp dword [ebp + 0xc], 0xbd
jne 0x1002531d
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
sar edx, 0xf
test edx, edx
je 0x10025314
mov byte [ebp - 1], 0x5f
jmp 0x10025318
mov byte [ebp - 1], 0x2d
jmp 0x1002557b
cmp dword [ebp + 0xc], 0xbe
jne 0x1002532f
mov byte [ebp - 1], 0x2e
jmp 0x1002557b
cmp dword [ebp + 0xc], 9
je 0x1002533b
cmp dword [ebp + 0xc], 0xd
jne 0x1002539a
mov eax, dword [ebp - 0x14]
add eax, 0x280
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x2c]
mov al, byte [edx]
mov byte [ebp - 0x31], al
inc dword [ebp - 0x2c]
cmp byte [ebp - 0x31], 0
jne 0x1002534d
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 3
jbe 0x10025395
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2e4], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x2e5], 1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2e8], 0
mov al, 1
jmp 0x10025690
jmp 0x1002557b
cmp dword [ebp + 0xc], 0x25
jne 0x100253c8
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x2e8], 0
je 0x100253c8
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 0x10025690
cmp dword [ebp + 0xc], 0x27
jne 0x10025424
mov eax, dword [ebp - 0x14]
add eax, 0x280
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 0x100253e0
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 0x10025424
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 0x10025690
cmp dword [ebp + 0xc], 8
jne 0x100254ed
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x2e8], 0
je 0x100254ed
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, 0x280
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 0x10025466
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 0x100254a4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [ebp - 0x14]
mov byte [edx + ecx + 0x280], 0
jmp 0x100254e6
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2e8]
mov dword [ebp - 8], ecx
jmp 0x100254bb
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 + 0x280]
test ecx, ecx
je 0x100254e6
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
mov cl, byte [eax + 0x281]
mov byte [edx + 0x280], cl
jmp 0x100254b2
xor al, al
jmp 0x10025690
cmp dword [ebp + 0xc], 0x2e
jne 0x1002557b
mov edx, dword [ebp - 0x14]
add edx, 0x280
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 0x1002550a
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 0x1002557b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2e8]
mov dword [ebp - 0xc], ecx
jmp 0x10025549
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 + 0x280]
test ecx, ecx
je 0x10025574
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x281]
mov byte [edx + 0x280], cl
jmp 0x10025540
xor al, al
jmp 0x10025690
movsx edx, byte [ebp - 1]
test edx, edx
je 0x1002568e
mov eax, dword [ebp - 0x14]
add eax, 0x280
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 0x10025599
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 0x100255f1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 1]
mov byte [eax + edx + 0x280], 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 0x1002568e
mov edx, dword [ebp - 0x14]
add edx, 0x280
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 0x10025604
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 0x1002563b
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 0x10025663
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
mov cl, byte [eax + 0x27f]
mov byte [edx + 0x280], cl
jmp 0x10025632
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2e8]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 1]
mov byte [ecx + eax + 0x280], 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