Function at 0x4e8540
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ccc7
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 1
mov eax, dword [0x53b7dc]
push eax
mov ecx, dword [0x53b7dc]
push ecx
push 0x5c
lea ecx, [ebp + 8]
call fcn.0044d2f0
add eax, 1
push eax
lea edx, [ebp - 0x1d8]
push edx
lea ecx, [ebp + 8]
call fcn.00422250
mov byte [ebp - 4], 2
push 1
push 3
lea ecx, [ebp - 0x19c]
call fcn.00423480
mov byte [ebp - 4], 3
push 0x540f24
push 0
call fcn.004e4dc0
add esp, 4
push edx
push eax
lea ecx, [ebp - 0x18c]
call fcn.0044cf60
push eax
call fcn.00441030
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x19c]
call fcn.004235b0
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x21c]
add eax, 0x24
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.004521f0
add esp, 0xc
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], edx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1d8]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x1bc]
push edx
call fcn.00425f10
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.00402c30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00402c30
lea ecx, [ebp - 0x1bc]
call fcn.0040acf0
push eax
lea ecx, [ebp + 8]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x540f28
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x234], edx
mov byte [ebp - 4], 9
push 0x540f38
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x234]
call fcn.0040acf0
push eax
mov ecx, dword [ebp - 0x238]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x80]
call fcn.00402c30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call fcn.00402c30
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x1f8], esp
lea eax, [ebp + 0x28]
push eax
push edx
call fcn.0051f360
add esp, 8
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1fc], esp
push str.path
call fcn.00402a30
mov dword [ebp - 0x244], eax
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x200], esp
lea eax, [ebp - 0x1bc]
push eax
push edx
call fcn.0051f360
add esp, 8
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 8
call fcn.004675d0
add esp, 0x54
mov ecx, dword [ebp + 0x44]
push ecx
mov edx, dword [ebp + 0x24]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x204], esp
lea eax, [ebp - 0x1bc]
push eax
call fcn.00402b30
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x21c]
call fcn.004e78c0
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x1a0], ecx
cmp dword [ebp - 0x1a0], 0
jne 0x4e8a4c
lea edx, [ebp - 0x1bc]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.004e7430
movzx eax, al
test eax, eax
je 0x4e880b
mov ecx, dword [ebp + 0x24]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x208], esp
lea edx, [ebp - 0x1bc]
push edx
call fcn.00402b30
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x21c]
call fcn.004e83b0
lea ecx, [ebp - 0x1bc]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x540f50
lea ecx, [ebp - 0x1f4]
call fcn.0040ac70
mov byte [ebp - 4], 0xb
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x20c], esp
mov eax, dword [ebp + 0x24]
push eax
call fcn.0050eb50
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x21c]
call fcn.004e4fd0
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x1a0], ecx
cmp dword [ebp - 0x1a0], 0
je 0x4e89e3
lea edx, [ebp - 0x9c]
push edx
push 0
push 0x567f80
push 0x567f6c
push 0
mov eax, dword [ebp - 0x1a0]
push eax
call fcn.00522427
add esp, 0x14
mov ecx, eax
call fcn.004d9320
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x264], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x264]
push edx
lea ecx, [ebp - 0x1f4]
call fcn.00420a50
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x9c]
call fcn.00402c30
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x210], esp
push 0x540f54
lea ecx, [ebp - 0x1f4]
push ecx
push eax
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x268], eax
call fcn.0051f060
add esp, 0x1c
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x4e8957
push 0x540f64
lea edx, [ebp - 0x1bc]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xb8]
call fcn.00402c30
jmp 0x4e89e3
push 0x540f74
lea ecx, [ebp - 0x1bc]
push ecx
lea edx, [ebp - 0xd4]
push edx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0xd
push str._backup
lea ecx, [ebp - 0x1f4]
push ecx
lea edx, [ebp - 0xf0]
push edx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x278]
call fcn.0040acf0
push eax
mov ecx, dword [ebp - 0x27c]
call fcn.0040acf0
push eax
call fcn.00494bd6
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.00402c30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd4]
call fcn.00402c30
mov dword [ebp - 0x214], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1f4]
call fcn.00402c30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.00402c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call fcn.00422150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d8]
call fcn.00402c30
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.00402c30
mov eax, dword [ebp - 0x214]
jmp 0x4e8aa4
mov dword [ebp - 0x218], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.00402c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call fcn.00422150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d8]
call fcn.00402c30
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.00402c30
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0x40