Function at 0x420560
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580197
mov eax, dword fs:[0]
push eax
mov eax, 0x1268
call fcn.00555a40
mov eax, dword [0x5e3f80]
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 ebx, ecx
mov dword [ebp - 0x122c], ebx
mov dword [ebp - 4], 1
call fcn.00421e97
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42097d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1230], edi
mov dword [ebp - 4], 2
mov eax, dword [ebx]
cmp dword [eax + 0x18], 0
jne 0x4205e4
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jmp 0x420928
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x1258]
call fcn.0042422c
push 0
push 0x40
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1258]
call fcn.004248ab
mov eax, dword [ebp - 0x1258]
lea ecx, [ebp - 0x1258]
push 0
push 0
push 0
call dword [eax + 0x2c]
mov eax, dword [ebx]
or esi, 0xffffffff
mov ebx, dword [eax + 0x60]
test ebx, ebx
je 0x420907
lea eax, [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0x1234], ebx
mov ebx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1224], ebx
cmp dword [ebx + 8], eax
jne 0x4208f6
mov eax, dword [ebx + 0x10]
sub eax, 0x10
push eax
call fcn.0040a0c0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1220], eax
lea eax, [ebp - 0x1220]
mov byte [ebp - 4], 4
push eax
call fcn.0040d3a0
cmp dword [ebx + 0xc], 0
mov esi, dword [ebp - 0x1220]
push 0
push esi
je 0x4206a2
call fcn.00556773
jmp 0x4208da
call fcn.00556773
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x1228], ecx
test eax, eax
jne 0x420950
push dword [ebx + 4]
lea eax, [ebp - 0x1230]
push esi
push 0x5c30d8
push eax
call fcn.0040a030
mov edx, dword [ebp - 0x1224]
add esp, 0x10
mov ebx, dword [ebx + 0x38]
mov eax, ebx
mov dword [ebp - 0x123c], ebx
mov ecx, dword [edx + 0x3c]
or eax, ecx
mov dword [ebp - 0x121c], ecx
jne 0x420704
mov ebx, dword [edx + 0x40]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x123c], ebx
mov dword [ebp - 0x121c], eax
mov edi, dword [ebp - 0x1230]
lea ecx, [ebp - 0x1274]
push 0x1001
push edi
call fcn.004241f0
mov eax, dword [ebp - 0x1224]
lea ecx, [ebp - 0x1258]
push 0
mov byte [ebp - 4], 6
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.00424af6
mov ecx, dword [ebp - 0x1224]
mov eax, dword [ecx + 0x38]
or eax, dword [ecx + 0x3c]
je 0x4207b6
mov ecx, dword [ebp - 0x122c]
mov eax, dword [ebp - 0x1258]
push ebx
push dword [ecx + 0x38]
lea ecx, [ebp - 0x1258]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x122c]
lea edx, [ebp - 0x1238]
push edx
push ebx
mov dword [ebp - 0x1238], 0
push dword [ecx + 0x38]
mov eax, dword [ecx + 0x30]
push 0x6000000
push dword [ecx + 0x3c]
push 2
call eax
mov ebx, eax
test ebx, ebx
jne 0x420987
mov ecx, dword [ebp - 0x122c]
push dword [ebp - 0x1238]
mov eax, dword [ebp - 0x1274]
push dword [ecx + 0x3c]
lea ecx, [ebp - 0x1274]
call dword [eax + 0x3c]
jmp 0x42088c
mov edi, dword [ebp - 0x123c]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x121c]
movlpd qword [ebp - 0x1244], xmm0
mov edx, dword [ebp - 0x1240]
mov esi, dword [ebp - 0x1244]
mov dword [ebp - 0x1228], edx
nop
test edi, edi
jne 0x4207ef
test eax, eax
jne 0x4207ef
mov eax, 0x1000
jmp 0x42081f
mov ecx, dword [ebp - 0x121c]
mov eax, edi
sub eax, esi
sbb ecx, edx
test ecx, ecx
jb 0x420819
ja 0x420808
cmp eax, 0x1000
jbe 0x420819
mov eax, 0x1000
mov dword [ebp - 0x1240], 0
jmp 0x42081f
mov dword [ebp - 0x1240], ecx
mov ecx, dword [ebp - 0x1258]
push eax
lea eax, [ebp - 0x1218]
push eax
mov edx, dword [ecx + 0x38]
lea ecx, [ebp - 0x1258]
call edx
mov ebx, eax
test ebx, ebx
je 0x420857
mov ecx, dword [ebp - 0x1274]
lea eax, [ebp - 0x1218]
push ebx
push eax
mov edx, dword [ecx + 0x3c]
lea ecx, [ebp - 0x1274]
call edx
mov edx, dword [ebp - 0x1228]
add esi, ebx
mov eax, dword [ebp - 0x121c]
adc edx, 0
mov dword [ebp - 0x1228], edx
cmp edx, eax
ja 0x420880
jb 0x420878
cmp esi, edi
jae 0x420880
test ebx, ebx
jne 0x4207e0
mov esi, dword [ebp - 0x1220]
mov edi, dword [ebp - 0x1230]
mov ebx, dword [ebp - 0x1224]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x1260], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x125c], eax
lea eax, [ebp - 0x1260]
push eax
push 0
push eax
push dword [ebp - 0x1270]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [ebp - 0x1274]
call fcn.00424580
push dword [ebx + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x1274]
call fcn.004242b0
or eax, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4208f6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x1234]
test ebx, ebx
jne 0x420642
or esi, 0xffffffff
lea ecx, [ebp - 0x1258]
call fcn.00424580
lea ecx, [ebp - 0x1258]
call fcn.004242b0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x420932
mov ecx, dword [edi]
push edi
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.00554ea8
mov esp, ebp
pop ebp
ret 4
push str.D:_apreltechSibSiblSibJsInstall.cpp
lea ecx, [ebp - 0x1234]
call fcn.00402ce0
push 0xd8
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00402de0
mov ecx, dword [ebp - 0x1228]
mov edx, eax
call fcn.0041d6c0
push 0x80004005
call fcn.00403280
push str.D:_apreltechSibSiblSiblLznt.cpp
lea ecx, [ebp - 0x1234]
call fcn.00402ce0
push 0x69
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00402de0
mov edx, eax
mov ecx, ebx
call fcn.0041d6c0
int3