Function at 0x10015b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018a991
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x101f7004]
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 edi, ecx
mov dword [ebp - 0x230], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x128]
push esi
mov dword [ebp - 0x228], ebx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x220], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x224], eax
call fcn.1001cfa0
mov ecx, dword [edi + 0x11c]
add esp, 4
mov eax, dword [edi + 0x120]
mov edx, dword [edi + 0x124]
mov dword [esi], 1
test ecx, ecx
je 0x10015c1d
mov eax, dword [eax + 8]
test eax, eax
je 0x10015c1d
push ebx
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x22c]
push dword [ebp - 0x224]
push edx
push edi
push eax
call ecx
add esp, 0x20
test eax, eax
jne 0x10016054
mov eax, dword [ebx + 4]
cmp eax, 0x100
ja 0x10015cca
je case.0x10015cee.260
sub eax, 7
je 0x10015caa
sub eax, 1
je 0x10015c63
sub eax, 0x18
jne case.0x10015ea0.518
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je case.0x10015ea0.518
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x100161ca
lea esi, [edi + 0x108]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0xfc]
mov eax, dword [edi + 0x100]
mov edx, dword [edi + 0x104]
add esp, 4
mov dword [esi], 1
test ecx, ecx
je case.0x10015ea0.518
mov eax, dword [eax + 8]
test eax, eax
je case.0x10015ea0.518
push edx
push edi
push eax
call ecx
add esp, 0xc
jmp 0x1001604c
lea esi, [edi + 0xf8]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0xec]
mov eax, dword [edi + 0xf0]
mov edx, dword [edi + 0xf4]
jmp 0x10015c81
cmp eax, 0x205
ja 0x10015e2d
cmp eax, 0x200
jae case.0x10015e42.519
sub eax, 0x101
cmp eax, 4
ja case.0x10015ea0.518
jmp dword [eax*4 + 0x100161e8]
mov ecx, dword [ebx + 8]
call fcn.1001bf80
lea esi, [edi + 0xd8]
mov ebx, eax
push esi
call fcn.1001cfa0
mov edx, dword [edi + 0xcc]
add esp, 4
mov eax, dword [edi + 0xd4]
mov ecx, dword [edi + 0xd0]
mov dword [ebp - 0x224], eax
mov dword [esi], 1
test edx, edx
je case.0x10015ea0.518
mov ecx, dword [ecx + 8]
test ecx, ecx
je case.0x10015ea0.518
mov eax, ebx
and ebx, 0xffff1fff
and eax, 0xe000
push eax
push ebx
push dword [ebp - 0x224]
push edi
push ecx
call edx
jmp 0x10016049
mov ecx, dword [ebx + 8]
call fcn.1001bf80
lea esi, [edi + 0xe8]
mov ebx, eax
push esi
call fcn.1001cfa0
mov edx, dword [edi + 0xdc]
add esp, 4
mov eax, dword [edi + 0xe4]
mov ecx, dword [edi + 0xe0]
mov dword [ebp - 0x224], eax
mov dword [esi], 1
test edx, edx
je case.0x10015ea0.518
mov ecx, dword [ecx + 8]
test ecx, ecx
je case.0x10015ea0.518
mov eax, ebx
and ebx, 0xffff1fff
and eax, 0xe000
push eax
push ebx
push dword [ebp - 0x224]
push edi
push ecx
call edx
jmp 0x10016049
movzx eax, word [ebx + 8]
lea esi, [edi + 0x118]
push esi
mov dword [ebp - 0x224], eax
call fcn.1001cfa0
mov ecx, dword [edi + 0x10c]
add esp, 4
mov eax, dword [edi + 0x110]
mov edx, dword [edi + 0x114]
mov dword [esi], 1
test ecx, ecx
je case.0x10015ea0.518
mov eax, dword [eax + 8]
test eax, eax
je case.0x10015ea0.518
push dword [ebp - 0x224]
push edx
push edi
push eax
call ecx
add esp, 0x10
test eax, eax
js 0x10016054
jle case.0x10015ea0.518
mov dword [ebx + 8], eax
jmp case.0x10015ea0.518
sub eax, 0x207
cmp eax, 0x2c
ja case.0x10015ea0.518
movzx eax, byte [eax + 0x1001620c]
jmp dword [eax*4 + 0x100161fc]
movsx eax, word [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x21c], eax
movsx eax, word [ebx + 0xe]
mov dword [ebp - 0x220], eax
mov eax, ecx
and eax, 8
shl eax, 0xa
mov ebx, eax
or ebx, 0x8000
and cl, 4
push 0x12
cmove ebx, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10015e89
or ebx, 0x4000
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 4]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x10015ea0.518
jmp dword [eax*4 + 0x1001623c]
lea esi, [edi + 0x48]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
add esp, 4
mov dword [esi], 1
test ecx, ecx
je case.0x10015ea0.518
mov eax, dword [eax + 8]
test eax, eax
je case.0x10015ea0.518
push ebx
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
push edx
push edi
push eax
call ecx
add esp, 0x18
jmp 0x1001604c
lea esi, [edi + 0x58]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0x4c]
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
jmp 0x10015eb9
lea esi, [edi + 0x68]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0x5c]
mov eax, dword [edi + 0x60]
mov edx, dword [edi + 0x64]
jmp 0x10015eb9
lea esi, [edi + 0x78]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
mov edx, dword [edi + 0x74]
jmp 0x10015eb9
lea esi, [edi + 0x88]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 0x80]
mov edx, dword [edi + 0x84]
jmp 0x10015eb9
lea esi, [edi + 0x98]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0x8c]
mov eax, dword [edi + 0x90]
mov edx, dword [edi + 0x94]
jmp 0x10015eb9
lea esi, [edi + 0xa8]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0x9c]
mov eax, dword [edi + 0xa0]
mov edx, dword [edi + 0xa4]
jmp 0x10015eb9
lea esi, [edi + 0xb8]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0xac]
mov eax, dword [edi + 0xb0]
mov edx, dword [edi + 0xb4]
jmp 0x10015eb9
mov ecx, dword [ebx + 8]
mov eax, ecx
and eax, 8
shl eax, 0xa
mov esi, eax
or esi, 0x8000
and cl, 4
push 0x12
cmove esi, eax
mov dword [ebp - 0x21c], esi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10015fec
or esi, 0x4000
mov dword [ebp - 0x21c], esi
movsx ecx, word [ebx + 0xa]
lea esi, [edi + 0xc8]
mov eax, 0x88888889
imul ecx
push esi
add edx, ecx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
call fcn.1001cfa0
mov ecx, dword [edi + 0xbc]
add esp, 4
mov eax, dword [edi + 0xc0]
mov edx, dword [edi + 0xc4]
mov dword [esi], 1
test ecx, ecx
je case.0x10015ea0.518
mov eax, dword [eax + 8]
test eax, eax
je case.0x10015ea0.518
push dword [ebp - 0x21c]
push ebx
push edx
push edi
push eax
call ecx
add esp, 0x14
test eax, eax
je case.0x10015ea0.518
mov eax, 1
jmp 0x100161ca
mov esi, dword [ebx + 8]
push 0
push 0
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x228], ebx
call fcn.10015660
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10016154
xor edi, edi
nop dword [eax + eax]
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push esi
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 0x100160c0
sub esi, ecx
sar esi, 1
test esi, esi
jle 0x10016102
add esi, esi
lea ecx, [ebp - 0x250]
lea eax, [esi + 2]
push eax
mov eax, dword [ebp - 0x250]
call dword [eax]
mov ebx, eax
lea eax, [ebp - 0x218]
push esi
push eax
push ebx
call fcn.1016a0f0
add esp, 0xc
xor eax, eax
mov word [ebx + esi], ax
jmp 0x10016104
xor ebx, ebx
mov eax, dword [ebp - 0x23c]
mov esi, dword [ebp - 0x238]
sub eax, esi
cmp eax, 4
jl 0x10016129
mov eax, dword [ebp - 0x240]
mov dword [eax + esi], ebx
add dword [ebp - 0x238], 4
jmp 0x1001613b
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x24c]
call fcn.1001c800
mov dword [eax + esi], ebx
mov esi, dword [ebp - 0x21c]
inc edi
cmp edi, dword [ebp - 0x228]
jb 0x100160a0
mov edi, dword [ebp - 0x230]
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [ebp - 0x238], 0
je 0x100161a5
lea esi, [edi + 0x148]
push esi
call fcn.1001cfa0
mov ecx, dword [edi + 0x13c]
add esp, 4
mov eax, dword [edi + 0x140]
mov edx, dword [edi + 0x144]
mov dword [esi], 1
test ecx, ecx
je 0x100161a5
mov eax, dword [eax + 8]
test eax, eax
je 0x100161a5
lea esi, [ebp - 0x25c]
push esi
push edx
push edi
push eax
call ecx
add esp, 0x10
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.100164a0
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.10167cb7
mov esp, ebp
pop ebp
ret 4