Function at 0x493b50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x507120
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], 1
cmp dword [ebp + 0xc], ebx
je 0x493dd2
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x48], ebx
mov eax, dword [edi + 0xa0]
mov eax, dword [eax]
mov esi, dword [edi + 0x88]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov ebx, dword [edi + 0xa0]
mov eax, dword [edi + 0x88]
test esi, esi
je 0x493bd6
cmp esi, eax
je 0x493bdb
call fcn.004e48f7
cmp dword [esp + 0x28], ebx
je 0x493c27
test esi, esi
jne 0x493c23
call fcn.004e48f7
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esi + 0x18]
jne 0x493bf8
call fcn.004e48f7
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
push eax
push 0x5185e8
lea edi, [esp + 0x24]
call fcn.004807e0
add esp, 8
lea esi, [esp + 0x24]
call fcn.0041c0d0
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 8]
jmp 0x493bc2
mov esi, dword [esi]
jmp 0x493bea
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, str.AssocFileType
xor esi, esi
call fcn.00401640
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, str.Software360zipFileAssoc
mov byte [esp + 0x54], 1
call fcn.00401640
push SHChangeNotifyDeregister
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x58], 0
call fcn.00404630
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x493c71
sub ecx, esi
sar ecx, 1
lea ecx, [ecx + ecx + 2]
push ecx
push ebx
push 1
call fcn.00404720
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x34]
sete byte [esp + 0x17]
add eax, 0xfffffff0
or esi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x493cb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493cd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
je 0x493d13
add ebx, 0xfffffff0
mov dword [esp + 0x48], esi
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x493cfc
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.00492da0
and eax, 1
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x493d96
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x493d48
lea edi, [esp + 0x24]
call fcn.00417740
test eax, eax
je 0x493d48
cmp dword [esp + 0x24], 0
jne 0x493d93
mov esi, str._setup_integration
call fcn.0047f7e0
and dword [esp + 0x18], eax
add ebx, 0xfffffff0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493d7a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
push edi
call fcn.00492da0
add ebx, 0xfffffff0
mov edi, eax
mov dword [esp + 0x48], esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x493dbb
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 4]
lea edi, [esi + 0x88]
push edx
mov ecx, edi
call fcn.00416310
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov eax, dword [edi + 0x18]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x60]
mov ebx, dword [eax]
mov esi, dword [esi + 0x48]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x20], ecx
test esi, esi
je 0x493e25
cmp esi, eax
je 0x493e2a
call fcn.004e48f7
cmp ebx, dword [esp + 0x20]
je 0x493d7a
test esi, esi
jne 0x493ea6
call fcn.004e48f7
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x493e49
call fcn.004e48f7
push 0
lea ecx, [ebx + 0x10]
call fcn.00494910
test esi, esi
jne 0x493eaa
call fcn.004e48f7
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x493e68
call fcn.004e48f7
cmp dword [ebx + 0x18], 0
je 0x493e90
test esi, esi
jne 0x493eae
call fcn.004e48f7
cmp ebx, dword [esi + 0x18]
jne 0x493e81
call fcn.004e48f7
add ebx, 0xc
push ebx
lea edx, [esp + 0x30]
push edx
push edi
call fcn.0041bf70
lea esi, [esp + 0x24]
call fcn.0047a420
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x493e10
mov eax, dword [esi]
jmp 0x493e3f
mov eax, dword [esi]
jmp 0x493e5e
mov esi, dword [esi]
jmp 0x493e77