Function at 0x44db60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0506
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5061ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x158], 0
je 0x44de0c
mov eax, 5
cmp ax, word [ebx + 0x10c]
jne 0x44e43f
movzx eax, byte [ebx + 0x110]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044c9a0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov cl, byte [ebx + 0x110]
sub esi, dword [ebp - 0x20]
test cl, cl
cmovne esi, eax
lea eax, [ebx + 0x114]
jne 0x44dbe5
lea eax, [ebx + 0x130]
push ecx
mov ecx, ebx
mov dword [ebp - 0xa8], eax
call fcn.0044cab0
sub esi, eax
mov al, byte [ebx + 0x110]
mov dword [ebp - 0xa4], eax
test al, al
je 0x44dc10
mov edi, dword [ebp + 0x10]
sub edi, dword [ebx + 0x154]
jmp 0x44dc19
mov edi, dword [ebp + 0xc]
sub edi, dword [ebx + 0x150]
mov ecx, dword [ebp - 0xa8]
test esi, esi
jne 0x44dc27
xor eax, eax
jmp 0x44dc37
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
inc eax
imul eax, edi
cdq
idiv esi
mov edx, dword [ebx + 0x14c]
mov dword [ebp - 0xb4], edx
lea esi, [edx + eax]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xb0], edx
cmp esi, edx
jl 0x44dc69
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 0x10]
sub eax, edx
mov edx, esi
inc eax
cmp esi, eax
cmovg edx, eax
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xa4]
test al, al
mov byte [ebp - 0xac], al
lea eax, [ebx + 0x114]
jne 0x44dc85
lea eax, [ebx + 0x130]
mov esi, dword [eax + 0x18]
mov ecx, dword [ebp - 0xb4]
push 5
push dword [ebp - 0xac]
mov dword [eax + 0x18], ecx
mov ecx, ebx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044c660
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0x18], esi
cmp byte [ebx + 0x110], 0
je 0x44dcdf
test edi, edi
jle 0x44dccd
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x24]
cmp edi, eax
cmovg edi, eax
test edi, edi
jns 0x44dcda
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x2c]
cmp edi, eax
cmovl edi, eax
push edi
push 0
jmp 0x44dd00
test edi, edi
jle 0x44dcf0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
cmp edi, eax
cmovg edi, eax
test edi, edi
jns 0x44dcfd
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x30]
cmp edi, eax
cmovl edi, eax
push 0
push edi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0
push 2
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.004162e0
mov esi, eax
mov dword [ebp - 0xb4], esi
test esi, esi
je 0x44dd29
lock inc dword [esi + 4]
mov al, byte [ebx + 0x110]
mov ecx, ebx
mov byte [ebp - 0xac], al
lea eax, [ebp - 0x50]
mov edi, dword [ebp - 0xac]
push 2
push edi
push eax
mov dword [ebp - 4], 0
call fcn.0044c660
push 0xff
push edi
push 0
push 2
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
push esi
call fcn.0044c4c0
mov al, byte [ebx + 0x110]
mov ecx, ebx
mov byte [ebp - 0xac], al
lea eax, [ebp - 0x50]
mov edi, dword [ebp - 0xac]
push 3
push edi
push eax
call fcn.0044c660
push 0xff
push edi
push 0
push 3
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
push esi
call fcn.0044c4c0
mov al, byte [ebx + 0x110]
mov ecx, ebx
mov byte [ebp - 0xac], al
lea eax, [ebp - 0x50]
mov edi, dword [ebp - 0xac]
push 5
push edi
push eax
call fcn.0044c660
push 0xff
push edi
push 2
push 5
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
push esi
call fcn.0044c4c0
push esi
mov ecx, ebx
call fcn.004172c0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax + 0x18]
je 0x44e423
mov dword [eax + 0x18], ecx
mov edx, dword [ebx]
movzx eax, byte [ebx + 0x110]
push ecx
push 5
push eax
mov ecx, ebx
call dword [edx + 0xd0]
jmp 0x44e423
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push dword [ebp + 0xc]
push eax
call fcn.0044cc40
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebx + 0x10c]
mov dword [ebp - 0xb0], eax
xor eax, eax
test cl, cl
mov dword [ebp - 0xac], esi
setne al
inc eax
mov dword [ebp - 0xa8], eax
test dword [ebx + 0x100], eax
je 0x44e43f
mov edx, dword [ebp - 0x18]
mov edi, 0xffff
cmp di, dx
jne 0x44de69
mov ecx, ebx
call fcn.0044d960
jmp 0x44e43f
cmp cl, byte [ebp - 0xb0]
jne 0x44de7a
cmp dx, si
je 0x44e43f
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
test dword [ebx + 0xfc], eax
je 0x44ded7
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.004183b0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebx + 0xf8]
test dl, dl
je 0x44deb0
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x40], eax
jmp 0x44deb7
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x3c], eax
xor eax, eax
test dl, dl
sete al
inc eax
test dword [ebx + 0xfc], eax
je 0x44ded7
test dl, dl
je 0x44ded2
sub esi, ecx
mov dword [ebp - 0x34], esi
jmp 0x44ded7
sub edi, ecx
mov dword [ebp - 0x38], edi
push 0
push 2
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.004162e0
mov esi, eax
mov dword [ebp - 0xb4], esi
test esi, esi
je 0x44def6
lock inc dword [esi + 4]
push 1
mov ecx, ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0xa4], 0
call fcn.00416820
mov edi, dword [ebp - 0xa8]
test al, al
jne 0x44df4b
test dword [ebx + 0x100], edi
je 0x44df4b
xor eax, eax
cmp ax, word [ebp - 0x18]
jne 0x44df55
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, 0
setne al
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x44df55
mov dword [ebp - 0xa4], 3
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 0x60]
mov ecx, ebx
push eax
call fcn.0044c660
cmp dword [ebx + 0xe4], 0
je 0x44dfe5
test esi, esi
je 0x44dfe5
lea eax, [ebp - 0x60]
test eax, eax
je 0x44dfe5
push 1
mov ecx, ebx
call fcn.00416820
test al, al
jne 0x44df8e
test dword [ebx + 0x100], edi
jne 0x44df98
mov dword [ebp - 0xa4], 3
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x44dfe5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xe4]
movzx eax, al
shl ax, 8
movzx edx, ax
mov eax, dword [ebp - 0xa4]
mov edi, dword [ecx]
movzx eax, al
or edx, eax
lea eax, [ebp - 0x30]
push 0xff
shl edx, 0x10
push edx
push eax
push esi
call dword [edi + 0x34]
push 1
mov ecx, ebx
mov dword [ebp - 0xa4], 0
call fcn.00416820
mov edi, dword [ebp - 0xa8]
mov edx, 3
lea ecx, [edx - 1]
test al, al
jne 0x44e04e
test dword [ebx + 0x100], edi
je 0x44e04e
cmp byte [ebx + 0xe1], al
jne 0x44e027
mov eax, dword [ebp - 0x18]
cmp cx, ax
je 0x44e02d
cmp dx, ax
jmp 0x44e02b
cmp cx, word [ebp - 0x18]
jne 0x44e054
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, 0
setne al
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x44e054
mov dword [ebp - 0xa4], edx
push 2
push dword [ebp - 0x14]
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0044c660
cmp dword [ebx + 0xe4], 0
je 0x44e0e7
test esi, esi
je 0x44e0e7
lea eax, [ebp - 0x70]
test eax, eax
je 0x44e0e7
push 1
mov ecx, ebx
call fcn.00416820
test al, al
jne 0x44e08d
test dword [ebx + 0x100], edi
jne 0x44e097
mov dword [ebp - 0xa4], 3
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x44e0e7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xe4]
movzx eax, al
shl ax, 8
movzx edx, ax
mov eax, dword [ebp - 0xa4]
mov edi, dword [ecx]
movzx eax, al
or edx, eax
lea eax, [ebp - 0x30]
push 0xff
shl edx, 0x10
or edx, 2
push edx
push eax
push esi
call dword [edi + 0x34]
push 1
mov ecx, ebx
mov dword [ebp - 0xa4], 0
call fcn.00416820
mov edi, dword [ebp - 0xa8]
test al, al
jne 0x44e157
test dword [ebx + 0x100], edi
je 0x44e157
cmp byte [ebx + 0xe1], al
jne 0x44e12b
mov eax, dword [ebp - 0x18]
mov ecx, 2
cmp cx, ax
je 0x44e136
mov ecx, 3
cmp cx, ax
jmp 0x44e134
mov ecx, 3
cmp cx, word [ebp - 0x18]
jne 0x44e161
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, 0
setne al
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x44e161
mov dword [ebp - 0xa4], 3
push 3
push dword [ebp - 0x14]
lea eax, [ebp - 0x80]
mov ecx, ebx
push eax
call fcn.0044c660
cmp dword [ebx + 0xe4], 0
je 0x44e1f4
test esi, esi
je 0x44e1f4
lea eax, [ebp - 0x80]
test eax, eax
je 0x44e1f4
push 1
mov ecx, ebx
call fcn.00416820
test al, al
jne 0x44e19a
test dword [ebx + 0x100], edi
jne 0x44e1a4
mov dword [ebp - 0xa4], 3
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x44e1f4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xe4]
movzx eax, al
shl ax, 8
movzx edx, ax
mov eax, dword [ebp - 0xa4]
mov edi, dword [ecx]
movzx eax, al
or edx, eax
lea eax, [ebp - 0x30]
push 0xff
shl edx, 0x10
or edx, 3
push edx
push eax
push esi
call dword [edi + 0x34]
push 1
mov ecx, ebx
mov dword [ebp - 0xa4], 0
call fcn.00416820
mov edi, dword [ebp - 0xa8]
test al, al
jne 0x44e245
test dword [ebx + 0x100], edi
je 0x44e245
mov eax, 5
cmp ax, word [ebp - 0x18]
jne 0x44e24f
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, 0
setne al
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x44e24f
mov dword [ebp - 0xa4], 3
push 5
push dword [ebp - 0x14]
lea eax, [ebp - 0x90]
mov ecx, ebx
push eax
call fcn.0044c660
cmp dword [ebx + 0xe4], 0
je 0x44e2ef
test esi, esi
je 0x44e2ef
lea eax, [ebp - 0x90]
test eax, eax
je 0x44e2ef
push 1
mov ecx, ebx
call fcn.00416820
test al, al
jne 0x44e292
test dword [ebx + 0x100], edi
jne 0x44e29c
mov dword [ebp - 0xa4], 3
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x44e2ef
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xe4]
movzx eax, al
shl ax, 8
movzx edx, ax
mov eax, dword [ebp - 0xa4]
mov edi, dword [ecx]
movzx eax, al
or edx, eax
lea eax, [ebp - 0x30]
push 0xff
shl edx, 0x10
or edx, 5
push edx
push eax
push esi
call dword [edi + 0x34]
push 1
mov ecx, ebx
mov dword [ebp - 0xa4], 0
call fcn.00416820
mov edi, dword [ebp - 0xa8]
test al, al
jne 0x44e33f
test dword [ebx + 0x100], edi
je 0x44e33f
mov eax, 1
cmp ax, word [ebp - 0x18]
jne 0x44e349
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, 0
setne al
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x44e349
mov dword [ebp - 0xa4], 3
push 1
push dword [ebp - 0x14]
lea eax, [ebp - 0xa0]
mov ecx, ebx
push eax
call fcn.0044c660
cmp dword [ebx + 0xe4], 0
je 0x44e3e9
test esi, esi
je 0x44e3e9
lea eax, [ebp - 0xa0]
test eax, eax
je 0x44e3e9
push 1
mov ecx, ebx
call fcn.00416820
test al, al
jne 0x44e38c
test dword [ebx + 0x100], edi
jne 0x44e396
mov dword [ebp - 0xa4], 3
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x44e3e9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xe4]
movzx eax, al
shl ax, 8
movzx edx, ax
mov eax, dword [ebp - 0xa4]
mov edi, dword [ecx]
movzx eax, al
or edx, eax
lea eax, [ebp - 0x50]
push 0xff
shl edx, 0x10
or edx, 1
push edx
push eax
push esi
call dword [edi + 0x34]
push esi
mov ecx, ebx
call fcn.004172c0
mov eax, 0xffff
cmp ax, word [ebp - 0xac]
mov eax, dword [ebp - 0x14]
je 0x44e414
cmp al, byte [ebp - 0xb0]
je 0x44e414
mov ecx, ebx
call fcn.0044d960
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x10c], ecx
mov dword [ebx + 0x110], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44e43f
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
dec eax
jne 0x44e43f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e386
mov esp, ebp
pop ebp
ret 0xc