Function at 0x57149c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5714a5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5717a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
mov eax, dword [ebx + 0x418]
mov eax, dword [eax + 0x278]
call fcn.0049511c
mov esi, eax
dec esi
cmp esi, 0
jl 0x57152b
mov eax, dword [ebx + 0x418]
mov eax, dword [eax + 0x278]
mov edx, esi
call fcn.00495154
mov edx, 3
call fcn.00494c14
cmp al, 1
jne 0x571525
mov eax, dword [ebx + 0x418]
mov eax, dword [eax + 0x278]
mov edx, esi
call fcn.00495154
xor ecx, ecx
mov edx, 3
call fcn.00494c84
dec esi
cmp esi, 0xffffffff
jne 0x5714e5
dec edi
jne 0x571535
mov eax, ebx
call fcn.0056fab8
mov edx, 1
mov eax, ebx
call fcn.0056f388
mov eax, dword [ebx + 0x4ec]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5716b8
mov edx, 1
xor eax, eax
call fcn.004a6b2c
mov eax, dword [ebx + 0x4ec]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5716a4
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [ebx + 0x4ec]
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409fb0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
call fcn.004a641c
mov eax, dword [ebp - 4]
call fcn.0040a95c
test al, al
je 0x571642
mov eax, dword [ebp - 4]
call fcn.004a5818
cmp edx, 0
jne 0x5715c6
cmp eax, 0xc800000
jbe 0x5715d8
jmp 0x5715c8
jle 0x5715d8
mov eax, dword [ebp - 4]
call fcn.00405774
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x571642
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x587700]
mov eax, dword [eax]
mov ecx, 0x5717bc
mov edx, 0x5717dc
call fcn.004a42ac
push dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004a65d0
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x587700]
mov eax, dword [eax]
mov ecx, 0x5717f8
mov edx, 0x5717dc
call fcn.004a42ac
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405678
mov eax, dword [ebp - 0x1c]
mov edx, 2
call fcn.004a6b2c
mov eax, dword [ebp - 4]
call fcn.004a58ec
mov edx, dword [0x587d98]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x571814
call fcn.004055fc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.0040570c
je 0x57169a
mov edx, dword [0x587d98]
mov edx, dword [edx]
lea eax, [ebp - 0x30]
mov ecx, 0x571828
call fcn.004055fc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0040570c
je 0x57169a
mov eax, dword [ebp - 8]
call fcn.004c8824
test al, al
je 0x57169a
mov eax, dword [ebp - 8]
call fcn.004a5660
inc esi
dec dword [ebp - 0x14]
jne 0x57157a
mov eax, dword [ebx + 0x4ec]
mov edx, dword [eax]
call dword [edx + 0x44]
xor edx, edx
xor eax, eax
call fcn.004a6b2c
xor edx, edx
mov eax, dword [ebx + 0x410]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [ebx + 0x378]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x454]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x458]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x430]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x380]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x384]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x388]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x38c]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x390]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x39c]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x3a0]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x3a4]
call fcn.00453cb4
xor edx, edx
mov eax, dword [ebx + 0x394]
call fcn.00453cb4
mov eax, ebx
call fcn.0056db2c
cmp dword [ebp - 0xc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5717a8
lea eax, [ebp - 0x30]
mov edx, 7
call fcn.00405308
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405308
ret