Function at 0x492a20
Capabilities:
Check os version
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x502ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x492d7b
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, 0x510134
xor ebx, ebx
xor esi, esi
call fcn.00401640
push ecx
mov ecx, esp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x24], esp
push ecx
mov ecx, str.SOFTWARERegisteredApplications
call fcn.00401640
push reloc.SHELL32.dll_SHChangeNotifyRegister
lea edx, [esp + 0x48]
or edi, 0xffffffff
push edx
mov ecx, esi
mov dword [esp + 0x94], edi
call fcn.00404630
push 0x3a
push str.Software360zipCapabilities
push 1
call fcn.00404720
mov esi, eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492ae7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492b06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x492d7b
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, str.ApplicationDescription
xor esi, esi
call fcn.00401640
push ecx
mov dword [esp + 0x8c], 1
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, str.SOFTWARE360zipCapabilities
call fcn.00401640
push reloc.SHELL32.dll_SHChangeNotifyRegister
lea eax, [esp + 0x48]
push eax
mov ecx, esi
mov dword [esp + 0x94], edi
call fcn.00404630
push 0xe
push 0x510134
push 1
call fcn.00404720
add esp, 0xc
lea esi, [esp + 0x3c]
call fcn.004045f0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, 0x510130
xor esi, esi
call fcn.00401640
push ecx
mov dword [esp + 0x8c], 2
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, str.SOFTWARE360zipCapabilitiesFileAssociations
call fcn.00401640
push reloc.SHELL32.dll_SHChangeNotifyRegister
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x94], edi
call fcn.00404630
push ebx
mov dword [esp + 0x88], 3
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
push ebx
or edx, 0x20006
push edx
push ebx
push ebx
push ebx
push eax
push ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x492d38
push 0x510134
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov dword [esp + 0x66], eax
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov word [esp + 0x76], ax
lea eax, [esp + 0x50]
xor edx, edx
push 0x14
push eax
mov word [esp + 0x58], dx
call fcn.004e65c8
lea eax, [esp + 0x58]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x492c41
mov esi, dword [ebp + 0x48]
sub eax, edx
sar eax, 1
lea ebx, [eax + eax + 2]
mov eax, dword [ebp + 0x60]
mov edi, dword [eax]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x28]
mov ebp, dword [ebp + 0x60]
mov eax, dword [ecx + 0x48]
test esi, esi
je 0x492c76
cmp esi, eax
je 0x492c7b
call fcn.004e48f7
cmp edi, ebp
je 0x492d2a
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x84], 4
test esi, esi
jne 0x492d26
call fcn.004e48f7
cmp edi, dword [esi + 0x18]
jne 0x492cb9
call fcn.004e48f7
mov ecx, dword [edi + 0xc]
push ecx
push 0x5161b0
lea edi, [esp + 0x20]
call fcn.00404890
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
add esp, 8
push ebx
lea edx, [esp + 0x50]
push edx
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esi - 0x10]
mov byte [esp + 0x84], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492d0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x1c]
call fcn.0047a420
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
jmp 0x492c64
mov esi, dword [esi]
jmp 0x492caf
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or edi, 0xffffffff
mov dword [esp + 0x84], edi
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x492d5e
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]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x492d7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e3edb
add esp, 0x74
ret 4