Function at 0x48c240
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 + 0x90b4]
xor ebx, ebx
mov cl, 1
mov byte [ebp - 0xd], cl
cmp eax, ebx
je 0x48c5a9
lea esi, [ebp - 0x78]
call fcn.0050e8f0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x74], ebx
jle 0x48c578
mov eax, dword [edi + 0x90b4]
mov dword [ebp - 0x18], ebx
cmp dword [eax + 0xc], ebx
jle 0x48c2c6
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp ecx, eax
je 0x48c2c6
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 0x48c53e
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x48c301
mov eax, 0x538640
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004fc310
add esp, 8
cmp dword [ebp - 0x38], ebx
jle 0x48c327
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 + 0x90b4]
cmp dword [eax + 0xc], ebx
jle 0x48c42a
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp esi, eax
je 0x48c42a
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 0x48c42a
cmp edi, eax
jge 0x48c42a
mov eax, dword [ebp - 0x14]
lea eax, [eax + esi]
lea ecx, [ebp - 0x3c]
call fcn.004fce50
cmp dword [ebp - 0x38], ebx
jle 0x48c42d
mov ecx, dword [ebp - 0x20]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x48c39d
cmp eax, ecx
jge 0x48c39d
mov edx, dword [ebp - 0x24]
cmp word [edx + eax*2], 0x5c
je 0x48c3d6
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 0x48c3d6
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 0x48c413
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 0x48c41f
mov eax, 0x538640
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x48c42d
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x48c439
mov eax, 0x538640
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.004fc310
add esp, 8
cmp dword [ebp - 0x2c], ebx
jle 0x48c45f
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 + 0x90b4]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, edi
call fcn.004c7cc0
test al, al
je 0x48c52a
cmp dword [ebp - 0x2c], ebx
jle 0x48c52d
mov ecx, dword [ebp - 0x20]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x48c49d
cmp eax, ecx
jge 0x48c49d
mov edx, dword [ebp - 0x24]
cmp word [edx + eax*2], 0x5c
je 0x48c4d6
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 0x48c4d6
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 0x48c513
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 0x48c51f
mov eax, 0x538640
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x48c52d
mov byte [ebp - 0xd], bl
add dword [ebp - 0x14], 0x1c
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x48c2f5
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x48c552
push eax
call fcn.005134a7
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x48c566
push eax
call fcn.005134a7
add esp, 4
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x48c57b
push esi
call fcn.005134a7
add esp, 4
jmp 0x48c57b
mov byte [ebp - 0xd], bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp eax, ebx
je 0x48c592
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