Function at 0x4c1cc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x914c]
xor ebx, ebx
mov cl, 1
mov byte [ebp - 0xd], cl
cmp eax, ebx
je 0x4c2029
lea esi, [ebp - 0x78]
call fcn.0050e8f0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x74], ebx
jle 0x4c1ff8
mov eax, dword [edi + 0x914c]
mov dword [ebp - 0x18], ebx
cmp dword [eax + 0xc], ebx
jle 0x4c1d46
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp ecx, eax
je 0x4c1d46
sub eax, ecx
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
xor edi, edi
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], ebx
jle 0x4c1fbe
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x4c1d81
mov eax, 0x538640
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004fc310
add esp, 8
cmp dword [ebp - 0x38], ebx
jle 0x4c1da7
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
push ecx
push ebx
push edx
call fcn.00517440
add esp, 0xc
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x914c]
cmp dword [eax + 0xc], ebx
jle 0x4c1eaa
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp esi, eax
je 0x4c1eaa
sub eax, esi
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, ebx
jl 0x4c1eaa
cmp edi, eax
jge 0x4c1eaa
mov eax, dword [ebp - 0x14]
lea eax, [eax + esi]
lea ecx, [ebp - 0x3c]
call fcn.004fce50
cmp dword [ebp - 0x38], ebx
jle 0x4c1ead
mov ecx, dword [ebp - 0x20]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4c1e1d
cmp eax, ecx
jge 0x4c1e1d
mov edx, dword [ebp - 0x24]
cmp word [edx + eax*2], 0x5c
je 0x4c1e56
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.004fd1f0
add esp, 8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x4c1e56
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.004fcfe0
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004fce50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x4c1e93
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x4c1e9f
mov eax, 0x538640
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4c1ead
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x4c1eb9
mov eax, 0x538640
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.004fc310
add esp, 8
cmp dword [ebp - 0x2c], ebx
jle 0x4c1edf
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
push eax
push ebx
push ecx
call fcn.00517440
add esp, 0xc
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x914c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, edi
call fcn.004c7cc0
test al, al
je 0x4c1faa
cmp dword [ebp - 0x2c], ebx
jle 0x4c1fad
mov ecx, dword [ebp - 0x20]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4c1f1d
cmp eax, ecx
jge 0x4c1f1d
mov edx, dword [ebp - 0x24]
cmp word [edx + eax*2], 0x5c
je 0x4c1f56
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004fd1f0
add esp, 8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.004fce50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x4c1f56
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004fcfe0
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004fce50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x4c1f93
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x4c1f9f
mov eax, 0x538640
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4c1fad
mov byte [ebp - 0xd], bl
add dword [ebp - 0x14], 0x1c
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x4c1d75
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4c1fd2
push eax
call fcn.005134a7
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x4c1fe6
push eax
call fcn.005134a7
add esp, 4
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x4c1ffb
push esi
call fcn.005134a7
add esp, 4
jmp 0x4c1ffb
mov byte [ebp - 0xd], bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp eax, ebx
je 0x4c2012
push eax
call fcn.005134a7
add esp, 4
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4