Function at 0x410ab0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498141
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x104]
call fcn.0040eee0
mov edi, eax
test edi, edi
jne 0x410b15
push 0x30
push str.Rename_File
push str.No_file_selected.
push dword [esi + 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, [esi + 0xc]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040f250
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0xb4]
push dword [edi + 0x18]
call dword [eax + 4]
lea ecx, [ebp - 0xf0]
call fcn.0042ebb0
cmp eax, 1
jne 0x410e37
lea ecx, [ebp - 0x60]
call fcn.0043a0d0
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
lea edx, [ebp - 0x60]
push edx
call dword [eax + 0x18]
lea ecx, [ebp - 0x50]
call fcn.0043a0d0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.0043a0d0
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x18]
test eax, eax
mov edi, 0x4b0eac
cmovne edi, eax
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410b96
sub ecx, edx
lea eax, [ebp - 0x4c]
sar ecx, 1
push eax
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004217f0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push edi
push ecx
call fcn.00473660
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add esp, 0xc
push dword [ebp - 0xb0]
call dword [eax + 4]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.0043a160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push dword [ebp - 0x5c]
call fcn.0043a160
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
je 0x410c16
cmp word [edx + ecx*2 - 4], 0x5c
je 0x410ca8
push 0x4b174c
lea ecx, [ebp - 0x1c]
call fcn.0043a160
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sub ecx, eax
mov edx, dword [ebp - 0x18]
sub eax, 2
push dword [ebp - 0x30]
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x14]
sub eax, edx
sar eax, 1
dec eax
lea eax, [edx + eax*2]
push eax
push edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00421b10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0043a210
push 0x4b174c
lea ecx, [ebp - 0x1c]
call fcn.0043a160
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
sub ecx, eax
mov edx, dword [ebp - 0x18]
sub eax, 2
push dword [ebp - 0x30]
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x14]
sub eax, edx
sar eax, 1
dec eax
lea eax, [edx + eax*2]
push eax
push edx
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00421b10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0043a210
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
call fcn.0043a3a0
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x40]
call fcn.0043a3a0
lea ecx, [ebp - 0x70]
call fcn.0043a0d0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x3c]
push dword [ebp - 0x28]
push 0x4b1750
push eax
call fcn.0043a670
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x10
push dword [ebp - 0x6c]
push 0
push 0x14a
push dword [esi + 0xe4]
call edi
push 0
push 0
push 0x14e
push dword [esi + 0xe4]
call edi
push dword [ebp - 0x28]
lea ecx, [ebp - 0xa0]
call fcn.00425f10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
push dword [ebp - 0x3c]
call fcn.00425f10
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x8c]
call dword [eax + 4]
push dword [ebp - 0x18]
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x1c]
test eax, eax
jne 0x410da4
call fcn.0043a210
xor bl, bl
jmp 0x410dab
call fcn.0043a210
mov bl, 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.0043a210
test bl, bl
jne 0x410df5
push dword [ebp - 0x28]
lea eax, [ebp - 0x70]
push str.Error:_failed_to_rename_local__s_file
push eax
call fcn.0043a670
add esp, 0xc
push dword [ebp - 0x6c]
push 0
push 0x14a
push dword [esi + 0xe4]
call edi
push 0
push 0
push 0x14e
push dword [esi + 0xe4]
call edi
mov ecx, esi
call fcn.00412d30
lea ecx, [ebp - 0xa0]
call fcn.0043a210
lea ecx, [ebp - 0x70]
call fcn.0043a210
lea ecx, [ebp - 0x40]
call fcn.0043a210
lea ecx, [ebp - 0x2c]
call fcn.0043a210
lea ecx, [ebp - 0x80]
call fcn.0043a210
lea ecx, [ebp - 0x50]
call fcn.0043a210
lea ecx, [ebp - 0x60]
call fcn.0043a210
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xf0], vtable.NewFolderDialog.0
call fcn.0043a210
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 0x410e7b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x410e8e
push eax
call fcn.0047d75a
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