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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489670
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x4c], eax
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x44223b
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
push str.browser
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x442ab3
cmp byte [esi + 8], 0
jne 0x442273
mov eax, 0x4b75d0
jmp 0x4422f2
mov ecx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
push eax
mov dword [ebp - 0x2c], str.browser
mov dword [ebp - 0x28], 0
call fcn.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4422c6
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
je 0x4422bf
cmp dword [ebp - 0x28], 1
jne 0x4422bf
call fcn.0044e550
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x4422ee
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0
je 0x4422ee
cmp dword [ebp - 0x28], 1
jne 0x4422ee
call fcn.0044e550
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
cmp byte [eax + 8], 4
jne 0x442ab3
cmp byte [esi + 8], 0
jne 0x442309
mov esi, 0x4b75d0
jmp 0x442381
mov ecx, dword [esi]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push eax
mov dword [ebp - 0x20], str.browser
mov dword [ebp - 0x1c], 0
call fcn.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x44235b
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x442354
cmp dword [ebp - 0x1c], 1
jne 0x442354
call fcn.0044e550
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x44237d
lea esi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], 0
je 0x44237d
cmp dword [ebp - 0x1c], 1
jne 0x44237d
call fcn.0044e550
push dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x44239b
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4423d9
test eax, 0xffff0000
jne 0x4423d9
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00420170
test eax, eax
je 0x4423e5
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
call fcn.0042f8c0
jmp 0x4423e2
push eax
lea ecx, [ebp - 0x24]
call fcn.0042d470
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x14], edx
test edx, edx
jns 0x4423fd
push 0x80070057
call fcn.0041ffc0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x44241d
push edx
lea ecx, [ebp - 0x24]
call fcn.0042eda0
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
lea eax, [edx + 1]
push eax
push esi
call fcn.0046a191
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x4423f3
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, dword [ebp - 0x34]
push 0x49b2bc
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x442a7f
mov eax, dword [ebp - 0x34]
cmp byte [eax + 8], 0
jne 0x442466
mov eax, 0x4b75d0
jmp 0x4424e8
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x18], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], 0x49b2bc
mov dword [ebp - 0x14], 0
call fcn.0044f6f0
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x4424bc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x4424b5
cmp dword [ebp - 0x14], 1
jne 0x4424b5
call fcn.0044e550
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x4424e4
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x4424e4
cmp dword [ebp - 0x14], 1
jne 0x4424e4
call fcn.0044e550
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp byte [eax + 8], 4
jne 0x442a7f
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x442507
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x34]
mov byte [ebp - 4], 9
cmp byte [edi + 8], 0
jne 0x442528
mov edi, 0x4b75d0
jmp 0x4425a0
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], 0x49b2bc
mov dword [ebp - 0x14], 0
call fcn.0044f6f0
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x44257a
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x442573
cmp dword [ebp - 0x14], 1
jne 0x442573
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x44259c
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x44259c
cmp dword [ebp - 0x14], 1
jne 0x44259c
call fcn.0044e550
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 9
mov edx, dword [edi]
test edx, edx
jne 0x4425aa
xor ecx, ecx
jmp 0x4425b9
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4425b0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.0042fb30
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.0045bba0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x4426aa
lea ecx, [ebp - 0x38]
call fcn.0045cd80
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x4426aa
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x442614
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x14]
push dword [ebp - 0x38]
push 0x49e418
push eax
call fcn.0042fc90
add esp, 0xc
lea ecx, [ebp - 0x38]
push str.OpenUrlGetDisp
call fcn.0042d660
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.004446c0
mov byte [ebp - 4], 0xc
or edi, 0xffffffff
mov edx, dword [ebp - 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442676
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CDispatcherHandler::OpenUrl
push str._s_Failed_to_get_IShellDispatch2
push 3
push 5
call fcn.00458400
mov byte [ebp - 4], 9
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4426aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x4983ec
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4426d7
test dx, dx
je 0x4426d3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4426d7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4426b1
xor eax, eax
jmp 0x4426dc
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0x1c]
test eax, eax
sete al
test al, al
je 0x44276b
push str.CDispatcherHandler::OpenUrl
push str._s_default_browser
push 3
push 5
call fcn.00458400
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442721
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442a3d
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x442737
call fcn.0042ed30
mov edx, dword [ebp - 0x34]
sub esp, 0x10
mov eax, esp
xorps xmm0, xmm0
sub esp, 0x10
mov ecx, dword [edx]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push dword [ebp - 0x14]
push edx
movups xmmword [eax], xmm0
call dword [ecx + 0x7c]
jmp 0x442a3d
mov ecx, 0x49e4ac
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442798
test dx, dx
je 0x442794
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442798
add eax, 4
add ecx, 4
test dx, dx
jne 0x442772
xor eax, eax
jmp 0x44279d
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x442853
push str.CDispatcherHandler::OpenUrl
push str._s_IE
push 3
push 5
call fcn.00458400
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x4427e2
push 1
push 0
push edi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442a3d
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4427f5
call fcn.0042ed30
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.iexplore.exe
mov word [ebp - 0x48], ax
call fcn.0042d660
call fcn.0045bdb0
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0x34]
mov ecx, esp
xorps xmm0, xmm0
sub esp, 0x10
mov eax, dword [eax]
movups xmmword [ecx], xmm0
mov ecx, esp
mov dword [ebp - 0x14], eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x48]
push edx
push dword [ebp - 0x34]
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x14]
call dword [eax + 0x7c]
jmp 0x442a3d
mov ecx, 0x49e4dc
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442886
test dx, dx
je 0x442882
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442886
add eax, 4
add ecx, 4
test dx, dx
jne 0x442860
xor eax, eax
jmp 0x44288b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x442941
push str.CDispatcherHandler::OpenUrl
push str._s_chrome
push 3
push 5
call fcn.00458400
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x4428d0
push 1
push 0
push edi
push str.chrome.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442a3d
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4428e3
call fcn.0042ed30
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.chrome.exe
mov word [ebp - 0x48], ax
call fcn.0042d660
call fcn.0045bdb0
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0x34]
mov ecx, esp
xorps xmm0, xmm0
sub esp, 0x10
mov eax, dword [eax]
movups xmmword [ecx], xmm0
mov ecx, esp
mov dword [ebp - 0x14], eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x48]
push edx
push dword [ebp - 0x34]
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x14]
call dword [eax + 0x7c]
jmp 0x442a3d
mov ecx, 0x49e510
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44296e
test dx, dx
je 0x44296a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44296e
add eax, 4
add ecx, 4
test dx, dx
jne 0x442948
xor eax, eax
jmp 0x442973
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x442a26
push str.CDispatcherHandler::OpenUrl
push str._s_firefox
push 3
push 5
call fcn.00458400
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x4429b8
push 1
push 0
push edi
push str.firefox.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442a3d
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4429cb
call fcn.0042ed30
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.firefox.exe
mov word [ebp - 0x48], ax
call fcn.0042d660
call fcn.0045bdb0
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0x34]
mov ecx, esp
xorps xmm0, xmm0
sub esp, 0x10
mov eax, dword [eax]
movups xmmword [ecx], xmm0
mov ecx, esp
mov dword [ebp - 0x14], eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x48]
push edx
push dword [ebp - 0x34]
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x14]
call dword [eax + 0x7c]
jmp 0x442a3d
push esi
push str.CDispatcherHandler::OpenUrl
push str._s_unknown_browser__s
push 3
push 5
call fcn.00458400
add esp, 0x14
mov byte [ebp - 4], 6
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x442a59
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x442a75
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x30]
mov eax, 1
jmp 0x442acb
push str.CDispatcherHandler::OpenUrl
push str._s_url_error
push 3
push 5
call fcn.00458400
add esp, 0x10
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x442ac9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442ac9
push str.CDispatcherHandler::OpenUrl
push str._s_browser_error
push 3
push 5
call fcn.00458400
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x442ade
mov edx, 0xb
mov word [ecx + 8], ax
mov word [ecx], dx
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x442afd
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f48f
mov esp, ebp
pop ebp
ret 8