Function at 0x42221f
Capabilities:
Log keystrokes

Disassembly:
mov eax, 0x56912c
call fcn.00524444
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x622c94
push edi
lea ecx, [esi + 0x144]
call fcn.0053ecd8
push edi
lea ecx, [esi + 0xc8]
call fcn.00543cd5
xor eax, eax
push eax
push eax
push 0x188
mov dword [esi + 0x160], eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
lea edi, [esi + 0x140]
cmp ebx, 0xffffffff
je 0x422289
lea eax, [ebx + ebx*2]
mov ecx, edi
push dword [eax*4 + 0x5c574c]
call fcn.00545796
jmp 0x422295
push 0x622c94
mov ecx, edi
call fcn.0053ecd8
push 0xa
mov ecx, edi
call fcn.0053f016
cmp eax, 0xffffffff
je 0x4222c7
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0053a9ea
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0053ec88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0053eb4f
xor edi, edi
push edi
push edi
push 0x184
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esi + 0x178]
push edi
call fcn.0053dd73
mov eax, dword [0x61d784]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x150], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
jle 0x42249c
lea eax, [ebx + ebx*2]
lea eax, [eax*4 + 0x5c574c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14c]
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax + edi + 4]
cmp eax, dword [ecx]
jne 0x422485
push 0x622c94
lea ecx, [ebp - 0x10]
call fcn.0053ecd8
mov eax, dword [esi + 0x14c]
test byte [eax + edi], 0x10
je 0x422358
push str.Alt
lea ecx, [ebp - 0x10]
call fcn.0053ecd8
mov eax, dword [esi + 0x14c]
test byte [eax + edi], 8
je 0x422371
push 0x622d98
lea ecx, [ebp - 0x10]
call fcn.0053ef67
mov eax, dword [esi + 0x14c]
test byte [eax + edi], 4
je 0x42238a
push 0x622d94
lea ecx, [ebp - 0x10]
call fcn.0053ef67
mov eax, dword [esi + 0x14c]
add eax, edi
test byte [eax], 1
je 0x42244e
push 0x5bee9c
lea ecx, [ebp - 0x14]
call fcn.0053ecd8
mov al, byte [0x5be880]
xor ebx, ebx
test al, al
je 0x4223e8
mov ecx, dword [esi + 0x14c]
mov dx, word [ecx + edi + 2]
mov ecx, 0x5be880
movzx ax, al
cmp dx, ax
je 0x4223d9
mov al, byte [ecx + 8]
add ecx, 8
inc ebx
test al, al
jne 0x4223c3
jmp 0x4223e8
push dword [ebx*8 + 0x5be884]
lea ecx, [ebp - 0x14]
call fcn.00545796
cmp byte [ebx*8 + 0x5be880], 0
jne 0x422440
mov eax, dword [esi + 0x14c]
push 1
push 2
movzx eax, word [eax + edi + 2]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0053a3f4
push 0x622c94
mov byte [ebp - 4], 3
push dword [ebp - 0x1c]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x422434
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
call fcn.0053ec88
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0053eb4f
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0053ef67
jmp 0x42245a
mov al, byte [eax + 2]
lea ecx, [ebp - 0x10]
push eax
call fcn.0053ef52
push dword [ebp - 0x10]
push 0
push 0x180
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x18]
mov eax, dword [esi + 0x180]
lea ecx, [esi + 0x178]
push eax
call fcn.0053de86
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add edi, 6
cmp eax, dword [esi + 0x150]
jl 0x42231c
xor edi, edi
mov ecx, esi
call fcn.00422a24
push edi
mov ecx, esi
call fcn.00543016
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0053eb4f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret