Function at 0x4a2274
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4a25c5
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x4a244c
mov eax, esi
call fcn.004a0f48
xor ecx, ecx
mov edx, 7
mov eax, esi
call fcn.0049fa30
mov byte [0x4c2be1], 0xa
mov eax, dword [0x4c2ca8]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [0x4c2ca4]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [0x4c2cb4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea ecx, [ebp - 0x28]
mov edx, dword [0x4c2bd8]
mov eax, esi
call fcn.0049c8f8
mov edx, dword [ebp - 0x28]
mov eax, 0x4c2ce8
call fcn.00403d48
lea ecx, [ebp - 4]
mov edx, dword [0x4c2bd8]
mov eax, esi
call fcn.0049c8f8
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
call fcn.004689e8
mov edi, eax
dec edi
test edi, edi
jl 0x4a240c
inc edi
xor ebx, ebx
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.00468a18
mov edx, 3
call fcn.0046850c
test al, al
je 0x4a2404
cmp byte [0x4c2c95], 0
je 0x4a2384
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.00468a18
mov edx, dword [eax + 0x24]
mov eax, esi
call fcn.00499688
test al, al
je 0x4a238d
cmp byte [0x4c2c95], 0
jne 0x4a2404
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.00468a18
cmp dword [eax + 0x10], 1
jne 0x4a23d6
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.00468a18
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
call fcn.00403fc0
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4c2ca4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4a2404
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.00468a18
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.00403fc0
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4c2ca8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc ebx
dec edi
jne 0x4a2335
mov eax, dword [0x4c2ca4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4a2440
push 0
mov cx, word [0x4a25d4]
xor edx, edx
mov eax, 0x4a25e0
call fcn.0045aa98
cmp eax, 7
jne 0x4a2440
mov eax, esi
call fcn.004a0fb0
jmp 0x4a25a2
mov eax, esi
call fcn.004a2058
jmp 0x4a25a2
lea eax, [ebp - 0x23]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402cc0
mov byte [ebp - 5], 1
cmp byte [0x4c2c23], 0
je 0x4a2479
cmp byte [0x4c2d84], 0
jne 0x4a2479
mov word [ebp - 0x13], 0x40
jmp 0x4a247f
mov word [ebp - 0x13], 0x54
mov eax, dword [esi + 0x710]
mov eax, dword [eax + 0x20c]
call fcn.004689e8
mov edi, eax
dec edi
test edi, edi
jl 0x4a258b
inc edi
xor ebx, ebx
mov eax, dword [esi + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.00468a18
mov edx, 3
call fcn.0046850c
test al, al
je 0x4a2583
cmp byte [0x4c2c72], 0
je 0x4a2506
lea ecx, [ebp - 0x34]
mov edx, dword [0x4c2bd4]
mov eax, esi
call fcn.0049c8f8
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.00468a18
mov edx, dword [eax + 0x24]
pop eax
call fcn.00403f7c
mov eax, dword [ebp - 0x34]
call fcn.004090ec
jmp 0x4a2583
mov dword [ebp - 0x1f], 3
lea ecx, [ebp - 0x3c]
mov edx, dword [0x4c2bd4]
mov eax, esi
call fcn.0049c8f8
push dword [ebp - 0x3c]
mov eax, dword [esi + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.00468a18
push dword [eax + 0x24]
push 0x4a2650
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404034
mov eax, dword [ebp - 0x38]
call fcn.00404138
mov dword [ebp - 0x1b], eax
lea eax, [ebp - 0x23]
push eax
call sub.shell32.dll_SHFileOperationA
cmp byte [ebp - 5], 0
je 0x4a2579
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x1b]
call fcn.00403eac
mov eax, dword [ebp - 0x40]
call fcn.00408f90
test al, al
jne 0x4a258b
mov word [ebp - 0x13], 0x54
mov byte [ebp - 5], 0
inc ebx
dec edi
jne 0x4a249e
mov eax, esi
call fcn.0049b548
cmp byte [0x4c2d84], 0
je 0x4a25a2
mov eax, esi
call fcn.004a7b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a25cc
lea eax, [ebp - 0x40]
mov edx, 7
call fcn.00403d18
lea eax, [ebp - 4]
call fcn.00403cf4
ret