Function at 0x53aea4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53b131
push dword fs:[eax]
mov dword fs:[eax], esp
or word [0x676030], 1
call fcn.0053ac7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x53af52
cmp dword [eax + 0x24], 0
jle 0x53af52
mov eax, 0x816
call fcn.004accd0
call fcn.004ac668
call fcn.00509538
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x24]
mov eax, dword [0x672928]
mov eax, dword [eax]
call fcn.006592b4
mov eax, dword [ebp - 0xc]
mov cl, 4
mov dl, 3
call fcn.00623608
movzx ebx, ax
call fcn.004ac660
cmp ebx, 6
jne 0x53af2b
push ebp
call fcn.0053acc0
pop ecx
jmp 0x53af52
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x53af52
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ebx*4]
push eax
call sub.kernel32.dll_DeleteFileW
dec ebx
cmp ebx, 0xffffffff
jne 0x53af3a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004028c0
mov eax, dword [0x671ebc]
mov al, byte [eax]
sub al, 2
jae 0x53af6f
push ebp
call fcn.0053ad1c
pop ecx
mov eax, dword [0x671ebc]
mov al, byte [eax]
dec eax
sub al, 2
jae 0x53b048
mov eax, dword [0x6724d0]
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
dec esi
test esi, esi
jl 0x53b000
inc esi
xor ebx, ebx
lea eax, [ebp - 8]
mov edx, dword [0x6724d0]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + ebx*4]
call fcn.004038bc
mov eax, dword [ebp - 8]
call fcn.00624674
test al, al
je 0x53afc9
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00624690
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004038bc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0065897c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004038bc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053a4e0
test al, al
je 0x53b000
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [ebp - 8]
call fcn.004038bc
inc ebx
dec esi
jne 0x53af91
mov eax, dword [0x671ebc]
cmp byte [eax], 2
jne 0x53b048
mov eax, dword [0x676034]
mov esi, dword [eax + 0x18]
dec esi
test esi, esi
jl 0x53b038
inc esi
xor ebx, ebx
mov eax, dword [0x676034]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.0059bfd4
mov eax, 0x118
call fcn.004e5968
inc ebx
dec esi
jne 0x53b01a
mov eax, dword [0x6723cc]
mov byte [eax + 0x1f], 1
push 0
call sub.user32.dll_PostQuitMessage
mov eax, dword [0x672ce4]
mov eax, dword [eax]
mov edx, 6
call fcn.006539d4
mov ebx, 5
mov eax, dword [0x672ce4]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
lea esi, [eax + ebx*4]
lea edx, [ebp - 0x10]
mov eax, dword [esi]
call fcn.0062a0dc
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004038bc
mov eax, dword [esi]
call fcn.00624e94
test al, al
jne 0x53b0a0
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.0048e160
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004038bc
jmp 0x53b0a7
mov eax, esi
call fcn.00625074
dec ebx
cmp ebx, 0xffffffff
jne 0x53b05e
mov eax, dword [0x676034]
cmp dword [eax + 0x18], 0
jne 0x53b0de
mov eax, dword [0x671ebc]
mov al, byte [eax]
sub al, 2
jae 0x53b0de
mov eax, dword [0x671910]
test byte [eax + 7], 1
je 0x53b0de
mov al, 3
call fcn.0061fd9c
test al, al
jne 0x53b0de
call fcn.0053a408
mov eax, dword [0x676034]
cmp dword [eax + 0x18], 0
jne 0x53b0f0
xor eax, eax
call fcn.005093f0
and word [0x676030], 0xfffe
mov eax, dword [0x672cb4]
test byte [eax], 0x10
je 0x53b10b
mov eax, dword [0x6723cc]
mov byte [eax + 0xe], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b138
lea eax, [ebp - 0x10]
call fcn.00403880
lea eax, [ebp - 0xc]
call fcn.00403274
lea eax, [ebp - 8]
call fcn.00403880
ret