Function at 0x277dde98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push 2
xor eax, eax
pop ebx
mov esi, ecx
push 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
pop eax
test byte [esi + 0x2c], al
mov dword [ebp - 0x28], 0x60e
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x2782af58
mov dword [ebp - 0x34], 0x611
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x2782af4c
je 0x277ddef4
push dword [esi + 0x38]
push 0x2a2
push esi
call fcn.277de156
add esp, 0xc
pop esi
pop ebx
leave
ret 4
or dword [esi + 0x2c], eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push eax
call edi
mov ecx, dword [esi + 0x2c]
push ebx
shr eax, 0xe
and ecx, 0xfffffffd
and eax, ebx
or ecx, eax
mov dword [esi + 0x2c], ecx
call edi
mov ecx, dword [esi + 0x2c]
push dword [0x27827310]
shr eax, 0xd
and ecx, 0xfffffffb
and eax, 4
or ecx, eax
push 0x34
mov dword [esi + 0x2c], ecx
call fcn.277b39bb
mov edi, eax
xor ebx, ebx
pop ecx
cmp edi, ebx
pop ecx
je 0x277ddfe2
mov ecx, esi
call fcn.277b99b7
push eax
push esi
push dword [esi + 0x24]
mov ecx, edi
call fcn.277e0ab5
mov dword [ebp - 8], eax
cmp dword [ebp - 8], ebx
je 0x277ddf8e
push dword [0x27827310]
push 0x38
call fcn.277b39bb
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x277ddfea
mov ecx, esi
call fcn.277b99b7
push eax
push esi
push dword [ebp - 8]
mov ecx, edi
push dword [esi + 4]
call fcn.277e048d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jne 0x277ddfef
mov ebx, dword [ebp - 0x10]
mov edi, 0x8007000e
mov eax, dword [ebp - 8]
test eax, eax
je 0x277ddfa7
mov ecx, dword [eax + 0x1c]
add eax, 0x1c
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x277ddfb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x277ddfc1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x277ddfd6
mov ecx, ebx
call fcn.277e0069
mov ecx, dword [ebx + 0x1c]
lea eax, [ebx + 0x1c]
push eax
call dword [ecx + 8]
and dword [esi + 0x2c], 0xfffffffe
mov eax, edi
pop edi
jmp 0x277ddeee
mov dword [ebp - 8], ebx
jmp 0x277ddf56
mov dword [ebp - 4], ebx
jmp 0x277ddf89
push dword [0x27827310]
push 0x38
call fcn.277b39bb
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x277de0e7
mov ecx, esi
call fcn.277b99b7
push eax
push esi
push dword [ebp - 8]
mov ecx, edi
push dword [esi + 0x20]
push ebx
push dword [ebp - 4]
call fcn.277dff80
mov ebx, eax
test ebx, ebx
je 0x277de0dd
mov eax, dword [esi + 0x2c]
test ah, 1
je 0x277de051
and eax, 0x30
cmp al, 0x10
jne 0x277de051
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push ebx
call fcn.277de823
mov edi, eax
test edi, edi
jl 0x277ddf96
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
call fcn.277b974b
add esp, 0x10
mov ecx, esi
call fcn.277de9e8
test eax, eax
jne 0x277de14c
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x277de14c
cmp dword [eax + 0xc], 0
je 0x277de14c
cmp dword [ebp - 0x14], 0
je 0x277de14c
call dword [sym.imp.USER32.dll_ReleaseCapture]
test byte [esi + 0x2c], 6
jne 0x277de0af
mov ecx, esi
call fcn.277dea46
push dword [0x27827310]
mov edi, dword [ebp - 4]
push 0xc
mov dword [edi + 0x18], 1
call fcn.277b39bb
pop ecx
test eax, eax
pop ecx
je 0x277de0ef
push esi
mov ecx, eax
call fcn.277de67d
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x277de0f5
mov edi, 0x8007000e
jmp 0x277ddf96
mov dword [ebp - 0x10], ebx
jmp 0x277de024
and dword [ebp - 0xc], 0
jmp 0x277de0d7
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov edi, eax
test edi, edi
jl 0x277ddf96
mov ecx, esi
call fcn.277de9e8
test eax, eax
jne 0x277de14c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [esi + 4]
call fcn.277b974b
add esp, 0xc
mov ecx, esi
call fcn.277de9e8
test eax, eax
jne 0x277de14c
mov eax, dword [ebp + 8]
test eax, eax
je 0x277de145
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor edi, edi
jmp 0x277ddf96
mov edi, 0x40101
jmp 0x277ddf96