Function at 0x53e630
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x53e638
push ecx
push ebx
push esi
push edi
mov byte [ebp - 0x19], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bbc
xor eax, eax
push ebp
push 0x53e95c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1a], 0
mov eax, dword [ebp - 4]
call fcn.004fd39c
mov ebx, eax
test ebx, ebx
je 0x53e930
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 8]
call fcn.0040aa44
cmp dword [ebp - 0x24], 0
je 0x53e930
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004047b0
mov dword [ebp - 0x20], eax
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.0041fce4
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x25], 1
xor eax, eax
push ebp
push 0x53e929
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 4]
test esi, esi
jne 0x53e6c9
call fcn.00405140
jmp 0x53e934
lea eax, [ebp - 8]
mov edx, dword [esi + 4]
call fcn.004057d4
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x18]
call fcn.005006d0
mov eax, dword [ebp - 0xc]
call fcn.00500904
xor esi, esi
lea ecx, [ebp - 0x10]
mov eax, dword [ebx + 0x14]
mov edx, esi
call fcn.00544064
jmp 0x53e749
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004fe830
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004fe830
push 0x20
mov eax, dword [ebp - 0x18]
call fcn.00405bcc
mov edi, eax
push edi
call sub.kernel32.dll_SetFileAttributesA
mov cl, 1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0054446c
push 0x20
push edi
call sub.kernel32.dll_SetFileAttributesA
inc esi
lea ecx, [ebp - 0x10]
mov eax, dword [ebx + 0x14]
mov edx, esi
call fcn.00544064
cmp dword [ebp - 0x10], 0
jne 0x53e6f8
xor eax, eax
call fcn.0051688c
cmp dword [ebx + 0xc], 0
je 0x53e894
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.0041f0a8
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 4
jl 0x53e894
movzx eax, byte [ebp - 0x19]
and al, 4
cmp al, 4
jne 0x53e894
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, 0x53e978
call fcn.00405b64
jne 0x53e81d
lea ecx, [ebp - 0x2c]
mov edx, 3
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x2c]
mov edx, 1
call fcn.0040b16c
push eax
push 0
lea ecx, [ebp - 0x34]
mov edx, 1
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
call fcn.005008f0
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x30]
pop edx
call fcn.004fe830
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
mov edx, 2
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004fe830
mov eax, dword [ebp - 0x3c]
xor edx, edx
pop ecx
call fcn.00517a04
jmp 0x53e894
lea ecx, [ebp - 0x44]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x44]
mov cl, 1
xor edx, edx
call fcn.0051761c
test al, al
je 0x53e894
lea ecx, [ebp - 0x48]
mov edx, 3
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x48]
xor edx, edx
call fcn.0040b16c
push eax
push 0
lea ecx, [ebp - 0x4c]
mov edx, 1
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
mov edx, 2
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.004fe830
mov eax, dword [ebp - 0x50]
xor edx, edx
pop ecx
call fcn.00517a04
cmp dword [ebx + 0x10], 0
je 0x53e913
movzx eax, byte [ebp - 0x19]
and al, 2
cmp al, 2
jne 0x53e913
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x20]
call fcn.0041f0a8
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 3
jl 0x53e913
lea ecx, [ebp - 0x58]
mov edx, 2
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x58]
xor edx, edx
call fcn.0040b16c
push eax
push 1
lea ecx, [ebp - 0x5c]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x64]
mov edx, 1
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0xc]
call fcn.004fe830
mov eax, dword [ebp - 0x60]
xor edx, edx
pop ecx
call fcn.00517a04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e930
mov eax, dword [ebp - 0x20]
call fcn.004047e0
ret
mov byte [ebp - 0x1a], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e963
lea eax, [ebp - 0x64]
mov edx, 0x11
call fcn.00405760
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405760
ret