Function at 0x42447b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x43b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je case.default.0x4248fe
push 2
mov eax, 0x203
pop edx
mov dword [ebp - 8], edx
cmp esi, eax
ja 0x4248d5
je case.0x4248fe.516
mov eax, 0x101
cmp esi, eax
ja 0x4245ea
je 0x424778
lea eax, [esi - 1]
sub eax, 1
je 0x4245a7
sub eax, 5
je 0x424591
sub eax, 1
je 0x424591
sub eax, 0x18
je 0x42456a
sub eax, 0x31
je 0x42455e
sub eax, 0x4f
je 0x42469b
sub eax, 0x60
jne case.default.0x4248fe
mov byte [ebp - 0x3c], 1
cmp dword [ebp + 8], 0x100
jae case.default.0x4248fe
mov ecx, edi
call fcn.004237e7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x48], ecx
call fcn.00423eb5
mov esi, dword [ebp - 0x3c]
mov edx, 0x262
mov dword [ebp - 0x40], eax
cmp eax, edx
jne 0x424781
cmp byte [ebp - 0x3c], 0
jne 0x424785
push 1
push edx
mov ecx, edi
call fcn.00401afa
mov eax, dword [ebp - 0x40]
jmp 0x424785
mov ecx, edi
call fcn.00423547
jmp case.default.0x4248fe
xor eax, eax
inc eax
cmp word [ebp + 0xc], ax
jne case.default.0x4248fe
mov edx, dword [ecx + 0x20]
mov ecx, edi
call fcn.00423698
test al, al
je case.default.0x4248fe
xor eax, eax
inc eax
jmp 0x424a40
cmp esi, 7
mov ecx, edi
sete al
movzx eax, al
push eax
call fcn.00401d95
jmp case.default.0x4248fe
mov eax, dword [ebp - 0x3c]
cmp dword [ecx + 4], eax
jne case.default.0x4248fe
xor esi, esi
cmp dword [ecx + 8], esi
je case.default.0x4248fe
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 0x14], 0x80000000
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
jmp 0x424a2c
mov eax, esi
sub eax, 0x102
je 0x42487a
sub eax, edx
je 0x42476c
sub eax, 1
je 0x42476c
sub eax, 0xfb
je 0x42469b
sub eax, 1
je case.0x4248fe.516
sub eax, 1
jne case.default.0x4248fe
call fcn.00424458
xor ecx, ecx
mov dword [ebp - 0x40], eax
cmp esi, 0x205
sete cl
cmp esi, 0x208
je 0x424660
mov dword [ebp - 8], ecx
cmp esi, 0x20c
jne 0x424660
mov eax, dword [ebp + 8]
xor ecx, ecx
shr eax, 0x10
cmp ax, 1
setne cl
add ecx, 3
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 8]
mov eax, dword [ecx + 0xc]
btr eax, esi
mov dword [ecx + 0xc], eax
test eax, eax
jne 0x424684
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x3c]
jne 0x424684
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [edi + 0xac]
mov ecx, dword [ebp - 0x40]
push 0
push esi
mov dword [eax + 0x1270], ecx
jmp 0x4249a1
call fcn.00424458
mov edx, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [ebp - 0x40], eax
cmp esi, 0x200
mov eax, dword [ebp - 0x44]
setne cl
inc ecx
mov dword [ebp - 0x48], ecx
mov dword [eax + 4], edx
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x42471b
and dword [ebp - 0x1c], 0
cmp esi, 0x200
push 0x10
pop eax
push 0x12
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
push 2
pop eax
cmovne eax, ecx
mov dword [ebp - 0x24], 0x80000000
and dword [ebp - 0x2c], 0
cmp dword [ebp - 8], 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
je 0x424705
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
movsx eax, cx
shr ecx, 0x10
mov dword [ebp - 0x10], eax
movsx eax, cx
mov dword [ebp - 0xc], eax
cmp esi, 0xa0
jne 0x424748
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.default.0x4248fe
mov eax, dword [edi + 0xac]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x1270], ecx
movd xmm2, dword [ebp - 0xc]
movd xmm1, dword [ebp - 0x10]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
jmp 0x424a37
cmp esi, 0x104
je 0x424509
mov byte [ebp - 0x3c], 0
jmp 0x42450d
test eax, eax
je 0x424791
push esi
push eax
mov ecx, edi
call fcn.00401afa
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jne 0x4247dc
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, byte [ebp - 0x3c]
jne 0x4247b8
push esi
push 0x210
mov ecx, edi
call fcn.00401afa
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, byte [ebp - 0x3c]
jne case.default.0x4248fe
push esi
push 0x214
jmp 0x42486e
cmp ecx, 0x11
jne 0x424824
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, byte [ebp - 0x3c]
jne 0x424803
push esi
push 0x20f
mov ecx, edi
call fcn.00401afa
push 0xa3
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, byte [ebp - 0x3c]
jne case.default.0x4248fe
push esi
push 0x213
jmp 0x42486e
cmp ecx, 0x12
jne case.default.0x4248fe
push 0xa4
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, byte [ebp - 0x3c]
jne 0x42484f
push esi
push 0x211
mov ecx, edi
call fcn.00401afa
push 0xa5
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, byte [ebp - 0x3c]
jne case.default.0x4248fe
push esi
push 0x215
mov ecx, edi
call fcn.00401afa
jmp case.default.0x4248fe
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x4248a6
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.default.0x4248fe
push ecx
mov ecx, edi
call fcn.004018bc
jmp case.default.0x4248fe
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
xor eax, eax
inc eax
push eax
push ecx
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x44]
push eax
push dword [ecx + 0x24]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [ebp - 8]
mov ecx, edi
push eax
call fcn.0040185e
jmp case.default.0x4248fe
mov eax, 0x219
cmp esi, eax
ja 0x4249fd
je 0x4249f1
lea eax, [esi - 0x204]
cmp eax, 0xa
ja case.default.0x4248fe
movzx eax, byte [eax + 0x424a5f]
jmp dword [eax*4 + 0x424a4f]
call fcn.00424458
mov dword [ebp - 0x40], eax
cmp esi, 0x204
je 0x424921
and dword [ebp - 8], 0
cmp esi, 0x206
jne 0x424928
mov dword [ebp - 8], 1
cmp esi, 0x207
je 0x424938
cmp esi, 0x209
jne 0x42493f
mov dword [ebp - 8], 2
cmp esi, 0x20b
je 0x42494f
cmp esi, 0x20d
jne 0x424966
mov eax, dword [ebp + 8]
xor ecx, ecx
shr eax, 0x10
xor edx, edx
inc ecx
cmp ax, cx
setne dl
add edx, 3
mov dword [ebp - 8], edx
mov esi, dword [ebp - 0x44]
cmp dword [esi + 0xc], 0
jne 0x424983
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x424983
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 8]
bts eax, ecx
mov edx, dword [ebp - 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0xac]
push 1
push ecx
mov dword [eax + 0x1270], edx
mov ecx, edi
call fcn.00401bfe
jmp case.default.0x4248fe
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x438414]
mov ecx, edi
call fcn.00401d25
jmp case.default.0x4248fe
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x438980]
divss xmm1, dword [0x438414]
jmp 0x4249c6
cmp dword [ebp + 8], 7
jne case.default.0x4248fe
mov byte [ecx + 0x29], 1
jmp case.default.0x4248fe
mov eax, esi
sub eax, 0x2a2
je 0x424a0b
sub eax, 1
jne case.default.0x4248fe
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [ecx + 8], eax
jne case.default.0x4248fe
mov edx, dword [ebp - 0x3c]
cmp dword [ecx + 4], edx
jne 0x424a28
and dword [ecx + 4], 0
and dword [ecx + 8], 0
movss xmm1, dword [0x438468]
movaps xmm2, xmm1
mov ecx, edi
call fcn.00401b23
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042ff47
leave
ret