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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595de0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x613384]
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 0x4215bb
cmp esi, 0x87
jne 0x4215bb
cmp ebx, 0xd
jne 0x421579
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 0x4215bb
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x4215bb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x4215bb
cmp ebx, 0x41
jne 0x4215bb
mov eax, dword [edi - 0x40]
lea ecx, [edi - 0x40]
push 0xffffffffffffffff
push 0
call dword [eax + 0x94]
cmp dword [edi + 0x78], 0
je 0x421925
cmp esi, 0x300
ja 0x421817
je 0x42184c
sub esi, 0x100
je 0x42172e
sub esi, 2
je 0x4215f4
sub esi, 0x184
jne 0x421925
cmp ebx, 8
jne 0x42168b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x42168b
push 0
push dword [edi + 0x5c]
lea ecx, [ebp - 0x3c]
call fcn.00420590
cmp dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
jle 0x421631
push 0x5b1974
call fcn.004210f0
jmp 0x421638
push 0xffffffffffffffff
call fcn.00420be0
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
call fcn.0046c430
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.004209b0
lea ecx, [ebp - 0x3c]
test bl, bl
jne 0x4217fc
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
call fcn.00420880
jmp 0x421718
mov eax, ebx
and eax, 0xfffff800
cmp eax, 0xd800
je 0x42170f
cmp ebx, 0x20
jb 0x421925
cmp ebx, 0x7f
je 0x421925
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.00420590
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [eax + 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xa
call fcn.0046c430
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.004209b0
lea ecx, [ebp - 0x3c]
call fcn.00420880
test bl, bl
jne 0x421925
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 0x421925
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 0x421925
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x421779
test al, al
jne 0x421925
push 0
push dword [edi + 0x5c]
lea ecx, [ebp - 0x20]
call fcn.00420590
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xc
jle 0x4217a2
push 0x5b1974
lea ecx, [ebp - 0x20]
call fcn.004210f0
jmp 0x4217bf
cmp byte [ebp + 0x10], 0
je 0x4217ac
push 0xffffffffffffffff
jmp 0x4217b7
test bl, bl
je 0x4217b5
push dword [ebp - 0x20]
jmp 0x4217b7
push 1
lea ecx, [ebp - 0x20]
call fcn.00420be0
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0046c430
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.004209b0
lea ecx, [ebp - 0x20]
jmp 0x421670
call fcn.00420880
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 0x421882
sub esi, 1
je 0x42184c
sub esi, 0x17
jne 0x421925
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 0x5b1974
push dword [edi + 0x5c]
lea ecx, [ebp - 0x3c]
call fcn.00420590
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [eax + 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 6
call fcn.0046c430
mov byte [ebp - 4], 7
push 0
jmp 0x4216e4
push dword [edi + 0x5c]
lea ecx, [ebp + 0x17]
mov dword [ebp - 4], 0
call fcn.0043c110
push 0xd
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x421946
push eax
lea ecx, [ebp + 0x10]
call fcn.00420520
push dword [ebp + 0x10]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push dword [edi + 0x5c]
call fcn.00420590
push 1
push 0xffffffffffffffff
push 0xfde9
push dword [eax + 4]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0046c430
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.004209b0
lea ecx, [ebp - 0x3c]
call fcn.00420880
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], 0
test bl, bl
je 0x42193b
test eax, eax
je 0x42191d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp + 0x17]
call fcn.0043c2b0
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 0x421946
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp + 0x17]
call fcn.0043c2b0
jmp 0x42170f