Function at 0x4057e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4625dc
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x47e700]
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.0042a268
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x405ac6
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 0x405a93
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x250]
call fcn.0042a32f
push 0
push 0x40
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x250]
call fcn.0042a987
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 + 0x60]
test edi, edi
je 0x405a7d
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 0x405a6f
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00403650
add eax, 0x10
add esp, 4
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x4801f0
call fcn.00414790
cmp dword [edi + 0xc], 0
push 0
push dword [ebp - 0x21c]
je 0x40590e
call fcn.0043982f
jmp 0x405a4e
call fcn.0043982f
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x405968
push str.D:_apreltechSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x224]
call fcn.00401740
push 0x164
push dword [eax]
mov byte [ebp - 4], 5
push ebx
call fcn.00426c80
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 0x40596b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40596b
or ebx, 0xffffffff
push dword [edi + 4]
lea eax, [ebp - 0x220]
push dword [ebp - 0x21c]
push str._s_s
push eax
call fcn.00403ec0
mov ecx, dword [edi + 0x38]
add esp, 0x10
mov edx, dword [edi + 0x3c]
mov eax, ecx
or eax, edx
jne 0x40599a
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.0042a2f3
push 0
push dword [edi + 0x34]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 6
push dword [edi + 0x30]
call fcn.0042abd2
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 0x405a01
call fcn.00423480
jmp 0x405a06
call fcn.00423390
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.0042a65c
push dword [edi + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x264]
call fcn.0042a3b3
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 0x405a6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x22c]
test edi, edi
jne 0x4058b0
lea ecx, [ebp - 0x250]
call fcn.0042a65c
lea ecx, [ebp - 0x250]
call fcn.0042a3b3
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x405aa8
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.00438287
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403310
int3