Function at 0x431620
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x431aed
cmp word [edi], 0
je 0x431aed
cmp dword [ebp + 8], 0
push ebx
mov dword [ebp - 8], edi
je 0x431651
mov eax, dword [ecx + 0x20]
mov ebx, dword [eax + 0x30]
jmp 0x431657
mov ecx, dword [ecx + 0x20]
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 0x431660
mov ecx, dword [ebp + 0x10]
sub eax, edx
sar eax, 1
push esi
test ecx, ecx
je 0x431694
cmp word [ecx], 0
je 0x431694
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x431680
mov ebx, dword [ebp + 0x14]
sub ecx, esi
sar ecx, 1
jmp 0x431696
xor ecx, ecx
push 0x5c
push edi
mov dword [ebp - 4], ecx
lea esi, [ecx + eax + 0x12]
call fcn.004ca94c
add esp, 8
test eax, eax
je 0x4316b8
cmp dword [ebp + 0xc], 0
jne 0x4316b8
lea edi, [eax + 2]
mov dword [ebp - 8], edi
cmp word [edi], 0
jne 0x4316de
push 1
push 0xffffffffffffffff
push 0
push 0x40
push str.Cant_drop_file__Filename_is_empty__W__
call fcn.004262f0
add esp, 0x14
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 0x4316e3
sub eax, edx
sar eax, 1
lea eax, [esi + eax + 1]
push 2
push eax
mov dword [ebp + 8], eax
call fcn.0044c490
mov esi, eax
add esp, 8
mov dword [ebp + 0x14], esi
test esi, esi
jne 0x43172c
push 1
push 0xffffffffffffffff
push eax
push 0x40
push str.Cant_drop_file__Memory_allocation_failed_
call fcn.004262f0
add esp, 0x14
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x4e5804
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x431735
cmp word [ebx], 0x5c
jne 0x431787
cmp word [ebx + 2], 0x5c
lea eax, [ebx + 2]
jne 0x431787
mov ecx, 0x4ef2d4
mov edx, esi
sub edx, ecx
lea edi, [edx + 8]
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, 2
test dx, dx
jne 0x431760
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 0x431776
jmp 0x43179f
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 0x431790
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4317a4
sub eax, edx
sar eax, 1
mov edi, esi
lea ebx, [eax + 1]
add edi, 0xfffffffe
jmp 0x4317c0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4317c0
mov eax, dword [0x4e82fc]
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x431802
cmp word [eax], 0
je 0x431802
cmp dword [ebp + 0xc], 0
jne 0x431802
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 0x4317f0
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 0x431810
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431824
sub eax, edx
sar eax, 1
test eax, eax
jle 0x431852
mov ecx, 0x20
lea esp, [esp]
cmp word [esi + eax*2 - 2], cx
jne 0x431852
dec eax
xor edx, edx
mov word [esi + eax*2], dx
test eax, eax
jg 0x431840
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x43188f
test eax, eax
jle 0x431865
cmp word [esi + eax*2 - 2], 0x5c
jne 0x43188f
push 0
push 0x166
push str.DragDrop.cpp
push str._nTotal___0____pszFullName_nTotal___1____L_
call fcn.00428c10
push esi
call fcn.0044c4f0
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.004c9b50
add esp, 0xc
lea ecx, [ebp - 0x26c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x431aae
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x431933
test byte [ebp - 0x26c], 0x10
jne 0x431aae
mov edx, dword [ebp + 8]
add edx, 0x64
push 2
push edx
call fcn.0044c490
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 0x431900
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431913
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x431925
jmp 0x431991
test byte [ebp - 0x26c], 0x10
mov edx, dword [ebp + 8]
push 2
je 0x4319d9
add edx, 0x64
push edx
call fcn.0044c490
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 0x431960
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431973
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x431985
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 [0x52fe2c]
push 0x10
call fcn.00409d20
push eax
mov eax, dword [0x52fe14]
push ebx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call fcn.0044c4f0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0044c4f0
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.0044c490
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 [0x52fe2c]
add esp, 0x2c
push 0x34
call fcn.00409d20
mov ecx, dword [0x52fe14]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
mov edi, eax
call fcn.0044c4f0
add esp, 4
cmp edi, 6
je 0x431a88
push ebx
call fcn.0044c4f0
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 0x431aa0
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 0x431aa3
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431ab7
sub eax, edx
sar eax, 1
test eax, eax
jle 0x431aa3
cmp word [esi + eax*2 - 2], 0x5c
je 0x431aa3
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 0x103
push str.DragDrop.cpp
push str.Cant_drop_file__Filename_is_empty_
call fcn.00428c10
add esp, 0x10
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10