Function at 0x14000295c
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 + 0x68], rcx
mov rax, qword gs:[0x60]
mov r15, qword [rax + 0x18]
test r15, r15
je 0x140003268
mov ebx, edx
add r15, 0x20
movabs r13, 0x8000000000000000
lea r12, [rsp + 0x30]
lea rax, [0x140008388]
mov qword [rsp + 0x50], rax
lea r14, [0x140008b84]
pxor xmm8, xmm8
packuswb xmm8, xmm8
movdqa xmm11, xmmword [0x140008030]
movdqa xmm12, xmmword [0x140008040]
movdqa xmm13, xmmword [0x140008050]
movdqa xmm14, xmmword [0x140008060]
movdqa xmm15, xmmword [0x140008070]
movdqa xmm7, xmmword [0x140008080]
movdqa xmm9, xmmword [0x140008090]
movdqa xmm10, xmmword [0x1400080a0]
movdqa xmm6, xmmword [0x1400080c0]
movabs rbp, 0x100000000
mov rcx, r15
mov dword [rsp + 0x64], edx
mov qword [rsp + 0x70], r15
mov rax, qword [rcx]
test rax, rax
je 0x140003268
cmp rax, r15
je 0x140003268
mov qword [rsp + 0x80], rcx
movzx ecx, word [rax + 0x48]
mov esi, ecx
shr esi, 1
mov rdx, qword [rax + 0x20]
mov qword [rsp + 0x78], rdx
mov rdi, qword [rax + 0x50]
mov eax, 1
cmp ecx, 2
jb 0x140002adb
mov al, byte [0x14010e038]
mov ecx, 1
mov rdx, rsi
call fcn.14000652d
test rax, rax
je 0x140003344
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
and qword [rsp + 0x40], 0
lea rsi, [rdi + rsi*2]
cmp rdi, rsi
je 0x140002b67
lea rax, [rdi + 2]
movzx edx, word [rdi]
mov ecx, edx
and ecx, 0xf800
cmp cx, 0xd800
jne 0x140002b53
cmp dx, 0xdbff
ja 0x1400032d4
cmp rax, rsi
je 0x1400032d4
movzx eax, word [rax]
lea ecx, [rax + 0x2000]
cmp cx, 0xfc00
jb 0x1400032d4
add rdi, 4
and edx, 0x3ff
and eax, 0x3ff
shl rdx, 0x1a
shl eax, 0x10
or rax, rdx
add rax, rbp
mov rdx, rax
jmp 0x140002b59
shl edx, 0x10
mov rdi, rax
shr rdx, 0x10
mov rcx, r12
call fcn.1400048f0
jmp 0x140002aef
mov rsi, qword [rsp + 0x30]
cmp rsi, r13
je 0x1400032ed
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0x40]
test r12, r12
mov qword [rsp + 0x88], rsi
je 0x140002df7
js 0x14000333f
mov al, byte [0x14010e038]
mov ecx, 1
mov rdx, r12
call fcn.14000652d
test rax, rax
je 0x140003337
mov rdi, rax
cmp r12, 0x10
jb 0x140002dfc
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 0x140002dfe
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 [section..rdata]
andpd xmm2, xmm3
pand xmm1, xmm3
packuswb xmm1, xmm2
movd xmm2, r9d
pshufd xmm2, xmm2, 0x50
movdqa xmm3, xmmword [0x140008010]
pandn xmm3, xmm2
movd xmm2, edx
psllq xmm2, 0x28
movdqa xmm4, xmmword [0x140008020]
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 [0x140008100]
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 [0x1400080b0]
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 [0x1400080d0]
movdqa xmm1, xmm0
pminub xmm1, xmmword [0x1400080e0]
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 0x140002bc6
mov rbp, rax
jmp 0x140002dfe
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 0x140002e22
mov rsi, r12
jmp 0x14000318d
mov rax, qword [rsp + 0x58]
add rbp, rax
add r12, rax
xor esi, esi
mov r13, rbp
movzx edx, byte [r13]
test dl, dl
js 0x140002e41
lea rbx, [r13 + 1]
jmp 0x140002ea8
mov eax, edx
and eax, 0x1f
movzx r8d, byte [r13 + 1]
and r8d, 0x3f
cmp dl, 0xdf
jbe 0x140002e8f
movzx ecx, byte [r13 + 2]
shl r8d, 6
and ecx, 0x3f
or ecx, r8d
cmp dl, 0xf0
jb 0x140002e9d
movzx edx, byte [r13 + 3]
and eax, 7
shl eax, 0x12
shl ecx, 6
and edx, 0x3f
or edx, ecx
or edx, eax
cmp edx, 0x110000
je 0x14000316b
lea rbx, [r13 + 4]
jmp 0x140002ea8
lea rbx, [r13 + 2]
shl eax, 6
or eax, r8d
mov edx, eax
jmp 0x140002ea8
lea rbx, [r13 + 3]
shl eax, 0xc
or ecx, eax
mov edx, ecx
cmp edx, 0x3a3
je 0x140002eda
cmp edx, 0x110000
je 0x14000316b
cmp edx, 0x80
jae 0x140002ef2
lea eax, [rdx - 0x41]
xor ecx, ecx
cmp al, 0x1a
setb cl
shl ecx, 5
or ecx, edx
mov edx, ecx
jmp 0x14000302b
test rsi, rsi
je 0x140002f34
cmp rsi, qword [rsp + 0x48]
jae 0x140002f2e
cmp byte [rbp + rsi], 0xbf
jg 0x140002f34
jmp 0x140003305
mov eax, 0x57f
xor ecx, ecx
mov r8d, 0x57f
shr rax, 1
add rax, rcx
mov r9d, dword [r14 + rax*8]
cmp r9d, edx
je 0x140002ffc
lea r10, [rax + 1]
cmp r9d, edx
cmova r8, rax
cmovb rcx, r10
mov rax, r8
sub rax, rcx
ja 0x140002eff
jmp 0x14000302b
jne 0x140003305
lea r15, [rsi + rbp]
xor eax, eax
cmp r15, rbp
je 0x140003100
movzx edi, byte [r15 - 1]
test dil, dil
js 0x140002f52
dec r15
jmp 0x140002fab
movzx ecx, byte [r15 - 2]
cmp cl, 0xc0
jge 0x140002f7f
movzx edx, byte [r15 - 3]
cmp dl, 0xbf
jg 0x140002f88
movzx r8d, byte [r15 - 4]
add r15, 0xfffffffffffffffc
and r8d, 7
shl r8d, 6
and edx, 0x3f
or edx, r8d
jmp 0x140002f8f
add r15, 0xfffffffffffffffe
and ecx, 0x1f
jmp 0x140002f97
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 0x140003100
test al, al
jne 0x140002fc3
mov ecx, edi
call fcn.140006200
test al, al
je 0x140002fc3
mov edi, 0x110000
xor eax, eax
jmp 0x140002fc5
mov al, 1
cmp edi, 0x110000
je 0x140002f3a
mov ecx, edi
call fcn.140006330
test al, al
je 0x140003100
mov rdi, rsi
add rdi, 2
je 0x140003040
cmp rdi, qword [rsp + 0x48]
jae 0x14000303a
cmp byte [rbp + rdi], 0xbf
jg 0x140003040
jmp 0x140003324
mov edx, dword [r14 + rax*8 + 4]
mov eax, edx
xor eax, 0xd800
add eax, 0xffef0000
cmp eax, 0xffef0800
mov eax, 0x69
cmovb edx, eax
jae 0x14000302b
lea rcx, [rsp + 0x30]
call fcn.1400048f0
mov edx, 0x307
lea rcx, [rsp + 0x30]
call fcn.1400048f0
jmp 0x140003129
jne 0x140003324
add rdi, rbp
xor eax, eax
cmp rdi, r12
je 0x14000313d
movzx r15d, byte [rdi]
test r15b, r15b
js 0x14000305c
inc rdi
jmp 0x1400030cb
mov ecx, r15d
and ecx, 0x1f
movzx r8d, byte [rdi + 1]
and r8d, 0x3f
cmp r15b, 0xdf
jbe 0x1400030b0
movzx edx, byte [rdi + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp r15b, 0xf0
jb 0x1400030bf
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 0x14000313d
add rdi, 4
jmp 0x1400030cb
add rdi, 2
shl ecx, 6
or ecx, r8d
mov r15d, ecx
jmp 0x1400030cb
add rdi, 3
shl ecx, 0xc
or edx, ecx
mov r15d, edx
test al, al
jne 0x1400030e5
mov ecx, r15d
call fcn.140006200
test al, al
je 0x1400030e5
mov r15d, 0x110000
xor eax, eax
jmp 0x1400030e7
mov al, 1
cmp r15d, 0x110000
je 0x140003045
mov ecx, r15d
call fcn.140006330
test al, al
je 0x14000313d
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rax, rdx
mov di, 0x83cf
cmp rax, 2
jb 0x140003154
mov rax, qword [rsp + 0x38]
mov word [rax + rdx], di
add rdx, 2
mov qword [rsp + 0x40], rdx
sub rsi, r13
add rsi, rbx
mov r13, rbx
cmp rbx, r12
jne 0x140002e32
jmp 0x14000316b
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rax, rdx
mov di, 0x82cf
cmp rax, 1
ja 0x140003117
mov r8d, 2
lea rcx, [rsp + 0x30]
call fcn.140004720
mov rdx, qword [rsp + 0x40]
jmp 0x140003117
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x64]
mov r15, qword [rsp + 0x70]
movabs r13, 0x8000000000000000
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
call fcn.140001479
mov rcx, rdi
mov rdx, r12
call fcn.140003396
cmp eax, ebx
movabs rbp, 0x100000000
je 0x1400031dc
mov r12, qword [rsp + 0x80]
mov r12, qword [r12]
mov rcx, rsi
mov rdx, rdi
call fcn.140001479
mov rcx, r12
lea r12, [rsp + 0x30]
jmp 0x140002a83
mov rcx, rsi
mov rdx, rdi
call fcn.140001479
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x140003268
mov rcx, qword [rsp + 0x68]
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.140001528
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 0x1400032ed
mov rcx, qword [rsp + 0x38]
mov edx, 1
call fcn.14000668d
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r8, [0x1400081e8]
lea rdx, [rsp + 0x30]
call fcn.140005e70
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, rsi
call fcn.140006030
mov rsi, qword [rsp + 0x48]
lea rax, [0x1400083a0]
mov qword [rsp + 0x50], rax
jmp 0x140003307
mov rcx, r12
call fcn.1400046d0
call fcn.140004700
mov rcx, rsi
call fcn.1400046d0
int3