Function at 0x6287a4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6287ac
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x6289fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x10]
call fcn.00404748
xor eax, eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
xor edx, edx
call fcn.004061e8
je 0x6287f4
mov eax, dword [esi + 0x14]
call fcn.0047ff1c
test al, al
je 0x6287f4
mov eax, dword [esi + 0x14]
call fcn.00480090
mov eax, esi
call fcn.00627edc
lea eax, [ebp - 0x14]
mov edx, dword [esi + 0x14]
call fcn.00405938
mov eax, dword [ebp - 0x14]
call fcn.00405b74
push eax
call sub.kernel32.dll_DeleteFileA
mov dl, 1
mov eax, dword [0x41c794]
call fcn.00404718
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x41c794]
call fcn.00404718
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00421ce0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25], 0
mov eax, dword [esi + 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x62890c
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [esi + 0x40]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.0040c820
test al, al
je 0x62888d
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [esi + 0x40]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x628902
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [esi + 0x40]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 4]
call fcn.0040cbe0
mov eax, dword [ebp - 4]
mov edx, dword [0x6919f8]
mov edx, dword [edx]
call fcn.00405ac0
je 0x6288c2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [esi + 0x40]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.0040c7fc
test al, al
je 0x628902
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [esi + 0x40]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
call fcn.00405b74
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
inc ebx
dec dword [ebp - 0x10]
jne 0x62885a
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x628950
lea ecx, [ebp - 0x30]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
call fcn.0040c820
test al, al
je 0x62894a
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
call fcn.0040cd80
dec ebx
cmp ebx, 0xffffffff
jne 0x62891c
mov eax, dword [esi + 0x40]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 8]
call fcn.004124a0
lea eax, [ebp - 0xc]
call fcn.004124a0
mov eax, dword [0x59bd20]
call fcn.0059c894
cmp byte [esi + 0x44], 0
je 0x6289bd
cmp byte [0x7b92fb], 0
je 0x6289cd
mov byte [0x7b92fb], 0
mov eax, dword [esi + 4]
cmp word [eax + 0x4c4f42], 0
je 0x6289aa
mov ebx, eax
movzx edx, byte [0x7b92fb]
mov eax, dword [ebx + 0x4c4f44]
call dword [ebx + 0x4c4f40]
mov eax, dword [esi + 4]
xor edx, edx
mov dword [eax + 0x4c4f40], edx
mov dword [eax + 0x4c4f44], edx
jmp 0x6289cd
cmp byte [0x7b92f9], 0
je 0x6289cd
mov byte [0x7b92f9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x628a04
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004056a8
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.004056a8
lea eax, [ebp - 4]
call fcn.00405684
ret