Function at 0x4c2130
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f8ad3
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov bl, byte [esp + 0xd0]
mov ebp, dword [esp + 0xc8]
test bl, 1
je 0x4c21ae
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.004c11a0
add esp, 8
test al, al
je 0x4c21ae
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.004d5790
add esp, 8
test al, 1
je 0x4c21ae
push 0x20
push ebp
call fcn.004c1140
add esp, 8
test bl, 2
jne 0x4c2200
push 0
lea edx, [esp + 0x48]
push ebp
push edx
call fcn.004d4000
mov ebx, 8
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x4c21d2
mov eax, dword [eax + 4]
jmp 0x4c21d5
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
cmp dword [esp + 0x5c], ebx
jb 0x4c21f1
mov eax, dword [esp + 0x48]
push eax
call fcn.0048d108
add esp, 4
test esi, esi
je 0x4c2481
mov al, 1
jmp 0x4c231a
push ebp
lea ecx, [esp + 0x80]
call fcn.00436550
mov eax, dword [esp + 0x90]
cmp eax, 0x104
mov dword [esp + 0xc0], 0
mov ebx, 8
jl 0x4c23a2
push 0
lea ecx, [esp + 0x9c]
push ebp
push ecx
call fcn.004d4000
add esp, 0xc
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xc0], 1
cmp dword [esp + 0xb0], ebx
jae 0x4c2261
lea eax, [esp + 0x9c]
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
push eax
call esi
test eax, eax
je 0x4c22ee
mov edi, dword [esp + 0x9c]
cmp dword [esp + 0xb0], ebx
jae 0x4c2289
lea edi, [esp + 0x9c]
push eax
push eax
lea ecx, [esp + 0x84]
call fcn.004c15a0
push eax
push edi
call esi
mov esi, eax
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x4c22b4
lea eax, [esp + 0x80]
push eax
call fcn.004c1a50
mov ecx, dword [esp + 0x94]
add esp, 4
cmp eax, ecx
ja 0x4c22d9
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x84]
call fcn.0041ad00
jmp 0x4c22ea
sub eax, ecx
push 0
push eax
lea ecx, [esp + 0x84]
call fcn.00447e90
test esi, esi
jne 0x4c2342
cmp byte [esp + 0xcc], 0
je 0x4c2303
push ebp
push 0xd9
call fcn.004c1d80
lea ecx, [esp + 0x98]
call fcn.00435d50
lea ecx, [esp + 0x7c]
call fcn.00435d50
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0048d9be
add esp, 0xb0
ret
lea edx, [esp + 0x7c]
push edx
call fcn.004d3b40
add esp, 4
test eax, eax
jle 0x4c2387
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x84]
call fcn.004c1b00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], 2
call fcn.0041b190
lea ecx, [esp + 0x60]
call fcn.00435d50
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 0
call fcn.00435d50
mov eax, dword [esp + 0x90]
lea ecx, [eax + eax + 4]
push 1
push ecx
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.004d3530
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x4c23cb
lea eax, [esp + 0x80]
lea edx, [esi + esi]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.0048fa10
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x24]
mov ecx, 0x454
push eax
mov dword [esp + 0x2c], 3
mov word [esp + 0x38], cx
mov dword [esp + 0x30], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x4c242c
cmp dword [esp + 0x36], eax
jne 0x4c242c
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], al
call fcn.004d3560
lea ecx, [esp + 0x7c]
call fcn.00435d50
mov al, 1
jmp 0x4c231a
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0
call fcn.004d3560
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x94], ebx
jb 0x4c2461
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0048d108
add esp, 4
xor edx, edx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], dx
cmp byte [esp + 0xcc], 0
je 0x4c2318
push ebp
push 0xd9
call fcn.004c1d80
int3