Function at 0x4e5c90
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52582c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x28]
call fcn.004070d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0046f770
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407020
mov ecx, dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040a960
lea ecx, [ebp - 0x28]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004e4b80
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4e5eeb
push 0
lea ecx, [ebp - 0x28]
call fcn.00477060
push eax
call fcn.004a3585
add esp, 8
test eax, eax
jne 0x4e5ee6
lea ecx, [ebp - 0x2c]
call fcn.004070d0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov edx, dword [ebp - 0x28]
push edx
push 0x539370
lea eax, [ebp - 0x2c]
push eax
call fcn.00407e40
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call fcn.00477060
push eax
lea ecx, [ebp - 0x28]
call fcn.00477060
push eax
call fcn.004a3599
add esp, 8
test eax, eax
je 0x4e5e1d
push str.0000_
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004e4b80
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x38]
call fcn.004070b0
cmp dword [ebp - 0x1c], 0
je 0x4e5e07
push 0x539384
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x6c], eax
push 5
lea ecx, [ebp - 0x28]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x3c]
call fcn.004070b0
jmp 0x4e5e18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004070b0
jmp 0x4e6054
jmp 0x4e5ed8
push 4
push 0
lea ecx, [ebp - 0x2c]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x28]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004e4b80
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4e5ed8
push 0x539388
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004e4b80
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x40]
call fcn.004070b0
cmp dword [ebp - 0x1c], 0
je 0x4e5ec7
push 0x53938c
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x74], eax
push 5
lea ecx, [ebp - 0x28]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x44]
call fcn.004070b0
jmp 0x4e5ed8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004070b0
jmp 0x4e6054
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004070b0
jmp 0x4e5eeb
jmp 0x4e6054
lea eax, [ebp - 0x28]
push eax
call fcn.004e5170
add esp, 4
test eax, eax
je 0x4e604d
lea ecx, [ebp - 0x34]
call fcn.004070d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004070d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
push ecx
call fcn.004e5ba0
add esp, 4
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404380
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.004070b0
lea ecx, [ebp - 0x28]
call fcn.00477060
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004e50d0
add esp, 8
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x34]
call fcn.00404380
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.004070b0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.00407640
add esp, 0xc
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004e4b80
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x54]
call fcn.004070b0
cmp dword [ebp - 0x50], 0
je 0x4e6035
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406750
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.00407640
add esp, 0xc
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x98]
push edx
mov byte [ebp - 4], 8
call fcn.004e5a30
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.004070b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004070b0
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004070b0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4