Function at 0x410220
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x684f4c
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x73d6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x110
lea eax, [ebp - 0x124]
mov dword [ebp - 0x12c], 0
push 0
push eax
call fcn.00549c70
add esp, 0xc
mov dword [ebp - 0x128], 0x114
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x410365
cmp dword [ebp - 0x124], 6
jb 0x410365
push str.Progid
lea ecx, [ebp - 0x15c]
call fcn.00408c20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x144]
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov dword [ebp - 0x12c], 1
call fcn.00408c20
lea eax, [ebp - 0x15c]
mov dword [ebp - 4], 1
push esi
push eax
lea edx, [ebp - 0x144]
mov dword [ebp - 0x12c], 3
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.0040ffa0
add esp, 8
test al, al
je 0x410306
cmp dword [esi + 0x10], 0
je 0x410306
mov bl, 1
jmp 0x410308
xor bl, bl
cmp dword [ebp - 0x130], 8
jb 0x41031f
push dword [ebp - 0x144]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x148], 8
mov dword [ebp - 0x130], 7
mov dword [ebp - 0x134], 0
mov word [ebp - 0x144], ax
jb 0x41035a
push dword [ebp - 0x15c]
call fcn.005472b4
add esp, 4
test bl, bl
je 0x410365
mov al, 1
jmp 0x410526
xor eax, eax
mov dword [ebp - 0x148], 7
push eax
push 0x6ea1a8
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14c], 0
mov word [ebp - 0x15c], ax
call fcn.00409260
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x144]
push 0x17
xor eax, eax
mov dword [ebp - 0x12c], 4
push str.http_shellopencommand
mov dword [ebp - 0x130], 7
mov dword [ebp - 0x134], 0
mov word [ebp - 0x144], ax
call fcn.00409260
lea eax, [ebp - 0x15c]
mov dword [ebp - 4], 3
push esi
push eax
lea edx, [ebp - 0x144]
mov dword [ebp - 0x12c], 0xc
mov ecx, SysReAllocString
call fcn.0040ffa0
add esp, 8
test al, al
je 0x41040d
cmp dword [esi + 0x10], 0
je 0x41040d
mov bl, 1
jmp 0x41040f
xor bl, bl
cmp dword [ebp - 0x130], 8
jb 0x410426
push dword [ebp - 0x144]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x148], 8
mov dword [ebp - 0x130], 7
mov dword [ebp - 0x134], 0
mov word [ebp - 0x144], ax
jb 0x410461
push dword [ebp - 0x15c]
call fcn.005472b4
add esp, 4
test bl, bl
jne 0x41035e
push 0x6ea1a8
lea ecx, [ebp - 0x18c]
call fcn.00408c20
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x174]
push str.SoftwareClasses.html
mov dword [ebp - 0x12c], 0x10
call fcn.00408c20
lea eax, [ebp - 0x18c]
mov dword [ebp - 4], 5
push esi
push eax
lea edx, [ebp - 0x174]
mov dword [ebp - 0x12c], 0x30
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.0040ffa0
add esp, 8
test al, al
je 0x4104d4
cmp dword [esi + 0x10], 0
je 0x4104d4
mov bl, 1
jmp 0x4104d6
xor bl, bl
cmp dword [ebp - 0x160], 8
jb 0x4104ed
push dword [ebp - 0x174]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x160], 7
cmp dword [ebp - 0x178], 8
mov dword [ebp - 0x164], 0
mov word [ebp - 0x174], ax
jb 0x410521
push dword [ebp - 0x18c]
call fcn.005472b4
add esp, 4
test bl, bl
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005472b9
mov esp, ebp
pop ebp
ret