Function at 0x405b60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584c3c
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5eb1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x228], edi
mov dword [ebp - 4], 1
call fcn.0042613a
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x405e46
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
mov eax, dword [edi]
or ebx, 0xffffffff
mov dword [ebp - 4], 2
cmp dword [eax + 0x18], 0
je 0x405e13
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x250]
call fcn.00426266
push 0
push 0x40
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x250]
call fcn.00426964
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x250]
push 0
push 0
push 0
call dword [eax + 0x2c]
mov eax, dword [edi]
mov edi, dword [eax + 0x5c]
test edi, edi
je 0x405dfd
nop
lea eax, [edi]
mov edi, dword [edi]
mov dword [ebp - 0x22c], edi
mov edi, dword [eax + 8]
mov eax, dword [ebp + 8]
cmp dword [edi + 8], eax
jne 0x405def
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.004039d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x5efc34
call fcn.00414300
cmp dword [edi + 0xc], 0
push 0
push dword [ebp - 0x21c]
je 0x405c8e
call fcn.0055a6e8
jmp 0x405dce
call fcn.0055a6e8
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x405ce8
push str.D:_apreltechSibSiblNew_folderSibInstallerInstall.cpp
lea ecx, [ebp - 0x224]
call fcn.004020a0
push 0x189
push dword [eax]
mov byte [ebp - 4], 5
push ebx
call fcn.00422950
mov edx, dword [ebp - 0x224]
or ebx, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405ceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405ceb
or ebx, 0xffffffff
push dword [edi + 4]
lea eax, [ebp - 0x220]
push dword [ebp - 0x21c]
push str._s_s
push eax
call fcn.00404240
mov ecx, dword [edi + 0x38]
add esp, 0x10
mov edx, dword [edi + 0x3c]
mov eax, ecx
or eax, edx
jne 0x405d1a
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov esi, dword [ebp - 0x220]
push 0x1001
mov dword [ebp - 0x234], ecx
lea ecx, [ebp - 0x264]
push esi
mov dword [ebp - 0x230], edx
call fcn.0042622a
push 0
push dword [edi + 0x34]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 6
push dword [edi + 0x30]
call fcn.00426baf
mov ecx, dword [ebp - 0x228]
mov eax, dword [edi + 0x38]
add ecx, 0x28
or eax, dword [edi + 0x3c]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x250]
push eax
je 0x405d81
call fcn.004218f0
jmp 0x405d86
call fcn.00421800
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x23c], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push 0
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [ebp - 0x264]
call fcn.004265ba
push dword [edi + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x264]
call fcn.004262ea
mov edx, dword [ebp - 0x21c]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405def
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x22c]
test edi, edi
jne 0x405c30
lea ecx, [ebp - 0x250]
call fcn.004265ba
lea ecx, [ebp - 0x250]
call fcn.004262ea
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x405e28
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558ddd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403690
int3