Function at 0x4011d1
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x4113b0
sub esp, 0x28
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
test eax, eax
push edi
jne 0x4115b5
cmp dword [esi + 0x6c], 1
jne 0x411426
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x411416
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call edi
test ax, ax
jne 0x4113fa
push 2
call edi
test ax, ax
jne 0x4113fa
xor dl, dl
jmp 0x4113fc
mov dl, 1
mov eax, dword [esi + 0x70]
cmp dword [esp + 0x14], eax
mov ecx, dword [esi + 0x74]
jne 0x411416
cmp dword [esp + 0x18], ecx
jne 0x411416
test dl, dl
je 0x4115b5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edx
jmp 0x411434
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x80]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x84]
cdq
sub eax, edx
sar eax, 1
push ebx
lea edx, [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esi + 0x80]
mov ecx, dword [esi + 0x88]
mov eax, ebp
cdq
idiv ecx
mov eax, ebp
mov ebx, edx
cdq
idiv ecx
mov dword [esp + 0x10], ebx
mov edi, eax
mov eax, dword [esi + 0x84]
mov dword [esp + 0x14], eax
cdq
idiv ecx
add edi, ebx
mov ebx, eax
add ebx, dword [esp + 0x10]
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
neg eax
add edx, eax
mov dword [esp + 0x18], edx
jns 0x4114bc
mov eax, dword [esi + 0x70]
imul eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
neg eax
add edx, eax
mov dword [esp + 0x1c], edx
jns 0x4114e3
mov eax, dword [esi + 0x74]
imul eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x8c]
add edx, edi
cmp edx, eax
jle 0x411507
mov edx, eax
sub edx, dword [esi + 0x70]
imul edx, ecx
sub ebp, edx
sub eax, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x90]
add edx, ebx
cmp edx, eax
jle 0x411531
mov edx, dword [esi + 0x74]
mov ebp, eax
sub ebp, edx
mov edx, dword [esp + 0x14]
imul ebp, ecx
sub edx, ebp
sub eax, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0x94]
mov eax, ecx
imul ecx, edi
imul eax, ebx
test edx, edx
je 0x411546
mov edx, dword [edx + 4]
mov ebp, dword [esp + 0x3c]
push 0xcc0020
push ebx
push edi
mov edi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
push edi
push edx
mov edx, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esi + 0xa0]
test eax, eax
pop ebx
je 0x4115b5
call fcn.00435362
call fcn.00435362
mov eax, dword [eax + 0xc]
push 0x85
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
push 3
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4