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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487d30
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b1014]
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.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4426ab
push 0x80004005
call fcn.00420020
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.0044f800
cmp eax, 0x4b5590
je 0x442f23
cmp byte [esi + 8], 0
jne 0x4426e3
mov eax, 0x4b5590
jmp 0x442762
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.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x442736
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
je 0x44272f
cmp dword [ebp - 0x28], 1
jne 0x44272f
call fcn.0044e9d0
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b5590
jmp 0x44275e
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0
je 0x44275e
cmp dword [ebp - 0x28], 1
jne 0x44275e
call fcn.0044e9d0
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 0x442f23
cmp byte [esi + 8], 0
jne 0x442779
mov esi, 0x4b5590
jmp 0x4427f1
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.0044fb40
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4427cb
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4427c4
cmp dword [ebp - 0x1c], 1
jne 0x4427c4
call fcn.0044e9d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b5590
jmp 0x4427ed
lea esi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], 0
je 0x4427ed
cmp dword [ebp - 0x1c], 1
jne 0x4427ed
call fcn.0044e9d0
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.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x44280b
push 0x80004005
call fcn.00420020
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 0x442849
test eax, 0xffff0000
jne 0x442849
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.004201d0
test eax, eax
je 0x442855
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
call fcn.0042fd30
jmp 0x442852
push eax
lea ecx, [ebp - 0x24]
call fcn.0042d8e0
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x14], edx
test edx, edx
jns 0x44286d
push 0x80070057
call fcn.00420020
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x44288d
push edx
lea ecx, [ebp - 0x24]
call fcn.0042f210
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
lea eax, [edx + 1]
push eax
push esi
call fcn.00468b86
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x442863
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, dword [ebp - 0x34]
push 0x49a3cc
call fcn.0044f800
cmp eax, 0x4b5590
je 0x442eef
mov eax, dword [ebp - 0x34]
cmp byte [eax + 8], 0
jne 0x4428d6
mov eax, 0x4b5590
jmp 0x442958
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], 0x49a3cc
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x44292c
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x442925
cmp dword [ebp - 0x14], 1
jne 0x442925
call fcn.0044e9d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b5590
jmp 0x442954
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x442954
cmp dword [ebp - 0x14], 1
jne 0x442954
call fcn.0044e9d0
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 0x442eef
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x442977
push 0x80004005
call fcn.00420020
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 0x442998
mov edi, 0x4b5590
jmp 0x442a10
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], 0x49a3cc
mov dword [ebp - 0x14], 0
call fcn.0044fb40
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4429ea
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4429e3
cmp dword [ebp - 0x14], 1
jne 0x4429e3
call fcn.0044e9d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b5590
jmp 0x442a0c
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x442a0c
cmp dword [ebp - 0x14], 1
jne 0x442a0c
call fcn.0044e9d0
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 0x442a1a
xor ecx, ecx
jmp 0x442a29
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442a20
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.0042ffa0
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.0045aa70
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x442b1a
lea ecx, [ebp - 0x38]
call fcn.0045b7d0
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x442b1a
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x442a84
push 0x80004005
call fcn.00420020
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 0x49a768
push eax
call fcn.00430100
add esp, 0xc
lea ecx, [ebp - 0x38]
push str.OpenUrlGetDisp
call fcn.0042dad0
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00444b30
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 0x442ae6
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.00458800
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 0x442b1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x4973c4
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442b47
test dx, dx
je 0x442b43
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442b47
add eax, 4
add ecx, 4
test dx, dx
jne 0x442b21
xor eax, eax
jmp 0x442b4c
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0x1c]
test eax, eax
sete al
test al, al
je 0x442bdb
push str.CDispatcherHandler::OpenUrl
push str._s_default_browser
push 3
push 5
call fcn.00458800
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442b91
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442ead
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x442ba7
call fcn.0042f1a0
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 0x442ead
mov ecx, 0x49d7cc
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442c08
test dx, dx
je 0x442c04
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442c08
add eax, 4
add ecx, 4
test dx, dx
jne 0x442be2
xor eax, eax
jmp 0x442c0d
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x442cc3
push str.CDispatcherHandler::OpenUrl
push str._s_IE
push 3
push 5
call fcn.00458800
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442c52
push 1
push 0
push edi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442ead
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x442c65
call fcn.0042f1a0
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.iexplore.exe
mov word [ebp - 0x48], ax
call fcn.0042dad0
call fcn.0045ac80
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 0x442ead
mov ecx, 0x49d7fc
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442cf6
test dx, dx
je 0x442cf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442cf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x442cd0
xor eax, eax
jmp 0x442cfb
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x442db1
push str.CDispatcherHandler::OpenUrl
push str._s_chrome
push 3
push 5
call fcn.00458800
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442d40
push 1
push 0
push edi
push str.chrome.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442ead
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x442d53
call fcn.0042f1a0
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.chrome.exe
mov word [ebp - 0x48], ax
call fcn.0042dad0
call fcn.0045ac80
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 0x442ead
mov ecx, 0x49d830
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442dde
test dx, dx
je 0x442dda
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442dde
add eax, 4
add ecx, 4
test dx, dx
jne 0x442db8
xor eax, eax
jmp 0x442de3
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x442e96
push str.CDispatcherHandler::OpenUrl
push str._s_firefox
push 3
push 5
call fcn.00458800
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442e28
push 1
push 0
push edi
push str.firefox.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442ead
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x442e3b
call fcn.0042f1a0
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.firefox.exe
mov word [ebp - 0x48], ax
call fcn.0042dad0
call fcn.0045ac80
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 0x442ead
push esi
push str.CDispatcherHandler::OpenUrl
push str._s_unknown_browser__s
push 3
push 5
call fcn.00458800
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 0x442ec9
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 0x442ee5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x30]
mov eax, 1
jmp 0x442f3b
push str.CDispatcherHandler::OpenUrl
push str._s_url_error
push 3
push 5
call fcn.00458800
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 0x442f39
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442f39
push str.CDispatcherHandler::OpenUrl
push str._s_browser_error
push 3
push 5
call fcn.00458800
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x442f4e
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 0x442f6d
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.0045daaf
mov esp, ebp
pop ebp
ret 8