Function at 0x44f200
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x64
push ebx
push esi
xor ebx, ebx
cmp eax, 1
push edi
mov esi, ecx
je 0x44f21c
cmp eax, ebx
mov byte [esp + 0xf], 1
jne 0x44f221
mov byte [esp + 0xf], 0
cmp byte [esp + 0xf], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
je 0x44f244
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetRgnBox]
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0044e4e0
mov ecx, dword [esi]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
add dword [esp + 0x20], eax
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x24], eax
add dword [esp + 0x2c], eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x44f2a3
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
mov byte [esp + 0x1c], 0
je 0x44f2a8
mov byte [esp + 0x1c], 1
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push ebp
lea eax, [esp + 0x24]
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x18], eax
call edi
cmp byte [esi + 0x94], 0
mov ebp, eax
mov dword [esp + 0x18], ebx
je 0x44f314
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x2c]
neg ecx
push ecx
neg eax
push eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x6c], edx
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [esp + 0x54]
push ecx
call edi
mov dword [esp + 0x18], eax
mov ebx, eax
cmp byte [esp + 0x13], 0
je 0x44f36e
cmp byte [esi + 0x94], 0
je 0x44f359
lea edx, [esp + 0x34]
push edx
call edi
push 1
mov edi, eax
mov eax, dword [esp + 0x80]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CombineRgn]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x14]
push 4
push ecx
push edi
push ebp
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x18]
jmp 0x44f3b9
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
push 4
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x44f3b9
cmp byte [esi + 0x94], 0
mov dword [esp + 0x7c], 0
jne 0x44f393
lea ecx, [esp + 0x34]
push ecx
call edi
cmp byte [esi + 0x94], 0
mov dword [esp + 0x7c], eax
je 0x44f397
mov eax, ebx
jmp 0x44f39b
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
push 4
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x44f3b9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esi]
push eax
push ebp
push ecx
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call edi
push ebp
call edi
test ebx, ebx
pop ebp
je 0x44f3e8
push ebx
call edi
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [esp + 0x14]
push ecx
movzx edi, ax
call dword [sym.imp.USER32.dll_GetCursorPos]
movzx eax, word [esp + 0x18]
movzx ecx, word [esp + 0x14]
lea edx, [esp + 0x78]
push edx
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x84
mov ecx, esi
call fcn.0044e7e0
mov edx, edi
shr edx, 0xf
and dl, 1
neg dl
sbb edx, edx
neg edx
add edx, 5
push edx
push eax
call fcn.0044e440
add esp, 4
push eax
mov ecx, esi
call fcn.0044e540
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044ed00
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x64
ret 0x10