Function at 0x448d5a
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x44
push esi
push edi
mov esi, edx
mov dword [esp + 0x44], ecx
call fcn.00447d43
mov edi, eax
test edi, edi
je case.default.0x4491be
call fcn.004266d8
mov edx, eax
mov eax, 0x203
mov dword [esp + 0x40], edx
push 2
pop ecx
mov dword [esp + 0x3c], ecx
cmp esi, eax
ja 0x449195
je case.0x4491be.516
mov eax, 0x101
cmp esi, eax
ja 0x448ec5
je 0x44900d
lea eax, [esi - 1]
sub eax, 1
je 0x448e7b
sub eax, 5
je 0x448e65
sub eax, 1
je 0x448e65
sub eax, 0x18
je 0x448e42
sub eax, 0x31
je 0x448e38
sub eax, 0x4f
je 0x448f24
sub eax, 0x60
jne case.default.0x4491be
mov byte [esp + 0x4b], 1
cmp dword [esp + 0x50], 0x100
jae case.default.0x4491be
call fcn.004480b6
mov esi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.00448794
mov edi, eax
mov ecx, 0x262
cmp edi, ecx
jne 0x449017
mov al, byte [esp + 0x4b]
test al, al
jne 0x44901f
push ecx
push ecx
mov dl, 1
call fcn.00447fbe
pop ecx
pop ecx
jmp 0x44901b
call fcn.00447d58
jmp case.default.0x4491be
xor eax, eax
inc eax
cmp word [esp + 0x54], ax
jne case.default.0x4491be
call fcn.00447f16
test al, al
je case.default.0x4491be
xor eax, eax
inc eax
jmp 0x44935f
cmp esi, 7
mov ecx, edx
sete al
movzx eax, al
push eax
call fcn.00422501
jmp case.default.0x4491be
mov eax, dword [esp + 0x44]
cmp dword [edi + 4], eax
jne case.default.0x4491be
xor esi, esi
cmp dword [edi + 8], esi
je case.default.0x4491be
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], 0x80000000
mov dword [esp + 0x38], esi
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov ecx, dword [esp + 0x40]
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x44934d
mov eax, esi
sub eax, 0x102
je 0x449133
sub eax, ecx
je 0x449001
sub eax, 1
je 0x449001
sub eax, 0xfb
je 0x448f24
sub eax, 1
je case.0x4491be.516
sub eax, 1
jne case.default.0x4491be
call fcn.00448d37
xor ecx, ecx
mov dword [esp + 0x38], eax
cmp esi, 0x205
sete cl
cmp esi, 0x208
jne 0x449270
push 2
pop ecx
jmp 0x449293
call fcn.00448d37
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
xor eax, eax
cmp esi, 0x200
mov dword [edi + 4], edx
setne al
inc eax
mov dword [esp + 0x3c], eax
cmp dword [edi + 8], eax
je 0x448fa8
and dword [esp + 0x24], 0
cmp esi, 0x200
push 0x10
pop eax
push 0x12
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
push 2
pop eax
cmovne eax, ecx
mov dword [esp + 0x1c], 0x80000000
and dword [esp + 0x14], 0
cmp dword [edi + 8], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
je 0x448f92
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x54]
movsx eax, cx
shr ecx, 0x10
mov dword [esp + 0x30], eax
movsx eax, cx
mov dword [esp + 0x34], eax
cmp esi, 0xa0
jne 0x448fd9
lea eax, [esp + 0x30]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.default.0x4491be
push dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
call fcn.004224ca
movd xmm2, dword [esp + 0x34]
movd xmm1, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
jmp 0x449358
cmp esi, 0x104
je 0x448de6
mov byte [esp + 0x4b], 0
jmp 0x448deb
test edi, edi
je 0x44902c
mov al, byte [esp + 0x4b]
push ecx
push ecx
mov dl, al
mov ecx, edi
call fcn.00447fbe
pop ecx
pop ecx
cmp esi, 0x10
jne 0x449081
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call esi
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x44905b
push ecx
push ecx
mov dl, cl
mov ecx, 0x210
call fcn.00447fbe
pop ecx
pop ecx
push 0xa1
call esi
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x4491be
push ecx
push ecx
mov dl, cl
mov ecx, 0x214
jmp 0x449127
cmp esi, 0x11
jne 0x4490d3
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call esi
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x4490b0
push ecx
push ecx
mov dl, cl
mov ecx, 0x20f
call fcn.00447fbe
pop ecx
pop ecx
push 0xa3
call esi
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x4491be
push ecx
push ecx
mov dl, cl
mov ecx, 0x213
jmp 0x449127
cmp esi, 0x12
jne case.default.0x4491be
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x449106
push ecx
push ecx
mov dl, cl
mov ecx, 0x211
call fcn.00447fbe
pop ecx
pop ecx
push 0xa5
call esi
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x4491be
push ecx
push ecx
mov dl, cl
mov ecx, 0x215
call fcn.00447fbe
pop ecx
pop ecx
jmp case.default.0x4491be
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x449163
mov ecx, dword [esp + 0x50]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.default.0x4491be
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00421ee5
jmp case.default.0x4491be
and dword [esp + 0x3c], 0
lea ecx, [esp + 0x3c]
xor eax, eax
inc eax
push eax
push ecx
push eax
lea ecx, [esp + 0x5c]
push ecx
push eax
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push eax
call fcn.00421e65
jmp case.default.0x4491be
mov eax, 0x219
cmp esi, eax
ja 0x44931b
je 0x44930e
lea eax, [esi - 0x204]
cmp eax, 0xa
ja case.default.0x4491be
movzx eax, byte [eax + 0x449376]
jmp dword [eax*4 + 0x449366]
call fcn.00448d37
xor ecx, ecx
mov dword [esp + 0x38], eax
inc ecx
cmp esi, 0x204
je 0x4491e6
and dword [esp + 0x3c], 0
cmp esi, 0x206
jne 0x4491ea
mov dword [esp + 0x3c], ecx
cmp esi, 0x207
je 0x4491fa
cmp esi, 0x209
jne 0x449201
push 2
pop eax
mov dword [esp + 0x3c], eax
cmp esi, 0x20b
je 0x449211
cmp esi, 0x20d
jne 0x449227
mov eax, dword [esp + 0x50]
xor edx, edx
shr eax, 0x10
cmp ax, cx
setne dl
add edx, 3
mov dword [esp + 0x3c], edx
cmp dword [edi + 0xc], 0
jne 0x449242
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x449242
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x3c]
bts eax, ecx
push dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov dword [edi + 0xc], eax
call fcn.004224ca
push 1
push dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
call fcn.004222c2
jmp case.default.0x4491be
mov dword [esp + 0x3c], ecx
cmp esi, 0x20c
jne 0x449293
mov eax, dword [esp + 0x50]
xor ecx, ecx
shr eax, 0x10
cmp ax, 1
setne cl
add ecx, 3
mov dword [esp + 0x3c], ecx
mov eax, dword [edi + 0xc]
btr eax, ecx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4492b2
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x44]
jne 0x4492b2
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
call fcn.004224ca
mov eax, dword [esp + 0x3c]
push 0
push eax
jmp 0x449262
mov eax, dword [esp + 0x50]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x4b648c]
mov ecx, edx
call fcn.00422422
jmp case.default.0x4491be
mov eax, dword [esp + 0x50]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x4b69f0]
divss xmm1, dword [0x4b648c]
jmp 0x4492e2
cmp dword [esp + 0x50], 7
jne case.default.0x4491be
mov byte [edi + 0x29], 1
jmp case.default.0x4491be
mov eax, esi
sub eax, 0x2a2
je 0x449329
sub eax, 1
jne case.default.0x4491be
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [edi + 8], eax
jne case.default.0x4491be
mov ecx, dword [esp + 0x44]
cmp dword [edi + 4], ecx
jne 0x449347
and dword [edi + 4], 0
and dword [edi + 8], 0
mov ecx, edx
movss xmm1, dword [0x4b64e0]
movaps xmm2, xmm1
call fcn.004221b7
xor eax, eax
pop edi
pop esi
add esp, 0x44
ret