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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4872e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b0014]
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 0x440deb
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.0044dd20
cmp eax, 0x4b45d0
je 0x441663
cmp byte [esi + 8], 0
jne 0x440e23
mov eax, 0x4b45d0
jmp 0x440ea2
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.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x440e76
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
je 0x440e6f
cmp dword [ebp - 0x28], 1
jne 0x440e6f
call fcn.0044cef0
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b45d0
jmp 0x440e9e
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0
je 0x440e9e
cmp dword [ebp - 0x28], 1
jne 0x440e9e
call fcn.0044cef0
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 0x441663
cmp byte [esi + 8], 0
jne 0x440eb9
mov esi, 0x4b45d0
jmp 0x440f31
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.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x440f0b
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x440f04
cmp dword [ebp - 0x1c], 1
jne 0x440f04
call fcn.0044cef0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b45d0
jmp 0x440f2d
lea esi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], 0
je 0x440f2d
cmp dword [ebp - 0x1c], 1
jne 0x440f2d
call fcn.0044cef0
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 0x440f4b
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 0x440f89
test eax, 0xffff0000
jne 0x440f89
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00420190
test eax, eax
je 0x440f95
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
call fcn.0042e450
jmp 0x440f92
push eax
lea ecx, [ebp - 0x24]
call fcn.0042c1d0
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x14], edx
test edx, edx
jns 0x440fad
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 0x440fcd
push edx
lea ecx, [ebp - 0x24]
call fcn.0042d930
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
lea eax, [edx + 1]
push eax
push esi
call fcn.00467f81
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x440fa3
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, dword [ebp - 0x34]
push 0x4993c4
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x44162f
mov eax, dword [ebp - 0x34]
cmp byte [eax + 8], 0
jne 0x441016
mov eax, 0x4b45d0
jmp 0x441098
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], 0x4993c4
mov dword [ebp - 0x14], 0
call fcn.0044e090
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x44106c
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x441065
cmp dword [ebp - 0x14], 1
jne 0x441065
call fcn.0044cef0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b45d0
jmp 0x441094
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x441094
cmp dword [ebp - 0x14], 1
jne 0x441094
call fcn.0044cef0
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 0x44162f
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4410b7
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 0x4410d8
mov edi, 0x4b45d0
jmp 0x441150
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], 0x4993c4
mov dword [ebp - 0x14], 0
call fcn.0044e090
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x44112a
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x441123
cmp dword [ebp - 0x14], 1
jne 0x441123
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x44114c
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x44114c
cmp dword [ebp - 0x14], 1
jne 0x44114c
call fcn.0044cef0
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 0x44115a
xor ecx, ecx
jmp 0x441169
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441160
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.0042e6c0
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.00459ac0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x44125a
lea ecx, [ebp - 0x38]
call fcn.0045ab70
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x44125a
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4411c4
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 0x49bfd8
push eax
call fcn.0042e840
add esp, 0xc
lea ecx, [ebp - 0x38]
push str.OpenUrlGetDisp
call fcn.0042c3c0
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.004431c0
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 0x441226
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.004569b0
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 0x44125a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x4963d4
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441287
test dx, dx
je 0x441283
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441287
add eax, 4
add ecx, 4
test dx, dx
jne 0x441261
xor eax, eax
jmp 0x44128c
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0x1c]
test eax, eax
sete al
test al, al
je 0x44131b
push str.CDispatcherHandler::OpenUrl
push str._s_default_browser
push 3
push 5
call fcn.004569b0
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x4412d1
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4415ed
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4412e7
call fcn.0042d8c0
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 0x4415ed
mov ecx, 0x49c06c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441348
test dx, dx
je 0x441344
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441348
add eax, 4
add ecx, 4
test dx, dx
jne 0x441322
xor eax, eax
jmp 0x44134d
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x441403
push str.CDispatcherHandler::OpenUrl
push str._s_IE
push 3
push 5
call fcn.004569b0
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x441392
push 1
push 0
push edi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4415ed
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4413a5
call fcn.0042d8c0
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.iexplore.exe
mov word [ebp - 0x48], ax
call fcn.0042c3c0
call fcn.00459cd0
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 0x4415ed
mov ecx, 0x49c09c
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441436
test dx, dx
je 0x441432
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441436
add eax, 4
add ecx, 4
test dx, dx
jne 0x441410
xor eax, eax
jmp 0x44143b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x4414f1
push str.CDispatcherHandler::OpenUrl
push str._s_chrome
push 3
push 5
call fcn.004569b0
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x441480
push 1
push 0
push edi
push str.chrome.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4415ed
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x441493
call fcn.0042d8c0
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.chrome.exe
mov word [ebp - 0x48], ax
call fcn.0042c3c0
call fcn.00459cd0
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 0x4415ed
mov ecx, 0x49c0d0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44151e
test dx, dx
je 0x44151a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44151e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4414f8
xor eax, eax
jmp 0x441523
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x4415d6
push str.CDispatcherHandler::OpenUrl
push str._s_firefox
push 3
push 5
call fcn.004569b0
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x441568
push 1
push 0
push edi
push str.firefox.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4415ed
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x44157b
call fcn.0042d8c0
push ecx
mov dword [ebp - 0x40], eax
mov ecx, esp
mov eax, 8
push str.firefox.exe
mov word [ebp - 0x48], ax
call fcn.0042c3c0
call fcn.00459cd0
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 0x4415ed
push esi
push str.CDispatcherHandler::OpenUrl
push str._s_unknown_browser__s
push 3
push 5
call fcn.004569b0
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 0x441609
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 0x441625
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x30]
mov eax, 1
jmp 0x44167b
push str.CDispatcherHandler::OpenUrl
push str._s_url_error
push 3
push 5
call fcn.004569b0
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 0x441679
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x441679
push str.CDispatcherHandler::OpenUrl
push str._s_browser_error
push 3
push 5
call fcn.004569b0
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x44168e
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 0x4416ad
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.0045d27f
mov esp, ebp
pop ebp
ret 8