Function at 0x40b7c0
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x439f6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xaf8
push ebx
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x309]
mov byte [esp + 0x308], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x709]
mov byte [esp + 0x708], 0
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0xb18]
stosw word es:[edi], ax
test ebp, ebp
stosb byte es:[edi], al
je 0x40bbc7
mov ecx, dword [esp + 0xb1c]
test ecx, ecx
je 0x40bbc7
mov eax, dword [esp + 0xb20]
test eax, eax
je 0x40bbc7
mov ebx, dword [esp + 0xb24]
test ebx, ebx
je 0x40bbc7
push ebx
push eax
push ecx
push ebp
push str.host_s__port_s__url_s__twfid_s
call fcn.00411930
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push str.http:__
push ebp
mov esi, ebp
call edi
add esp, 0x1c
test eax, eax
je 0x40b892
mov edi, str.http:__
jmp 0x40b8a6
push str.https:__
push ebp
call edi
add esp, 8
test eax, eax
je 0x40b8b4
mov edi, str.https:__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
add esi, ebp
mov eax, dword [esp + 0xb1c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebp, dword [esp + 0xb2c]
add esp, 4
test ebp, ebp
mov edx, eax
je 0x40b90b
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40b90b
mov ecx, dword [esp + 0xb20]
push ebp
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push ecx
push edx
push esi
push str.https:___s:_d_por_shortcut.csp_typecsdestUrl_sid_s_s
lea edx, [esp + 0x320]
push 0x3ff
push edx
call ebx
add esp, 0x20
jmp 0x40b933
mov eax, dword [esp + 0xb20]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push edx
push esi
push str.https:___s:_d_por_shortcut.csp_typecsdestUrl_sid_s
lea ecx, [esp + 0x31c]
push 0x3ff
push ecx
call ebx
add esp, 0x1c
lea edx, [esp + 0x308]
push edx
push str.full_url:__s
call fcn.00411930
add esp, 8
call fcn.0040b0d0
test eax, eax
jne 0x40ba26
mov ecx, 0x24
lea edi, [esp + 0x174]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x170]
mov dword [esp + 0x170], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x40b98d
mov dword [esp + 0x174], 5
jmp 0x40b9ad
cmp dword [esp + 0x174], 6
jb 0x40b9ad
lea edx, [esp + 0x6c]
push 0x104
push edx
call fcn.0040b600
add esp, 8
test eax, eax
jne 0x40b9e2
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.0040b550
add esp, 8
test eax, eax
jne 0x40b9e2
push str._OpenWithDefaultBrowser_GetBrowserPath_failed
call fcn.00411930
lea ecx, [esp + 0x30c]
push ecx
call fcn.0040b390
add esp, 8
jmp 0x40bbc9
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
lea edx, [esp + 0x6c]
push 0x22
push edx
call esi
add esp, 8
test eax, eax
je 0x40ba0d
inc eax
je 0x40ba0d
push 0x22
push eax
call esi
add esp, 8
test eax, eax
je 0x40ba0d
inc eax
je 0x40ba0d
mov byte [eax], 0
or ebp, 0xffffffff
lea edi, [esp + 0x6c]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40ba3b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x308]
push eax
call fcn.0040b390
add esp, 4
jmp 0x40bbc9
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x205]
mov byte [esp + 0x204], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x6c]
mov ecx, ebp
xor eax, eax
lea edx, [esp + 0x204]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004119b0
lea ecx, [esp + 0x204]
xor esi, esi
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0xb14], esi
call fcn.004119f0
lea edx, [esp + 0x14]
lea eax, [esp + 0x204]
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
call fcn.00411aa0
test eax, eax
jne 0x40bacb
lea ecx, [esp + 0x308]
push ecx
jmp 0x40bb7e
cmp dword [esp + 0x14], esi
jne 0x40bb76
lea eax, [esp + 0x6c]
push eax
call fcn.0040e7f0
add esp, 4
lea ecx, [esp + 0x308]
lea edx, [esp + 0x6c]
test eax, eax
push ecx
push edx
je 0x40bafa
push str._s__nomerge__nohome__s
jmp 0x40baff
push str._s__s
lea eax, [esp + 0x714]
push 0x3ff
push eax
call ebx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x40]
add esp, 0x14
rep stosd dword es:[edi], eax
lea edx, [esp + 0x18]
xor ecx, ecx
lea eax, [esp + 0x28]
push edx
mov dword [esp + 0x20], ecx
push eax
push esi
mov dword [esp + 0x2c], ecx
push esi
push esi
mov dword [esp + 0x38], ecx
push esi
push esi
lea ecx, [esp + 0x724]
push esi
push ecx
push esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40bb9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed__error___d
call fcn.00411930
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x308]
push edx
call fcn.0040b390
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0xb10], ebp
call fcn.004119e0
mov eax, esi
jmp 0x40bbc9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0xb10], ebp
call fcn.004119e0
xor eax, eax
mov ecx, dword [esp + 0xb08]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb04
ret