Function at 0x459790
Capabilities:
Log keystrokes via polling
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521140
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x56c36c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
cmp dword [edi - 0x10], 2
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
jne 0x45983b
cmp esi, 0x87
jne 0x45983b
cmp ebx, 0xd
jne 0x4597f9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
not al
and al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x45983b
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x45983b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x45983b
cmp ebx, 0x41
jne 0x45983b
mov eax, dword [edi - 0x40]
lea ecx, [edi - 0x40]
push 0xffffffffffffffff
push 0
call dword [eax + 0x94]
cmp dword [edi + 0x78], 0
je 0x459ba5
cmp esi, 0x300
ja 0x459a97
je 0x459acc
sub esi, 0x100
je 0x4599ae
sub esi, 2
je 0x459874
sub esi, 0x184
jne 0x459ba5
cmp ebx, 8
jne 0x45990b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x45990b
push 0
push dword [edi + 0x5c]
lea ecx, [ebp - 0x3c]
call fcn.004588a0
cmp dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
jle 0x4598b1
push 0x5347a4
call fcn.00459370
jmp 0x4598b8
push 0xffffffffffffffff
call fcn.00458e70
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
call fcn.00411420
mov ecx, dword [edi + 0x78]
lea eax, [edi - 0x40]
push 0
push dword [ebp - 0x18]
mov byte [ebp - 4], 9
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00416a40
lea ecx, [ebp - 0x3c]
test bl, bl
jne 0x459a7c
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
call fcn.00458b90
jmp 0x459998
mov eax, ebx
and eax, 0xfffff800
cmp eax, 0xd800
je 0x45998f
cmp ebx, 0x20
jb 0x459ba5
cmp ebx, 0x7f
je 0x459ba5
xor eax, eax
mov word [ebp + 0x14], bx
mov word [ebp + 0x16], ax
lea ecx, [ebp - 0x3c]
lea eax, [ebp + 0x14]
push eax
push dword [edi + 0x5c]
call fcn.004588a0
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [eax + 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xa
call fcn.00411420
mov byte [ebp - 4], 0xb
push ebx
mov ecx, dword [edi + 0x78]
lea eax, [edi - 0x40]
push dword [ebp - 0x18]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00416a40
lea ecx, [ebp - 0x3c]
call fcn.00458b90
test bl, bl
jne 0x459ba5
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
shr eax, 0xf
test al, 1
jne 0x459ba5
push 0x11
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x10
mov dword [ebp + 0x14], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp + 0x10], eax
cmp ebx, 0x2e
jne 0x459ba5
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x4599f9
test al, al
jne 0x459ba5
push 0
push dword [edi + 0x5c]
lea ecx, [ebp - 0x20]
call fcn.004588a0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xc
jle 0x459a22
push 0x5347a4
lea ecx, [ebp - 0x20]
call fcn.00459370
jmp 0x459a3f
cmp byte [ebp + 0x10], 0
je 0x459a2c
push 0xffffffffffffffff
jmp 0x459a37
test bl, bl
je 0x459a35
push dword [ebp - 0x20]
jmp 0x459a37
push 1
lea ecx, [ebp - 0x20]
call fcn.00458e70
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.00411420
mov ecx, dword [edi + 0x78]
lea eax, [edi - 0x40]
push 0
push dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.00416a40
lea ecx, [ebp - 0x20]
jmp 0x4598f0
call fcn.00458b90
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
sub esi, 0x302
je 0x459b02
sub esi, 1
je 0x459acc
sub esi, 0x17
jne 0x459ba5
mov eax, dword [edi - 0x40]
lea ecx, [edi - 0x40]
call dword [eax + 0x54]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x5347a4
push dword [edi + 0x5c]
lea ecx, [ebp - 0x3c]
call fcn.004588a0
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [eax + 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 6
call fcn.00411420
mov byte [ebp - 4], 7
push 0
jmp 0x459964
push dword [edi + 0x5c]
lea ecx, [ebp + 0x17]
mov dword [ebp - 4], 0
call fcn.00472ee0
push 0xd
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x459bc6
push eax
lea ecx, [ebp + 0x10]
call fcn.00458830
push dword [ebp + 0x10]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push dword [edi + 0x5c]
call fcn.004588a0
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [eax + 4]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00411420
mov ecx, dword [edi + 0x78]
lea eax, [edi - 0x40]
push 0
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.00416a40
lea ecx, [ebp - 0x3c]
call fcn.00458b90
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], 0
test bl, bl
je 0x459bbb
test eax, eax
je 0x459b9d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp + 0x17]
call fcn.00473080
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
je 0x459bc6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp + 0x17]
call fcn.00473080
jmp 0x45998f