Function at 0x45c590
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fa00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x559024]
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 0x45c5ee
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x45c5da
push eax
mov eax, dword [edi + 0x18]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x45c5da
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
cmp dword [edi + 8], ebx
je 0x45c5ee
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x45c728
lea ecx, [ebp - 0x14]
push ecx
push edi
mov esi, eax
mov dword [ebp - 0x14], ebx
call fcn.0045c840
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x45c726
mov esi, dword [ebp - 0x14]
push esi
call fcn.0051410b
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
cmp edx, ebx
je 0x45c726
mov ecx, esi
cmp esi, ebx
je 0x45c638
mov byte [eax], bl
inc eax
dec ecx
jne 0x45c632
mov esi, dword [ebp - 0x1c]
mov ecx, edx
mov edx, dword [ebp + 0xc]
push edi
mov eax, esi
call fcn.0045c790
cmp al, 1
jne 0x45c64f
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x45c70e
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.0045cce0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x45c684
mov eax, 0x538640
cmp dword [edi + 0x3c], ebx
je 0x45c6af
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 0x45c6dc
cmp eax, ebx
je 0x45c6af
mov dword [ebp - 0x10], 0xa415
jmp 0x45c6e3
mov ecx, dword [ebp + 8]
call fcn.0045cdc0
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x45c6c3
mov eax, 0x538640
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
call fcn.004fce50
mov dword [ebp - 0x10], ebx
jmp 0x45c6e3
mov dword [ebp - 0x10], 0xa43d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.004fc190
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004fc190
mov eax, dword [ebp - 0x18]
push eax
call fcn.00514116
mov esi, dword [ebp - 0x10]
add esp, 4
jmp 0x45c728
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x10], 0xa415
call fcn.00514116
mov esi, dword [ebp - 0x10]
add esp, 4
jmp 0x45c728
mov esi, ebx
cmp dword [edi + 0x24], ebx
je 0x45c770
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x45c747
mov ecx, dword [edi + 0x18]
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x45c747
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov eax, esi
cmp dword [edi + 8], ebx
je 0x45c772
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