Function at 0x41c7a6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434a31
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x445008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x228], ebx
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0x11c]
mov dword [ebp - 0x234], esi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x230], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x23c], eax
mov eax, dword [esi]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004202b0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, eax
mov dword [ebp - 0x22c], ecx
test ecx, ecx
je 0x41c44a
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push dword [ebp - 0x224]
push dword [ebp - 0x220]
push ebx
push dword [ecx + 0x3c]
call dword [ebp - 0x21c]
mov esi, dword [ebp - 0x22c]
add esp, 0x20
add esi, 0xc
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
add dword [eax + 8], 0xffffffff
jne 0x41c422
add eax, 0x24
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
mov esi, dword [ebp - 0x234]
mov eax, dword [esi + 4]
cmp eax, 0x200
ja 0x41c78a
je case.0x41c79f.513
sub eax, 7
cmp eax, 0xfe
ja case.0x41c7fd.518
movzx eax, byte [eax + 0x41cf70]
jmp dword [eax*4 + 0x41cf54]
mov ecx, dword [esi + 8]
call fcn.00423bc0
mov esi, eax
lea ecx, [ebx + 0xcc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
mov ecx, esi
and esi, 0xffff1fff
and ecx, 0xe000
push ecx
push esi
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x14
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0xa
add dword [ebx + 8], 0xffffffff
jne 0x41c4f9
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
mov ecx, dword [esi + 8]
call fcn.00423bc0
mov esi, eax
lea ecx, [ebx + 0xdc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
mov ecx, esi
and esi, 0xffff1fff
and ecx, 0xe000
push ecx
push esi
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x14
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0xb
add dword [ebx + 8], 0xffffffff
jne 0x41c59b
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xec]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0xc
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0xc
add dword [ebx + 8], 0xffffffff
jne 0x41c623
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xfc]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0xc
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0xd
add dword [ebx + 8], 0xffffffff
jne 0x41c6ab
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
movzx esi, word [esi + 8]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x10c]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x10
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0xe
add dword [ebx + 8], 0xffffffff
jne 0x41c738
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
js 0x41cd73
jle case.0x41c7fd.518
mov eax, dword [ebp - 0x234]
mov dword [eax + 8], ecx
jmp case.0x41c7fd.518
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je case.0x41c7fd.518
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x41cf36
sub eax, 0x201
cmp eax, 0x32
ja case.0x41c7fd.518
movzx eax, byte [eax + 0x41d080]
jmp dword [eax*4 + 0x41d070]
movsx eax, word [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x22c], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x230], eax
mov eax, ecx
and eax, 8
shl eax, 0xa
mov esi, eax
or esi, 0x8000
test cl, 4
push 0x12
cmove esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x41c7e6
or esi, 0x4000
mov eax, dword [ebp - 0x234]
mov eax, dword [eax + 4]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x41c7fd.518
jmp dword [eax*4 + 0x41d0b4]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x3c]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
add dword [ebx + 8], 0xffffffff
jne 0x41c873
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x4c]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 2
add dword [ebx + 8], 0xffffffff
jne 0x41c905
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x5c]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 3
add dword [ebx + 8], 0xffffffff
jne 0x41c997
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x6c]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 4
add dword [ebx + 8], 0xffffffff
jne 0x41ca29
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x7c]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 5
add dword [ebx + 8], 0xffffffff
jne 0x41cabb
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x8c]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 6
add dword [ebx + 8], 0xffffffff
jne 0x41cb50
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x9c]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 7
add dword [ebx + 8], 0xffffffff
jne 0x41cbe5
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xac]
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x18
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 8
add dword [ebx + 8], 0xffffffff
jne 0x41cc7a
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
jne 0x41cd73
jmp case.0x41c7fd.518
mov eax, dword [esi + 8]
and eax, 8
shl eax, 0xa
mov edx, eax
or edx, 0x8000
test byte [esi + 8], 4
push 0x12
cmove edx, eax
mov dword [ebp - 0x234], edx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x41ccd2
or dword [ebp - 0x234], 0x4000
movsx ecx, word [esi + 0xa]
mov eax, 0x88888889
imul ecx
lea eax, [ebp - 0x21c]
add edx, ecx
lea ecx, [ebx + 0xbc]
sar edx, 6
push eax
mov esi, edx
lea eax, [ebp - 0x224]
shr esi, 0x1f
push eax
add esi, edx
call fcn.004202b0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41c7fd.518
push dword [ebp - 0x234]
push esi
push dword [ebp - 0x21c]
push ebx
mov ebx, eax
push dword [ebx + 0x3c]
call dword [ebp - 0x224]
add esp, 0x14
mov dword [ebp - 0x21c], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 9
add dword [ebx + 8], 0xffffffff
jne 0x41cd55
lea eax, [ebx + 0x24]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [ebp - 0x21c], 0
je case.0x41c7fd.518
mov eax, 1
jmp 0x41cf36
mov esi, dword [esi + 8]
push 0
push 0
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x230], esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x22c], eax
call fcn.00404a60
mov dword [ebp - 4], 0xf
cmp dword [ebp - 0x22c], 0
jbe 0x41ce90
xor edi, edi
mov ebx, esi
nop dword [eax]
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41cde0
sub esi, ecx
sar esi, 1
test esi, esi
jle 0x41ce2c
add esi, esi
lea ecx, [ebp - 0x25c]
lea eax, [esi + 2]
push eax
mov eax, dword [ebp - 0x25c]
call dword [eax]
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], eax
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x234]
add esp, 0xc
xor eax, eax
mov word [esi + ecx], ax
jmp 0x41ce34
xor ecx, ecx
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp - 0x248]
mov esi, dword [ebp - 0x244]
sub eax, esi
cmp eax, 4
jl 0x41ce59
mov eax, dword [ebp - 0x24c]
mov dword [eax + esi], ecx
add dword [ebp - 0x244], 4
jmp 0x41ce71
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x258]
call fcn.00424320
mov ecx, dword [ebp - 0x234]
mov dword [eax + esi], ecx
inc edi
cmp edi, dword [ebp - 0x22c]
jb 0x41cdc0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x228]
mov esi, dword [ebp - 0x230]
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [ebp - 0x244], 0
je 0x41cf11
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebx + 0x13c]
call fcn.004202b0
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x41cf11
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x228]
push ebx
mov ebx, dword [ebp - 0x21c]
push dword [ebx + 0x3c]
call dword [ebp - 0x220]
add esp, 0x10
lea esi, [ebx + 0xc]
mov dword [ebp - 0x228], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x10
add dword [ebx + 8], 0xffffffff
jne 0x41cf03
lea eax, [ebx + 0x24]
push eax
call edi
mov byte [ebp - 4], 0xf
push esi
call edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x25c]
call fcn.00409820
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CVolMem.virtual_0], vtable.CVolObject.0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e6f8
mov esp, ebp
pop ebp
ret 4