Function at 0x4ebd7c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ec039
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x3a0]
mov eax, dword [eax + 0x22c]
call fcn.00452094
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x22c]
call fcn.00451fa0
dec eax
test eax, eax
jl 0x4ec00e
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp byte [ebx + 0x3d4], 5
je 0x4ec00e
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00451fd0
call fcn.0045192c
test al, al
je 0x4ec002
mov eax, dword [ebx + 0x368]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00451fd0
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc]
mov edx, 2
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x3dc]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4ec002
inc edi
mov dword [ebp - 8], 0
cmp byte [ebx + 0x3d4], 5
je 0x4ec002
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3dc]
call fcn.0041a6f0
mov esi, eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 4]
call fcn.00409988
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408b3c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00404bd8
jne 0x4ebff8
mov eax, dword [ebx + 0x3a0]
mov eax, dword [eax + 0x22c]
call fcn.00451f38
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x10]
call fcn.004519d8
mov eax, dword [ebx + 0x388]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4ebef6
mov eax, dword [esi + 4]
call fcn.004098bc
test al, al
je 0x4ebee1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4ec050
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ebff8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4ec068
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ebff8
mov eax, dword [ebx + 0x38c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4ebf71
xor eax, eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], 3
lea eax, [ebp - 0x40]
mov ecx, 0x4ec080
mov edx, dword [esi + 4]
call fcn.00404ad8
mov eax, dword [ebp - 0x40]
call fcn.00404c8c
mov dword [ebp - 0x2a], eax
xor eax, eax
mov dword [ebp - 0x26], eax
mov word [ebp - 0x22], 0x450
lea eax, [ebp - 0x32]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
jne 0x4ebf5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4ec050
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ebff8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4ec068
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ebff8
mov eax, dword [ebx + 0x390]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4ebff8
xor eax, eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], 1
lea eax, [ebp - 0x44]
mov ecx, 0x4ec080
mov edx, dword [esi + 4]
call fcn.00404ad8
mov eax, dword [ebp - 0x44]
call fcn.00404c8c
mov dword [ebp - 0x2a], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x394]
call fcn.0046ddac
mov eax, dword [ebp - 0x48]
call fcn.00404c8c
mov dword [ebp - 0x26], eax
mov word [ebp - 0x22], 0x450
lea eax, [ebp - 0x32]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
jne 0x4ebfe8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4ec08c
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ebff8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4ec0a0
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 8]
dec edi
jne 0x4ebe4b
inc dword [ebp - 4]
dec dword [ebp - 0x14]
jne 0x4ebddf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec040
lea eax, [ebp - 0x48]
call fcn.004047cc
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.004047f0
lea eax, [ebp - 0xc]
call fcn.004047cc
ret