Function at 0x424c70
Capabilities:
Get common file path
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5978b8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
sub edi, esi
sar edi, 2
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x424cc4
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x28]
jmp 0x425079
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00550341
mov esi, eax
mov dword [ebp - 0x10], 0
add esp, 4
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp dword [ebp - 0x10], 0
jne 0x424d08
mov byte [ebp - 4], 0
jmp 0x424ff4
call fcn.0040bce0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x424d24
push 0x80004005
call fcn.0040c390
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 2
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x424d59
push 0x104
lea ecx, [ebp - 0x28]
call fcn.0040c110
mov edi, dword [ebp - 0x28]
push 0
push 0x10
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [edi - 8]
push edi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x4250cb
cmp eax, dword [edi - 8]
jg 0x4250cb
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x424ebf
call fcn.0040bce0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x424dbc
push 0x80004005
call fcn.0040c390
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
xor ecx, ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], ecx
jbe 0x424e9b
jmp 0x424de0
mov eax, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x38], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x34], eax
cmp eax, ecx
je 0x424e41
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x424e32
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x424e32
mov ecx, dword [ebp - 0x34]
call fcn.0040c3c0
mov dword [ebp - 0x34], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x424e27
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
add esi, 0x10
mov dword [ebp - 0x1c], esi
jmp 0x424e41
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c]
push edx
call fcn.0040c1c0
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], 0
jl 0x424e5e
push edi
push esi
call fcn.00552a08
add esp, 8
test eax, eax
je 0x424e5e
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x424e70
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jb 0x424de0
jmp 0x424e9b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + ecx*4]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
call fcn.00428b70
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
call fcn.00412c30
add esi, 0xfffffff0
mov byte [ebp - 4], 2
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424eb9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edx, edx
sub eax, ecx
mov dword [ebp - 0x24], edx
sar eax, 2
test eax, eax
je 0x424f21
mov edi, esi
mov esi, dword [ebp - 0x10]
push 0
push edi
push 0
mov eax, dword [esi]
push dword [ecx + edx*4]
add eax, 0xc
mov dword [ebp - 0x38], eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov eax, dword [ebp - 0x38]
push 0
push 0
push esi
call dword [eax]
cmp dword [edi], 0
jne 0x424f05
push 0
call dword [sym.imp.SHELL32.dll_ILClone]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
add edi, 4
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
inc edx
sub eax, ecx
mov dword [ebp - 0x24], edx
sar eax, 2
cmp edx, eax
jb 0x424ed2
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
push edx
push 0
push 0x5abb58
push dword [ebp - 0x18]
mov ecx, dword [eax]
push dword [ebp - 0x14]
push 0
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x424fb1
cmp dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0x24
movdqu xmmword [ebp - 0x58], xmm0
mov ecx, 0x5bc994
mov dword [ebp - 0x58], 0
mov eax, str.copy
mov dword [ebp - 0x4c], 0
cmove eax, ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
movdqu xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x424fc2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424fe0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x424ff1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x14]
xor esi, esi
test edi, edi
je 0x425016
lea ebx, [ebx]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x425011
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, edi
jb 0x425000
push dword [ebp - 0x18]
call fcn.005527f2
add esp, 4
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42506c
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
xor esi, esi
test eax, eax
je 0x425049
push esi
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
jne 0x42506c
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00419790
mov ecx, dword [ebp - 0x30]
call fcn.00424ab0
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4250b7
cmp esi, edi
je 0x4250ae
mov edx, dword [esi]
or ecx, 0xffffffff
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4250a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x425088
mov esi, dword [ebp + 8]
push esi
call fcn.00551995
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040c390
int3