Function at 0x4e5c50
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5257ec
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.004e4b40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4e5eab
push 0
lea ecx, [ebp - 0x28]
call fcn.00477060
push eax
call fcn.004a3585
add esp, 8
test eax, eax
jne 0x4e5ea6
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 0x539358
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 0x4e5ddd
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.004e4b40
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x38]
call fcn.004070b0
cmp dword [ebp - 0x1c], 0
je 0x4e5dc7
push 0x53936c
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 0x4e5dd8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004070b0
jmp 0x4e6014
jmp 0x4e5e98
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.004e4b40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4e5e98
push 0x539370
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.004e4b40
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x40]
call fcn.004070b0
cmp dword [ebp - 0x1c], 0
je 0x4e5e87
push 0x539374
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 0x4e5e98
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004070b0
jmp 0x4e6014
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004070b0
jmp 0x4e5eab
jmp 0x4e6014
lea eax, [ebp - 0x28]
push eax
call fcn.004e5130
add esp, 4
test eax, eax
je 0x4e600d
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.004e5b60
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.004e5090
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.004e4b40
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x54]
call fcn.004070b0
cmp dword [ebp - 0x50], 0
je 0x4e5ff5
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.004e59f0
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