Function at 0x41a7f9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dbc1
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x46500c]
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.0041ecc0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x41a178
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 0x41a150
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 0x41a8d0
mov esi, dword [ebp - 0x230]
mov eax, dword [esi + 4]
cmp eax, 0x100
ja 0x41a27e
je case.0x41a2a2.260
sub eax, 7
je 0x41a220
sub eax, 1
je 0x41a1c2
sub eax, 0x18
jne case.0x41a4a9.518
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je case.0x41a4a9.518
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x41aa93
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xfc]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xec]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
cmp eax, 0x205
ja 0x41a436
cmp eax, 0x200
jae case.0x41a44b.519
sub eax, 0x101
cmp eax, 4
ja case.0x41a4a9.518
jmp dword [eax*4 + 0x41aab4]
mov ecx, dword [esi + 8]
call fcn.00422a90
mov esi, eax
lea ecx, [ebx + 0xcc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
mov ecx, dword [esi + 8]
call fcn.00422a90
mov esi, eax
lea ecx, [ebx + 0xdc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
movzx esi, word [esi + 8]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x10c]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a403
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 0x41a8d0
jle case.0x41a4a9.518
mov eax, dword [ebp - 0x230]
mov dword [eax + 8], ecx
jmp case.0x41a4a9.518
sub eax, 0x207
cmp eax, 0x2c
ja case.0x41a4a9.518
movzx eax, byte [eax + 0x41aad8]
jmp dword [eax*4 + 0x41aac8]
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 0x41a492
or esi, 0x4000
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 4]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x41a4a9.518
jmp dword [eax*4 + 0x41ab08]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x3c]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x4c]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x5c]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x6c]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x7c]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x8c]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x9c]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0xac]
call fcn.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8a6
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 0x41a82f
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.0041ecc0
mov dword [ebp - 0x220], eax
test eax, eax
je case.0x41a4a9.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 0x41a8b2
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.0x41a4a9.518
mov eax, 1
jmp 0x41aa93
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.004199e0
mov dword [ebp - 4], 0xf
test esi, esi
je 0x41a9e8
xor edi, edi
mov ebx, esi
nop word [eax + eax]
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 0x41a942
sub esi, ecx
sar esi, 1
test esi, esi
jle 0x41a98e
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 fcn.004357a0
mov ecx, dword [ebp - 0x230]
add esp, 0xc
xor eax, eax
mov word [esi + ecx], ax
jmp 0x41a996
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 0x41a9bb
mov eax, dword [ebp - 0x24c]
mov dword [eax + esi], ecx
add dword [ebp - 0x244], 4
jmp 0x41a9d3
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x258]
call fcn.00423310
mov ecx, dword [ebp - 0x230]
mov dword [eax + esi], ecx
inc edi
cmp edi, ebx
jb 0x41a920
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 0x41aa6e
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebx + 0x13c]
call fcn.0041ecc0
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x41aa6e
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 0x41aa60
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.0041b1a0
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.00431cd0
mov esp, ebp
pop ebp
ret 4