Function at 0x40bc42
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
push esi
cmp dh, dl
jae 0x40bc58
add dword [ebp - 4], 0xeca720
sbb dword [ebp - 4], 1
movsx ecx, bh
bswap ax
mov dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
not bx
push dword [section..data]
call sub.ole32.dll_RevokeDragDrop
mov byte [ebp - 0x14], 0xff
mov eax, dword [0x40d004]
or dword [ebp - 8], 1
mov si, word [0x40d008]
xor dword [ebp - 8], 0xffffffcc
mov word [0x40d008], 0x98
mov dword [ebp - 8], esi
push 0
push 0x40d004
call sub.ole32.dll_CreateBindCtx
not edi
sub ecx, 4
sbb word [0x40d008], 0xffff
mov edi, dword [ebp - 8]
push dword [0x40d00c]
call sub.ole32.dll_RevokeDragDrop
mov dword [ebp - 8], edi
push dword [0x40d010]
call sub.USER32.dll_GetParent
sub dword [ebp - 8], 0x242300
mov ebx, dword [0x40d004]
mov word [0x40d008], 0
push 0x401094
call sub.msvcrt.dll_strlen
pop ecx
mov ah, byte [0x40d014]
mov ecx, dword [0x40d018]
mov dword [0x40d01c], 0x390
push dword [0x40d020]
call sub.ole32.dll_RevokeDragDrop
sub ebx, dword [0x40d010]
nop
mov word [0x40d00a], 0
test ebx, edx
je 0x40bd33
movzx ecx, bh
sbb cl, 0xd0
and eax, dword [0x40d004]
push 0xffffffffffffffff
call sub.gdi32.dll_CreateSolidBrush
mov byte [ebp - 0x14], 0xff
lea eax, [ebp - 0x24]
push eax
push dword [0x40d024]
call sub.gdi32.dll_RectVisible
mov ebx, dword [0x40d01c]
call sub.KERNEL32.DLL_GetCurrentProcess
mov dword [ebp - 8], edx
push 0x3d7120
call sub.gdi32.dll_CreateSolidBrush
mov dword [0x40d01c], 0
lea eax, [ebp - 0x24]
push eax
push dword [0x40d028]
call sub.gdi32.dll_RectVisible
mov dword [ebp - 4], 0xe8
xor dword [ebp - 8], 0x3ec
mov byte [ebp - 0x14], cl
add ecx, eax
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 4], edx
mov dword [0x40d018], 1
call fcn.0040bffa
cmp al, 0xff
je 0x40bdbb
mov word [ebp - 0x28], 0xffff
mov dword [ebp - 4], edi
push 1
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebp - 0x2c], 0x29c
xor ebx, dword [ebp - 4]
push 0x4010a8
push 0x4010b8
call sub.ole32.dll_IsEqualGUID
mov cx, word [0x40d02c]
push 7
push dword [0x40d030]
call sub.gdi32.dll_SetTextAlign
xor edx, dword [ebp - 8]
xor dword [0x40d034], 0xffffffff
mov dword [ebp - 4], eax
sbb dword [ebp - 4], 0x19787c
mov dword [ebp - 0x2c], 0xffffffff
adc edx, dword [0x40d038]
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.ole32.dll_CreateBindCtx
or dword [ebp - 4], 1
mov word [ebp - 0x28], si
mov edx, dword [0x40d03c]
or edi, 0x2c
call fcn.0040bffa
test ax, 0xe407
je 0x40be46
mov edx, dword [0x40d038]
mov byte [0x40d014], cl
push 0x40d040
call sub.gdi32.dll_CreateFontIndirectA
not bl
sub si, word [0x40d008]
lea eax, [ebp - 0x44]
push eax
push 0x18
push dword [0x40d044]
call sub.gdi32.dll_GetObjectA
and edx, 0x7a9700
mov dword [0x40d048], 0x3d4
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov dword [0x40d048], 0x122400
push 0xffffffffffffffff
call sub.gdi32.dll_CreateSolidBrush
sub edx, dword [0x40d00c]
call sub.KERNEL32.DLL_GetTickCount
movsx eax, bh
add dword [ebp - 8], 1
add eax, eax
mov ecx, dword [0x40d01c]
push 0x4010c8
push 0x4010dc
call sub.ole32.dll_IsEqualGUID
mov byte [ebp - 0x14], 0x18
call fcn.0040bffa
mov esi, dword [ebp - 8]
sub eax, ecx
or dword [ebp - 4], 0x3b2ed4
cmp byte [ebp - 0x14], 0
je 0x40beec
push 0x4010f0
call sub.msvcrt.dll_strlen
pop ecx
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], ebx
push 0
push 0x40d04c
call sub.ole32.dll_CreateBindCtx
mov bx, word [0x40d008]
add dword [ebp - 8], 0xffffffff
call sub.ole32.dll_OleFlushClipboard
mov byte [ebp - 0x48], ah
push 0x401104
call sub.msvcrt.dll_strlen
pop ecx
add cx, 0xffff
push dword [0x40d050]
call sub.ole32.dll_RevokeDragDrop
and cx, si
mov dword [ebp - 8], edx
mov dword [ebp - 0x4c], 0x3e57a4
sbb eax, dword [ebp - 4]
push 0x401118
call sub.msvcrt.dll_printf
pop ecx
movzx edi, dl
mov byte [ebp - 0x50], dh
call fcn.0040c204
cmp eax, edi
jne 0x40bf57
not edi
adc edx, 0x58
mov byte [ebp - 0x54], 0x94
call sub.KERNEL32.DLL_GetCurrentProcess
and dword [0x40d04c], eax
or byte [0x40d015], 0xff
mov dword [ebp - 0x4c], 0xffffffff
add dword [ebp - 8], edi
push 0x40112c
call sub.msvcrt.dll_strlen
pop ecx
mov edi, dword [0x40d048]
xor word [0x40d008], di
push dword [0x40d054]
call sub.ole32.dll_RevokeDragDrop
push 0x401140
call sub.msvcrt.dll_printf
pop ecx
movsx ebx, cl
add edx, esi
and eax, eax
sbb dword [ebp - 8], 0xffffffff
mov ebx, dword [0x40d040]
movsx si, ah
or dword [ebp - 4], 0x1e3ab0
call fcn.0040bffa
sub di, si
neg cx
push 0x401154
call sub.msvcrt.dll_remove
mov dword [ebp - 8], edi
mov dword [0x40d058], 0x40c3e0
push 0x40d05c
call sub.ole32.dll_OleRun
pop esi
pop edi
pop ebx
leave
ret