Function at 0x100229b0
Capabilities:
Log keystrokes via polling
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x101fab98
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
lea ebp, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10022a19
mov ebp, dword [ebp]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebp
jne 0x10022c5a
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10022c5a
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
push 0
mov ecx, esi
call eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
push 0x11
shr eax, 7
and al, 1
mov byte [esp + 0x23], al
call edi
push 0x12
shr eax, 7
and al, 1
mov byte [esp + 0x1f], al
call edi
movzx ebx, ax
shr ebx, 7
and bl, 1
push 0xd
mov byte [esp + 0x1b], bl
call edi
mov di, word [esp + 0x74]
mov cl, byte [esp + 0x1b]
mov dl, byte [esp + 0x1f]
shr eax, 7
and al, 1
mov byte [esp + 0x23], al
movzx eax, di
push eax
mov dword [esp + 0x44], eax
call fcn.101a7490
add esp, 4
cmp di, 9
mov byte [esp + 0x16], al
jne 0x10022aaf
mov al, byte [esp + 0x17]
xor ebx, ebx
cmp al, bl
jne 0x10022aa4
cmp cl, bl
jne 0x10022bad
mov ecx, dword [esi + 0x18]
mov dword [ecx + 0x20], ebx
jmp 0x10022c5a
cmp di, 0x10
jne 0x10022aef
cmp byte [esp + 0x23], 0
je 0x10022b5b
mov eax, dword [esp + 0x17]
mov ecx, dword [esp + 0x1b]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x23]
push ecx
mov ecx, dword [ebp]
push eax
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x10022b5b
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
jmp 0x10022c5a
cmp di, 0xd
jne 0x10022b5b
mov ebx, dword [ebp]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x10022b10
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x17]
mov ecx, dword [esp + 0x1b]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x23]
push ecx
mov ecx, dword [ebp]
push eax
push ecx
mov ecx, esi
call edx
test eax, eax
je 0x10022ae0
mov cl, byte [esp + 0x1f]
test cl, cl
jne 0x10022b5b
cmp byte [esp + 0x1b], cl
jne 0x10022bf6
cmp byte [esp + 0x17], cl
jne 0x10022d95
mov ecx, dword [esi + 0x18]
mov dword [ecx + 0x20], 1
jmp 0x10022c5a
cmp byte [esp + 0x1b], 0
jne 0x10022ba7
cmp byte [esp + 0x1f], 0
jne 0x10022d95
cmp byte [esp + 0x17], 0
jne 0x10022d95
cmp di, 0x1b
jne 0x10022b8d
mov edx, dword [esi + 0x18]
mov dword [edx + 0x20], 0
jmp 0x10022c5a
cmp byte [esp + 0x16], 0
jne 0x10022d95
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 0
jmp 0x10022c5a
mov al, byte [esp + 0x17]
xor ebx, ebx
mov cl, byte [esp + 0x1f]
cmp cl, bl
je 0x10022bfc
cmp byte [esp + 0x1b], bl
je 0x10022d97
cmp cl, bl
jne 0x10022c7b
cmp al, bl
jne 0x10022d97
cmp di, 0x5a
jne 0x10022c20
mov eax, dword [ebp]
push ebx
push ebx
push 0xc6
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10022d97
mov ecx, dword [esi + 0x18]
mov dword [ecx + 0x20], ebx
jmp 0x10022c5a
mov al, byte [esp + 0x17]
xor ebx, ebx
cmp al, bl
jne 0x10022bb5
cmp di, 0x41
jne 0x10022bb5
mov ecx, dword [ebp]
push 0xffffffffffffffff
push ebx
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x18]
mov dword [edx + 0x20], ebx
jmp 0x10022c5a
cmp di, 0x58
jne 0x10022c39
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
push 1
mov ecx, esi
call eax
mov ecx, dword [esi + 0x18]
mov dword [ecx + 0x20], ebx
jmp 0x10022c5a
cmp di, 0x43
je 0x10022c18
cmp di, 0x56
jne 0x10022d97
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push 1
mov ecx, esi
call edx
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x5c
ret 4
cmp al, bl
jne 0x10022d97
cmp di, 0x56
jne 0x10022d97
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
push 1
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
test eax, eax
jne 0x10022c18
mov byte [esi + 0x35], 1
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov dword [esp + 0x6c], ebx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10022cde
lea edx, [esp + 0x44]
push edx
call fcn.100240f0
cmp al, bl
jne 0x10022d01
mov byte [esi + 0x35], bl
mov esi, dword [esi + 0x18]
mov dword [esi + 0x20], 1
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.10001dd0
jmp 0x10022c5a
push esi
lea ecx, [esp + 0x48]
call fcn.10024160
test al, al
je 0x10022d16
mov eax, ebp
call fcn.10024bb0
mov eax, dword [ebp]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0xb1
push eax
call edi
mov ecx, dword [ebp]
push ebx
push ebx
push 0xb7
push ecx
call edi
mov edx, dword [ebp]
push ebx
push ebx
push 0x81d
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [esi + 0x18]
mov dword [esi + 0x20], 1
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp]
push 1
push 0x102
push 0x102
push eax
lea ecx, [esp + 0x34]
push ecx
call esi
test eax, eax
jne 0x10022d75
jmp 0x10022ceb
xor ebx, ebx
cmp byte [esi + 0x71], bl
je 0x10022c54
cmp byte [esp + 0x16], bl
je 0x10022c54
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [esp + 0x17]
mov ecx, eax
mov eax, dword [esp + 0x1b]
push edx
mov edx, dword [esp + 0x23]
push eax
push edx
call fcn.101a7460
add esp, 0xc
push eax
mov eax, dword [esp + 0x44]
push eax
push 0x81c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x10022aa4
cmp byte [esp + 0x1b], bl
je 0x10022e33
cmp byte [esp + 0x17], bl
jne 0x10022c5a
mov edx, dword [ebp]
push 1
push 0x102
push 0x102
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x10022c5a
cmp byte [esp + 0x17], bl
je 0x10022c5a
mov ecx, dword [ebp]
push 1
push 0x106
xor eax, eax
push 0x106
push ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x10022c5a