Function at 0x48c73d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
push edi
push ebx
lea eax, [ebp - 8]
push eax
add eax, 4
push eax
call fcn.0048a27b
mov byte [ebp - 0x16], 0
cmp byte [ebp + 0x10], 0
je 0x48c785
lea eax, [ebp - 0x38]
push eax
add eax, 0x1c
push eax
sub eax, 4
push eax
sub eax, 4
push eax
sub eax, 4
push eax
call fcn.00445867
test al, al
je 0x48c785
mov byte [ebp - 0x16], 1
mov byte [ebp - 0xb], 0
cmp byte [ebp - 0x16], 0
je 0x48c7af
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
push eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
push eax
call fcn.0044592a
test al, al
je 0x48c7af
mov byte [ebp - 0xb], 1
mov byte [ebp - 0xa], 0
cmp byte [ebp - 0xb], 0
jne 0x48c805
lea eax, [ebp - 0x38]
push eax
add eax, 0x1c
push eax
sub eax, 4
push eax
sub eax, 4
push eax
sub eax, 4
push eax
call fcn.00445867
test al, al
je 0x48c7ee
lea eax, [ebp - 0x1c]
push eax
sub eax, 4
push eax
call fcn.004458fe
call fcn.0044585f
mov byte [ebp - 0xa], 1
jmp 0x48c805
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
mov dword [ebp - 0x20], eax
push 0x10
call sub.user32.dll_GetKeyState
movsx eax, ax
mov dword [ebp - 0x38], eax
test byte [ebp - 0x37], 0x80
setne byte [ebp - 0x15]
push 0x11
call sub.user32.dll_GetKeyState
movsx eax, ax
mov dword [ebp - 0x38], eax
test byte [ebp - 0x37], 0x80
setne byte [ebp - 9]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5d25b8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x5d25b4]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x34], eax
push 0
push ebx
lea eax, [ebp - 0x3c]
push eax
call fcn.0048a0af
lea eax, [ebp - 0x14]
push eax
call fcn.0048a31f
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0048a375
call fcn.0048acc3
mov edx, dword [ebp + 0xc]
dec edx
cmp edx, 5
ja case.default.0x48c879
jmp dword [edx*4 + 0x48c880]
cmp byte [ebp - 0xb], 0
je 0x48c92c
cmp esi, 1
jne 0x48c8e5
dec dword [0x5d25b8]
mov edx, dword [0x5d25b4]
mov eax, edx
add eax, dword [0x5d25b8]
cmp eax, dword [ebp - 0x20]
jge 0x48ca16
mov eax, dword [ebp - 0x28]
sub eax, edx
mov dword [0x5d25b8], eax
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jge 0x48ca16
mov eax, dword [ebp - 0x24]
jmp 0x48c921
inc dword [0x5d25b8]
mov edx, dword [0x5d25b4]
mov eax, edx
add eax, dword [0x5d25b8]
cmp eax, dword [ebp - 0x28]
jle 0x48ca16
mov eax, dword [ebp - 0x20]
sub eax, edx
mov dword [0x5d25b8], eax
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x24]
jle 0x48ca16
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x48ca16
cmp esi, 1
jne 0x48c94d
mov eax, dword [0x5d25b8]
add eax, dword [0x5d25b4]
jle 0x48ca16
dec dword [0x5d25b8]
jmp 0x48ca16
mov edx, dword [0x5e8c54]
mov eax, dword [0x5d25b8]
add eax, dword [0x5d25b4]
dec edx
cmp eax, edx
jge 0x48ca16
inc dword [0x5d25b8]
jmp 0x48ca16
cmp byte [ebp - 0xb], 0
je 0x48c9f0
cmp esi, 1
jne 0x48c9b5
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jge 0x48ca16
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 8]
mov dword [ebp - 4], eax
dec dword [0x5d25b8]
mov eax, dword [0x5d25b8]
mov edx, dword [0x5d25b4]
add eax, edx
cmp eax, dword [ebp - 0x20]
jge 0x48ca16
mov eax, dword [ebp - 0x28]
jmp 0x48c9e7
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x24]
jle 0x48ca16
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 4], eax
inc dword [0x5d25b8]
mov eax, dword [0x5d25b8]
mov edx, dword [0x5d25b4]
add eax, edx
cmp eax, dword [ebp - 0x28]
jle 0x48ca16
mov eax, dword [ebp - 0x20]
sub eax, edx
mov dword [0x5d25b8], eax
jmp 0x48ca16
cmp esi, 1
jne 0x48ca02
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
jle 0x48ca16
dec dword [ebp - 4]
jmp 0x48ca16
mov edx, dword [0x5e8c50]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
dec edx
cmp eax, edx
jge 0x48ca16
inc dword [ebp - 4]
cmp byte [ebp + 0x10], 0
jne case.default.0x48c879
cmp byte [ebp - 0x15], 0
je case.default.0x48c879
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
mov dword [ebp - 0x28], eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00445802
mov byte [ebp - 0xa], 1
jmp case.default.0x48c879
xor esi, esi
cmp byte [ebp - 9], 0
jne 0x48ca6e
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
jmp case.default.0x48c879
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
jmp 0x48cafa
cmp byte [ebp - 9], 0
jne 0x48ca9d
mov esi, dword [0x5e8c6c]
mov ecx, dword [ebp - 0x10]
mov eax, esi
cdq
idiv ecx
mov dword [ebp - 4], edx
mov eax, esi
cdq
idiv ecx
imul eax, ecx
mov dword [ebp - 8], eax
jmp case.default.0x48c879
call fcn.004fa45a
mov esi, dword [0x5e8c6c]
mov ecx, dword [ebp - 0x10]
mov eax, esi
cdq
idiv ecx
mov dword [ebp - 4], edx
mov eax, esi
cdq
idiv ecx
imul eax, ecx
mov dword [ebp - 8], eax
jmp 0x48cac6
cmp byte [ebp - 9], 0
je 0x48cae9
mov esi, dword [0x5e8c68]
mov ecx, dword [ebp - 0x14]
mov eax, esi
cdq
idiv ecx
mov dword [0x5d25b8], edx
mov eax, esi
cdq
idiv ecx
imul eax, ecx
mov dword [0x5d25b4], eax
jmp case.default.0x48c879
mov eax, dword [ebp - 0x14]
add dword [0x5d25b4], eax
jmp case.default.0x48c879
cmp byte [ebp - 9], 0
je 0x48cb10
mov dword [0x5d25b4], 1
mov dword [0x5d25b8], 0
jmp case.default.0x48c879
mov eax, dword [ebp - 0x14]
sub dword [0x5d25b4], eax
push 1
push 0x5d25b4
call fcn.0048c113
push 2
lea eax, [ebp - 8]
push eax
call fcn.0048c113
mov ecx, dword [0x5d25b8]
cmp ecx, dword [ebp - 0x30]
je 0x48cb98
cmp ecx, 0
jge 0x48cb70
cmp ecx, reloc.gdi32.dll_AbortDoc
jne 0x48cb4e
cmp dword [0x5d25b4], 1
je 0x48cb70
mov dword [0x5d25b8], 0
cmp dword [0x5d25b4], 1
jle 0x48cbf3
dec dword [0x5d25b4]
jmp 0x48cbf3
mov esi, dword [ebp - 0x14]
lea edx, [esi - 1]
cmp ecx, edx
jle 0x48cbf3
mov dword [0x5d25b8], edx
mov eax, dword [0x5e8c54]
dec eax
sub eax, esi
cmp dword [0x5d25b4], eax
jge 0x48cbf3
inc dword [0x5d25b4]
jmp 0x48cbf3
mov esi, dword [ebp - 4]
cmp esi, dword [ebp - 0x2c]
je 0x48cbf3
cmp esi, 0
jge 0x48cbb7
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jle 0x48cbf3
dec dword [ebp - 8]
jmp 0x48cbf3
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
jle 0x48cbd9
lea eax, [ecx - 1]
mov dword [ebp - 4], eax
mov eax, dword [0x5e8c50]
sub eax, 2
sub eax, ecx
cmp dword [ebp - 8], eax
jge 0x48cbf3
add dword [ebp - 8], 2
jmp 0x48cbf3
lea edx, [ecx - 1]
cmp esi, edx
jle 0x48cbf3
mov dword [ebp - 4], edx
mov eax, dword [0x5e8c50]
dec eax
sub eax, ecx
cmp dword [ebp - 8], eax
jge 0x48cbf3
inc dword [ebp - 8]
mov esi, dword [ebp - 8]
push ebx
push esi
push dword [ebp - 4]
call fcn.0048a2cf
mov byte [0x5e2e84], 0
cmp byte [ebp - 0xa], 0
jne 0x48cc1c
cmp edi, esi
je 0x48cc34
mov eax, dword [ebp - 0x34]
cmp eax, dword [0x5d25b4]
je 0x48cc25
push 1
call fcn.0048c71a
jmp 0x48cc4f
cmp edi, esi
je 0x48cc34
push ebx
push dword [ebp - 0x3c]
push 2
sub edi, esi
push edi
jmp 0x48cc4a
mov edx, dword [0x5d25b4]
mov eax, dword [ebp - 0x34]
cmp eax, edx
je 0x48cc4f
push ebx
push dword [ebp - 0x3c]
push 1
sub eax, edx
push eax
call fcn.0048c3d3
mov byte [0x5e2e84], 1
call fcn.0048acc3
push 0
push ebx
push dword [ebp - 0x3c]
call fcn.0048a19e
push ebx
call fcn.00491e64
call fcn.0048c5c0
push dword [0x5d2540]
call sub.user32.dll_SetFocus
pop edi
pop esi
pop ebx
leave
ret 0x10