Function at 0x537d28
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5380cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x537d69
mov eax, dword [ebp - 4]
call fcn.00538bc8
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004045f8
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f3030]
call fcn.004f3508
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0xd8], fcn.00538198
mov eax, dword [ebp - 4]
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0xe0], 0x5381f0
mov eax, dword [ebp - 4]
mov dword [ebx + 0xfc], eax
mov dword [ebx + 0xf8], 0x5387ac
mov eax, dword [ebp - 4]
mov dword [ebx + 0x114], eax
mov dword [ebx + 0x110], 0x5387f0
lea eax, [ebx + 0xa8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
call fcn.00406748
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
lea eax, [ebp - 8]
mov ecx, 0x5380e8
call fcn.00406b1c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004f62e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x68], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
call fcn.0045d964
test al, al
je 0x537f0b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.0045d964
test al, al
je 0x537f0b
xor eax, eax
push ebp
push 0x537e89
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004067d4
push eax
call fcn.004099e8
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov dl, 1
mov eax, dword [0x471d30]
call fcn.00477dd0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x537f5a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
call fcn.0045d964
test al, al
je 0x537f37
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
call fcn.004067d4
push eax
call fcn.0040955c
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov dl, 1
mov eax, dword [0x471d30]
call fcn.00477dd0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x4c]
cmp al, 2
jne 0x538004
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov byte [ebx + 0xc9], 2
lea eax, [ebx + 0xac]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x58]
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xbc
xor edx, edx
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc4
xor edx, edx
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc0
xor edx, edx
call fcn.00406748
jmp 0x5380b0
cmp al, 1
jne 0x5380b0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov byte [ebx + 0xc9], 2
lea eax, [ebx + 0xac]
xor edx, edx
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb0
xor edx, edx
call fcn.00406748
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x54]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x50]
mov eax, 0x53818c
call fcn.00537a70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xbc
xor edx, edx
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc4
xor edx, edx
call fcn.00406748
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc0
xor edx, edx
call fcn.00406748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5380d2
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00406740
ret