Function at 0x40f380
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d351
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push esi
push edi
mov eax, dword [0x4bf454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x104]
call fcn.0040d920
mov esi, eax
test esi, esi
jne 0x40f3e5
push 0x30
push str.Rename_File
push str.No_file_selected.
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040dcd0
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 0
call fcn.00426960
push eax
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb4]
call dword [eax + 4]
lea ecx, [ebp - 0xf0]
call fcn.004269b0
cmp eax, 1
jne 0x40f6b7
lea ecx, [ebp - 0x5c]
call fcn.0044cc70
lea ecx, [edi + 0xec]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
lea edx, [ebp - 0x5c]
push edx
call dword [eax + 0x18]
lea ecx, [ebp - 0x9c]
call fcn.0044cc70
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.0044cc70
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 3
call fcn.00426960
push eax
lea ecx, [ebp - 0x9c]
call fcn.0044d3d0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0044cd60
lea ecx, [ebp - 0x5c]
call fcn.00426960
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044cbc0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.00426960
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044cbc0
push 0x5c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.0044cf90
test al, al
jne 0x40f4d8
push 0x4ab224
lea ecx, [ebp - 0x2c]
call fcn.0044ced0
push 0x4ab224
lea ecx, [ebp - 0x4c]
call fcn.0044ced0
lea ecx, [ebp - 0x9c]
call fcn.00426960
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044ced0
lea ecx, [ebp - 0x8c]
call fcn.00426960
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044ced0
lea ecx, [ebp - 0x3c]
call fcn.0044cc70
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00426960
push eax
lea ecx, [ebp - 0x2c]
call fcn.00426960
push eax
lea eax, [ebp - 0x3c]
push 0x4ab228
push eax
call fcn.0044d0b0
add esp, 0x10
lea ecx, [ebp - 0x3c]
call fcn.00426960
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x14a
push dword [edi + 0xe4]
call ebx
push 0
push 0
push 0x14e
push dword [edi + 0xe4]
call ebx
lea ecx, [ebp - 0x2c]
call fcn.00426960
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.0044cc70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x7c]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00426960
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0044cc70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.0044cc70
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044cd60
lea ecx, [ebp - 0x6c]
call fcn.00426960
push eax
lea ecx, [ebp - 0x7c]
call fcn.00426960
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x6c]
test eax, eax
jne 0x40f5e6
call fcn.0044cd00
xor bl, bl
jmp 0x40f5ed
call fcn.0044cd00
mov bl, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0044cd00
test bl, bl
jne 0x40f646
lea ecx, [ebp - 0x2c]
call fcn.00426960
push eax
lea eax, [ebp - 0x3c]
push str.Error:_failed_to_rename_local__s_file
push eax
call fcn.0044d0b0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00426960
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x14a
push dword [edi + 0xe4]
call esi
push 0
push 0
push 0x14e
push dword [edi + 0xe4]
call esi
lea ecx, [ebp - 0x1c]
call fcn.0044cc70
lea ecx, [edi + 0xec]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
call dword [eax + 0x18]
lea ecx, [ebp - 0x1c]
call fcn.00426960
push eax
mov ecx, edi
call fcn.00410ff0
lea ecx, [ebp - 0x1c]
call fcn.0044cd00
lea ecx, [ebp - 0x7c]
call fcn.0044cd00
lea ecx, [ebp - 0x3c]
call fcn.0044cd00
lea ecx, [ebp - 0x4c]
call fcn.0044cd00
lea ecx, [ebp - 0x2c]
call fcn.0044cd00
lea ecx, [ebp - 0x8c]
call fcn.0044cd00
lea ecx, [ebp - 0x9c]
call fcn.0044cd00
lea ecx, [ebp - 0x5c]
call fcn.0044cd00
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xf0], vtable.NewFolderDialog.0
call fcn.0044cd00
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc0], vtable.Control.0
mov dword [ebp - 0xcc], vtable.Control.0
mov dword [ebp - 0xf0], vtable.BaseDialog.0
test eax, eax
je 0x40f6fb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x40f70e
push eax
call fcn.004712ea
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret