Function at 0x140080c80
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movdqa xmmword [rsp + 0xf0], xmm11
movdqa xmmword [rsp + 0xe0], xmm10
movdqa xmmword [rsp + 0xd0], xmm9
movdqa xmmword [rsp + 0xc0], xmm8
movdqa xmmword [rsp + 0xb0], xmm7
movdqa xmmword [rsp + 0xa0], xmm6
mov rbx, r9
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov r13, qword [rsp + 0x178]
mov r12, qword [rsp + 0x170]
mov rax, qword [0x140174028]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov byte [r13], 0
cmp byte [rcx + 0x1c], 0
je 0x140081680
cmp r12, 0x4000
ja 0x140081169
mov r15, qword [rsi]
call fcn.140081d10
cmp r15, rax
je 0x140080dbd
test r15, r15
je 0x140080db5
xor eax, eax
xor r14d, r14d
mov rcx, r15
mov rdx, qword [r15]
mov r15, qword [r15 + 8]
mov r8d, dword [rcx + 0x18]
test r8d, 0x3ffe
je 0x140080e66
test rdx, rdx
jne 0x140080f10
mov r9d, r8d
and r9d, 0x7ffc000
jne 0x140080f10
or r8d, 1
mov dword [rcx + 0x18], r8d
mov edx, dword [rsi + 0x1c]
movzx r8d, dl
and edx, 0xffffff00
add r8d, edx
add r8d, 0x100
mov dword [rsi + 0x1c], r8d
add edx, 0x100
je 0x140081c1f
mov qword [rcx + 8], 0
mov rcx, rax
mov rax, rcx
test r15, r15
jne 0x140080d36
test r14, r14
jne 0x140080f25
call fcn.140081d10
mov qword [rsi], rax
mov r14, qword [rsi + 8]
test r14, r14
jne 0x140080ddb
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140081169
xor r14d, r14d
test r14, r14
je 0x140080e05
mov rax, qword [r14 + 8]
mov qword [rsi + 8], rax
cmp qword [r14], 0
jne 0x140080e9d
mov rax, qword [rsi + 0x10]
mov qword [r14 + 8], rax
mov qword [rsi + 0x10], r14
mov rax, r14
mov r14, qword [rsi + 8]
test r14, r14
jne 0x140080ddb
test bpl, 0x20
jne 0x140080efe
mov rcx, qword [rax + 8]
mov qword [rsi + 0x10], rcx
mov rcx, qword [rax + 0x10]
mov edx, dword [rcx + 0x1c]
movzx edx, dl
shl edx, 0xc
imul rdx, qword [rcx + 0x20]
shr rdx, 0x1c
mov ecx, 0xf8003fff
and ecx, dword [rax + 0x18]
and edx, 0x7ffc000
or ecx, edx
mov dword [rax + 0x18], ecx
mov rcx, rax
and rcx, 0xffffffffffe00000
inc word [rcx + 0x1012]
mov qword [rax + 8], 0
mov byte [r13], 1
mov r14, rax
jmp 0x140080f28
test rdx, rdx
je 0x14008114f
mov rdx, qword [rsi + 8]
mov qword [rcx + 8], rdx
mov qword [rsi + 8], rcx
jmp 0x140080da1
test r14, r14
cmove r14, rcx
test rax, rax
jne 0x140081160
mov qword [rcx + 8], 0
jmp 0x140080da4
mov qword [r14 + 8], 0
mov rax, r14
and rax, 0xffffffffffe00000
inc word [rax + 0x1012]
mov rax, qword [r14 + 0x10]
mov ecx, dword [rax + 0x18]
mov edx, dword [rax + 0x1c]
movzx edx, dl
shl edx, 0xc
imul rdx, qword [rax + 0x20]
shr rdx, 0x2a
mov eax, dword [r14 + 0x18]
shr eax, 0xe
and eax, 0x1fff
sub rdx, rax
imul rcx, rdx
add rcx, 0xfff
and rcx, 0xfffffffffffff000
sub qword [rdi + 0x14d8], rcx
jmp 0x140080f28
mov qword [r14 + 0x20], rbx
jmp 0x140080f3a
xor ebx, ebx
jmp 0x140080f94
xor edx, edx
jmp 0x140080f76
test rdx, rdx
je 0x140080e80
test r14, r14
jne 0x1400812c6
mov r14, rcx
mov qword [rsi], r14
mov rax, rsi
mov qword [rax], r14
mov ecx, dword [r14 + 0x18]
test ecx, 0x8000000
jne 0x140080ef8
mov rbx, qword [r14]
test rbx, rbx
je 0x140080fef
mov rdx, qword [rbx]
test rdx, rdx
je 0x140080f05
bswap rdx
mov esi, dword [rax + 0x18]
mov rax, rdx
xor rax, rbx
cmp rax, 0x1fffff
ja 0x140081c22
mov eax, edx
and eax, 0x1fc000
je 0x140081c22
prefetcht0 byte [rdx]
mov qword [r14], rdx
lea eax, [rcx + 2]
and eax, 0x3ffe
and ecx, 0xffffc001
or ecx, eax
mov dword [r14 + 0x18], ecx
mov qword [rbx], 0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400bce30
mov rax, rbx
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm9, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm11, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, r14
and rax, 0xffffffffffe00000
mov edx, r14d
shl edx, 9
and edx, 0x3fffc000
mov ebp, dword [rsi + 0x18]
mov r8d, ecx
shr r8d, 1
and r8d, 0x1fff
imul r8d, ebp
add rdx, rax
mov r9, rsi
lea rsi, [rdx + r8]
lea rbx, [r8 + rdx]
add rbx, 0xffffffffffe00000
lea r15, [r8 + rdx]
add r15, 0xffffffffffe00fff
and r15, 0xfffffffffffff000
lea r13, [rsi + rbp]
add r13, 0xffffffffffe00fff
and r13, 0xfffffffffffff000
lea eax, [rcx + 2]
and eax, 0x3ffe
mov r8d, ecx
and r8d, 0xffffc001
or r8d, eax
mov dword [r14 + 0x18], r8d
mov rax, r13
sub rax, rbx
mov qword [rsp + 0x28], r9
mov r9d, dword [r9 + 0x18]
xor edx, edx
div r9
shl eax, 0xe
sub ecx, eax
and ecx, 0x7ffc000
and r8d, 0xf8003fff
or r8d, ecx
mov dword [r14 + 0x18], r8d
mov r12, r13
sub r12, r15
lock inc qword [rdi + 0x14a8]
mov rcx, r15
mov rdx, r12
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140081c56
mov rdx, r12
lock xadd qword [rdi + 0x1478], rdx
lea rcx, [rsi + rbp]
add rcx, 0xffffffffffe00000
add rdx, r12
mov rax, qword [rdi + 0x1480]
cmp rax, rdx
mov r8, rdx
cmova r8, rax
lock cmpxchg qword [rdi + 0x1480], r8
jne 0x1400810e7
mov r9, qword [rsp + 0x28]
mov eax, dword [r9 + 0x18]
add rax, rcx
cmp rax, r13
ja 0x14008113b
xor edx, edx
nop
mov qword [rcx], 0
cmp qword [r14], 0
je 0x140081145
mov r8, rcx
bswap r8
mov qword [rdx], r8
mov rdx, rcx
mov r8d, dword [r9 + 0x18]
add r8, rax
mov rcx, rax
mov rax, r8
cmp r8, r13
jbe 0x140081110
or byte [r14 + 0x1b], 0x10
jmp 0x140080f94
mov qword [r14], rcx
and byte [r14 + 0x1b], 0xef
jmp 0x140081126
mov rdx, qword [rsi + 0x10]
mov qword [rcx + 8], rdx
mov qword [rsi + 0x10], rcx
jmp 0x140080da1
mov qword [rax + 8], rcx
jmp 0x140080e90
test bpl, 0x20
jne 0x140080efe
mov eax, dword [rsi + 0x1c]
movzx r15d, al
shl r15d, 0xc
add r15d, 0x3000
and r15d, 0x1fc000
mov rcx, qword [rdi + 0x14f0]
lea rax, [rcx + r12]
dec rax
mov r14, r12
neg r14
and rax, r14
lea rdx, [rax + r15]
mov qword [rsp + 0x30], rdi
cmp rdx, qword [rdi + 0x14f8]
ja 0x140081310
mov r12, 0xffffffffffe00000
mov rdx, rcx
and rdx, r12
shr ecx, 0xe
movzx ecx, cl
shl rcx, 5
or rcx, rdx
mov ebp, 0x1000
or rcx, rbp
and r12, rax
mov edi, eax
shr edi, 0xe
and edi, 0x7f
shl rdi, 5
lea r14, [r12 + rdi]
add r14, 0x1000
cmp rcx, r14
jb 0x140081c77
add rax, r15
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x14f0], rax
mov rcx, r14
mov rdx, rsi
call fcn.140081d20
mov rax, qword [r14 + 0x10]
mov ecx, dword [rax + 0x1c]
movzx ecx, cl
shl ecx, 0xc
imul rcx, qword [rax + 0x20]
shr rcx, 0x1c
mov eax, 0xf8003fff
and eax, dword [r14 + 0x18]
and ecx, 0x7ffc000
or eax, ecx
mov dword [r14 + 0x18], eax
mov rax, r14
and rax, 0xffffffffffe00000
inc word [rax + 0x1012]
mov qword [r14 + 8], 0
mov eax, dword [rsi + 0x1c]
test al, al
je 0x14008129d
or r12, rbp
movzx eax, al
lea eax, [rax*8 + 0x18]
and eax, 0xffffffe0
lea rcx, [rdi + r12]
add rcx, 0x1e
mov dl, 0x40
xor r8d, r8d
movzx r9d, byte [rcx + r8]
and r9b, 0x80
add r9b, dl
mov byte [rcx + r8], r9b
add r8, 0x20
inc dl
cmp eax, r8d
jne 0x14008127f
mov eax, dword [rsi + 0x1c]
mov rdi, qword [rsp + 0x30]
movzx eax, al
shl eax, 0xc
imul rax, qword [rsi + 0x20]
shr rax, 0x2a
cmp eax, 0x400
ja 0x140081c74
mov byte [r13], 1
jmp 0x140080f28
mov qword [rcx + 8], r14
mov qword [rax + 8], r15
jmp 0x140080f22
mov eax, 3
jmp 0x14008136c
mov ecx, 1
cmp rax, qword [0x140183548]
je 0x14008140e
mov rax, qword [0x140183558]
and rax, r8
mov ecx, 2
cmp rax, qword [0x140183550]
je 0x14008140e
jmp 0x140081c87
mov eax, dword [rsi + 0x18]
lea rcx, [rsp + 0x80]
mov qword [rcx + 8], rax
movabs rdi, 0x657a69736e617073
lea rax, [rdi + 0x60dfc00]
mov qword [rcx], rax
call fcn.140001840
lea rcx, [rsp + 0x70]
mov qword [rcx + 8], r15
mov qword [rcx], rdi
call fcn.140001840
mov rdi, qword [rsp + 0x30]
mov rdx, qword [rdi + 0x14e8]
cmp byte [rdi + 7], 0
jne 0x1400812d3
cmp byte [rdi + 6], 1
mov eax, 2
sbb rax, 0
dec eax
imul rax, rax, 0x420
lea rcx, [0x14018bba0]
add rcx, rax
test rdx, rdx
je 0x1400813b1
mov r8d, 0x200000
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x28]
call fcn.140011330
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
test al, al
jne 0x1400813c7
mov edx, 0x200000
call fcn.140001900
mov rdx, rax
test rax, rax
je 0x140081cb9
movabs rcx, 0xfffffffc00000000
mov rax, rdx
sub rax, 0xffffffffffe00000
mov qword [rsp + 0x48], rax
jae 0x140081539
lea rax, [rdi + 0x1508]
mov qword [rsp + 0x58], rax
mov r8, rdx
mov qword [rsp + 0x28], rdx
mov rax, r8
and rax, rcx
cmp rax, qword [0x140183540]
jne 0x1400812dd
xor ecx, ecx
mov rdx, r8
sub rdx, rax
shl rcx, 0xe
lea rax, [0x140177510]
add rcx, rax
shr rdx, 0x15
mov word [rcx + rdx*2], 0xfffe
lock add qword [rdi + 0x1488], 0x200000
lea rax, [r8 + 0x200000]
mov qword [rsp + 0x40], rax
mov qword [rdi + 0x14e8], rax
mov eax, 0x4000
add rax, r8
xor ecx, ecx
cmp byte [rdi], 0
setne cl
shl rcx, 0xf
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rcx
add rax, rcx
mov qword [rdi + 0x14f0], rax
lea rax, [r8 + 0x1fc000]
mov qword [rdi + 0x14f8], rax
lock inc qword [rdi + 0x14a8]
mov qword [rsp + 0x38], r8
lea rcx, [r8 + 0x1000]
mov edx, 0x1000
mov qword [rsp + 0x60], rcx
mov r8d, 2
call fcn.140001850
cmp byte [rdi + 7], 0
jne 0x1400814ba
cmp byte [rdi + 6], 0
jne 0x140081594
mov r8, qword [rsp + 0x38]
mov qword [r8 + 0x1000], rdi
mov dword [r8 + 0x1010], 0
mov qword [r8 + 0x1008], 0
mov rax, qword [rdi + 0x1500]
test r8, r8
je 0x1400815d5
lea rcx, [rax + 8]
test rax, rax
cmove rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rcx], rax
mov qword [rdi + 0x1500], rax
mov word [rax + 0x10], 1
mov rdx, qword [rsp + 0x28]
movabs rcx, 0xfffffffc00000000
cmp byte [rdi], 2
je 0x1400815de
mov rax, qword [rsp + 0x40]
mov r8, rax
cmp rax, qword [rsp + 0x48]
jb 0x1400813f9
mov al, byte [rdi]
and rcx, rdx
cmp rcx, qword [0x140183540]
je 0x140081550
cmp rcx, qword [0x140183548]
jne 0x1400815bd
xor ecx, ecx
test al, al
setne cl
shl rcx, 0xf
or rcx, 0x4000
add rcx, rdx
je 0x140081c90
dec r12
mov rcx, qword [rdi + 0x14f0]
add r12, rcx
mov rax, r12
and rax, r14
lea rdx, [rax + r15]
cmp rdx, qword [rdi + 0x14f8]
jbe 0x1400811b9
jmp 0x140081c84
lock inc qword [rdi + 0x14a8]
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 0x2000]
mov edx, 0x1000
mov r8d, 2
call fcn.140001850
jmp 0x1400814ba
mov rcx, qword [0x140183558]
and rcx, rdx
cmp rcx, qword [0x140183550]
je 0x140081550
jmp 0x140081cd9
inc word [rax + 0x10]
jmp 0x14008150e
lock inc qword [rdi + 0x14a8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov r8d, 2
call fcn.140001850
mov rcx, rdi
mov rdx, qword [rsp + 0x38]
call fcn.140116310
movabs rcx, 0xfffffffc00000000
mov rdx, qword [rsp + 0x28]
jmp 0x140081526
lock inc qword [rdi + 0x14a8]
lea rcx, [r15 + 0x2000]
mov edx, 0x1000
mov r8d, 2
call fcn.140001850
jmp 0x14008173a
mov ecx, 1
cmp rax, qword [0x140183548]
mov r14, qword [rsp + 0x38]
je 0x14008175b
mov rax, qword [0x140183558]
and rax, r15
mov ecx, 2
cmp rax, qword [0x140183550]
je 0x14008175b
jmp 0x140081cd6
mov r14d, 3
jmp 0x1400816d1
test bpl, 0x20
jne 0x140080efe
lea rcx, [rdi + 0x40]
cmp rbx, 0x7fe00001
mov qword [rsp + 0x30], rdi
jae 0x140081c8a
mov qword [rsp + 0x40], rcx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea r15, [rbx + r12]
add r15, 0x203fff
and r15, 0xffffffffffe00000
cmp byte [rdi + 7], 0
jne 0x140081678
cmp byte [rdi + 6], 1
mov r14d, 2
sbb r14d, 0
lea eax, [r14 - 1]
imul rax, rax, 0x420
lea rcx, [0x14018bba0]
add rcx, rax
mov rdx, r15
call fcn.140001900
test rax, rax
je 0x140081b33
mov qword [rsp + 0x38], r15
lock add qword [rdi + 0x1490], r15
lock inc qword [rdi + 0x14a8]
lea rcx, [rax + 0x1000]
mov edx, 0x1000
mov qword [rsp + 0x28], rcx
mov r8d, 2
mov r15, rax
call fcn.140001850
mov qword [rsp + 0x58], r14
cmp r14d, 2
je 0x14008161c
movabs rax, 0xfffffffc00000000
and rax, r15
cmp rax, qword [0x140183540]
jne 0x140081640
xor ecx, ecx
mov r14, qword [rsp + 0x38]
lea r11, [r15 + r12]
lea rdx, [r15 + r14]
cmp r15, rdx
jae 0x1400819b8
mov r8, r15
sub r8, rax
lea r9, [r15 + 0x200000]
cmp rdx, r9
cmova r9, rdx
mov rax, r15
not rax
add rax, r9
movq xmm0, rax
shr rax, 0x15
add rax, 8
and rax, 0xfffffffffffffff8
pshufd xmm0, xmm0, 0x44
psrlq xmm0, 0x15
shl rcx, 0xe
shr r8, 0x15
lea rcx, [rcx + r8*2]
lea rdx, [0x140177510]
add rcx, rdx
add rcx, 0xe
xor edx, edx
movdqa xmm1, xmmword [0x1401654e0]
movdqa xmm2, xmmword [0x1401654f0]
movdqa xmm3, xmmword [0x140165500]
movdqa xmm4, xmmword [0x140165510]
movdqa xmm5, xmmword [0x14014ca50]
pxor xmm0, xmm5
pcmpeqd xmm6, xmm6
movq xmm7, rdx
pshufd xmm7, xmm7, 0x44
movdqa xmm8, xmm7
por xmm8, xmm4
pxor xmm8, xmm5
movdqa xmm9, xmm8
pcmpgtd xmm9, xmm0
pcmpeqd xmm8, xmm0
pshufd xmm10, xmm8, 0xf5
pand xmm10, xmm9
pshufd xmm8, xmm9, 0xf5
por xmm8, xmm10
movd r8d, xmm8
not r8d
test r8b, 1
je 0x140081841
mov word [rcx + rdx*2 - 0xe], dx
pxor xmm8, xmm6
psrldq xmm8, 6
movd r8d, xmm8
shr r8d, 0x10
test r8b, 1
je 0x140081865
lea r8d, [rdx + 1]
mov word [rcx + rdx*2 - 0xc], r8w
movdqa xmm8, xmm7
por xmm8, xmm3
pxor xmm8, xmm5
movdqa xmm9, xmm8
pcmpgtd xmm9, xmm0
pcmpeqd xmm8, xmm0
pshufd xmm10, xmm8, 0xf5
pand xmm10, xmm9
pshufd xmm8, xmm9, 0xf5
por xmm8, xmm10
pxor xmm8, xmm6
pextrw r8d, xmm8, 0
test r8b, 1
je 0x1400818b4
lea r8d, [rdx + 2]
mov word [rcx + rdx*2 - 0xa], r8w
pextrw r8d, xmm8, 4
test r8b, 1
je 0x1400818ca
lea r8d, [rdx + 3]
mov word [rcx + rdx*2 - 8], r8w
movdqa xmm8, xmm7
por xmm8, xmm2
pxor xmm8, xmm5
movdqa xmm9, xmm8
pcmpgtd xmm9, xmm0
pshufd xmm10, xmm9, 0x44
pcmpeqd xmm8, xmm0
pshufd xmm11, xmm8, 0x55
pand xmm11, xmm10
pshufd xmm10, xmm9, 0x55
por xmm10, xmm11
pxor xmm10, xmm6
pextrw r8d, xmm10, 4
test r8b, 1
je 0x14008191f
lea r8d, [rdx + 4]
mov word [rcx + rdx*2 - 6], r8w
pshufd xmm8, xmm8, 0xf5
pand xmm8, xmm9
pshufd xmm9, xmm9, 0xf5
por xmm9, xmm8
pxor xmm9, xmm6
pextrw r8d, xmm9, 4
test r8b, 1
je 0x140081950
lea r8d, [rdx + 5]
mov word [rcx + rdx*2 - 4], r8w
por xmm7, xmm1
pxor xmm7, xmm5
movdqa xmm8, xmm7
pcmpgtd xmm8, xmm0
pcmpeqd xmm7, xmm0
pshufd xmm9, xmm7, 0xf5
pand xmm9, xmm8
pshufd xmm7, xmm8, 0xf5
por xmm7, xmm9
pxor xmm7, xmm6
pextrw r8d, xmm7, 0
test r8b, 1
je 0x140081996
lea r8d, [rdx + 6]
mov word [rcx + rdx*2 - 2], r8w
pextrw r8d, xmm7, 4
test r8b, 1
je 0x1400819ab
lea r8d, [rdx + 7]
mov word [rcx + rdx*2], r8w
add rdx, 8
cmp rax, rdx
jne 0x1400817f0
mov qword [rsp + 0x50], r15
mov r8, qword [rsp + 0x28]
mov qword [r8], rdi
lea rdx, [r8 + 0x20]
mov rax, r11
and rax, 0xffffffffffe00000
mov ecx, r11d
shr ecx, 0xe
and ecx, 0x7f
shl rcx, 5
lea r14, [rax + rcx]
add r14, 0x1000
cmp r14, rdx
mov qword [rsp + 0x48], r11
jne 0x140081b4a
or rax, 0x1000
or byte [rax + rcx + 0x1e], 0x40
lea r15, [rbx + 0xfff]
and r15, 0xfffffffffffff000
mov al, byte [r14 + 0x3e]
and al, 0xc0
or al, 1
mov byte [r14 + 0x3e], al
lea rdx, [r14 + 0x40]
mov dword [r14 + 0x58], r15d
mov rcx, r14
mov qword [rsp + 0x60], rdx
call fcn.140081d20
lock inc qword [rdi + 0x14a8]
mov rcx, qword [rsp + 0x48]
mov rdx, r15
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140081b75
mov rcx, r15
lock xadd qword [rdi + 0x1478], rcx
add r12, 0xffffffffffffc000
add rcx, r15
mov rax, qword [rdi + 0x1480]
cmp rax, rcx
mov rdx, rcx
cmova rdx, rax
lock cmpxchg qword [rdi + 0x1480], rdx
jne 0x140081a7a
mov rax, qword [rsp + 0x48]
mov qword [rax], 0
mov qword [r14], rax
and byte [r14 + 0x1b], 0xef
lea rdi, [r14 + 0x68]
mov rax, qword [rsp + 0x38]
mov qword [r14 + 0x80], rax
mov qword [r14 + 0x88], r12
mov rax, qword [rsp + 0x60]
mov qword [r14 + 0x78], rax
mov r15b, 1
mov r12, qword [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140081b29
test r15b, r15b
je 0x140081c90
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1510]
mov qword [rdi], rax
test rax, rax
je 0x140081af9
mov qword [rax + 8], rdi
mov qword [rdi + 8], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1510], rdi
test r14, r14
je 0x140081c90
mov rax, qword [r14 + 0x10]
mov byte [r13], 1
mov rdi, qword [rsp + 0x30]
jmp 0x140080f2b
mov rcx, r12
call fcn.140080c10
jmp 0x140081ad8
test bpl, 1
je 0x140081ced
xor edi, edi
xor r14d, r14d
xor r15d, r15d
jmp 0x140081ac6
test byte [r8 + 0x3e], 0x40
jne 0x140081cdc
mov r8d, r14d
sub r8d, edx
shr r8d, 5
and r8b, 0x3f
or r8b, 0x80
mov rdx, qword [rsp + 0x28]
mov byte [rdx + 0x3e], r8b
jmp 0x1400819f8
mov qword [rsp + 0x28], rsi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x140081b93
mov rcx, qword [rsp + 0x40]
call fcn.140080c10
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.1401122c0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x48]
mov rdx, r15
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rsi, qword [rsp + 0x28]
jne 0x140081a5d
test bpl, 1
je 0x140081cfa
mov rsi, qword [rsp + 0x30]
lock inc qword [rsi + 0x14a8]
lea rcx, [0x14018bba0]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
mov r9, rdi
call fcn.1400076a0
lock sub qword [rsi + 0x1490], rdi
xor edi, edi
xor r15d, r15d
mov rsi, qword [rsp + 0x28]
jmp 0x140081ac6
int3
movaps xmm0, xmmword [0x14015bb90]
lea rdi, [rsp + 0x80]
movaps xmmword [rdi], xmm0
mov r8, qword [rbx]
lea rdx, str.first
mov rcx, rdi
call fcn.1401107d0
mov rcx, rdi
call fcn.140001840
mov rcx, rsi
call fcn.140112280
mov rcx, rdi
call fcn.1401122c0
mov rcx, r15
mov rdx, r12
mov r8d, 2
call fcn.140001850
jmp 0x1400810c6
int3
or byte [rcx + 0x1e], 0x80
add rcx, 0x20
jmp 0x1400811f5
int3
int3
test bpl, 1
je 0x140081cdf
mov byte [r13], 1
test bpl, 1
jne 0x140080efe
mov rsi, qword [rsp + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rsi
mov rdx, rbx
call fcn.140112330
test bpl, 1
jne 0x140081c90
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edx, 0x200000
mov rcx, rdi
call fcn.140117df0
int3
int3
int3
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rbx
call fcn.140117e60
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call fcn.140117df0
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call fcn.140117e20
int3