Function at 0x465880
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bb70
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
cmp dword [edi + 0x24], ebx
je 0x4658de
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4658ca
push eax
mov eax, dword [edi + 0x18]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x4658ca
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
cmp dword [edi + 8], ebx
je 0x4658de
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x465a18
lea ecx, [ebp - 0x14]
push ecx
push edi
mov esi, eax
mov dword [ebp - 0x14], ebx
call fcn.00465b30
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x465a16
mov esi, dword [ebp - 0x14]
push esi
call fcn.0051e738
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
cmp edx, ebx
je 0x465a16
mov ecx, esi
cmp esi, ebx
je 0x465928
mov byte [eax], bl
inc eax
dec ecx
jne 0x465922
mov esi, dword [ebp - 0x1c]
mov ecx, edx
mov edx, dword [ebp + 0xc]
push edi
mov eax, esi
call fcn.00465a80
cmp al, 1
jne 0x46593f
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x4659fe
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push eax
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 4], ebx
call fcn.00465fd0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x465974
mov eax, 0x54ee24
cmp dword [edi + 0x3c], ebx
je 0x46599f
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push ebx
push 1
push eax
mov eax, dword [ebp - 0x14]
push ebx
push eax
push esi
call edx
cmp eax, 0xfffffff1
je 0x4659cc
cmp eax, ebx
je 0x46599f
mov dword [ebp - 0x10], 0xa415
jmp 0x4659d3
mov ecx, dword [ebp + 8]
call fcn.004660b0
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x4659b3
mov eax, 0x54ee24
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
call fcn.00508010
mov dword [ebp - 0x10], ebx
jmp 0x4659d3
mov dword [ebp - 0x10], 0xa43d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00445e70
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00445e70
mov eax, dword [ebp - 0x18]
push eax
call fcn.0051ed03
mov esi, dword [ebp - 0x10]
add esp, 4
jmp 0x465a18
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x10], 0xa415
call fcn.0051ed03
mov esi, dword [ebp - 0x10]
add esp, 4
jmp 0x465a18
mov esi, ebx
cmp dword [edi + 0x24], ebx
je 0x465a60
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x465a37
mov ecx, dword [edi + 0x18]
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x465a37
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov eax, esi
cmp dword [edi + 8], ebx
je 0x465a62
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc