Function at 0x4d813c
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 0x4d83f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x398]
mov eax, dword [eax + 0x22c]
call fcn.00453138
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x22c]
call fcn.00453044
dec eax
test eax, eax
jl 0x4d83ce
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp byte [ebx + 0x3dc], 5
je 0x4d83ce
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00453074
call fcn.004529d0
test al, al
je 0x4d83c2
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.00453074
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc]
mov edx, 2
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x3e0]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4d83c2
inc edi
mov dword [ebp - 8], 0
cmp byte [ebx + 0x3dc], 5
je 0x4d83c2
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3e0]
call fcn.0041aca0
mov esi, eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 4]
call fcn.00409b10
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408c90
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00404c74
jne 0x4d83b8
mov eax, dword [ebx + 0x398]
mov eax, dword [eax + 0x22c]
call fcn.00452fdc
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x10]
call fcn.00452a7c
mov eax, dword [ebx + 0x380]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4d82b6
mov eax, dword [esi + 4]
call fcn.00409a44
test al, al
je 0x4d82a1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d8410
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d83b8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d8428
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d83b8
mov eax, dword [ebx + 0x384]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4d8331
xor eax, eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], 3
lea eax, [ebp - 0x40]
mov ecx, 0x4d8440
mov edx, dword [esi + 4]
call fcn.00404b74
mov eax, dword [ebp - 0x40]
call fcn.00404d28
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 0x4d831c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d8410
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d83b8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d8428
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d83b8
mov eax, dword [ebx + 0x388]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4d83b8
xor eax, eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], 1
lea eax, [ebp - 0x44]
mov ecx, 0x4d8440
mov edx, dword [esi + 4]
call fcn.00404b74
mov eax, dword [ebp - 0x44]
call fcn.00404d28
mov dword [ebp - 0x2a], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x38c]
call fcn.0046d0b8
mov eax, dword [ebp - 0x48]
call fcn.00404d28
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 0x4d83a8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d844c
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d83b8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, 0x4d8460
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 8]
dec edi
jne 0x4d820b
inc dword [ebp - 4]
dec dword [ebp - 0x14]
jne 0x4d819f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8400
lea eax, [ebp - 0x48]
call fcn.00404868
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.0040488c
lea eax, [ebp - 0xc]
call fcn.00404868
ret