Function at 0x14000262e
Capabilities:
Check os version

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movdqa xmmword [rsp + 0x120], xmm15
movdqa xmmword [rsp + 0x110], xmm14
movdqa xmmword [rsp + 0x100], xmm13
movdqa xmmword [rsp + 0xf0], xmm12
movdqa xmmword [rsp + 0xe0], xmm11
movdqa xmmword [rsp + 0xd0], xmm10
movdqa xmmword [rsp + 0xc0], xmm9
movdqa xmmword [rsp + 0xb0], xmm8
movdqa xmmword [rsp + 0xa0], xmm7
movdqa xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0x70], rcx
mov rax, qword gs:[0x60]
mov r14, qword [rax + 0x18]
test r14, r14
je 0x140002f71
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x140002f71
add r14, 0x20
cmp rax, r14
je 0x140002f71
mov ebx, edx
lea r15, [rsp + 0x30]
lea rcx, [0x140008370]
mov qword [rsp + 0x50], rcx
lea r13, [0x140008b6c]
pxor xmm8, xmm8
packuswb xmm8, xmm8
movdqa xmm11, xmmword [0x140008040]
movdqa xmm12, xmmword [0x140008050]
movdqa xmm13, xmmword [0x140008060]
movdqa xmm14, xmmword [0x140008070]
movdqa xmm15, xmmword [0x140008080]
movdqa xmm7, xmmword [0x140008090]
movdqa xmm9, xmmword [0x1400080a0]
movdqa xmm10, xmmword [0x1400080b0]
movdqa xmm6, xmmword [0x1400080d0]
movabs r12, 0x100000000
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x64], edx
mov qword [rsp + 0x78], r14
movzx ecx, word [rax + 0x48]
mov esi, ecx
shr esi, 1
mov rdx, qword [rax + 0x20]
mov qword [rsp + 0x80], rdx
mov rdi, qword [rax + 0x50]
mov eax, 1
cmp ecx, 2
jb 0x1400027a1
mov al, byte [0x14010e038]
mov ecx, 1
mov rdx, rsi
call fcn.140006293
test rax, rax
je 0x14000304d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
lea rsi, [rdi + rsi*2]
cmp rdi, rsi
je 0x140002836
lea rax, [rdi + 2]
movzx edx, word [rdi]
mov ecx, edx
and ecx, 0xf800
cmp ecx, 0xd800
jne 0x140002822
cmp edx, 0xdbff
ja 0x140002fdd
cmp rax, rsi
je 0x140002fdd
movzx eax, word [rax]
lea ecx, [rax + 0x2000]
movzx ecx, cx
cmp ecx, 0xfc00
jb 0x140002fdd
add rdi, 4
and edx, 0x3ff
and eax, 0x3ff
shl rdx, 0x1a
shl eax, 0x10
or rax, rdx
add rax, r12
mov rdx, rax
jmp 0x140002828
shl edx, 0x10
mov rdi, rax
shr rdx, 0x10
mov rcx, r15
call fcn.140004680
jmp 0x1400027b8
mov rsi, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rsi, rax
je 0x140002ff6
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0x40]
test r12, r12
mov qword [rsp + 0x88], rsi
je 0x140002ad0
js 0x140003040
mov al, byte [0x14010e038]
mov ecx, 1
mov rdx, r12
call fcn.140006293
test rax, rax
je 0x140003045
mov rdi, rax
cmp r12, 0x10
jb 0x140002ad5
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + rbp]
movdqu xmm0, xmmword [rax + rbp]
pshufd xmm1, xmm0, 0xee
movq rax, xmm1
mov rdx, rax
or rdx, rcx
movabs r8, 0x8080808080808080
test rdx, r8
jne 0x140002ad7
mov r8, rcx
mov r10, rcx
mov rdx, rcx
shr rdx, 0x28
mov r9, rcx
shr r9, 0x20
pshufd xmm2, xmm0, 0x44
movdqa xmm1, xmm0
psrlq xmm1, 0x10
psrlq xmm2, 0x18
movsd xmm2, xmm1
shr ecx, 8
movd xmm3, ecx
movdqa xmm1, xmm0
punpcklqdq xmm1, xmm3
movapd xmm3, xmmword [0x140008010]
andpd xmm2, xmm3
pand xmm1, xmm3
packuswb xmm1, xmm2
movd xmm2, r9d
pshufd xmm2, xmm2, 0x50
movdqa xmm3, xmmword [0x140008020]
pandn xmm3, xmm2
movd xmm2, edx
psllq xmm2, 0x28
movdqa xmm4, xmmword [0x140008030]
pandn xmm4, xmm2
mov rcx, rax
shr rcx, 0x28
mov rdx, rax
shr rdx, 0x20
mov r9d, eax
shr r9d, 0x18
mov r11d, eax
shr r11d, 0x10
mov esi, eax
shr esi, 8
shr r8, 0x38
shr r10, 0x30
packuswb xmm1, xmmword [0x140008110]
packuswb xmm1, xmm8
por xmm4, xmm3
por xmm4, xmm1
pand xmm4, xmm11
movd xmm1, r10d
psllq xmm1, 0x30
movdqa xmm2, xmm11
pandn xmm2, xmm1
por xmm2, xmm4
pand xmm2, xmm12
movd xmm1, r8d
psllq xmm1, 0x38
movdqa xmm3, xmm12
pandn xmm3, xmm1
por xmm3, xmm2
pand xmm3, xmm13
movd xmm1, eax
pshufd xmm1, xmm1, 0x44
movdqa xmm2, xmm13
pandn xmm2, xmm1
por xmm2, xmm3
pand xmm2, xmm14
movd xmm1, esi
pslldq xmm1, 9
movdqa xmm3, xmm14
pandn xmm3, xmm1
por xmm3, xmm2
pand xmm3, xmm15
movd xmm1, r11d
pslldq xmm1, 0xa
movdqa xmm2, xmm15
pandn xmm2, xmm1
por xmm2, xmm3
pand xmm2, xmm7
movd xmm1, r9d
pslldq xmm1, 0xb
movdqa xmm3, xmm7
pandn xmm3, xmm1
por xmm3, xmm2
pand xmm3, xmm9
movd xmm1, edx
pshufd xmm1, xmm1, 0
movdqa xmm2, xmm9
pandn xmm2, xmm1
por xmm2, xmm3
movd xmm1, ecx
pslldq xmm1, 0xd
movdqa xmm3, xmm10
pandn xmm3, xmm1
shr rax, 0x30
pand xmm2, xmm10
por xmm3, xmm2
pand xmm3, xmmword [0x1400080c0]
movd xmm1, eax
pslldq xmm1, 0xe
por xmm1, xmm3
pand xmm1, xmm6
movdqa xmm2, xmm6
pandn xmm2, xmm0
por xmm2, xmm1
movdqa xmm0, xmm2
paddb xmm0, xmmword [0x1400080e0]
movdqa xmm1, xmm0
pminub xmm1, xmmword [0x1400080f0]
pcmpeqb xmm1, xmm0
pand xmm1, xmmword [str.]
por xmm1, xmm2
movdqu xmmword [rdi + rbp], xmm1
lea rax, [rbp + 0x10]
add rbp, 0x20
cmp rbp, r12
mov rbp, rax
jbe 0x14000289f
mov rbp, rax
jmp 0x140002ad7
mov edi, 1
xor ebp, ebp
mov rax, r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbp
sub rax, rbp
mov qword [rsp + 0x48], rax
jne 0x140002afb
mov rsi, r12
jmp 0x140002e65
mov rax, qword [rsp + 0x58]
add rbp, rax
add r12, rax
xor r14d, r14d
mov rsi, rbp
movzx edx, byte [rsi]
test dl, dl
js 0x140002b19
lea rbx, [rsi + 1]
jmp 0x140002b7e
mov eax, edx
and eax, 0x1f
movzx r8d, byte [rsi + 1]
and r8d, 0x3f
cmp dl, 0xdf
jbe 0x140002b65
movzx ecx, byte [rsi + 2]
shl r8d, 6
and ecx, 0x3f
or ecx, r8d
cmp dl, 0xf0
jb 0x140002b73
movzx edx, byte [rsi + 3]
and eax, 7
shl eax, 0x12
shl ecx, 6
and edx, 0x3f
or edx, ecx
or edx, eax
cmp edx, 0x110000
je 0x140002e4d
lea rbx, [rsi + 4]
jmp 0x140002b7e
lea rbx, [rsi + 2]
shl eax, 6
or eax, r8d
mov edx, eax
jmp 0x140002b7e
lea rbx, [rsi + 3]
shl eax, 0xc
or ecx, eax
mov edx, ecx
cmp edx, 0x3a3
je 0x140002bb0
cmp edx, 0x110000
je 0x140002e4d
cmp edx, 0x80
jae 0x140002bc9
lea eax, [rdx - 0x41]
xor ecx, ecx
cmp al, 0x1a
setb cl
shl ecx, 5
or ecx, edx
mov edx, ecx
jmp 0x140002d04
test r14, r14
je 0x140002c0c
cmp r14, qword [rsp + 0x48]
jae 0x140002c06
cmp byte [rbp + r14], 0xbf
jg 0x140002c0c
jmp 0x14000300e
mov eax, 0x57f
xor ecx, ecx
mov r8d, 0x57f
shr rax, 1
add rax, rcx
mov r9d, dword [r13 + rax*8]
cmp r9d, edx
je 0x140002cd7
lea r10, [rax + 1]
cmp r9d, edx
cmova r8, rax
cmovb rcx, r10
mov rax, r8
sub rax, rcx
ja 0x140002bd6
jmp 0x140002d04
jne 0x14000300e
mov r13, r15
lea r15, [r14 + rbp]
xor eax, eax
cmp r15, rbp
je 0x140002dd7
movzx edi, byte [r15 - 1]
test dil, dil
js 0x140002c2d
dec r15
jmp 0x140002c86
movzx ecx, byte [r15 - 2]
cmp cl, 0xc0
jge 0x140002c5a
movzx edx, byte [r15 - 3]
cmp dl, 0xbf
jg 0x140002c63
movzx r8d, byte [r15 - 4]
add r15, 0xfffffffffffffffc
and r8d, 7
shl r8d, 6
and edx, 0x3f
or edx, r8d
jmp 0x140002c6a
add r15, 0xfffffffffffffffe
and ecx, 0x1f
jmp 0x140002c72
add r15, 0xfffffffffffffffd
and edx, 0xf
shl edx, 6
and ecx, 0x3f
or ecx, edx
shl ecx, 6
and edi, 0x3f
or edi, ecx
cmp edi, 0x110000
je 0x140002dd7
test al, al
jne 0x140002c9e
mov ecx, edi
call fcn.140005f90
test al, al
je 0x140002c9e
mov edi, 0x110000
xor eax, eax
jmp 0x140002ca0
mov al, 1
cmp edi, 0x110000
je 0x140002c15
mov ecx, edi
call fcn.1400060c0
test al, al
je 0x140002dd7
mov rdi, r14
add rdi, 2
je 0x140002d17
cmp rdi, qword [rsp + 0x48]
jae 0x140002d11
cmp byte [rbp + rdi], 0xbf
jg 0x140002d17
jmp 0x14000302d
mov edx, dword [r13 + rax*8 + 4]
mov eax, edx
xor eax, 0xd800
add eax, 0xffef0000
cmp eax, 0xffef0800
mov eax, 0x69
cmovb edx, eax
jae 0x140002d04
mov rcx, r15
call fcn.140004680
mov edx, 0x307
mov rcx, r15
call fcn.140004680
jmp 0x140002e0a
jne 0x14000302d
add rdi, rbp
xor eax, eax
cmp rdi, r12
je 0x140002e1e
movzx r15d, byte [rdi]
test r15b, r15b
js 0x140002d33
inc rdi
jmp 0x140002da2
mov ecx, r15d
and ecx, 0x1f
movzx r8d, byte [rdi + 1]
and r8d, 0x3f
cmp r15b, 0xdf
jbe 0x140002d87
movzx edx, byte [rdi + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp r15b, 0xf0
jb 0x140002d96
movzx r15d, byte [rdi + 3]
and ecx, 7
shl ecx, 0x12
shl edx, 6
and r15d, 0x3f
or r15d, edx
or r15d, ecx
cmp r15d, 0x110000
je 0x140002e1e
add rdi, 4
jmp 0x140002da2
add rdi, 2
shl ecx, 6
or ecx, r8d
mov r15d, ecx
jmp 0x140002da2
add rdi, 3
shl ecx, 0xc
or edx, ecx
mov r15d, edx
test al, al
jne 0x140002dbc
mov ecx, r15d
call fcn.140005f90
test al, al
je 0x140002dbc
mov r15d, 0x110000
xor eax, eax
jmp 0x140002dbe
mov al, 1
cmp r15d, 0x110000
je 0x140002d1c
mov ecx, r15d
call fcn.1400060c0
test al, al
je 0x140002e1e
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rax, rdx
mov di, 0x83cf
cmp rax, 2
mov r15, r13
jb 0x140002e38
mov rax, qword [rsp + 0x38]
mov word [rax + rdx], di
add rdx, 2
mov qword [rsp + 0x40], rdx
lea r13, [0x140008b6c]
sub r14, rsi
add r14, rbx
mov rsi, rbx
cmp rbx, r12
jne 0x140002b0c
jmp 0x140002e4d
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rax, rdx
mov di, 0x82cf
cmp rax, 1
mov r15, r13
ja 0x140002df1
mov r8d, 2
mov rcx, r15
call fcn.140004480
mov rdx, qword [rsp + 0x40]
jmp 0x140002df1
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x64]
mov r14, qword [rsp + 0x78]
mov r8, qword [rsp + 0x88]
test r8, r8
je 0x140002e81
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.1400063fc
mov rcx, rdi
mov rdx, r12
call fcn.14000309f
cmp eax, ebx
je 0x140002ed8
mov r12, qword [rsp + 0x68]
mov r12, qword [r12]
test rsi, rsi
je 0x140002eae
mov edx, 1
mov rcx, rdi
mov r8, rsi
call fcn.1400063fc
mov qword [rsp + 0x68], r12
mov rax, qword [r12]
test rax, rax
movabs r12, 0x100000000
je 0x140002f71
cmp rax, r14
jne 0x140002763
jmp 0x140002f71
test rsi, rsi
je 0x140002eed
mov edx, 1
mov rcx, rdi
mov r8, rsi
call fcn.1400063fc
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x140002f71
mov rcx, qword [rsp + 0x70]
mov edx, ebx
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm13, xmmword [rsp + 0x100]
movaps xmm14, xmmword [rsp + 0x110]
movaps xmm15, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140001501
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm13, xmmword [rsp + 0x100]
movaps xmm14, xmmword [rsp + 0x110]
movaps xmm15, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140002ff6
mov rcx, qword [rsp + 0x38]
mov edx, 1
call fcn.1400063fc
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r8, [0x1400081f8]
lea rdx, [rsp + 0x30]
call fcn.140005c00
xor edi, edi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, rbp
mov rdx, qword [rsp + 0x48]
mov r8, rdi
mov r9, r14
call fcn.140005dc0
mov r14, qword [rsp + 0x48]
lea rax, [0x140008388]
mov qword [rsp + 0x50], rax
jmp 0x140003010
call fcn.140004460
mov rcx, r12
call fcn.140004430
mov rcx, rsi
call fcn.140004430
int3