Function at 0x467b60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x109d8]
sub esp, 0x28
push ebx
push edi
push eax
call fcn.004aaec6
add esp, 4
cmp dword [esi + 0x14], 0
jne 0x467d77
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
lea edi, [ebp - 0x18]
mov eax, esi
call fcn.00467930
add esp, 8
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
mov ebx, eax
lea edi, [esi + 0x109f0]
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x8d8]
mov eax, dword [eax + 0x14]
test al, 0x5f
je 0x467c04
and eax, 0x7f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x467c04
push 1
lea ebx, [esi + 0x8dc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nwarning___d_:_could_not_set_file_attributes_n
push ebx
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 0xc
push eax
push ebx
push esi
call ecx
mov ebx, dword [ebp - 4]
mov ecx, dword [esi + 0x10918]
test ecx, ecx
je 0x467ccd
cmp dword [esi + 0x5c], 0
movzx eax, word [esi + 0x10938]
je 0x467ccd
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0x10]
push edx
call fcn.00467610
add esp, 8
test eax, eax
je 0x467ccd
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0x8d8]
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [ebp - 0x10]
push edx
push edi
mov ebx, esi
call fcn.004674f0
add esp, 0xc
cmp eax, 0x4f
jne 0x467cca
cmp dword [esi + 0x38], 0
je 0x467c9c
push 1
lea ebx, [esi + 0x88dc]
mov eax, edi
call fcn.0046d700
push eax
push 0x4dfe2c
lea edi, [esi + 0x8dc]
push edi
call fcn.004a931b
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
cmp dword [esi + 0x38], 0
mov eax, 0x4d54dc
jne 0x467ca1
mov eax, 0x4ce44c
mov ecx, dword [ebp - 8]
push 1
push eax
add ecx, 0xfffffff5
push ecx
lea edi, [esi + 0x8dc]
push str._compressed_WinNT_security_data_missing___d_bytes__s
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0x10
push eax
push edi
push esi
call edx
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x467d03
push 1
lea edi, [esi + 0x8dc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nCreateFile___error__d_when_trying_set_file_time_n
push edi
call fcn.004a931b
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x467d6d
mov ecx, ebx
and cl, 1
movsx edx, cl
neg edx
sbb edx, edx
lea ecx, [ebp - 0x18]
and edx, ecx
push edx
mov edx, ebx
and dl, 2
movsx ecx, dl
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x20]
and ecx, edx
push ecx
and bl, 4
movsx ecx, bl
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x28]
and ecx, edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x467d6d
push eax
lea edi, [esi + 0x8dc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nSetFileTime_failed:__d_n
push edi
call fcn.004a931b
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret