Function at 0x5dafd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5db24c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005dafa0
call fcn.00656a20
mov edi, eax
mov al, byte [0x5db25c]
push eax
xor ecx, ecx
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005c75a8
mov eax, dword [edi + 0x18]
dec eax
test eax, eax
jl 0x5db1de
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [edi + 0x1c]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax + edx*4]
mov eax, dword [ebx + 0xc]
call fcn.0055f4a0
xor ecx, ecx
mov cl, byte [ebp - 5]
inc ecx
mov edx, 1
shl edx, cl
cmp eax, edx
jle 0x5db1d2
xor edx, edx
mov eax, dword [ebx + 0xc]
call fcn.0055e4e0
mov dl, 1
mov eax, dword [0x64dec8]
call fcn.006515a0
mov esi, eax
mov eax, dword [ebx + 0xc]
mov al, byte [eax + 0x46]
sub al, 1
jb 0x5db07d
je 0x5db099
dec al
je 0x5db0a8
jmp 0x5db0b5
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00561c54
lea ecx, [ebp - 0x24]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x1c]
mov edx, esi
call fcn.006286fc
jmp 0x5db0b5
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x38]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x5db0b5
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x3c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [edi + 0x18], 1
jne 0x5db0ca
lea eax, [ebp - 0x10]
mov edx, 0x5db268
call fcn.0040330c
jmp 0x5db0f5
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x34]
mov eax, 0x5db280
mov ecx, 1
call fcn.0065d7d4
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
push eax
call fcn.00501d74
mov ecx, dword [ebp - 0x10]
pop edx
call fcn.004fec24
mov cl, 1
mov dl, byte [ebp - 5]
mov eax, esi
call fcn.006282fc
mov dword [ebp - 0xc], eax
mov eax, esi
call fcn.004028c0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x542b7c]
call fcn.0055e5f4
mov esi, eax
mov byte [esi + 0x46], 1
mov dl, 1
mov eax, dword [0x41ef24]
call fcn.006515a0
mov dword [esi + 0x38], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 0x38]
call fcn.006273fc
mov byte [esi + 0x45], 0
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.006265c4
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.0055e620
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0xc]
call fcn.004028c0
xor ecx, ecx
mov cl, byte [ebp - 5]
inc ecx
mov eax, 1
shl eax, cl
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5432fc]
call fcn.005c9f24
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov edx, dword [ebx + 0x28]
mov dword [eax + 0x10], edx
call fcn.005c9f4c
call fcn.0053a1b8
test al, al
je 0x5db1d2
mov dl, 1
mov eax, dword [ebx + 0xc]
call fcn.0055e4e0
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x5db02d
call fcn.00501d74
mov dl, 1
call fcn.004fec6c
mov eax, edi
call fcn.00656ff0
mov eax, dword [ebp - 4]
call fcn.005ceeb4
mov edx, dword [ebp - 4]
lea esi, [edx + 0x250]
lea edi, [eax + 0x28]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2f8]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 4]
call fcn.005dafa0
mov eax, dword [ebp - 4]
mov byte [eax + 0x3fe], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5db253
lea eax, [ebp - 0x14]
call fcn.00403880
lea eax, [ebp - 0x10]
call fcn.00403274
ret