Function at 0x276047d6
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], 0x27633e28
mov dword [ebp - 0x34], 0x611
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x27633e1c
je 0x27604832
push dword [esi + 0x38]
push 0x2a2
push esi
call fcn.27604a94
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 [0x2762de00]
shr eax, 0xd
and ecx, 0xfffffffb
and eax, 4
or ecx, eax
push 0x34
mov dword [esi + 0x2c], ecx
call fcn.2758f600
mov edi, eax
xor ebx, ebx
pop ecx
cmp edi, ebx
pop ecx
je 0x27604920
mov ecx, esi
call fcn.275ba9ff
push eax
push esi
push dword [esi + 0x24]
mov ecx, edi
call fcn.2760749e
mov dword [ebp - 8], eax
cmp dword [ebp - 8], ebx
je 0x276048cc
push dword [0x2762de00]
push 0x38
call fcn.2758f600
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x27604928
mov ecx, esi
call fcn.275ba9ff
push eax
push esi
push dword [ebp - 8]
mov ecx, edi
push dword [esi + 4]
call fcn.27606e76
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jne 0x2760492d
mov ebx, dword [ebp - 0x10]
mov edi, 0x8007000e
mov eax, dword [ebp - 8]
test eax, eax
je 0x276048e5
mov ecx, dword [eax + 0x1c]
add eax, 0x1c
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x276048f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x276048ff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x27604914
mov ecx, ebx
call fcn.27606a52
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 0x2760482c
mov dword [ebp - 8], ebx
jmp 0x27604894
mov dword [ebp - 4], ebx
jmp 0x276048c7
push dword [0x2762de00]
push 0x38
call fcn.2758f600
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x27604a25
mov ecx, esi
call fcn.275ba9ff
push eax
push esi
push dword [ebp - 8]
mov ecx, edi
push dword [esi + 0x20]
push ebx
push dword [ebp - 4]
call fcn.27606969
mov ebx, eax
test ebx, ebx
je 0x27604a1b
mov eax, dword [esi + 0x2c]
test ah, 1
je 0x2760498f
and eax, 0x30
cmp al, 0x10
jne 0x2760498f
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push ebx
call fcn.276051b7
mov edi, eax
test edi, edi
jl 0x276048d4
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.275a8655
add esp, 0x10
mov ecx, esi
call fcn.276053d1
test eax, eax
jne 0x27604a8a
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x27604a8a
cmp dword [eax + 0xc], 0
je 0x27604a8a
cmp dword [ebp - 0x14], 0
je 0x27604a8a
call dword [sym.imp.USER32.dll_ReleaseCapture]
test byte [esi + 0x2c], 6
jne 0x276049ed
mov ecx, esi
call fcn.2760542f
push dword [0x2762de00]
mov edi, dword [ebp - 4]
push 0xc
mov dword [edi + 0x18], 1
call fcn.2758f600
pop ecx
test eax, eax
pop ecx
je 0x27604a2d
push esi
mov ecx, eax
call fcn.27605011
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x27604a33
mov edi, 0x8007000e
jmp 0x276048d4
mov dword [ebp - 0x10], ebx
jmp 0x27604962
and dword [ebp - 0xc], 0
jmp 0x27604a15
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 0x276048d4
mov ecx, esi
call fcn.276053d1
test eax, eax
jne 0x27604a8a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [esi + 4]
call fcn.275a8655
add esp, 0xc
mov ecx, esi
call fcn.276053d1
test eax, eax
jne 0x27604a8a
mov eax, dword [ebp + 8]
test eax, eax
je 0x27604a83
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor edi, edi
jmp 0x276048d4
mov edi, 0x40101
jmp 0x276048d4