Function at 0x440840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5bb278]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edi
jne 0x440f3e
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x110
jne 0x4408ed
lea eax, [ebp - 0x14]
mov dword [esi + 0x24], 1
push eax
push dword [esi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
movups xmm0, xmmword [ebp - 0x14]
push 0
sub esp, 0x10
mov ecx, esi
mov eax, esp
neg ecx
sbb ecx, ecx
push 0xffffffffffffffff
movups xmmword [eax], xmm0
lea eax, [esi + 0x20]
and ecx, eax
push ecx
push dword [esi + 4]
mov ecx, dword [esi + 0x40]
call fcn.00481640
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
lea ecx, [esi + 4]
call fcn.00438260
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x20]
push 1
push 0
push eax
call dword [ecx + 0x20]
mov dword [edi], 1
jmp 0x440a09
cmp ebx, 2
jne 0x440982
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x24], 1
cmp dword [esi + 0x48], 0
je 0x440949
push dword [esi + 4]
call eax
test eax, eax
je 0x44093c
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
cmp eax, ecx
je 0x44093c
nop dword [eax]
push dword [eax + 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x24]
call fcn.0041e020
mov eax, dword [ebp - 0x24]
cmp eax, dword [esi + 0x44]
jne 0x440920
lea ecx, [esi + 0x44]
call fcn.00440f90
mov eax, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 0x4c]
call eax
test eax, eax
je 0x44095b
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x50]
mov dword [esi + 0x4c], 0
call fcn.0040ef20
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
jmp 0x440a03
cmp ebx, 5
jne 0x4409d9
mov eax, dword [ebp - 0x2c]
sub esp, 0x10
movsx ecx, cx
shr eax, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [esi + 0x40]
cwde
mov dword [ebp - 8], eax
mov eax, esp
mov dword [esi + 0x24], 1
mov edx, dword [ecx]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
movups xmm0, xmmword [ebp - 0x14]
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0xac]
movups xmm0, xmmword [ebp - 0x14]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x18]
jmp 0x440a03
cmp ebx, 0x113
jne 0x440ab6
mov eax, dword [esi + 0x40]
mov dword [esi + 0x24], 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x28]
call dword [eax + 0x1c]
mov dword [edi], 0
cmp dword [esi + 0x24], 0
jne 0x440c67
mov eax, dword [ebp - 0x2c]
movzx edx, ax
mov ecx, edx
cmp ebx, 0x2a1
jne 0x440dd2
shr eax, 0x10
movsx edi, ax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x40]
push edi
movsx edx, dx
push edx
push dword [ebp - 0x28]
mov dword [esi + 0x24], 1
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x24], edx
call dword [ecx + 0xc0]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [eax + 0x24]
mov edi, dword [ebp - 0x30]
mov dword [edi], 0
cmp dword [esi + 0x24], 0
jne 0x440c67
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
cmp ebx, 0x2a3
jne 0x440de2
cmp dword [esi + 0x3c], 0
mov dword [esi + 0x24], 1
jne 0x440aab
mov eax, dword [esi + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov dword [esi + 0x3c], 1
mov dword [edi], 0
jmp 0x440f34
cmp ebx, 0x84
jne 0x440bfe
mov eax, ecx
movsx edx, cx
shr eax, 0x10
movsx ecx, ax
mov eax, dword [esi]
push ecx
mov dword [ebp - 8], ecx
mov ecx, esi
push edx
mov dword [esi + 0x24], 1
mov dword [ebp - 0xc], edx
call dword [eax + 0x40]
cmp dword [esi + 0x64], 0
je 0x440bfa
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x40]
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf4]
test eax, eax
je 0x440b27
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
jne 0x440b27
mov eax, 1
jmp 0x440bb7
push 1
mov dword [ebp - 0x24], 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x440b65
cmp dword [esi + 0x54], 0
jne 0x440b6b
push 1
push 0
push 0x3401
push dword [esi + 4]
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], 0
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x440b7f
cmp dword [esi + 0x54], 0
je 0x440b7f
cmp dword [esi + 0x58], 0
jne 0x440b7f
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x440bdb
cmp dword [esi + 0x5c], 0
jne 0x440be1
push 1
push 1
push 0x3401
push dword [esi + 4]
mov dword [esi + 0x5c], 1
mov dword [esi + 0x58], 0
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
cmp dword [esi + 0x24], 0
je 0x440a13
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046975d
mov esp, ebp
pop ebp
ret 0x18
cmp dword [esi + 0x5c], 0
je 0x440bb4
cmp dword [esi + 0x58], 0
mov eax, dword [ebp - 0x24]
jne 0x440bb7
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 1
jmp 0x440bb7
xor eax, eax
jmp 0x440bb7
cmp ebx, 0x20
jne 0x440c5c
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
push eax
mov eax, dword [ebp - 0x2c]
movzx eax, ax
push eax
push dword [ebp - 0x28]
mov dword [esi + 0x24], 1
mov dword [ebp - 0x24], 0
mov edx, dword [ecx]
push ecx
call dword [edx + 0xb8]
xor eax, eax
cmp dword [ebp - 0x24], eax
setne al
mov dword [edi], eax
cmp dword [esi + 0x24], 0
je 0x440a13
lea eax, [ebx - 0x1f]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046975d
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x14
jne 0x440c7f
mov dword [edi], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046975d
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0xf
jne 0x440caa
lea eax, [ebp - 0x2c]
push eax
push ecx
push edx
push ebx
mov ecx, esi
call fcn.0043ccb0
mov dword [edi], eax
lea eax, [ebx - 0xe]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046975d
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x318
jne 0x440cda
lea eax, [ebp - 0x2c]
push eax
push ecx
push edx
push ebx
mov ecx, esi
call fcn.0043ccb0
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046975d
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x3400
jne 0x440d0a
lea eax, [ebp - 0x2c]
push eax
push ecx
push edx
push ebx
mov ecx, esi
call fcn.0043bf80
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046975d
mov esp, ebp
pop ebp
ret 0x18
lea eax, [ebx - 0x200]
cmp eax, 0xe
ja 0x440d60
mov eax, dword [esi + 4]
xorps xmm0, xmm0
push dword [esi + 0x4c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440d54
lea eax, [ebp - 0x20]
push eax
push 0
push 0x407
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [edi], 1
cmp ebx, 0x200
jne 0x440a13
movzx eax, cx
movsx ebx, ax
mov dword [ebp - 0x24], eax
mov eax, ecx
shr eax, 0x10
movsx edi, ax
mov eax, dword [esi + 0x40]
push edi
push ebx
mov dword [esi + 0x24], 1
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xbc]
mov eax, dword [esi]
mov ecx, esi
push edi
push ebx
push dword [ebp - 0x28]
call dword [eax + 0x20]
cmp dword [esi + 0x3c], 0
je 0x440db3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov dword [esi + 0x3c], 0
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
movzx ecx, ax
mov dword [edi], 0
cmp dword [esi + 0x24], 0
jne 0x440c67
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
movsx edx, cx
mov ecx, eax
mov dword [ebp - 0x24], edx
shr ecx, 0x10
jmp 0x440a78
cmp ebx, 0x201
jne 0x440e30
push dword [esi + 4]
shr eax, 0x10
mov dword [esi + 0x24], 1
movsx edi, ax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0x40]
lea edx, [ebp - 8]
mov ebx, dword [ebp - 0x28]
push edx
push edi
push dword [ebp - 0x24]
mov dword [ebp - 8], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc8]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x24]
push ebx
call dword [eax + 0x2c]
jmp 0x440f2b
cmp ebx, 0x202
jne 0x440e76
mov eax, dword [esi + 0x40]
lea ebx, [ebp - 8]
push ebx
mov ebx, dword [ebp - 0x28]
movsx edi, cx
push edi
push edx
mov dword [esi + 0x24], 1
mov dword [ebp - 8], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xcc]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x24]
push ebx
call dword [eax + 0x30]
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x440f2b
cmp ebx, 0x203
jne 0x440eb3
mov eax, dword [esi + 0x40]
lea ebx, [ebp - 8]
push ebx
mov ebx, dword [ebp - 0x28]
movsx edi, cx
push edi
push edx
mov dword [esi + 0x24], 1
mov dword [ebp - 8], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xd0]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x24]
push ebx
call dword [eax + 0x34]
jmp 0x440f2b
cmp ebx, 0x204
jne 0x440ef0
mov eax, dword [esi + 0x40]
lea ebx, [ebp - 8]
push ebx
mov ebx, dword [ebp - 0x28]
movsx edi, cx
push edi
push edx
mov dword [esi + 0x24], 1
mov dword [ebp - 8], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xd4]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x24]
push ebx
call dword [eax + 0x38]
jmp 0x440f2b
cmp ebx, 0x205
jne 0x440f3e
mov eax, dword [esi + 0x40]
lea ebx, [ebp - 8]
push ebx
mov ebx, dword [ebp - 0x28]
movsx edi, cx
push edi
push edx
mov dword [esi + 0x24], 1
mov dword [ebp - 8], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xd8]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x24]
push ebx
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
cmp dword [esi + 0x24], 0
jne 0x440c67
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046975d
mov esp, ebp
pop ebp
ret 0x18