Function at 0x418a20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c11
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x44100c]
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 - 0x230], esi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x234], 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.0041d320
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x418b38
push esi
push dword [ebp - 0x234]
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push dword [ebp - 0x224]
push dword [ebp - 0x220]
push ebx
push dword [eax + 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 0x418b10
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 0x41926a
mov esi, dword [ebp - 0x230]
mov eax, dword [esi + 4]
cmp eax, 0x200
ja 0x418dd0
je case.0x418de5.513
sub eax, 7
cmp eax, 0xfe
ja case.0x418e43.518
movzx eax, byte [eax + 0x419460]
jmp dword [eax*4 + 0x419444]
mov ecx, dword [esi + 8]
call fcn.0041ed00
mov esi, eax
lea ecx, [ebx + 0xcc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.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
jmp 0x419240
mov ecx, dword [esi + 8]
call fcn.0041ed00
mov esi, eax
lea ecx, [ebx + 0xdc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xec]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xfc]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.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
jmp 0x419240
movzx esi, word [esi + 8]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x10c]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.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 0x418d7e
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 0x41926a
jle case.0x418e43.518
mov eax, dword [ebp - 0x230]
mov dword [eax + 8], ecx
jmp case.0x418e43.518
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je case.0x418e43.518
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x419423
sub eax, 0x201
cmp eax, 0x32
ja case.0x418e43.518
movzx eax, byte [eax + 0x419570]
jmp dword [eax*4 + 0x419560]
movsx eax, word [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x22c], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x234], eax
mov eax, ecx
and eax, 8
shl eax, 0xa
mov esi, eax
or esi, 0x8000
and cl, 4
push 0x12
cmove esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x418e2c
or esi, 0x4000
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 4]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x418e43.518
jmp dword [eax*4 + 0x4195a4]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x3c]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push esi
push dword [ebp - 0x234]
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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x4c]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push esi
push dword [ebp - 0x234]
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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x5c]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push esi
push dword [ebp - 0x234]
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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x6c]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push esi
push dword [ebp - 0x234]
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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x7c]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push esi
push dword [ebp - 0x234]
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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x8c]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push esi
push dword [ebp - 0x234]
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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x9c]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push esi
push dword [ebp - 0x234]
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
jmp 0x419240
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xac]
call fcn.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push esi
push dword [ebp - 0x234]
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
jmp 0x419240
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 8
shl eax, 0xa
mov edx, eax
or edx, 0x8000
and cl, 4
push 0x12
cmove edx, eax
mov dword [ebp - 0x230], edx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4191c9
or dword [ebp - 0x230], 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.0041d320
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x418e43.518
push dword [ebp - 0x230]
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 0x41924c
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.0x418e43.518
mov eax, 1
jmp 0x419423
mov eax, dword [esi + 8]
push 0
push 0
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x22c], eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov esi, eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x21c], esi
call fcn.00405520
mov dword [ebp - 4], 0xf
test esi, esi
je 0x419378
xor edi, edi
mov ebx, esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4192d2
sub esi, ecx
sar esi, 1
test esi, esi
jle 0x41931e
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 - 0x230], eax
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x230]
add esp, 0xc
xor eax, eax
mov word [esi + ecx], ax
jmp 0x419326
xor ecx, ecx
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp - 0x248]
mov esi, dword [ebp - 0x244]
sub eax, esi
cmp eax, 4
jl 0x41934b
mov eax, dword [ebp - 0x24c]
mov dword [eax + esi], ecx
add dword [ebp - 0x244], 4
jmp 0x419363
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x258]
call fcn.0041f580
mov ecx, dword [ebp - 0x230]
mov dword [eax + esi], ecx
inc edi
cmp edi, ebx
jb 0x4192b0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x228]
push dword [ebp - 0x22c]
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [ebp - 0x244], 0
je 0x4193fe
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebx + 0x13c]
call fcn.0041d320
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x4193fe
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 0x4193f0
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.0040aff0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CWString.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.0042b759
mov esp, ebp
pop ebp
ret 4