Function at 0x41d730
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4568bc
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x46d700]
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.0041f262
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x41da16
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 0x41d9e3
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x250]
call fcn.004201f4
push 0
push 0x40
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x250]
call fcn.0042084c
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 0x41d9cd
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 0x41d9bf
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00404af0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x46f120
call fcn.0040d2c0
cmp dword [edi + 0xc], 0
push 0
push dword [ebp - 0x21c]
je 0x41d85e
call fcn.0042e8da
jmp 0x41d99e
call fcn.0042e8da
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x41d8b8
push str.D:_apreltechSibSiblSibJsInstall.cpp
lea ecx, [ebp - 0x224]
call fcn.00401580
push 0xd8
push dword [eax]
mov byte [ebp - 4], 5
push ebx
call fcn.0041b870
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 0x41d8bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41d8bb
or ebx, 0xffffffff
push dword [edi + 4]
lea eax, [ebp - 0x220]
push dword [ebp - 0x21c]
push 0x458900
push eax
call fcn.00406ac0
mov ecx, dword [edi + 0x38]
add esp, 0x10
mov edx, dword [edi + 0x3c]
mov eax, ecx
or eax, edx
jne 0x41d8ea
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.004201b8
push 0
push dword [edi + 0x34]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 6
push dword [edi + 0x30]
call fcn.00420a97
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 0x41d951
call fcn.0041a810
jmp 0x41d956
call fcn.0041a720
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.00420521
push dword [edi + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x264]
call fcn.00420278
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 0x41d9bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x22c]
test edi, edi
jne 0x41d800
lea ecx, [ebp - 0x250]
call fcn.00420521
lea ecx, [ebp - 0x250]
call fcn.00420278
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41d9f8
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.0042d32f
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004017b0
int3