Function at 0x4724f7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
mov edi, 0x5836b2
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea edx, [ebp - 0x40c]
push edx
push dword [ebp + 8]
call fcn.005201c7
mov ebx, eax
test ebx, ebx
jne 0x472530
push 0
call fcn.0042c4bf
jmp 0x4728ce
push dword [ebx + 0xb6c]
call fcn.00412773
test eax, eax
jne 0x47254b
push 0
call fcn.0042c4bf
jmp 0x4728ce
push 0x10
call sub.USER32.dll_GetKeyState
movsx eax, ax
and eax, 0x8000
cmp eax, 0x8000
jne 0x47256a
mov dword [ebp - 8], 1
jmp 0x47256f
xor edx, edx
mov dword [ebp - 8], edx
push 0x3e7
lea ecx, [ebp - 0x3fc]
push ecx
call fcn.0042e3f0
cmp dword [ebx + 0x6bc], 1
jne 0x4726be
lea eax, [ebp - 0x14]
push eax
call sub.USER32.dll_GetCursorPos
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.USER32.dll_WindowFromPoint
cmp eax, dword [ebx + 0x820]
jne 0x47265b
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 0xc]
call sub.SHELL32.dll_DragQueryPoint
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x820]
push dword [ebx]
call sub.USER32.dll_MapWindowPoints
cmp dword [ebp - 8], 0
je 0x4725db
push 0
push 0x10
call fcn.00472464
push 0xffffffffffffffff
push 0
push 0x185
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
movzx edx, word [ebp - 0x14]
movzx ecx, word [ebp - 0x10]
shl ecx, 0x10
or edx, ecx
push edx
push 0
push 0x201
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
movzx eax, word [ebp - 0x14]
movzx edx, word [ebp - 0x10]
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x202
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 8], 0
je 0x472641
push 0x80
push 0x10
call fcn.00472464
push dword [ebx + 0xb6c]
lea ecx, [ebp - 0x3fc]
push ecx
push dword [ebp + 8]
call fcn.004e56fe
jmp 0x472748
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call sub.SHELL32.dll_DragQueryPoint
push 0xffffffffffffffff
push 0
push 0x201
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
push 0xffffffffffffffff
push 0
push 0x202
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
lea edx, [ebx + 8]
push edi
mov edi, edx
lea esi, [ebp - 0x3fc]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x472748
cmp dword [ebx + 0x6bc], 2
jne 0x4726de
push dword [ebx + 0xb6c]
lea eax, [ebp - 0x3fc]
push eax
push dword [ebp + 8]
call fcn.004e56fe
jmp 0x472748
cmp dword [ebx + 0x6bc], 7
jne 0x472748
lea edx, [ebp - 0x14]
push edx
push dword [ebp + 0xc]
call sub.SHELL32.dll_DragQueryPoint
movzx ecx, word [ebp - 0x14]
movzx eax, word [ebp - 0x10]
shl eax, 0x10
or ecx, eax
push ecx
push 0
push 0x201
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
movzx edx, word [ebp - 0x14]
movzx ecx, word [ebp - 0x10]
shl ecx, 0x10
or edx, ecx
push edx
push 0
push 0x202
push dword [ebx + 0x820]
call sub.USER32.dll_SendMessageA
push dword [ebx + 0xb6c]
lea eax, [ebp - 0x3fc]
push eax
push dword [ebp + 8]
call fcn.004e56fe
cmp byte [ebp - 0x3fc], 0
jne 0x47275d
push 0
call fcn.0042c4bf
jmp 0x4728ce
lea edx, [ebp - 0x3fc]
push edx
call fcn.0054c2d0
pop ecx
add eax, 0xa
push eax
call fcn.00557db4
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x472789
push 0
call fcn.0042c4bf
jmp 0x4728ce
mov ecx, dword [ebp - 0xc]
push edi
mov esi, ecx
lea edi, [ebp - 0x3fc]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0
push 0
push 0xffffffffffffffff
push dword [ebp + 0xc]
call sub.SHELL32.dll_DragQueryFileA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x4727d6
push 0
call fcn.0042c4bf
jmp 0x4728ce
xor esi, esi
cmp esi, dword [ebp - 4]
jge 0x4728ce
push 0x3e7
push edi
push esi
push dword [ebp + 0xc]
call sub.SHELL32.dll_DragQueryFileA
test eax, eax
jbe 0x4728c4
push 0x586e7f
push 0x586d7f
push 0x586c7f
push 0x586c7c
push edi
call fcn.0050ca44
add esp, 0x14
push 0x586e7f
push 0x586d7f
push 0x56266b
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
push dword [ebp - 8]
push 0x577e2a
push edi
call fcn.0047239f
test eax, eax
je 0x4728c4
push 0x586e7f
push 0x586d7f
push 0x586c7f
push 0x586c7c
push 0x562671
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x18
push 0x20
push edi
call fcn.0054c230
add esp, 8
test eax, eax
je 0x47288c
push edi
push dword [ebp - 0xc]
push 0x56267b
push 0x578211
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x4728a2
push edi
push dword [ebp - 0xc]
push 0x562684
push 0x578211
call sub.USER32.dll_wsprintfA
add esp, 0x10
push dword [ebx + 0xb6c]
push 0
push 0
push 1
push 0x578211
push 0x577e2a
push dword [ebp + 8]
call fcn.004b099c
test eax, eax
je 0x4728ce
inc esi
cmp esi, dword [ebp - 4]
jl 0x4727e1
cmp dword [ebp - 0xc], 0
je 0x4728dd
push dword [ebp - 0xc]
call fcn.00557ca0
pop ecx
push dword [ebp + 0xc]
call sub.SHELL32.dll_DragFinish
push dword [ebp + 8]
call sub.USER32.dll_SetFocus
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8