Function at 0x48f4f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x54], ecx
push 0x16e
push 0x56bb28
mov eax, dword [ebp - 0x54]
push eax
call fcn.0045d090
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x20], 0
jne 0x48f529
push 0x16f
push 0x56bb60
call fcn.0045b590
test eax, eax
je 0x48f529
int3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00442370
test eax, eax
je 0x48f543
mov eax, 1
jmp 0x48f796
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x54]
call fcn.00433270
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x80]
and ecx, 0x20
jne 0x48f57b
cmp dword [ebp - 0xc], 0x201
je 0x48f57b
cmp dword [ebp - 0xc], 0x202
jne 0x48f725
cmp dword [ebp - 0xc], 0x200
jb 0x48f58d
cmp dword [ebp - 0xc], 0x209
jbe 0x48f5a7
cmp dword [ebp - 0xc], 0xa0
jb 0x48f725
cmp dword [ebp - 0xc], 0xa9
ja 0x48f725
call fcn.0045c360
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [edx + 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0050fe80
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.00433a20
push 0x30
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.004db5b0
add esp, 0xc
mov dword [ebp - 0x50], 0x28
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x48f613
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004d2450
add esp, 4
cmp dword [ebp - 0xc], 0x201
jne 0x48f630
mov edx, dword [ebp - 0x4c]
and edx, 0x80000000
je 0x48f630
mov dword [ebp - 0x58], 1
jmp 0x48f637
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x201
je 0x48f65e
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x48f65e
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x48f66a
cmp dword [ebp - 0x10], 0
je 0x48f6a0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x48f67f
cmp dword [ebp - 0x10], 0
je 0x48f69e
push 0xffffffffffffffff
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x16c]
call edx
push 0xe001
mov ecx, dword [ebp - 0x54]
call fcn.00434270
jmp 0x48f71c
cmp dword [ebp - 0xc], 0x202
jne 0x48f6cf
push 0xffffffffffffffff
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x16c]
call eax
push 0xc8
push 0xe001
mov ecx, dword [ebp - 0x54]
call fcn.0048f1b0
jmp 0x48f71c
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x7c]
and edx, 8
jne 0x48f6e9
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x48f6ff
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x16c]
call edx
jmp 0x48f71c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x4c]
je 0x48f71c
push 0x12c
push 0xe000
mov ecx, dword [ebp - 0x54]
call fcn.0048f1b0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp - 0x54]
call fcn.00444960
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48f743
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x68], 0
je 0x48f743
xor eax, eax
jmp 0x48f796
cmp dword [ebp - 8], 0
je 0x48f775
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
call eax
test eax, eax
je 0x48f768
mov eax, 1
jmp 0x48f796
mov ecx, dword [ebp - 8]
call fcn.00444690
mov dword [ebp - 8], eax
jmp 0x48f743
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48f794
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00448bf0
jmp 0x48f796
xor eax, eax
mov esp, ebp
pop ebp
ret 4