Function at 0x42a330
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x42a7fd
cmp word [edi], 0
je 0x42a7fd
cmp dword [ebp + 8], 0
push ebx
mov dword [ebp - 8], edi
je 0x42a361
mov eax, dword [ecx + 0x1c]
mov ebx, dword [eax + 0x30]
jmp 0x42a367
mov ecx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x38]
mov eax, ebx
mov dword [ebp + 0x14], ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a370
mov ecx, dword [ebp + 0x10]
sub eax, edx
sar eax, 1
push esi
test ecx, ecx
je 0x42a3a4
cmp word [ecx], 0
je 0x42a3a4
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42a390
mov ebx, dword [ebp + 0x14]
sub ecx, esi
sar ecx, 1
jmp 0x42a3a6
xor ecx, ecx
push 0x5c
push edi
mov dword [ebp - 4], ecx
lea esi, [ecx + eax + 0x12]
call fcn.004b135e
add esp, 8
test eax, eax
je 0x42a3c8
cmp dword [ebp + 0xc], 0
jne 0x42a3c8
lea edi, [eax + 2]
mov dword [ebp - 8], edi
cmp word [edi], 0
jne 0x42a3ec
push 0
push 0
push 0x40
push str.Cant_drop_file__Filename_is_empty__W__
call fcn.00420020
add esp, 0x10
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a3f1
sub eax, edx
sar eax, 1
lea eax, [esi + eax + 1]
push 2
push eax
mov dword [ebp + 8], eax
call fcn.004412c0
mov esi, eax
add esp, 8
mov dword [ebp + 0x14], esi
test esi, esi
jne 0x42a437
push eax
push eax
push 0x40
push str.Cant_drop_file__Memory_allocation_failed_
call fcn.00420020
add esp, 0x10
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x4cfb44
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42a440
cmp word [ebx], 0x5c
jne 0x42a497
cmp word [ebx + 2], 0x5c
lea eax, [ebx + 2]
jne 0x42a497
mov ecx, 0x4cfb3c
mov edx, esi
sub edx, ecx
lea edi, [edx + 8]
jmp 0x42a470
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, 2
test dx, dx
jne 0x42a470
mov ecx, esi
sub ecx, eax
lea edx, [ecx + 0xe]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42a486
jmp 0x42a4af
mov edx, esi
sub edx, ebx
mov eax, ebx
add edx, 8
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42a4a0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a4b4
sub eax, edx
sar eax, 1
mov edi, esi
lea ebx, [eax + 1]
add edi, 0xfffffffe
jmp 0x42a4d0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42a4d0
mov eax, dword [0x4c9860]
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42a512
cmp word [eax], 0
je 0x42a512
cmp dword [ebp + 0xc], 0
jne 0x42a512
lea ecx, [ebx + ebx]
sub ecx, eax
lea edx, [ecx + esi]
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42a500
add ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
lea edx, [ebx + ebx]
sub edx, eax
add edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42a520
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a534
sub eax, edx
sar eax, 1
test eax, eax
jle 0x42a562
mov ecx, 0x20
lea esp, [esp]
cmp word [esi + eax*2 - 2], cx
jne 0x42a562
dec eax
xor edx, edx
mov word [esi + eax*2], dx
test eax, eax
jg 0x42a550
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42a59f
test eax, eax
jle 0x42a575
cmp word [esi + eax*2 - 2], 0x5c
jne 0x42a59f
push 0
push 0x164
push str.DragDrop.cpp
push str._nTotal___0____pszFullName_nTotal___1____L_
call fcn.004223a0
push esi
call fcn.00441300
add esp, 0x14
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
push 0x24c
lea eax, [ebp - 0x268]
push 0
push eax
mov dword [ebp - 0x26c], 0
call fcn.004b03e0
add esp, 0xc
lea ecx, [ebp - 0x26c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42a7be
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x42a643
test byte [ebp - 0x26c], 0x10
jne 0x42a7be
mov edx, dword [ebp + 8]
add edx, 0x64
push 2
push edx
call fcn.004412c0
mov ebx, eax
mov eax, str.Cant_create_directory__Same_name_file_exists__n
mov edx, ebx
add esp, 8
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42a610
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a623
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x42a635
jmp 0x42a6a1
test byte [ebp - 0x26c], 0x10
mov edx, dword [ebp + 8]
push 2
je 0x42a6e9
add edx, 0x64
push edx
call fcn.004412c0
mov ebx, eax
mov eax, str.Cant_create_file__Same_name_folder_exists__n
mov edx, ebx
add esp, 8
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42a670
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a683
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x42a695
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x50b39c]
push 0x10
call fcn.004059f0
push eax
mov eax, dword [0x50b384]
push ebx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call fcn.00441300
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00441300
add esp, 8
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
add edx, 0xff
push edx
call fcn.004412c0
mov edi, dword [ebp - 0x24c]
mov ebx, dword [ebp - 0x250]
add esp, 8
mov esi, eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [ebp - 0x10]
movzx edx, word [ebp - 0x12]
movzx eax, word [ebp - 0x14]
push ecx
movzx ecx, word [ebp - 0x1c]
push edx
movzx edx, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x16]
push ecx
push edx
push eax
push ebx
mov ebx, dword [ebp + 0x14]
push edi
push ebx
push str.File_already_exists__n_n_s_nSize:__I64i_nDate:__02i._02i._i__02i:_02i:_02i_n_nOverwrite_
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [0x50b39c]
add esp, 0x2c
push 0x34
call fcn.004059f0
mov ecx, dword [0x50b384]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
mov edi, eax
call fcn.00441300
add esp, 4
cmp edi, 6
je 0x42a798
push ebx
call fcn.00441300
add esp, 4
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
test byte [ebp - 0x26c], 7
je 0x42a7b0
mov edx, dword [ebp + 0x14]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [ebp + 0x14]
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x42a7b3
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a7c7
sub eax, edx
sar eax, 1
test eax, eax
jle 0x42a7b3
cmp word [esi + eax*2 - 2], 0x5c
je 0x42a7b3
mov ecx, 0x5c
mov word [esi + eax*2], cx
xor edx, edx
mov word [esi + eax*2 + 2], dx
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0x101
push str.DragDrop.cpp
push str.Cant_drop_file__Filename_is_empty_
call fcn.004223a0
add esp, 0x10
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10