Function at 0x140837860
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14111a7d8]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov ebx, r8d
mov rdi, rdx
mov r15, rcx
cmp dword [0x141134360], 0
jle 0x140837c19
mov eax, dword [0x141134364]
cmp eax, 0xfffffffe
jle 0x1408378ac
call fcn.140838ed0
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.1407bd010
nop
xor esi, esi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea rcx, [rbp - 0x70]
call fcn.1406f3f50
mov rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x48]
lea edx, [rsi + 1]
lea r8d, [rsi + 7]
call qword [0x14091b060]
test eax, eax
jne 0x140837be7
mov esi, 0xffffffff
test ebx, 0x700
je 0x140837ae2
mov eax, dword [rdi]
or eax, 0x700
cmp qword [0x1411343b8], 0
mov dword [rdi], eax
je 0x140837a9b
mov dword [rbp + 0x40], 0x120089
mov dword [rbp + 0x44], 0x120116
mov dword [rbp + 0x48], 0x1200a0
mov dword [rbp + 0x4c], 0x1f01ff
mov dword [rsp + 0x44], 0x80000000
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x44]
call qword [0x14091b078]
mov dword [rsp + 0x48], 0x14
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x1411343b8]
mov rcx, qword [rbp - 0x78]
call qword [0x14091b0a8]
test eax, eax
je 0x1408379be
cmp dword [rsp + 0x4c], 0
je 0x1408379be
or dword [rdi + 4], 0x400
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x44], 0x40000000
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x44]
call qword [0x14091b078]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x1411343b8]
mov rcx, qword [rbp - 0x78]
call qword [0x14091b0a8]
test eax, eax
je 0x140837a30
cmp dword [rsp + 0x4c], 0
je 0x140837a30
or dword [rdi + 4], 0x200
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x44], 0x20000000
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x44]
call qword [0x14091b078]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x1411343b8]
mov rcx, qword [rbp - 0x78]
call qword [0x14091b0a8]
test eax, eax
je 0x140837ae2
cmp dword [rsp + 0x4c], 0
jmp 0x140837ad9
lea r8, [rsp + 0x40]
lea rdx, [0x141134368]
mov rcx, qword [rbp - 0x80]
call qword [0x14091b068]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x140837aca
or dword [rdi + 4], 0x400
test cl, 2
je 0x140837ad6
or dword [rdi + 4], 0x200
test cl, 0x20
je 0x140837ae2
or dword [rdi + 4], 0x100
test ebx, 0x7000
je 0x140837b42
or dword [rdi], 0x7000
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x20]
call qword [0x14091b058]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp - 0x80]
call qword [0x14091b068]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x140837b2a
or dword [rdi + 4], 0x4000
test cl, 2
je 0x140837b36
or dword [rdi + 4], 0x2000
test cl, 0x20
je 0x140837b42
or dword [rdi + 4], 0x1000
test bl, 0x70
je 0x140837b93
or dword [rdi], 0x70
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x20]
call qword [0x14091b058]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp - 0x80]
call qword [0x14091b068]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x140837b81
or dword [rdi + 4], 0x40
test cl, 2
je 0x140837b8a
or dword [rdi + 4], 0x20
test cl, 0x20
je 0x140837b93
or dword [rdi + 4], 0x10
test bl, 7
je 0x140837bdc
or dword [rdi], 7
lea r8, [rsp + 0x40]
lea rdx, [0x141134388]
mov rcx, qword [rbp - 0x80]
call qword [0x14091b068]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x140837bc7
or dword [rdi + 4], 4
test cl, 2
je 0x140837bd0
or dword [rdi + 4], 2
test cl, 0x20
je 0x140837bdc
or dword [rdi + 4], 0x1000
mov rcx, qword [rbp - 0x78]
call qword [0x14091b410]
nop
mov rax, qword [rbp - 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x140837c10
cmp ecx, 0xffffffff
je 0x140837ee7
mov rax, qword [rbp - 0x70]
mov esi, 0xffffffff
lock xadd dword [rax], esi
cmp esi, 1
jne 0x140837ee7
mov rcx, qword [rbp - 0x70]
jmp 0x140837ed8
mov eax, dword [rdx + 4]
or eax, 0x4044
mov dword [rdx + 4], eax
test byte [rdx + 0x10], 1
jne 0x140837c32
or eax, 0x2022
mov dword [rdx + 4], eax
lea rdx, [rbp - 0x68]
call fcn.1407bc910
nop
mov r8d, 4
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.1406f1430
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1406f2ed0
nop
mov rax, qword [rbp - 0x60]
mov ecx, dword [rax]
mov esi, 0xffffffff
test ecx, ecx
je 0x140837c80
cmp ecx, esi
je 0x140837c92
mov rax, qword [rbp - 0x60]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140837c92
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x60]
call fcn.1406e4ad0
test dword [rdi + 4], 0x40000
jne 0x140837d97
mov dword [rsp + 0x70], 4
lea rax, [0x140cea950]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.1406e7e30
test al, al
jne 0x140837d97
mov dword [rsp + 0x70], 4
lea rax, [0x140effe68]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1406e7e30
test al, al
jne 0x140837d97
mov dword [rsp + 0x70], 4
lea rax, [0x140effe70]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1406e7e30
test al, al
jne 0x140837d97
mov dword [rsp + 0x70], 4
lea rax, [0x140f192a8]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp], xmm0
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call fcn.1406e7e30
test al, al
jne 0x140837d97
mov dword [rsp + 0x70], 4
lea rax, [0x140effe78]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x58]
call fcn.1406e7e30
test al, al
je 0x140837d9e
or dword [rdi + 4], 0x1111
or dword [rdi], 0x7177
bt ebx, 0xa
jae 0x140837e14
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.1407bd010
nop
mov rcx, rax
call fcn.1406f3f50
mov rcx, rax
mov edx, 4
call fcn.1408f335c
test eax, eax
sete r14b
mov rax, qword [rbp - 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x140837df0
cmp ecx, 0xffffffff
je 0x140837e02
mov rax, qword [rbp - 0x58]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140837e02
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x58]
call fcn.1406e4ad0
test r14b, r14b
je 0x140837e0e
or dword [rdi + 4], 0x400
or dword [rdi], 0x400
bt ebx, 9
jae 0x140837e84
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.1407bd010
nop
mov rcx, rax
call fcn.1406f3f50
mov rcx, rax
mov edx, 2
call fcn.1408f335c
test eax, eax
sete r14b
mov rax, qword [rbp - 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x140837e60
cmp ecx, 0xffffffff
je 0x140837e72
mov rax, qword [rbp - 0x50]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140837e72
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x50]
call fcn.1406e4ad0
test r14b, r14b
je 0x140837e7e
or dword [rdi + 4], 0x200
or dword [rdi], 0x200
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x140837ea4
cmp ecx, 0xffffffff
je 0x140837eb8
mov rax, qword [rsp + 0x58]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140837eb8
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.1406e4ad0
nop
mov rax, qword [rbp - 0x68]
mov ecx, dword [rax]
test ecx, ecx
je 0x140837ed4
cmp ecx, 0xffffffff
je 0x140837ee7
mov rax, qword [rbp - 0x68]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x140837ee7
mov rcx, qword [rbp - 0x68]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.1406e4ad0
mov eax, dword [rdi]
and eax, ebx
cmp eax, ebx
sete al
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1408d7570
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret