Function at 0x465a40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bcf0
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 0x465a9e
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x465a8a
push eax
mov eax, dword [edi + 0x18]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x465a8a
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
cmp dword [edi + 8], ebx
je 0x465a9e
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x465bd8
lea ecx, [ebp - 0x14]
push ecx
push edi
mov esi, eax
mov dword [ebp - 0x14], ebx
call fcn.00465cf0
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x465bd6
mov esi, dword [ebp - 0x14]
push esi
call fcn.0051e808
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
cmp edx, ebx
je 0x465bd6
mov ecx, esi
cmp esi, ebx
je 0x465ae8
mov byte [eax], bl
inc eax
dec ecx
jne 0x465ae2
mov esi, dword [ebp - 0x1c]
mov ecx, edx
mov edx, dword [ebp + 0xc]
push edi
mov eax, esi
call fcn.00465c40
cmp al, 1
jne 0x465aff
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x465bbe
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.00466190
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x465b34
mov eax, 0x54ee24
cmp dword [edi + 0x3c], ebx
je 0x465b5f
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 0x465b8c
cmp eax, ebx
je 0x465b5f
mov dword [ebp - 0x10], 0xa415
jmp 0x465b93
mov ecx, dword [ebp + 8]
call fcn.00466270
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x465b73
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 0x465b93
mov dword [ebp - 0x10], 0xa43d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00507320
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00507320
mov eax, dword [ebp - 0x18]
push eax
call fcn.0051edd3
mov esi, dword [ebp - 0x10]
add esp, 4
jmp 0x465bd8
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x10], 0xa415
call fcn.0051edd3
mov esi, dword [ebp - 0x10]
add esp, 4
jmp 0x465bd8
mov esi, ebx
cmp dword [edi + 0x24], ebx
je 0x465c20
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x465bf7
mov ecx, dword [edi + 0x18]
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x465bf7
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov eax, esi
cmp dword [edi + 8], ebx
je 0x465c22
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