Function at 0x14005de00
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r14, r9
mov r15d, edx
mov qword [rsp + 0x30], rcx
mov r9, qword [rsp + 0x100]
mov rax, qword [0x1400f4028]
xor rax, rsp
mov qword [rsp + 0x90], rax
test r8, r8
jne 0x14005dfb7
mov r13d, r15d
test r15b, 4
je 0x14005e82d
movabs r15, 0xaaaaaaaaaaaaaaaa
mov eax, 0x40
mov ecx, 0x40
test r14, r14
je 0x14005de6f
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400e0740]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x1400e0790]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400dff20]
movzx ebp, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x80], r15
mov rsi, qword [rsp + 0x30]
cmp byte [rsi], 2
je 0x14005efdb
cmp byte [rsi + 2], 0
je 0x14005ef8c
mov edi, dword [0x1400fde78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test ebx, ebx
jne 0x14005e9b2
cmp rdi, 2
jb 0x14005eff3
add qword [rdi + 0x5a0], 1
cmp word [0x1400f7260], bp
jb 0x14005e536
mov rsi, rbp
shl rsi, 4
mov rbx, rdi
add rbx, rsi
mov r12, qword [rdi + rsi]
test r12, r12
je 0x14005e622
add qword [rdi + 0x5a8], 1
mov rax, qword [r12]
test rax, rax
je 0x14005e45c
mov rcx, rax
not rcx
cmp qword [r12 + 8], rcx
jne 0x14005f8ef
bswap rax
prefetcht0 byte [rax]
add byte [rdi + rsi + 8], 0xff
mov qword [rbx], rax
movzx eax, word [rdi + rsi + 0xa]
mov qword [rsp + 0x80], rax
sub qword [rdi + 0x590], rax
test r12, r12
je 0x14005e544
mov r15, qword [rsp + 0x80]
test r13b, 2
jne 0x14005f00f
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140069700
mov rax, r12
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x48], r8
test r14, r14
je 0x14005e9f7
cmp r14, 0x7fe00001
jae 0x14005f02c
mov eax, r15d
mov r13b, byte [0x1400ff500]
movabs rdx, 0xaaaaaaaaaaaaaaaa
mov rcx, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rdx
and eax, 4
je 0x14005edf5
xor r13d, r13d
test r13b, r13b
mov qword [rsp + 0x38], r14
jne 0x14005f08e
mov dword [rsp + 0x44], r15d
mov rcx, qword [rsp + 0x48]
mov rax, rcx
and rax, 0xffffffffffe00000
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx eax, byte [rax + rcx + 0x101e]
mov rdi, rax
neg rdi
shl rax, 5
mov rbx, rbp
sub rbx, rax
mov rax, rbx
and rax, 0xfffffffffffff000
mov rsi, qword [rax]
lea r14, [rsi + 8]
mov r12d, 1
mov dword [rsp + 0x5c], 0
mov r15, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov rcx, r14
call r15
test al, al
jne 0x14005e0b2
jmp 0x14005ebae
pause
dec eax
jne 0x14005e081
mov ecx, dword [rsp + 0x5c]
add ecx, r12d
add r12d, r12d
cmp r12d, 0x40
mov eax, 0x40
cmovge r12d, eax
mov dword [rsp + 0x5c], ecx
cmp ecx, 0x3e8
jl 0x14005e072
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
shl rdi, 5
cmp byte [rbp + rdi + 0x1d], 0
jne 0x14005f0aa
mov rax, qword [rbp + rdi + 0x10]
mov eax, dword [rax + 0x18]
mov r15d, dword [rsp + 0x44]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + rdi + 0x10]
cmp byte [rax + 0x1c], 0
je 0x14005f03e
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, 0x40
mov ecx, 0x40
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x14005e107
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400e0740]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x1400e0790]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400dff20]
movzx eax, word [rcx + rax*2 + 0x400]
lea rax, [rax + rax*4]
cmp byte [rsi + rax*8 + 0x2c], 0
je 0x14005f0b3
mov eax, dword [rsi + rax*8 + 0x28]
movzx ecx, byte [rbp + 0x1e]
shl rcx, 5
neg rcx
mov rcx, qword [rbp + rcx + 0x10]
mov ecx, dword [rcx + 0x18]
cmp rax, rcx
je 0x14005e607
test r15b, 4
je 0x14005ec7b
mov eax, 0x40
mov ecx, 0x40
test r14, r14
movabs rbx, 0xaaaaaaaaaaaaaaaa
je 0x14005e1a0
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400e0740]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x1400e0790]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400dff20]
movzx ebp, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x80], rbx
mov rsi, qword [rsp + 0x30]
cmp byte [rsi], 2
je 0x14005f223
cmp byte [rsi + 2], 0
je 0x14005f1a3
mov edi, dword [0x1400fde78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test ebx, ebx
jne 0x14005ebc3
cmp rdi, 2
jb 0x14005f23b
add qword [rdi + 0x5a0], 1
cmp word [0x1400f7260], bp
jb 0x14005e463
mov rsi, rbp
shl rsi, 4
mov rbx, rdi
add rbx, rsi
mov r12, qword [rdi + rsi]
test r12, r12
je 0x14005e9c6
inc qword [rdi + 0x5a8]
mov rax, qword [r12]
test rax, rax
je 0x14005e723
mov rcx, rax
not rcx
cmp qword [r12 + 8], rcx
jne 0x14005f8ef
bswap rax
prefetcht0 byte [rax]
dec byte [rdi + rsi + 8]
mov qword [rbx], rax
movzx eax, word [rdi + rsi + 0xa]
mov qword [rsp + 0x80], rax
sub qword [rdi + 0x590], rax
test r12, r12
je 0x14005e471
mov rsi, qword [rsp + 0x80]
test r15b, 2
jne 0x14005f257
test r12, r12
je 0x14005f02c
mov rax, qword [rsp + 0x60]
cmp rax, r14
ja 0x14005e2d5
mov r14, rax
mov rcx, r12
mov rdi, qword [rsp + 0x48]
mov rdx, rdi
mov r8, r14
call fcn.14006bc80
mov al, byte [0x1400ff500]
test al, 1
je 0x14005e30a
mov rcx, rdi
call fcn.140066690
mov rcx, rdi
int3
prefetcht0 byte [rdi]
mov rsi, rdi
and rsi, 0xffffffffffe00000
shr rdi, 9
and edi, 0xfe0
lea r14, [rsi + rdi]
add r14, 0x1000
movzx eax, byte [rsi + rdi + 0x101e]
mov r13, rax
neg r13
shl rax, 5
mov qword [rsp + 0x30], r14
sub r14, rax
prefetcht0 byte [r14]
mov rax, r14
and rax, 0xfffffffffffff000
mov r15, qword [rax]
cmp byte [r15], 2
je 0x14005f0c5
cmp byte [r15 + 2], 0
je 0x14005e653
mov rax, r13
shl rax, 5
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rcx + rax + 0x10]
lea rbx, [r15 + 0x10]
lea rax, [r15 + 0x1410]
cmp rax, rdi
setae al
cmp rbx, rdi
ja 0x14005f274
test al, al
je 0x14005e653
mov ebp, dword [0x1400fde78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test esi, esi
jne 0x14005ebd0
cmp rbp, 2
jb 0x14005e653
sub rdi, rbx
sar rdi, 3
add qword [rbp + 0x5c8], 1
movabs rax, 0xcccccccccccccccd
imul rax, rdi
movzx ecx, word [0x1400f7260]
cmp rax, rcx
ja 0x14005e64c
shl rax, 4
mov rcx, qword [rbp + rax]
bswap rcx
mov rdx, qword [rsp + 0x48]
mov qword [rdx], rcx
not rcx
mov qword [rdx + 8], rcx
mov qword [rbp + rax], rdx
mov dl, byte [rbp + rax + 8]
add dl, 1
mov byte [rbp + rax + 8], dl
movzx ecx, word [rbp + rax + 0xa]
add qword [rbp + 0x590], rcx
add qword [rbp + 0x5d0], 1
mov cl, byte [rbp + rax + 9]
cmp dl, cl
ja 0x14005f27b
mov al, byte [rbp + 0x598]
test al, 1
je 0x14005df90
mov rcx, rbp
int3
xor eax, eax
jmp 0x14005df59
inc qword [rdi + 0x5c0]
inc qword [rdi + 0x5b0]
lea rdi, [rbp*4]
add rdi, rbp
mov rax, qword [rsp + 0x30]
lea rsi, [rax + rdi*8]
add rsi, 0x10
lea r14, [rax + 8]
mov ebx, 1
xor ebp, ebp
mov r12, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov rcx, r14
call r12
test al, al
jne 0x14005e4cf
jmp 0x14005edfe
pause
dec eax
jne 0x14005e4aa
add ebp, ebx
add ebx, ebx
cmp ebx, 0x40
mov eax, 0x40
cmovge ebx, eax
cmp ebp, 0x3e8
jl 0x14005e49b
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rsi]
mov r12, qword [rax]
test r12, r12
je 0x14005e7ac
mov byte [rsp + 0x70], 0
mov rcx, qword [rsp + 0x30]
mov esi, dword [rcx + rdi*8 + 0x28]
mov rcx, qword [r12]
test rcx, rcx
je 0x14005e9f0
mov rdx, rcx
not rdx
cmp qword [r12 + 8], rdx
jne 0x14005f8ef
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r12, r12
mov r14, qword [rsp + 0x38]
jne 0x14005e2b5
xor r12d, r12d
jmp 0x14005e2bf
inc qword [rdi + 0x5c0]
inc qword [rdi + 0x5b0]
mov qword [rsp + 0x38], r14
lea rdi, [rbp*4]
add rdi, rbp
mov rax, qword [rsp + 0x30]
lea rsi, [rax + rdi*8]
add rsi, 0x10
lea rcx, [rax + 8]
mov ebx, 1
xor ebp, ebp
mov r12, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov r14, rcx
call r12
test al, al
jne 0x14005e5a7
jmp 0x14005ee0d
pause
dec eax
jne 0x14005e582
add ebp, ebx
mov rcx, r14
add ebx, ebx
cmp ebx, 0x40
mov eax, 0x40
cmovge ebx, eax
cmp ebp, 0x3e8
jl 0x14005e573
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rsi]
mov r12, qword [rax]
test r12, r12
je 0x14005e72a
mov byte [rsp + 0x70], 0
mov rcx, qword [rsp + 0x30]
mov r15d, dword [rcx + rdi*8 + 0x28]
mov rcx, qword [r12]
test rcx, rcx
je 0x14005e9bf
mov rdx, rcx
not rdx
cmp qword [r12 + 8], rdx
jne 0x14005f8ef
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r12, r12
jne 0x14005df86
jmp 0x14005eb94
lea rax, [rdi + rbp]
add rax, 0x1d
cmp byte [rax], 0
jne 0x14005f2e3
mov r12, qword [rsp + 0x48]
jmp 0x14005df90
inc qword [rdi + 0x5b8]
inc qword [rdi + 0x5b0]
mov rcx, rdi
mov rdx, rbp
int3
inc qword [rbp + 0x5d8]
add r15, 8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov esi, 1
xor edi, edi
mov rbp, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov rcx, r15
call rbp
test al, al
jne 0x14005e6a3
jmp 0x14005ee1c
pause
dec eax
jne 0x14005e67e
add edi, esi
add esi, esi
cmp esi, 0x40
mov eax, 0x40
cmovge esi, eax
cmp edi, 0x3e8
jl 0x14005e670
mov rcx, r15
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [r14]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
je 0x14005f2ec
bswap rax
mov qword [rcx], rax
not rax
mov qword [rcx + 8], rax
mov qword [r14], rcx
shl r13, 5
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + r13 + 0x18]
dec eax
mov word [rcx + r13 + 0x18], ax
test ax, ax
jle 0x14005eb9c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsp + 0x80], 0
je 0x14005df90
lea rcx, [rsp + 0x80]
call fcn.14003d8e0
jmp 0x14005df90
xor eax, eax
jmp 0x14005e289
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, rsi
mov rdx, qword [rsp + 0x30]
mov r8d, r13d
mov r9, qword [rsp + 0x38]
call fcn.140043190
test rax, rax
je 0x14005f2ef
mov r12, rax
and rax, 0xffffffffffe00000
mov rcx, r12
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx edx, byte [rbp + 0x1e]
mov rcx, rdx
neg rcx
shl rdx, 5
mov rax, rbp
sub rax, rdx
cmp byte [rax + 0x1d], 0
jne 0x14005f2f7
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov r15d, dword [rax + 0x18]
jmp 0x14005e5f0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, rsi
mov rdx, qword [rsp + 0x30]
mov r8d, r15d
mov r9, qword [rsp + 0x38]
call fcn.140043190
test rax, rax
je 0x14005f305
mov r12, rax
and rax, 0xffffffffffe00000
mov rcx, r12
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx edx, byte [rbp + 0x1e]
mov rcx, rdx
neg rcx
shl rdx, 5
mov rax, rbp
sub rax, rdx
cmp byte [rax + 0x1d], 0
jne 0x14005ec6d
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov esi, dword [rax + 0x18]
jmp 0x14005e517
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x70], 0
mov r15b, byte [0x1400ff500]
test r15b, 1
jne 0x14005f31e
movabs r14, 0xaaaaaaaaaaaaaaaa
mov eax, 0x40
mov ecx, 0x40
mov rbp, qword [rsp + 0x38]
test rbp, rbp
je 0x14005e872
bsr rcx, rbp
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400e0740]
mov cl, byte [rax + rcx]
mov rdx, rbp
shr rdx, cl
and edx, 7
lea rcx, [0x1400e0790]
mov rcx, qword [rcx + rax*8]
and rcx, rbp
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400dff20]
movzx ebx, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x80], r14
mov rsi, qword [rsp + 0x30]
cmp byte [rsi], 2
je 0x14005f357
mov dword [rsp + 0x44], r13d
cmp byte [rsi + 2], 0
jne 0x14005f36f
lea rax, [rbx + rbx*4]
lea rdi, [rsi + rax*8]
add rdi, 0x10
lea r12, [rsi + 8]
mov ebp, 1
xor esi, esi
mov r13, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov rcx, r12
call r13
test al, al
jne 0x14005e92d
jmp 0x14005eeba
pause
dec eax
jne 0x14005e908
add esi, ebp
add ebp, ebp
cmp ebp, 0x40
mov eax, 0x40
cmovge ebp, eax
cmp esi, 0x3e8
jl 0x14005e8f9
mov rcx, r12
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rdi]
mov rbp, qword [rax]
test rbp, rbp
je 0x14005ee32
mov byte [rsp + 0x60], 0
lea rcx, [rbx + rbx*4]
mov rdx, qword [rsp + 0x30]
mov r14d, dword [rdx + rcx*8 + 0x28]
mov rcx, qword [rbp]
test rcx, rcx
mov esi, dword [rsp + 0x44]
je 0x14005ee2b
mov rdx, rcx
not rdx
cmp qword [rbp + 8], rdx
jne 0x14005f8ef
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rbp, rbp
je 0x14005f317
test sil, 2
jne 0x14005f40f
mov qword [rsp + 0x70], rbp
test r15b, 1
jne 0x14005f33d
mov r12, qword [rsp + 0x70]
jmp 0x14005df90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005def4
xor ecx, ecx
jmp 0x14005e5e9
inc qword [rdi + 0x5b8]
inc qword [rdi + 0x5b0]
mov rcx, rdi
mov rdx, rbp
int3
xor ecx, ecx
jmp 0x14005e510
mov al, byte [0x1400ff500]
test al, 1
jne 0x14005ebec
mov rax, qword [rsp + 0x48]
prefetcht0 byte [rax]
mov rbx, rax
and rbx, 0xffffffffffe00000
shr rax, 9
and eax, 0xfe0
lea r14, [rbx + rax]
add r14, 0x1000
movzx eax, byte [r14 + 0x1e]
mov r13, rax
neg r13
shl rax, 5
mov r12, r14
sub r12, rax
prefetcht0 byte [r12]
mov rax, r12
and rax, 0xfffffffffffff000
mov r15, qword [rax]
cmp byte [r15], 2
je 0x14005f42c
cmp byte [r15 + 2], 0
je 0x14005eadd
mov rax, r13
shl rax, 5
mov rsi, qword [r14 + rax + 0x10]
lea rdi, [r15 + 0x10]
cmp rdi, rsi
ja 0x14005eadd
lea rax, [r15 + 0x1410]
cmp rax, rsi
jb 0x14005eadd
mov ebx, dword [0x1400fde78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test ebp, ebp
jne 0x14005eec9
cmp rbx, 2
jb 0x14005eadd
sub rsi, rdi
sar rsi, 3
inc qword [rbx + 0x5c8]
movabs rax, 0xcccccccccccccccd
imul rax, rsi
movzx ecx, word [0x1400f7260]
cmp rax, rcx
jbe 0x14005ec0b
inc qword [rbx + 0x5d8]
add r15, 8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov ebx, 1
xor ebp, ebp
mov rsi, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov rcx, r15
call rsi
test al, al
jne 0x14005eb2d
jmp 0x14005eed6
pause
dec eax
jne 0x14005eb08
add ebp, ebx
add ebx, ebx
cmp ebx, 0x40
mov eax, 0x40
cmovge ebx, eax
cmp ebp, 0x3e8
jl 0x14005eafa
mov rcx, r15
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [r12]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
je 0x14005f4fa
bswap rax
mov qword [rcx], rax
not rax
mov qword [rcx + 8], rax
mov qword [r12], rcx
shl r13, 5
movzx eax, word [r14 + r13 + 0x18]
dec eax
mov word [r14 + r13 + 0x18], ax
test ax, ax
jle 0x14005ebdd
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsp + 0x80], 0
jne 0x14005f4fd
xor r12d, r12d
jmp 0x14005df90
lea rdx, [rsp + 0x70]
mov rcx, r14
int3
mov eax, r12d
test r12d, r12d
jg 0x14005e081
mov ecx, dword [rsp + 0x5c]
jmp 0x14005e08e
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005e225
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005e3bf
lea rdx, [rsp + 0x70]
mov rcx, r12
int3
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call fcn.140066690
mov rcx, rsi
int3
shl rax, 4
mov rcx, qword [rbx + rax]
bswap rcx
mov rdx, qword [rsp + 0x48]
mov qword [rdx], rcx
not rcx
mov qword [rdx + 8], rcx
mov qword [rbx + rax], rdx
mov dl, byte [rbx + rax + 8]
inc dl
mov byte [rbx + rax + 8], dl
movzx ecx, word [rbx + rax + 0xa]
add qword [rbx + 0x590], rcx
inc qword [rbx + 0x5d0]
mov cl, byte [rbx + rax + 9]
cmp dl, cl
ja 0x14005f588
mov al, byte [rbx + 0x598]
test al, 1
je 0x14005eb94
mov rcx, rbx
int3
shl rcx, 5
mov rsi, qword [rbp + rcx + 0x20]
jmp 0x14005e517
mov qword [rsp + 0x70], 0
mov r12b, byte [0x1400ff500]
test r12b, 1
movabs rdi, 0xaaaaaaaaaaaaaaaa
jne 0x14005f5a9
mov eax, 0x40
mov ecx, 0x40
test r14, r14
je 0x14005ecb6
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400e0740]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x1400e0790]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400dff20]
movzx esi, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x6f], 0
mov qword [rsp + 0x80], rdi
mov rbx, qword [rsp + 0x30]
cmp byte [rbx], 2
je 0x14005f5e6
cmp byte [rbx + 2], 0
jne 0x14005f5fe
lea rax, [rsi + rsi*4]
lea rdi, [rbx + rax*8]
add rdi, 0x10
lea rcx, [rbx + 8]
mov ebx, 1
xor ebp, ebp
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov r13, rcx
call r14
test al, al
jne 0x14005ed6c
jmp 0x14005ef7d
pause
dec eax
jne 0x14005ed47
add ebp, ebx
add ebx, ebx
cmp ebx, 0x40
mov eax, 0x40
cmovge ebx, eax
cmp ebp, 0x3e8
mov rcx, r13
jl 0x14005ed38
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rdi]
mov rbx, qword [rax]
test rbx, rbx
je 0x14005eeec
mov byte [rsp + 0x6f], 0
lea rcx, [rsi + rsi*4]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*8 + 0x28]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rbx]
test rcx, rcx
mov r14, qword [rsp + 0x38]
je 0x14005eee5
mov rdx, rcx
not rdx
cmp qword [rbx + 8], rdx
jne 0x14005f8ef
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rbx, rbx
je 0x14005f5a2
test r15b, 2
jne 0x14005f6a5
mov qword [rsp + 0x70], rbx
test r12b, 1
jne 0x14005f5ce
mov r12, qword [rsp + 0x70]
jmp 0x14005e2bf
and r13b, 1
jmp 0x14005dfff
mov eax, ebx
test ebx, ebx
jg 0x14005e4aa
jmp 0x14005e4b2
mov eax, ebx
test ebx, ebx
jg 0x14005e582
jmp 0x14005e58a
mov eax, esi
test esi, esi
jg 0x14005e67e
jmp 0x14005e686
xor ecx, ecx
jmp 0x14005e976
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, rdi
mov rdx, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x38]
call fcn.140043190
test rax, rax
je 0x14005f76f
mov rbp, rax
and rax, 0xffffffffffe00000
mov rcx, rbp
shr rcx, 9
and ecx, 0xfe0
lea rbx, [rax + rcx]
add rbx, 0x1000
movzx edx, byte [rbx + 0x1e]
mov rcx, rdx
neg rcx
shl rdx, 5
mov rax, rbx
sub rax, rdx
cmp byte [rax + 0x1d], 0
jne 0x14005f776
shl rcx, 5
mov rax, qword [rbx + rcx + 0x10]
mov r14d, dword [rax + 0x18]
mov esi, dword [rsp + 0x44]
jmp 0x14005e97d
mov eax, ebp
test ebp, ebp
jg 0x14005e908
jmp 0x14005e910
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005eaa4
mov eax, ebx
test ebx, ebx
jg 0x14005eb08
jmp 0x14005eb10
xor ecx, ecx
jmp 0x14005edb9
lea rax, [rsp + 0x6f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, rdi
mov rdx, qword [rsp + 0x30]
mov esi, r15d
mov r8d, r15d
mov r9, qword [rsp + 0x38]
call fcn.140043190
test rax, rax
je 0x14005f784
mov rbx, rax
and rax, 0xffffffffffe00000
mov rcx, rbx
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx edx, byte [rbp + 0x1e]
mov rcx, rdx
neg rcx
shl rdx, 5
mov rax, rbp
sub rax, rdx
cmp byte [rax + 0x1d], 0
jne 0x14005f78b
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov eax, dword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov r15d, esi
mov r14, qword [rsp + 0x38]
jmp 0x14005edc0
mov eax, ebx
test ebx, ebx
jg 0x14005ed47
jmp 0x14005ed4f
mov rbx, r14
lea rsi, [rbp*4]
add rsi, rbp
mov rdi, qword [rsp + 0x30]
lea rcx, [rdi + 8]
mov r14, rcx
call fcn.140056da0
mov rax, qword [rdi + rsi*8 + 0x10]
mov r12, qword [rax]
test r12, r12
je 0x14005f55d
mov byte [rsp + 0x70], 0
lea rcx, [rbp*4]
add rcx, rbp
mov rdx, qword [rsp + 0x30]
mov r15d, dword [rdx + rcx*8 + 0x28]
jmp 0x14005e5c5
mov al, byte [0x1400f7258]
cmp al, 2
jne 0x14005dec9
int3
lea r8, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, ebp
call fcn.14003bc20
mov r12, rax
jmp 0x14005df75
cmp byte [rsp + 0x70], 0
jne 0x14005df90
mov rcx, r12
xor edx, edx
mov r8, r15
call fcn.14006c090
jmp 0x14005df90
test r15b, 1
jne 0x14005eb94
mov rcx, r14
int3
mov rcx, rsi
mov rdx, rbx
mov r8, qword [rsp + 0x38]
int3
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
int3
mov rax, qword [rbx + 0x20]
jmp 0x14005e0c9
lea rax, [r14 + 0xfff]
and rax, 0xfffffffffffff000
jmp 0x14005e159
mov al, byte [0x1400f7258]
cmp al, 2
je 0x14005f6ca
mov rax, r13
shl rax, 5
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + rax + 0x10]
lea rdx, [r15 + 0x10]
cmp rdx, rcx
ja 0x14005e360
lea rdx, [r15 + 0x1410]
cmp rdx, rcx
jb 0x14005e360
mov edx, dword [rcx + 0x18]
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + rax + 0x1d], 0
mov r15, rdx
jne 0x14005f6d4
mov rax, qword [0x1400f7230]
and eax, 1
shl rax, 0xe
lea rdi, [rax + rsi]
lea rbp, [rax + rsi]
add rbp, 0x4000
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
shr rcx, 4
shr ebx, 0xa
and ebx, 0x7ff
mov esi, 1
shl rsi, cl
mov rax, qword [rdi + rbx*8 + 0x4000]
mov rcx, rax
or rcx, rsi
lock cmpxchg qword [rbp + rbx*8], rcx
jne 0x14005f159
test rax, rsi
jne 0x14005f6c5
mov rax, rdx
lock xadd qword [0x1400f7220], rax
add rax, rdx
mov rcx, qword [0x1400f7228]
cmp rax, rcx
jbe 0x14005f295
mov rcx, qword [0x1400f7250]
call fcn.1400b8c80
mov esi, eax
jmp 0x14005f297
lea rsi, [rbp*4]
add rsi, rbp
mov rdi, qword [rsp + 0x30]
lea r14, [rdi + 8]
mov rcx, r14
call fcn.140056da0
mov rax, qword [rdi + rsi*8 + 0x10]
mov r12, qword [rax]
test r12, r12
je 0x14005f6dd
mov byte [rsp + 0x70], 0
lea rcx, [rbp*4]
add rcx, rbp
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*8 + 0x28]
mov qword [rsp + 0x50], rcx
mov rcx, qword [r12]
test rcx, rcx
je 0x14005f2dc
mov rdx, rcx
not rdx
cmp qword [r12 + 8], rdx
jne 0x14005f8ef
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
mov rsi, qword [rsp + 0x50]
jmp 0x14005e517
mov al, byte [0x1400f7258]
cmp al, 2
jne 0x14005e1fa
int3
lea r8, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, ebp
call fcn.14003bc20
mov r12, rax
jmp 0x14005e2a4
cmp byte [rsp + 0x70], 0
jne 0x14005e2bf
mov r8, rsi
mov rcx, r12
xor edx, edx
call fcn.14006c090
jmp 0x14005e2bf
xor eax, eax
jmp 0x14005e396
mov rdx, rbp
add rdx, rax
movzx r8d, cl
shr r8, 1
mov rcx, rbp
int3
xor esi, esi
cmp byte [0x1400f7259], 1
jne 0x14005f2af
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8, r15
call fcn.14006c090
test sil, sil
je 0x14005df90
mov al, byte [0x1400f7258]
test al, al
jne 0x14005df90
lea rcx, [0x1400f7220]
mov edx, 1
int3
xor ecx, ecx
jmp 0x14005f212
mov qword [rbx + 0x20], r14
jmp 0x14005e618
int3
xor r12d, r12d
jmp 0x14005e5f0
shl rcx, 5
mov r15, qword [rbp + rcx + 0x20]
jmp 0x14005e5f0
xor r12d, r12d
movabs rsi, 0xaaaaaaaaaaaaaaaa
jmp 0x14005e517
xor ebp, ebp
jmp 0x14005e999
lea rcx, [rsp + 0x70]
mov edx, r13d
mov r8, qword [rsp + 0x38]
int3
mov rcx, rbp
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x100]
call fcn.1400c7d90
jmp 0x14005e9a8
mov al, byte [0x1400f7258]
cmp al, 2
jne 0x14005e8cc
int3
call fcn.140056d60
cmp rax, 2
jb 0x14005f799
mov rsi, rax
inc qword [rax + 0x5a0]
cmp word [0x1400f7260], bx
jb 0x14005f7b5
mov rdi, rbx
shl rdi, 4
mov r12, rsi
add r12, rdi
mov rbp, qword [rsi + rdi]
test rbp, rbp
je 0x14005f823
inc qword [rsi + 0x5a8]
mov rax, qword [rbp]
test rax, rax
je 0x14005f50f
mov rcx, rax
not rcx
cmp qword [rbp + 8], rcx
jne 0x14005f8ef
bswap rax
prefetcht0 byte [rax]
dec byte [rsi + rdi + 8]
mov qword [r12], rax
movzx eax, word [rsi + rdi + 0xa]
mov qword [rsp + 0x80], rax
sub qword [rsi + 0x590], rax
test rbp, rbp
je 0x14005f7c3
mov r14, qword [rsp + 0x80]
mov esi, dword [rsp + 0x44]
jmp 0x14005e98f
cmp byte [rsp + 0x60], 0
jne 0x14005e999
mov rcx, rbp
xor edx, edx
mov r8, r14
call fcn.14006c090
jmp 0x14005e999
mov al, byte [0x1400f7258]
cmp al, 2
je 0x14005f84e
mov rax, r13
shl rax, 5
mov rcx, qword [r14 + rax + 0x10]
lea rdx, [r15 + 0x10]
cmp rdx, rcx
ja 0x14005ea5b
lea rdx, [r15 + 0x1410]
cmp rdx, rcx
jb 0x14005ea5b
mov edx, dword [rcx + 0x18]
cmp byte [r14 + rax + 0x1d], 0
mov r14, rdx
jne 0x14005f858
mov rax, qword [0x1400f7230]
and eax, 1
shl rax, 0xe
lea rdi, [rax + rbx]
lea rbp, [rax + rbx]
add rbp, 0x4000
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
shr rcx, 4
shr ebx, 0xa
and ebx, 0x7ff
mov esi, 1
shl rsi, cl
mov rax, qword [rdi + rbx*8 + 0x4000]
mov rcx, rax
or rcx, rsi
lock cmpxchg qword [rbp + rbx*8], rcx
jne 0x14005f4b7
test rax, rsi
jne 0x14005f6c5
mov rax, rdx
lock xadd qword [0x1400f7220], rax
add rax, rdx
mov rcx, qword [0x1400f7228]
cmp rax, rcx
jbe 0x14005f516
mov rcx, qword [0x1400f7250]
call fcn.1400b8c80
mov esi, eax
jmp 0x14005f518
int3
lea rcx, [rsp + 0x80]
call fcn.14003d8e0
jmp 0x14005eb94
xor eax, eax
jmp 0x14005f3d9
xor esi, esi
cmp byte [0x1400f7259], 1
jne 0x14005f530
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8, r14
call fcn.14006c090
test sil, sil
je 0x14005eb94
mov al, byte [0x1400f7258]
test al, al
jne 0x14005eb94
lea rcx, [0x1400f7220]
mov edx, 1
int3
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx + rsi*8]
add rcx, 0x10
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov r8d, r13d
mov r9, rbx
jmp 0x14005e74d
mov rdx, rbx
add rdx, rax
movzx r8d, cl
shr r8, 1
mov rcx, rbx
int3
xor ebx, ebx
jmp 0x14005eddc
lea rcx, [rsp + 0x70]
mov edx, r15d
mov r8, r14
mov r9, qword [rsp + 0x100]
int3
mov rcx, rbx
mov rdx, r14
mov r8, qword [rsp + 0x100]
call fcn.1400c7d90
jmp 0x14005edeb
mov al, byte [0x1400f7258]
cmp al, 2
jne 0x14005ed10
int3
call fcn.140056d60
cmp rax, 2
jb 0x14005f866
mov rdi, rax
inc qword [rax + 0x5a0]
cmp word [0x1400f7260], si
jb 0x14005f882
mov r14, rsi
shl r14, 4
mov rbp, rdi
add rbp, r14
mov rbx, qword [rdi + r14]
test rbx, rbx
je 0x14005f8f4
inc qword [rdi + 0x5a8]
mov rax, qword [rbx]
test rax, rax
je 0x14005f768
mov rcx, rax
not rcx
cmp qword [rbx + 8], rcx
jne 0x14005f8ef
bswap rax
prefetcht0 byte [rax]
dec byte [rdi + r14 + 8]
mov qword [rbp], rax
movzx eax, word [rdi + r14 + 0xa]
mov qword [rsp + 0x80], rax
sub qword [rdi + 0x590], rax
test rbx, rbx
je 0x14005f890
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov r14, qword [rsp + 0x38]
jmp 0x14005edd2
cmp byte [rsp + 0x6f], 0
jne 0x14005f6bb
mov rcx, rbx
xor edx, edx
mov r8, qword [rsp + 0x50]
call fcn.14006c090
mov r14, qword [rsp + 0x38]
jmp 0x14005eddc
int3
int3
mov r15, qword [r14 + 0x20]
jmp 0x14005f117
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx + rsi*8]
add rcx, 0x10
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov r8d, r15d
mov r9, qword [rsp + 0x38]
call fcn.140043190
test rax, rax
je 0x14005f91f
mov r12, rax
and rax, 0xffffffffffe00000
mov rcx, r12
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx edx, byte [rbp + 0x1e]
mov rcx, rdx
neg rcx
shl rdx, 5
mov rax, rbp
sub rax, rdx
cmp byte [rax + 0x1d], 0
jne 0x14005f927
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov eax, dword [rax + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x14005f219
xor eax, eax
jmp 0x14005f667
xor ebp, ebp
jmp 0x14005eeb1
shl rcx, 5
mov r14, qword [rbx + rcx + 0x20]
jmp 0x14005eeb1
xor ebx, ebx
jmp 0x14005ef70
shl rcx, 5
mov rax, qword [rbp + rcx + 0x20]
jmp 0x14005ef6b
lea r8, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, ebx
call fcn.14003bc20
mov rbp, rax
jmp 0x14005f3f5
inc qword [rsi + 0x5c0]
inc qword [rsi + 0x5b0]
lea rsi, [rbx + rbx*4]
mov rdi, qword [rsp + 0x30]
lea r12, [rdi + 8]
mov rcx, r12
call fcn.140056da0
mov rax, qword [rdi + rsi*8 + 0x10]
mov rbp, qword [rax]
test rbp, rbp
je 0x14005f939
mov byte [rsp + 0x60], 0
mov rcx, qword [rsp + 0x30]
mov r14d, dword [rcx + rsi*8 + 0x28]
mov rcx, qword [rbp]
test rcx, rcx
je 0x14005f862
mov rdx, rcx
not rdx
cmp qword [rbp + 8], rdx
jne 0x14005f8ef
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
jmp 0x14005eeb1
inc qword [rsi + 0x5b8]
inc qword [rsi + 0x5b0]
mov rcx, rsi
mov rdx, rbx
int3
int3
mov r14, qword [r12 + 0x20]
jmp 0x14005f475
xor ecx, ecx
jmp 0x14005f817
lea r8, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, esi
call fcn.14003bc20
mov rbx, rax
jmp 0x14005f685
inc qword [rdi + 0x5c0]
inc qword [rdi + 0x5b0]
lea rsi, [rsi + rsi*4]
mov rdi, qword [rsp + 0x30]
lea rcx, [rdi + 8]
mov r13, rcx
call fcn.140056da0
mov rax, qword [rdi + rsi*8 + 0x10]
mov rbx, qword [rax]
test rbx, rbx
je 0x14005f95e
mov byte [rsp + 0x6f], 0
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + rsi*8 + 0x28]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005f935
mov rdx, rcx
not rdx
cmp qword [rbx + 8], rdx
jne 0x14005f8ef
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
jmp 0x14005ef73
call fcn.140094b70
inc qword [rdi + 0x5b8]
inc qword [rdi + 0x5b0]
mov rcx, rdi
mov rdx, rsi
int3
xor r12d, r12d
jmp 0x14005f219
shl rcx, 5
mov rax, qword [rbp + rcx + 0x20]
jmp 0x14005f75e
xor ecx, ecx
jmp 0x14005f8e3
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx + rsi*8]
add rcx, 0x10
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
jmp 0x14005ee4d
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx + rsi*8]
add rcx, 0x10
lea rax, [rsp + 0x6f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov r8d, r15d
mov r9, qword [rsp + 0x38]
call fcn.140043190
test rax, rax
je 0x14005f9d9
mov rbx, rax
and rax, 0xffffffffffe00000
mov rcx, rbx
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx edx, byte [rbp + 0x1e]
mov rcx, rdx
neg rcx
shl rdx, 5
mov rax, rbp
sub rax, rdx
cmp byte [rax + 0x1d], 0
jne 0x14005f9e0
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov eax, dword [rax + 0x18]
jmp 0x14005f9e9
xor ebx, ebx
jmp 0x14005ef73
shl rcx, 5
mov rax, qword [rbp + rcx + 0x20]
mov qword [rsp + 0x50], rax
jmp 0x14005ef73