Function at 0x4034d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456980
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x41], 0
mov ecx, dword [ebp + 8]
call fcn.00403ce0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403d00
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411740
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.00403ce0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403d00
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00411740
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004040c0
push eax
call fcn.0043a905
add esp, 4
test eax, eax
je 0x4035ab
push 0x40a010
call fcn.0043de67
mov edx, dword [eax]
push edx
call fcn.0043e99e
add esp, 4
push eax
push 0x468050
lea eax, [ebp - 0x28]
push eax
push str.DeleteFileError_Path:
push 0x479f10
call fcn.00409ac0
add esp, 8
push eax
call fcn.00409fe0
add esp, 8
push eax
call fcn.00409ac0
add esp, 8
push eax
call fcn.00409ac0
add esp, 8
mov ecx, eax
call fcn.00405360
lea ecx, [ebp - 0x28]
call fcn.004040c0
push eax
lea ecx, [ebp - 0x40]
call fcn.004040c0
push eax
call fcn.0043d8dc
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4035d7
mov byte [ebp - 0x41], 1
jmp 0x403687
mov dword [ebp - 0x48], 0xa
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x48]
sub edx, 1
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x50], 0
jle 0x403687
lea ecx, [ebp - 0x28]
call fcn.004040c0
push eax
lea ecx, [ebp - 0x40]
call fcn.004040c0
push eax
call fcn.0043d8dc
add esp, 8
test eax, eax
je 0x40367c
push 0x40a010
call fcn.0043de67
mov eax, dword [eax]
push eax
call fcn.0043e99e
add esp, 4
push eax
push str._Error:
push str.MoveFileError
push 0x479f10
call fcn.00409ac0
add esp, 8
push eax
call fcn.00409ac0
add esp, 8
push eax
call fcn.00409ac0
add esp, 8
mov ecx, eax
call fcn.00405360
mov dword [ebp - 0x54], 0x3e8
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0040a040
push eax
call fcn.0040a060
add esp, 4
jmp 0x4035de
mov byte [ebp - 0x41], 1
jmp 0x403687
movzx edx, byte [ebp - 0x41]
test edx, edx
jne 0x4036b7
push 1
mov ecx, dword [ebp + 0xc]
call fcn.00403d00
push eax
mov ecx, dword [ebp + 8]
call fcn.00403d00
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4036b3
mov byte [ebp - 0x41], 1
jmp 0x4036b7
mov byte [ebp - 0x41], 0
push 0x40a010
mov eax, dword [ebp - 0x4c]
push eax
push str._Code
lea ecx, [ebp - 0x28]
push ecx
push str._Dst:
lea edx, [ebp - 0x40]
push edx
push str.RenameFile_Src:
push 0x479e28
call fcn.00409ac0
add esp, 8
push eax
call fcn.00409fe0
add esp, 8
push eax
call fcn.00409ac0
add esp, 8
push eax
call fcn.00409fe0
add esp, 8
push eax
call fcn.00409ac0
add esp, 8
mov ecx, eax
call fcn.00405190
mov ecx, eax
call fcn.00405360
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x42], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404250
mov al, byte [ebp - 0x42]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f4e5
mov esp, ebp
pop ebp
ret