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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4893a0
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.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x44228b
push 0x80004005
call fcn.0041ffd0
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.0044f3e0
cmp eax, 0x4b75d0
je 0x442b03
cmp byte [esi + 8], 0
jne 0x4422c3
mov eax, 0x4b75d0
jmp 0x442342
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.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x442316
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
je 0x44230f
cmp dword [ebp - 0x28], 1
jne 0x44230f
call fcn.0044e5b0
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x44233e
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0
je 0x44233e
cmp dword [ebp - 0x28], 1
jne 0x44233e
call fcn.0044e5b0
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 0x442b03
cmp byte [esi + 8], 0
jne 0x442359
mov esi, 0x4b75d0
jmp 0x4423d1
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.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4423ab
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4423a4
cmp dword [ebp - 0x1c], 1
jne 0x4423a4
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x4423cd
lea esi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], 0
je 0x4423cd
cmp dword [ebp - 0x1c], 1
jne 0x4423cd
call fcn.0044e5b0
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 0x4423eb
push 0x80004005
call fcn.0041ffd0
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 0x442429
test eax, 0xffff0000
jne 0x442429
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00420190
test eax, eax
je 0x442435
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
call fcn.0042f8e0
jmp 0x442432
push eax
lea ecx, [ebp - 0x24]
call fcn.0042d490
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x14], edx
test edx, edx
jns 0x44244d
push 0x80070057
call fcn.0041ffd0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x44246d
push edx
lea ecx, [ebp - 0x24]
call fcn.0042edc0
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
lea eax, [edx + 1]
push eax
push esi
call fcn.00469e71
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x442443
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, dword [ebp - 0x34]
push 0x49b3ec
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x442acf
mov eax, dword [ebp - 0x34]
cmp byte [eax + 8], 0
jne 0x4424b6
mov eax, 0x4b75d0
jmp 0x442538
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], 0x49b3ec
mov dword [ebp - 0x14], 0
call fcn.0044f750
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x44250c
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x442505
cmp dword [ebp - 0x14], 1
jne 0x442505
call fcn.0044e5b0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x442534
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x442534
cmp dword [ebp - 0x14], 1
jne 0x442534
call fcn.0044e5b0
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 0x442acf
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x442557
push 0x80004005
call fcn.0041ffd0
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 0x442578
mov edi, 0x4b75d0
jmp 0x4425f0
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], 0x49b3ec
mov dword [ebp - 0x14], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4425ca
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4425c3
cmp dword [ebp - 0x14], 1
jne 0x4425c3
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4425ec
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x4425ec
cmp dword [ebp - 0x14], 1
jne 0x4425ec
call fcn.0044e5b0
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 0x4425fa
xor ecx, ecx
jmp 0x442609
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442600
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.0042fb50
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.0045b7a0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x4426fa
lea ecx, [ebp - 0x38]
call fcn.0045ca70
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x4426fa
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x442664
push 0x80004005
call fcn.0041ffd0
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 0x49e548
push eax
call fcn.0042fcb0
add esp, 0xc
lea ecx, [ebp - 0x38]
push str.OpenUrlGetDisp
call fcn.0042d680
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00444720
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 0x4426c6
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.00458450
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 0x4426fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x4983e4
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442727
test dx, dx
je 0x442723
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442727
add eax, 4
add ecx, 4
test dx, dx
jne 0x442701
xor eax, eax
jmp 0x44272c
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0x1c]
test eax, eax
sete al
test al, al
je 0x4427bb
push str.CDispatcherHandler::OpenUrl
push str._s_default_browser
push 3
push 5
call fcn.00458450
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442771
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442a8d
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x442787
call fcn.0042ed50
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 0x442a8d
mov ecx, 0x49e5dc
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4427e8
test dx, dx
je 0x4427e4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4427e8
add eax, 4
add ecx, 4
test dx, dx
jne 0x4427c2
xor eax, eax
jmp 0x4427ed
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x4428a3
push str.CDispatcherHandler::OpenUrl
push str._s_IE
push 3
push 5
call fcn.00458450
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442832
push 1
push 0
push edi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442a8d
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x442845
call fcn.0042ed50
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.iexplore.exe
mov word [ebp - 0x48], ax
call fcn.0042d680
call fcn.0045b9b0
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 0x442a8d
mov ecx, 0x49e60c
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4428d6
test dx, dx
je 0x4428d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4428d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4428b0
xor eax, eax
jmp 0x4428db
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x442991
push str.CDispatcherHandler::OpenUrl
push str._s_chrome
push 3
push 5
call fcn.00458450
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442920
push 1
push 0
push edi
push str.chrome.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442a8d
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x442933
call fcn.0042ed50
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.chrome.exe
mov word [ebp - 0x48], ax
call fcn.0042d680
call fcn.0045b9b0
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 0x442a8d
mov ecx, 0x49e640
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4429be
test dx, dx
je 0x4429ba
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4429be
add eax, 4
add ecx, 4
test dx, dx
jne 0x442998
xor eax, eax
jmp 0x4429c3
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x442a76
push str.CDispatcherHandler::OpenUrl
push str._s_firefox
push 3
push 5
call fcn.00458450
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x442a08
push 1
push 0
push edi
push str.firefox.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x442a8d
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x442a1b
call fcn.0042ed50
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.firefox.exe
mov word [ebp - 0x48], ax
call fcn.0042d680
call fcn.0045b9b0
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 0x442a8d
push esi
push str.CDispatcherHandler::OpenUrl
push str._s_unknown_browser__s
push 3
push 5
call fcn.00458450
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 0x442aa9
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 0x442ac5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x30]
mov eax, 1
jmp 0x442b1b
push str.CDispatcherHandler::OpenUrl
push str._s_url_error
push 3
push 5
call fcn.00458450
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 0x442b19
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442b19
push str.CDispatcherHandler::OpenUrl
push str._s_browser_error
push 3
push 5
call fcn.00458450
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x442b2e
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 0x442b4d
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.0045f17f
mov esp, ebp
pop ebp
ret 8