Function at 0x4101bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abb26
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb8
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb4], edi
cmp byte [edi + 0x2b4], 0
jne 0x410386
mov esi, dword [edi + 0x280]
test esi, esi
je 0x410386
mov esi, dword [esi + 0x54]
mov dword [ebp - 0xa0], esi
test esi, esi
je 0x40fad0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 4], 0
test esi, esi
je 0x41036b
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x18], 0
call fcn.00413700
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je case.0x40fc70.515
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xb5], 0
cmp eax, 0x201
je 0x40fb46
cmp eax, 0x204
je 0x40fb46
cmp eax, 0x207
je 0x40fb46
cmp eax, 0x200
je 0x40fb46
cmp eax, 0x2a3
jne 0x40fc59
call dword [sym.imp.USER32.dll_GetMessageTime]
mov ecx, dword [edi]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ecx + 0x220]
mov ecx, edi
call edx
mov eax, dword [ebx + 0x10]
movsx edi, ax
sub edi, dword [ebp - 0x38]
shr eax, 0x10
cwde
sub eax, dword [ebp - 0x34]
push 0x24
mov dword [ebp - 0xbc], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0xb4]
sar ecx, 1
mov eax, dword [eax + 0x2d0]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x40fc12
push 0x25
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp - 0xb4]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [edi + 0x2d4]
sub eax, dword [ebp - 0xbc]
cdq
xor eax, edx
sar ecx, 1
sub eax, edx
cmp eax, ecx
jg 0x40fc18
movd xmm0, dword [ebp - 0xc0]
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [edi + 0x2e0]
movsd qword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
movsd xmm1, qword [ebp - 0x20]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5fe160]
comisd xmm1, xmm0
ja 0x40fc18
mov eax, dword [ebx + 8]
mov byte [ebp - 0xb5], 0
jmp 0x40fc59
mov edi, dword [ebp - 0xb4]
mov eax, dword [ebx + 8]
mov byte [ebp - 0xb5], 1
cmp eax, 0x200
je 0x40fc30
cmp eax, 0x2a3
jne 0x40fc59
xorps xmm0, xmm0
mov dword [edi + 0x2dc], 0
mov dword [edi + 0x2d0], 0
mov dword [edi + 0x2d4], 0
movsd qword [edi + 0x2e0], xmm0
add eax, 0xfffffe00
cmp eax, 0xa3
ja case.0x40fc70.515
movzx eax, byte [eax + 0x4103c0]
jmp dword [eax*4 + 0x4103a8]
mov eax, dword [edi]
push edi
call dword [eax + 0x110]
mov eax, dword [edi]
push edi
call dword [eax + 0xb8]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x220]
mov eax, dword [ebx + 0x10]
movsx edx, ax
sub edx, dword [ebp - 0x28]
shr eax, 0x10
cwde
sub eax, dword [ebp - 0x24]
test byte [ebx + 0xc], 4
mov dword [ebp - 0xb4], eax
je 0x40fcd7
mov dword [edi + 0x2c4], edx
mov dword [edi + 0x2bc], edx
mov dword [edi + 0x2c8], eax
mov dword [edi + 0x2c0], eax
mov byte [edi + 0x2cc], 1
jmp case.0x40fc70.515
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp eax, 0x201
je 0x40fcec
cmp eax, 0x204
sete cl
inc ecx
cmp byte [ebp - 0xb5], 0
mov dword [ebp - 0xbc], ecx
jne 0x40fd11
cmp ecx, dword [edi + 0x2d8]
jne 0x40fd11
inc dword [edi + 0x2dc]
mov eax, dword [ebp - 0xb4]
jmp 0x40fd2d
mov eax, dword [ebp - 0xb4]
mov dword [edi + 0x2dc], 1
mov dword [edi + 0x2d0], edx
mov dword [edi + 0x2d4], eax
cmp dword [ebp - 0x18], 0
movd xmm0, dword [ebp - 0xc0]
cvtdq2pd xmm0, xmm0
mov dword [edi + 0x2d8], ecx
movsd qword [edi + 0x2e0], xmm0
je case.0x40fc70.515
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], vtable.CefStructBase_struct_CefMouseEventTraits_.0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push eax
mov byte [ebp - 4], 2
mov ecx, edi
push edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
call fcn.00410cf0
xor al, 1
mov byte [edi + 0x2e8], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00410c60
movss xmm1, dword [edi + 0x2b8]
lea ecx, [ebp - 0x4c]
call fcn.004475f0
mov ecx, dword [ebx + 0xc]
call fcn.004572d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x40], eax
call fcn.004132b0
push dword [edi + 0x2dc]
push 0
mov ecx, dword [eax]
push dword [ebp - 0xbc]
mov edx, dword [ecx + 0x88]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call edx
jmp case.0x40fc70.515
mov eax, dword [edi]
push edi
call dword [eax + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, edi
mov edi, dword [ebp - 0xb4]
jne 0x40fe0e
mov eax, dword [edi]
push edi
call dword [eax + 0x114]
cmp byte [edi + 0x2cc], 0
mov eax, dword [edi]
je 0x40fe2c
push edi
mov byte [edi + 0x2cc], 0
call dword [eax + 0xc0]
jmp case.0x40fc70.515
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x220]
mov eax, dword [ebx + 0x10]
movsx edx, ax
sub edx, dword [ebp - 0x28]
shr eax, 0x10
movsx ecx, ax
sub ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc0], ecx
cmp eax, 0x202
jne 0x40fe66
mov dword [ebp - 0xbc], 0
jmp 0x40fe7d
xor ecx, ecx
cmp eax, 0x205
sete cl
inc ecx
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp - 0xc0]
cmp dword [ebp - 0x18], 0
je case.0x40fc70.515
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x60], vtable.CefStructBase_struct_CefMouseEventTraits_.0
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 3
cmp byte [edi + 0x2e8], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
je 0x40ff01
push ecx
push edx
mov ecx, edi
call fcn.00410cf0
test al, al
je 0x40ff01
mov dword [ebp - 4], 3
mov eax, dword [edi + 0x2f0]
sub eax, dword [edi + 0x26c]
jne case.0x40fc70.515
mov dword [ebp - 4], 3
mov eax, dword [edi + 0x2f4]
sub eax, dword [edi + 0x270]
jne case.0x40fc70.515
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00410c60
movss xmm1, dword [edi + 0x2b8]
lea ecx, [ebp - 0x60]
call fcn.004475f0
mov ecx, dword [ebx + 0xc]
call fcn.004572d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x54], eax
call fcn.004132b0
push dword [edi + 0x2dc]
push 1
mov ecx, dword [eax]
push dword [ebp - 0xbc]
mov edx, dword [ecx + 0x88]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call edx
jmp case.0x40fc70.515
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x220]
mov eax, dword [ebx + 0x10]
movsx ecx, ax
shr eax, 0x10
mov edx, ecx
sub edx, dword [ebp - 0x28]
cwde
push eax
mov dword [ebp - 0xbc], edx
mov edx, eax
sub edx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0xc0], edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x40ffb6
mov eax, dword [edi]
push edi
call dword [eax + 0x10c]
mov edi, eax
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
cmp edi, eax
je 0x40ffb6
mov eax, 1
jmp 0x40ffb8
xor eax, eax
mov edi, dword [ebp - 0xb4]
mov dword [edi + 0x29c], eax
cmp byte [edi + 0x2cc], 0
je 0x40ffff
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
mov dword [edi + 0x2c4], eax
mov dword [edi + 0x2bc], eax
mov eax, dword [edi]
push edi
mov dword [edi + 0x2c8], ecx
mov dword [edi + 0x2c0], ecx
call dword [eax + 0xc0]
jmp case.0x40fc70.515
cmp byte [edi + 0x2cd], 0
jne 0x410036
mov eax, dword [edi]
push edi
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x34], 2
call dword [eax + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [edi + 0x2cd], 1
cmp dword [ebp - 0x18], 0
je case.0x40fc70.515
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x74], vtable.CefStructBase_struct_CefMouseEventTraits_.0
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
mov byte [ebp - 4], 6
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x6c], ecx
push eax
mov ecx, edi
call fcn.00410c60
movss xmm1, dword [edi + 0x2b8]
lea ecx, [ebp - 0x74]
call fcn.004475f0
mov ecx, dword [ebx + 0xc]
call fcn.004572d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], eax
call fcn.004132b0
push 0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x8c]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call edx
jmp case.0x40fc70.515
cmp byte [edi + 0x2cd], 0
je 0x4100fe
mov eax, dword [edi]
push edi
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], 0
call dword [eax + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [edi + 0x2cd], 0
cmp dword [ebp - 0x18], 0
je case.0x40fc70.515
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi]
push edi
call dword [eax + 0x50]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x9c], vtable.CefStructBase_struct_CefMouseEventTraits_.0
movq qword [ebp - 0x98], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
mov eax, dword [ebp - 0x20]
movss xmm1, dword [edi + 0x2b8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
call fcn.004475f0
mov ecx, dword [ebx + 0xc]
call fcn.004572d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x90], eax
call fcn.004132b0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x8c]
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, eax
call edx
jmp case.0x40fc70.515
cmp dword [ebp - 0x18], 0
je case.0x40fc70.515
mov eax, dword [edi]
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, edi
call dword [eax + 0x220]
mov ecx, dword [ebx + 0x10]
movsx eax, cx
mov dword [ebp - 0x30], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x50]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xb0]
push eax
push ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edi, eax
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp edi, eax
jne case.0x40fc70.515
mov ecx, dword [ebp - 0xb4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebx + 0xc]
xorps xmm0, xmm0
shr eax, 0x10
movups xmmword [ebp - 0x88], xmm0
cwde
mov dword [ebp - 0x78], 0
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x88], vtable.CefStructBase_struct_CefMouseEventTraits_.0
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0xb4]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00410c60
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x88]
movss xmm1, dword [eax + 0x2b8]
call fcn.004475f0
mov ecx, dword [ebx + 0xc]
call fcn.004572d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x7c], eax
call fcn.004132b0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0xb4], eax
push 0x10
mov ecx, dword [eax]
mov eax, dword [ecx + 0x90]
mov dword [ebp - 0xc4], eax
call edi
shr eax, 0xf
test al, 1
mov eax, 0
push 0x10
cmove eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
call edi
push dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb4]
shr eax, 0xf
test al, 1
mov eax, 0
cmovne eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0x88]
push eax
call dword [ebp - 0xc4]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41036b
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xa
test esi, esi
je 0x410386
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc