Function at 0x544fb0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x57d0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00414fc6
and al, 3
cmp al, 1
je 0x54538d
mov ecx, esi
call fcn.00414fc6
test al, 3
je 0x54538d
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, 1
push ebx
call dword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
test ax, ax
jge 0x545038
mov edx, dword [esi + 0x20]
push edi
push edi
push 0x157
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x54503c
mov dword [esp + 0x14], edi
cmp dword [esi + 0x1d4], edi
jne 0x545053
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [esp + 0x20], edi
cmp eax, dword [esi + 0x20]
jne 0x545057
mov dword [esp + 0x20], ebx
mov ecx, esi
call fcn.00415144
mov ecx, esi
mov ebx, eax
call fcn.00414fe0
mov ebp, eax
mov eax, dword [esp + 0xa4]
and ebp, 0x1000
cmp eax, edi
jne 0x54507e
xor eax, eax
jmp 0x545081
mov eax, dword [eax + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.00555ae0
mov edx, dword [esi]
mov eax, dword [edx + 0x164]
mov ecx, esi
mov dword [esp + 0x9c], edi
call eax
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.00543430
mov ecx, dword [esp + 0x68]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x118]
push ecx
push 0xf
mov ecx, esi
mov dword [esi + 0x1dc], 1
call edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
mov dword [esi + 0x1dc], edi
mov edi, dword [esi + 0x58]
push 0x58497c
call fcn.00407d30
mov eax, dword [edi]
mov edx, dword [eax + 4]
push esi
mov ecx, edi
call edx
mov edi, eax
push 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], edi
call fcn.00416f17
test ebx, ebx
jne 0x54511a
mov dword [esp + 0x14], 4
jmp 0x545139
cmp dword [esp + 0x14], 0
je 0x54512b
mov dword [esp + 0x14], 3
jmp 0x545139
xor eax, eax
cmp dword [esp + 0x20], eax
setne al
inc eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
push 0
push 0xfa1
push ecx
push 0
mov ecx, edi
call fcn.0052c330
mov ecx, esi
mov edi, eax
call fcn.0052f780
mov eax, dword [eax + 0x168]
mov ecx, esi
lea ebx, [eax + 3]
call fcn.0052f780
mov ecx, esi
test ebp, ebp
je 0x5451c3
mov edx, dword [eax + 0x150]
inc edx
cmp edx, ebx
jle 0x545186
call fcn.0052f780
mov eax, dword [eax + 0x150]
inc eax
jmp 0x545194
call fcn.0052f780
mov eax, dword [eax + 0x168]
add eax, 3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x6c]
push ecx
push edx
jmp 0x545219
mov eax, dword [eax + 0x150]
inc eax
cmp eax, ebx
jle 0x5451dc
call fcn.0052f780
mov eax, dword [eax + 0x150]
inc eax
jmp 0x5451ea
call fcn.0052f780
mov eax, dword [eax + 0x168]
add eax, 3
mov ecx, dword [esp + 0x2c]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, esi
call fcn.0052f780
mov esi, dword [eax + 0x150]
test edi, edi
jne 0x54529d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
sub eax, esi
add ecx, 0xfffffffd
sub eax, 3
add edx, 3
add edi, 3
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
test ebp, ebp
je 0x545270
push 0
push esi
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
call fcn.004168dc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0
lea eax, [esp + 0x70]
push eax
call fcn.0052b0c0
jmp 0x545328
cmp edi, 1
jne 0x545328
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0xed9
push ecx
mov ecx, dword [esp + 0x28]
push 0
call fcn.0052c2e0
push eax
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x70]
call fcn.00419958
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
test ebp, ebp
je 0x545309
lea eax, [esi + ecx]
mov dword [esp + 0x44], eax
jmp 0x54530f
sub eax, esi
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
push ecx
push 2
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.00554870
add esp, 0x10
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
test ebp, ebp
je 0x545354
add esi, ecx
mov dword [esp + 0x5c], esi
jmp 0x54535a
sub eax, esi
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push 1
lea edx, [esp + 0x70]
push edx
call fcn.0052b0c0
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.00555cf0
jmp 0x5454be
push esi
lea ecx, [esp + 0x38]
call fcn.00555460
mov eax, dword [esi + 0x20]
push 0
push 0xffffffffffffffff
push 0x154
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 8
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [edi + eax*2]
add ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x44], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x584ae4
call fcn.00407d30
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, esi
mov ebx, eax
call fcn.0052f780
mov edx, dword [esi]
mov edi, dword [esp + 0xa4]
mov ebp, eax
mov eax, dword [edx + 0x15c]
push edi
mov ecx, esi
call eax
push 0
push 0xfa1
push 0
push 0
mov ecx, ebx
mov esi, eax
call fcn.0052c330
cmp eax, 1
jne 0x545462
push 0xffffffffffffffff
push 0xed9
push 0
push 0
mov ecx, ebx
call fcn.0052c2e0
push eax
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.00419958
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
call ebx
test edi, edi
jne 0x54544c
xor eax, eax
jmp 0x54544f
mov eax, dword [edi + 4]
push esi
push 1
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00554870
add esp, 0x10
jmp 0x54549b
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x34]
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.00419958
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x38]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.00419958
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
call ebx
test edi, edi
je 0x5454ad
mov edi, dword [edi + 4]
push esi
push 1
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.00554870
add esp, 0x10
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4