Function at 0x5472c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
cmp edi, 0x20
je 0x54730a
lea esp, [esp]
cmp edi, 0x25
je 0x54730a
cmp edi, 0x27
je 0x54730a
cmp edi, 0x6b
je 0x54730a
cmp edi, 0xbb
je 0x54730a
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x6c], 0
je case.0x547345.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
push 0x10
shr bx, 0xf
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [edi - 0x20]
shr ax, 0xf
cmp ecx, 0x9b
ja case.0x547345.33
movzx ecx, byte [ecx + 0x5475e0]
jmp dword [ecx*4 + 0x5475cc]
test bl, bl
je 0x547369
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x74], eax
lea eax, [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
push edx
jmp 0x54738f
test al, al
je case.0x547345.33
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x74]
mov ecx, dword [eax + 0x20]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
cmp ecx, edx
push eax
mov eax, ecx
cmovbe eax, edx
cmovbe edx, ecx
push 4
push eax
mov ecx, esi
call fcn.00546660
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x18]
mov ecx, esi
call fcn.005463a0
test al, al
je case.0x547345.33
push 0
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x6c]
test byte [edi + 0x28], 1
jne 0x547401
test byte ds:[edi], 4
je 0x547401
push 0
mov edx, edi
mov ecx, esi
call fcn.00545fc0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x24]
test ecx, ecx
je case.0x547345.33
mov edi, dword [edi + 0x20]
dec ecx
test edi, edi
je case.0x547345.33
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + 8]
lea eax, [eax + edi*4]
mov ebx, dword [eax - 4]
lea eax, [eax - 4]
dec edi
cmp dword [ebx + 0x24], ecx
je 0x547449
test edi, edi
jne 0x547424
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x6c], ebx
mov edx, edi
mov eax, dword [ebx + 0x20]
mov ecx, esi
mov dword [esi + 0x74], eax
call fcn.005469e0
push 0
mov edx, ebx
mov ecx, esi
call fcn.00546800
lea eax, [ebp - 0x18]
mov edx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
mov ecx, esi
call fcn.00546660
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x18]
mov ecx, esi
call fcn.005463a0
test al, al
je 0x54749f
push 0
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.00549770
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x6c]
test byte [ecx + 0x28], 1
jne case.0x547345.33
test byte [ecx], 4
jne 0x5474e9
mov edx, ecx
mov ecx, esi
push 1
call fcn.00545fc0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 0x20]
mov edi, dword [esi + 0xcc]
lea eax, [edx + 1]
cmp eax, dword [edi]
jae case.0x547345.33
mov eax, dword [edi + 8]
mov edi, dword [eax + edx*4 + 4]
mov eax, dword [ecx + 0x24]
inc eax
cmp dword [edi + 0x24], eax
jne case.0x547345.33
mov dword [esi + 0x6c], edi
mov ecx, esi
mov eax, dword [edi + 0x20]
mov dword [esi + 0x74], eax
mov edx, dword [edi + 0x20]
inc edx
call fcn.005469e0
push 0
mov edx, edi
mov ecx, esi
call fcn.00546800
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edx
jmp 0x547473
cmp edi, 0x6b
jne 0x547562
test bl, bl
jne 0x547572
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
cmp edi, 0xbb
jne case.0x547345.33
test bl, bl
je case.0x547345.33
test al, al
je case.0x547345.33
test byte [esi + 0x20], 0x10
je 0x54758a
mov edx, dword [esi + 8]
mov ecx, esi
push 0
push dword [esi + 0xac]
call fcn.00545a80
xor edi, edi
cmp dword [esi + 0xa4], edi
jbe case.0x547345.33
mov eax, dword [esi + 0x9c]
mov ecx, esi
mov edx, dword [esi + 0xc]
push 0
push dword [eax + edi*4]
call fcn.00545a80
inc edi
cmp edi, dword [esi + 0xa4]
jb 0x547594
mov ecx, dword ds:[ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e94f
mov esp, ebp
pop ebp
ret