Function at 0x532068
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 0x5322f3
push dword fs:[eax]
mov dword fs:[eax], esp
or word [0x66c014], 1
call fcn.00531e34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x532114
cmp dword [eax + 0x24], 0
jle 0x532114
mov eax, 0x816
call fcn.0049a860
call fcn.0049a1f8
call fcn.004fe3fc
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x24]
mov eax, 0x532300
call fcn.00655344
mov eax, dword [ebp - 0xc]
mov cl, 4
mov dl, 3
call fcn.0061faa0
movzx ebx, ax
call fcn.0049a1f0
cmp ebx, 6
jne 0x5320ed
push ebp
call fcn.00531e84
pop ecx
jmp 0x532114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x532114
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 0x5320fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004028c0
mov eax, dword [0x6692f4]
mov al, byte [eax]
sub al, 2
jae 0x532131
push ebp
call fcn.00531ee0
pop ecx
mov eax, dword [0x6692f4]
mov al, byte [eax]
dec eax
sub al, 2
jae 0x53220a
mov eax, dword [0x669570]
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
dec esi
test esi, esi
jl 0x5321c2
inc esi
xor ebx, ebx
lea eax, [ebp - 8]
mov edx, dword [0x669570]
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.00620e50
test al, al
je 0x53218b
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00620e6c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004038bc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00654a0c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004038bc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00531698
test al, al
je 0x5321c2
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [ebp - 8]
call fcn.004038bc
inc ebx
dec esi
jne 0x532153
mov eax, dword [0x6692f4]
cmp byte [eax], 2
jne 0x53220a
mov eax, dword [0x66c018]
mov esi, dword [eax + 0x18]
dec esi
test esi, esi
jl 0x5321fa
inc esi
xor ebx, ebx
mov eax, dword [0x66c018]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005939bc
mov eax, 0x118
call fcn.004d8134
inc ebx
dec esi
jne 0x5321dc
mov eax, dword [0x669510]
mov byte [eax + 0x1f], 1
push 0
call sub.user32.dll_PostQuitMessage
mov eax, dword [0x6698dc]
mov eax, dword [eax]
mov edx, 6
call fcn.0064fac4
mov ebx, 5
mov eax, dword [0x6698dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
lea esi, [eax + ebx*4]
lea edx, [ebp - 0x10]
mov eax, dword [esi]
call fcn.00626968
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004038bc
mov eax, dword [esi]
call fcn.00621634
test al, al
jne 0x532262
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.0047a250
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004038bc
jmp 0x532269
mov eax, esi
call fcn.00621814
dec ebx
cmp ebx, 0xffffffff
jne 0x532220
mov eax, dword [0x66c018]
cmp dword [eax + 0x18], 0
jne 0x5322a0
mov eax, dword [0x6692f4]
mov al, byte [eax]
sub al, 2
jae 0x5322a0
mov eax, dword [0x6690d8]
test byte [eax + 7], 1
je 0x5322a0
mov al, 3
call fcn.0061c3e4
test al, al
jne 0x5322a0
call fcn.005315c0
mov eax, dword [0x66c018]
cmp dword [eax + 0x18], 0
jne 0x5322b2
xor eax, eax
call fcn.004fe290
and word [0x66c014], 0xfffe
mov eax, dword [0x6698c8]
test byte [eax], 0x10
je 0x5322cd
mov eax, dword [0x669510]
mov byte [eax + 0xe], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5322fa
lea eax, [ebp - 0x10]
call fcn.00403880
lea eax, [ebp - 0xc]
call fcn.00403274
lea eax, [ebp - 8]
call fcn.00403880
ret