Function at 0x4ebc30
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52db01
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xf8
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xb8
call fcn.004efad0
mov eax, dword [ebp - 0x3c]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004e5240
mov ecx, dword [ebp - 0x3c]
add ecx, 0x74
push ecx
mov edx, esp
mov dword [ebp - 0x28], esp
push ecx
mov ecx, edx
call fcn.00418970
mov dword [ebp - 0x40], eax
call fcn.004497b0
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
ja 0x4ebcc4
cmp dword [ebp - 0x14], 0x800000
jbe 0x4ebd24
lea ecx, [ebp - 0x20]
call fcn.004457d0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x74]
push eax
push str._s.bak
lea ecx, [ebp - 0x20]
push ecx
call fcn.00428670
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x20]
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x74
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004458f0
mov ecx, dword [ebp - 0x3c]
add ecx, 0x74
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x7c
call fcn.004efad0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.004457d0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0x7c
call fcn.004f0c80
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x7c
call fcn.004f0cc0
test eax, eax
je 0x4ebe6f
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004ec410
test eax, eax
jne 0x4ebd97
jmp 0x4ebd5c
push 0x18
call fcn.004fff64
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
je 0x4ebdbb
mov ecx, dword [ebp - 0x30]
call fcn.004ee410
mov dword [ebp - 0x4c], eax
jmp 0x4ebdc2
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4ebe6a
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00418990
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004ec3a0
mov edx, dword [ebp - 0x24]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004ec260
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00418990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004458f0
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004ec6b0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x54
call fcn.00478cc0
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x4ebd5c
mov ecx, dword [ebp - 0x3c]
add ecx, 0x7c
call fcn.004f0ca0
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004458f0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret