Function at 0x4d2df8
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 0x4d30b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x3d8]
mov eax, dword [eax + 0x22c]
call fcn.0044fd8c
mov eax, dword [ebx + 0x3a0]
mov eax, dword [eax + 0x22c]
call fcn.0044fc98
dec eax
test eax, eax
jl 0x4d308a
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp byte [ebx + 0x3f4], 5
je 0x4d308a
mov eax, dword [ebx + 0x3a0]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.0044fcc8
call fcn.0044f630
test al, al
je 0x4d307e
mov eax, dword [ebx + 0x3a0]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.0044fcc8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc]
mov edx, 2
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x3fc]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4d307e
inc edi
mov dword [ebp - 8], 0
cmp byte [ebx + 0x3f4], 5
je 0x4d307e
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3fc]
call fcn.0041a634
mov esi, eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 4]
call fcn.00409888
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408b18
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00404bf4
jne 0x4d3074
mov eax, dword [ebx + 0x3d8]
mov eax, dword [eax + 0x22c]
call fcn.0044fc3c
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x10]
call fcn.0044f6dc
mov eax, dword [ebx + 0x3c0]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4d2f72
mov eax, dword [esi + 4]
call fcn.00409768
test al, al
je 0x4d2f5d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d30cc
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d3074
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d30e4
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d3074
mov eax, dword [ebx + 0x3c4]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4d2fed
xor eax, eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], 3
lea eax, [ebp - 0x40]
mov ecx, 0x4d30fc
mov edx, dword [esi + 4]
call fcn.00404af4
mov eax, dword [ebp - 0x40]
call fcn.00404ca8
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 0x4d2fd8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d30cc
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d3074
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d30e4
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d3074
mov eax, dword [ebx + 0x3c8]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4d3074
xor eax, eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], 1
lea eax, [ebp - 0x44]
mov ecx, 0x4d30fc
mov edx, dword [esi + 4]
call fcn.00404af4
mov eax, dword [ebp - 0x44]
call fcn.00404ca8
mov dword [ebp - 0x2a], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x3cc]
call fcn.00469cd4
mov eax, dword [ebp - 0x48]
call fcn.00404ca8
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 0x4d3064
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d3108
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d3074
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d311c
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 8]
dec edi
jne 0x4d2ec7
inc dword [ebp - 4]
dec dword [ebp - 0x14]
jne 0x4d2e5b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d30bc
lea eax, [ebp - 0x48]
call fcn.004047e8
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.0040480c
lea eax, [ebp - 0xc]
call fcn.004047e8
ret