Function at 0x101d1cb
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x6c], esi
cmp ebx, esi
je 0x101d366
mov eax, dword [ebx + 0x18]
cmp eax, esi
je 0x101d366
cmp dword [ebx + 0x1c], esi
je 0x101d366
lea ecx, [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x48], eax
cmp eax, esi
jne 0x101d185
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101d354
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x4c], eax
cmp eax, esi
jne 0x101d19e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101d344
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
push dword [ebx + 0x1c]
push eax
call esi
lea edi, [ebx + 0x2c]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x101d29e
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x101d22a
push dword [ebx + 0x40]
push eax
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x101d1e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101d334
push eax
push dword [ebp - 0x48]
call esi
push 5
mov dword [ebp - 0x64], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x48]
call esi
push dword [ebx + 0x38]
mov dword [ebp - 0x6c], eax
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push dword [edi]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [ebx + 0x3c]
mov esi, edi
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x5c], eax
add dword [ebp - 0x60], eax
sub dword [ebp - 0x58], eax
sub dword [ebp - 0x54], eax
jmp 0x101d233
mov esi, edi
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x101d283
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push 0xcc0020
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x101d283
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
jmp 0x101d31a
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_FillRect]
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
mov byte [ebp - 0x50], al
mov byte [ebp - 0x4f], al
mov al, byte [ebx + 0x28]
mov byte [ebp - 0x4e], al
mov byte [ebp - 0x4d], 0
push dword [ebp - 0x50]
xor edi, edi
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push edi
push edi
push dword [ebp - 0x4c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push edi
push edi
push dword [ebp - 0x48]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
test eax, eax
jne 0x101d31a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xcc0020
push edi
push edi
push dword [ebp - 0x4c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push edi
push edi
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x101d31a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x6c], edi
je 0x101d327
push dword [ebp - 0x6c]
push dword [ebp - 0x48]
call esi
cmp dword [ebp - 0x64], edi
je 0x101d334
push dword [ebp - 0x64]
push dword [ebp - 0x48]
call esi
cmp dword [ebp - 0x68], 0
pop edi
je 0x101d344
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
cmp dword [ebp - 0x4c], esi
je 0x101d354
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x48], esi
je 0x101d366
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0101bc5d
leave
ret 4