Function at 0x440a20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, ecx
jne 0x440a42
mov eax, dword [0x77da48]
mov esi, dword [eax + 0x24c]
call fcn.00462680
mov eax, dword [eax + 0x170]
dec eax
cmp eax, 0x17
ja case.0x440a5e.2
movzx ecx, byte [eax + 0x440e18]
jmp dword [ecx*4 + 0x440df8]
mov ecx, dword [0x77e1fc]
test ecx, ecx
je 0x440d9c
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.004e3a20
call fcn.0040f760
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00411930
mov ecx, eax
call fcn.0041aa50
call fcn.0040f760
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x440b01
mov eax, dword [esi + 0x3c]
shr eax, 2
test al, 1
je 0x440b01
mov al, byte [0x77c5e8]
test al, al
jne 0x440acc
cmp esi, edi
je 0x440b01
mov eax, dword [esi + 0x28]
push 1
push 0x701134
push eax
push 6
add esi, 4
push esi
push 0x701120
call fcn.005a30c0
add esp, 8
push eax
mov ecx, 0x77e198
call fcn.0046ce90
call fcn.0041e300
mov dword [eax + 4], 1
call fcn.0040f760
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x440b67
mov ecx, dword [esi + 0x3c]
shr ecx, 2
test cl, 1
je 0x440b67
mov al, byte [0x77c5e8]
test al, al
jne 0x440b2c
cmp esi, edi
je 0x440b67
mov edx, dword [esi + 0x28]
mov eax, dword [0x7695d0]
mov ecx, 0x7695d0
mov byte [esp + 8], 4
mov byte [esp + 9], 0x1d
mov dword [esp + 0xf], edx
mov byte [esp + 0xe], 1
call dword [eax + 8]
mov ecx, dword [0x77db4c]
push 0
mov dword [esp + 0xe], eax
mov edx, dword [ecx]
push 0xb
lea eax, [esp + 0x10]
push eax
call dword [edx + 0x10]
call fcn.0040f760
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x440c4a
mov ecx, dword [esi + 0x3c]
shr ecx, 2
test cl, 1
je 0x440c4a
push esi
call fcn.004851e0
mov ecx, eax
call fcn.00482cb0
mov al, byte [0x77c5e8]
test al, al
je 0x440c4a
mov byte [esp + 0x38], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0x39]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x1c]
push edx
stosb byte es:[edi], al
call fcn.004851e0
mov ecx, eax
call fcn.004847f0
cmp dword [eax + 0x18], 0x10
jb 0x440bd8
mov eax, dword [eax + 4]
jmp 0x440bdb
add eax, 4
push eax
push 0x6fec40
lea eax, [esp + 0x40]
push 0x200
push eax
call fcn.0065cf4d
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.0040c6b0
push 0xfff600ff
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x77e198
mov byte [esp + 0x23f], 0
call fcn.004659a0
add esi, 0xe80
mov ecx, esi
call fcn.00420190
call fcn.004851e0
mov edx, dword [eax + 0xc]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.004409a0
test al, al
je 0x440c4a
mov edx, dword [esp + 0x18]
push edx
mov ecx, esi
call fcn.00420a10
call fcn.0040f760
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x77e2f4]
test ecx, ecx
je 0x440c8d
test esi, esi
je 0x440c8d
mov eax, dword [esi + 0x3c]
shr eax, 1
test al, 1
je 0x440c7c
push esi
call fcn.004d4c80
mov ecx, dword [0x77e2f4]
mov edx, dword [esi + 0x3c]
shr edx, 2
test dl, 1
je 0x440c8d
push esi
call fcn.004d4c80
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.0040f760
mov byte [edi + 0x13bd], 0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x440deb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
test byte [eax + 0x19], 2
jne 0x440deb
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x5c]
test byte [eax + 1], 2
jne 0x440deb
mov eax, dword [esi + 0x3c]
shr eax, 1
test al, 1
je 0x440da6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x440d14
mov al, byte [ebp + 0xc]
test al, al
je 0x440d14
call fcn.00462680
cmp dword [eax + 0x170], 0x12
je 0x440d14
call fcn.00462680
cmp dword [eax + 0x170], 0x13
jne 0x440d73
mov ecx, dword [esi + 0x3c]
shr ecx, 3
test cl, 1
jne 0x440d73
push esi
mov ecx, edi
call fcn.004362b0
cmp dword [edi + 0x1500], 4
jne 0x440d37
mov ecx, edi
call fcn.00435960
call fcn.00462680
cmp dword [eax + 0x170], 0x12
jne 0x440d65
mov eax, dword [esi + 0x3c]
mov edx, eax
shr edx, 2
test dl, 1
je 0x440d60
shr eax, 3
test al, 1
jne 0x440d60
mov ecx, edi
call fcn.00435510
call fcn.0040f760
call fcn.00462680
cmp dword [eax + 0x170], 0x13
jne 0x440d9c
call fcn.00462680
cmp dword [eax + 0x14c], 3
jne 0x440da6
call fcn.00462680
cmp dword [eax + 0x170], 0x13
jne 0x440da6
push esi
mov ecx, edi
call fcn.0043aa90
call fcn.0040f760
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test al, al
jne 0x440deb
mov eax, dword [esi + 0x3c]
shr eax, 2
and al, 1
neg al
sbb eax, eax
and eax, esi
je 0x440deb
cmp eax, edi
je 0x440deb
push 1
push 0x28
call fcn.004a52d0
push 1
push 0x2b
call fcn.004a52d0
push 1
push 0x2d
call fcn.004a52d0
add esp, 0x18
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8