Function at 0x14006fe50
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 [0x14010e038]
xor rax, rsp
mov qword [rsp + 0x90], rax
test r8, r8
jne 0x140070007
mov r13d, r15d
test r15b, 4
je 0x14007087d
movabs r15, 0xaaaaaaaaaaaaaaaa
mov eax, 0x40
mov ecx, 0x40
test r14, r14
je 0x14006febf
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400f8ce0]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x1400f8d30]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400f84c8]
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 0x14007102b
cmp byte [rsi + 2], 0
je 0x140070fdc
mov edi, dword [0x140118b20]
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 0x140070a02
cmp rdi, 2
jb 0x140071043
add qword [rdi + 0x5a0], 1
cmp word [0x140111550], bp
jb 0x140070586
mov rsi, rbp
shl rsi, 4
mov rbx, rdi
add rbx, rsi
mov r12, qword [rdi + rsi]
test r12, r12
je 0x140070672
add qword [rdi + 0x5a8], 1
mov rax, qword [r12]
test rax, rax
je 0x1400704ac
mov rcx, rax
not rcx
cmp qword [r12 + 8], rcx
jne 0x14007193f
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 0x140070594
mov r15, qword [rsp + 0x80]
test r13b, 2
jne 0x14007105f
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14007c600
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 0x140070a47
cmp r14, 0x7fe00001
jae 0x14007107c
mov eax, r15d
mov r13b, byte [0x14011a1c0]
movabs rdx, 0xaaaaaaaaaaaaaaaa
mov rcx, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rdx
and eax, 4
je 0x140070e45
xor r13d, r13d
test r13b, r13b
mov qword [rsp + 0x38], r14
jne 0x1400710de
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 0x140070102
jmp 0x140070bfe
pause
dec eax
jne 0x1400700d1
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 0x1400700c2
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
shl rdi, 5
cmp byte [rbp + rdi + 0x1d], 0
jne 0x1400710fa
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 0x14007108e
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 0x140070157
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400f8ce0]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x1400f8d30]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400f84c8]
movzx eax, word [rcx + rax*2 + 0x400]
lea rax, [rax + rax*4]
cmp byte [rsi + rax*8 + 0x2c], 0
je 0x140071103
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 0x140070657
test r15b, 4
je 0x140070ccb
mov eax, 0x40
mov ecx, 0x40
test r14, r14
movabs rbx, 0xaaaaaaaaaaaaaaaa
je 0x1400701f0
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400f8ce0]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x1400f8d30]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400f84c8]
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 0x140071273
cmp byte [rsi + 2], 0
je 0x1400711f3
mov edi, dword [0x140118b20]
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 0x140070c13
cmp rdi, 2
jb 0x14007128b
add qword [rdi + 0x5a0], 1
cmp word [0x140111550], bp
jb 0x1400704b3
mov rsi, rbp
shl rsi, 4
mov rbx, rdi
add rbx, rsi
mov r12, qword [rdi + rsi]
test r12, r12
je 0x140070a16
inc qword [rdi + 0x5a8]
mov rax, qword [r12]
test rax, rax
je 0x140070773
mov rcx, rax
not rcx
cmp qword [r12 + 8], rcx
jne 0x14007193f
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 0x1400704c1
mov rsi, qword [rsp + 0x80]
test r15b, 2
jne 0x1400712a7
test r12, r12
je 0x14007107c
mov rax, qword [rsp + 0x60]
cmp rax, r14
ja 0x140070325
mov r14, rax
mov rcx, r12
mov rdi, qword [rsp + 0x48]
mov rdx, rdi
mov r8, r14
call fcn.14007eab0
mov al, byte [0x14011a1c0]
test al, 1
je 0x14007035a
mov rcx, rdi
call 0x1400793b0
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 0x140071115
cmp byte [r15 + 2], 0
je 0x1400706a3
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 0x1400712c4
test al, al
je 0x1400706a3
mov ebp, dword [0x140118b20]
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 0x140070c20
cmp rbp, 2
jb 0x1400706a3
sub rdi, rbx
sar rdi, 3
add qword [rbp + 0x5c8], 1
movabs rax, 0xcccccccccccccccd
imul rax, rdi
movzx ecx, word [0x140111550]
cmp rax, rcx
ja 0x14007069c
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 0x1400712cb
mov al, byte [rbp + 0x598]
test al, 1
je 0x14006ffe0
mov rcx, rbp
int3
xor eax, eax
jmp 0x14006ffa9
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 0x14007051f
jmp 0x140070e4e
pause
dec eax
jne 0x1400704fa
add ebp, ebx
add ebx, ebx
cmp ebx, 0x40
mov eax, 0x40
cmovge ebx, eax
cmp ebp, 0x3e8
jl 0x1400704eb
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rsi]
mov r12, qword [rax]
test r12, r12
je 0x1400707fc
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 0x140070a40
mov rdx, rcx
not rdx
cmp qword [r12 + 8], rdx
jne 0x14007193f
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 0x140070305
xor r12d, r12d
jmp 0x14007030f
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 0x1400705f7
jmp 0x140070e5d
pause
dec eax
jne 0x1400705d2
add ebp, ebx
mov rcx, r14
add ebx, ebx
cmp ebx, 0x40
mov eax, 0x40
cmovge ebx, eax
cmp ebp, 0x3e8
jl 0x1400705c3
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rsi]
mov r12, qword [rax]
test r12, r12
je 0x14007077a
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 0x140070a0f
mov rdx, rcx
not rdx
cmp qword [r12 + 8], rdx
jne 0x14007193f
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 0x14006ffd6
jmp 0x140070be4
lea rax, [rdi + rbp]
add rax, 0x1d
cmp byte [rax], 0
jne 0x140071333
mov r12, qword [rsp + 0x48]
jmp 0x14006ffe0
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 0x1400706f3
jmp 0x140070e6c
pause
dec eax
jne 0x1400706ce
add edi, esi
add esi, esi
cmp esi, 0x40
mov eax, 0x40
cmovge esi, eax
cmp edi, 0x3e8
jl 0x1400706c0
mov rcx, r15
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [r14]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
je 0x14007133c
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 0x140070bec
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 0x14006ffe0
lea rcx, [rsp + 0x80]
call fcn.14004df20
jmp 0x14006ffe0
xor eax, eax
jmp 0x1400702d9
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.140054d10
test rax, rax
je 0x14007133f
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 0x140071347
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov r15d, dword [rax + 0x18]
jmp 0x140070640
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.140054d10
test rax, rax
je 0x140071355
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 0x140070cbd
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov esi, dword [rax + 0x18]
jmp 0x140070567
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x70], 0
mov r15b, byte [0x14011a1c0]
test r15b, 1
jne 0x14007136e
movabs r14, 0xaaaaaaaaaaaaaaaa
mov eax, 0x40
mov ecx, 0x40
mov rbp, qword [rsp + 0x38]
test rbp, rbp
je 0x1400708c2
bsr rcx, rbp
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400f8ce0]
mov cl, byte [rax + rcx]
mov rdx, rbp
shr rdx, cl
and edx, 7
lea rcx, [0x1400f8d30]
mov rcx, qword [rcx + rax*8]
and rcx, rbp
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400f84c8]
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 0x1400713a7
mov dword [rsp + 0x44], r13d
cmp byte [rsi + 2], 0
jne 0x1400713bf
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 0x14007097d
jmp 0x140070f0a
pause
dec eax
jne 0x140070958
add esi, ebp
add ebp, ebp
cmp ebp, 0x40
mov eax, 0x40
cmovge ebp, eax
cmp esi, 0x3e8
jl 0x140070949
mov rcx, r12
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rdi]
mov rbp, qword [rax]
test rbp, rbp
je 0x140070e82
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 0x140070e7b
mov rdx, rcx
not rdx
cmp qword [rbp + 8], rdx
jne 0x14007193f
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 0x140071367
test sil, 2
jne 0x14007145f
mov qword [rsp + 0x70], rbp
test r15b, 1
jne 0x14007138d
mov r12, qword [rsp + 0x70]
jmp 0x14006ffe0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006ff44
xor ecx, ecx
jmp 0x140070639
inc qword [rdi + 0x5b8]
inc qword [rdi + 0x5b0]
mov rcx, rdi
mov rdx, rbp
int3
xor ecx, ecx
jmp 0x140070560
mov al, byte [0x14011a1c0]
test al, 1
jne 0x140070c3c
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 0x14007147c
cmp byte [r15 + 2], 0
je 0x140070b2d
mov rax, r13
shl rax, 5
mov rsi, qword [r14 + rax + 0x10]
lea rdi, [r15 + 0x10]
cmp rdi, rsi
ja 0x140070b2d
lea rax, [r15 + 0x1410]
cmp rax, rsi
jb 0x140070b2d
mov ebx, dword [0x140118b20]
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 0x140070f19
cmp rbx, 2
jb 0x140070b2d
sub rsi, rdi
sar rsi, 3
inc qword [rbx + 0x5c8]
movabs rax, 0xcccccccccccccccd
imul rax, rsi
movzx ecx, word [0x140111550]
cmp rax, rcx
jbe 0x140070c5b
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 0x140070b7d
jmp 0x140070f26
pause
dec eax
jne 0x140070b58
add ebp, ebx
add ebx, ebx
cmp ebx, 0x40
mov eax, 0x40
cmovge ebx, eax
cmp ebp, 0x3e8
jl 0x140070b4a
mov rcx, r15
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [r12]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
je 0x14007154a
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 0x140070c2d
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 0x14007154d
xor r12d, r12d
jmp 0x14006ffe0
lea rdx, [rsp + 0x70]
mov rcx, r14
int3
mov eax, r12d
test r12d, r12d
jg 0x1400700d1
mov ecx, dword [rsp + 0x5c]
jmp 0x1400700de
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140070275
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14007040f
lea rdx, [rsp + 0x70]
mov rcx, r12
int3
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call 0x1400793b0
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 0x1400715d8
mov al, byte [rbx + 0x598]
test al, 1
je 0x140070be4
mov rcx, rbx
int3
shl rcx, 5
mov rsi, qword [rbp + rcx + 0x20]
jmp 0x140070567
mov qword [rsp + 0x70], 0
mov r12b, byte [0x14011a1c0]
test r12b, 1
movabs rdi, 0xaaaaaaaaaaaaaaaa
jne 0x1400715f9
mov eax, 0x40
mov ecx, 0x40
test r14, r14
je 0x140070d06
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x1400f8ce0]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x1400f8d30]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1400f84c8]
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 0x140071636
cmp byte [rbx + 2], 0
jne 0x14007164e
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 0x140070dbc
jmp 0x140070fcd
pause
dec eax
jne 0x140070d97
add ebp, ebx
add ebx, ebx
cmp ebx, 0x40
mov eax, 0x40
cmovge ebx, eax
cmp ebp, 0x3e8
mov rcx, r13
jl 0x140070d88
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rdi]
mov rbx, qword [rax]
test rbx, rbx
je 0x140070f3c
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 0x140070f35
mov rdx, rcx
not rdx
cmp qword [rbx + 8], rdx
jne 0x14007193f
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 0x1400715f2
test r15b, 2
jne 0x1400716f5
mov qword [rsp + 0x70], rbx
test r12b, 1
jne 0x14007161e
mov r12, qword [rsp + 0x70]
jmp 0x14007030f
and r13b, 1
jmp 0x14007004f
mov eax, ebx
test ebx, ebx
jg 0x1400704fa
jmp 0x140070502
mov eax, ebx
test ebx, ebx
jg 0x1400705d2
jmp 0x1400705da
mov eax, esi
test esi, esi
jg 0x1400706ce
jmp 0x1400706d6
xor ecx, ecx
jmp 0x1400709c6
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.140054d10
test rax, rax
je 0x1400717bf
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 0x1400717c6
shl rcx, 5
mov rax, qword [rbx + rcx + 0x10]
mov r14d, dword [rax + 0x18]
mov esi, dword [rsp + 0x44]
jmp 0x1400709cd
mov eax, ebp
test ebp, ebp
jg 0x140070958
jmp 0x140070960
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140070af4
mov eax, ebx
test ebx, ebx
jg 0x140070b58
jmp 0x140070b60
xor ecx, ecx
jmp 0x140070e09
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.140054d10
test rax, rax
je 0x1400717d4
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 0x1400717db
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 0x140070e10
mov eax, ebx
test ebx, ebx
jg 0x140070d97
jmp 0x140070d9f
mov rbx, r14
lea rsi, [rbp*4]
add rsi, rbp
mov rdi, qword [rsp + 0x30]
lea rcx, [rdi + 8]
mov r14, rcx
call fcn.14006c7e0
mov rax, qword [rdi + rsi*8 + 0x10]
mov r12, qword [rax]
test r12, r12
je 0x1400715ad
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 0x140070615
mov al, byte [0x140111548]
cmp al, 2
jne 0x14006ff19
int3
lea r8, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, ebp
call fcn.14004c260
mov r12, rax
jmp 0x14006ffc5
cmp byte [rsp + 0x70], 0
jne 0x14006ffe0
mov rcx, r12
xor edx, edx
mov r8, r15
call fcn.14007eec0
jmp 0x14006ffe0
test r15b, 1
jne 0x140070be4
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 0x140070119
lea rax, [r14 + 0xfff]
and rax, 0xfffffffffffff000
jmp 0x1400701a9
mov al, byte [0x140111548]
cmp al, 2
je 0x14007171a
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 0x1400703b0
lea rdx, [r15 + 0x1410]
cmp rdx, rcx
jb 0x1400703b0
mov edx, dword [rcx + 0x18]
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + rax + 0x1d], 0
mov r15, rdx
jne 0x140071724
mov rax, qword [0x140111520]
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 0x1400711a9
test rax, rsi
jne 0x140071715
mov rax, rdx
lock xadd qword [0x140111510], rax
add rax, rdx
mov rcx, qword [0x140111518]
cmp rax, rcx
jbe 0x1400712e5
mov rcx, qword [0x140111540]
call fcn.1400a9fa0
mov esi, eax
jmp 0x1400712e7
lea rsi, [rbp*4]
add rsi, rbp
mov rdi, qword [rsp + 0x30]
lea r14, [rdi + 8]
mov rcx, r14
call fcn.14006c7e0
mov rax, qword [rdi + rsi*8 + 0x10]
mov r12, qword [rax]
test r12, r12
je 0x14007172d
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 0x14007132c
mov rdx, rcx
not rdx
cmp qword [r12 + 8], rdx
jne 0x14007193f
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
mov rsi, qword [rsp + 0x50]
jmp 0x140070567
mov al, byte [0x140111548]
cmp al, 2
jne 0x14007024a
int3
lea r8, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, ebp
call fcn.14004c260
mov r12, rax
jmp 0x1400702f4
cmp byte [rsp + 0x70], 0
jne 0x14007030f
mov r8, rsi
mov rcx, r12
xor edx, edx
call fcn.14007eec0
jmp 0x14007030f
xor eax, eax
jmp 0x1400703e6
mov rdx, rbp
add rdx, rax
movzx r8d, cl
shr r8, 1
mov rcx, rbp
int3
xor esi, esi
cmp byte [0x140111549], 1
jne 0x1400712ff
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8, r15
call fcn.14007eec0
test sil, sil
je 0x14006ffe0
mov al, byte [0x140111548]
test al, al
jne 0x14006ffe0
lea rcx, [0x140111510]
mov edx, 1
int3
xor ecx, ecx
jmp 0x140071262
mov qword [rbx + 0x20], r14
jmp 0x140070668
int3
xor r12d, r12d
jmp 0x140070640
shl rcx, 5
mov r15, qword [rbp + rcx + 0x20]
jmp 0x140070640
xor r12d, r12d
movabs rsi, 0xaaaaaaaaaaaaaaaa
jmp 0x140070567
xor ebp, ebp
jmp 0x1400709e9
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.1400dead0
jmp 0x1400709f8
mov al, byte [0x140111548]
cmp al, 2
jne 0x14007091c
int3
call fcn.14006c7a0
cmp rax, 2
jb 0x1400717e9
mov rsi, rax
inc qword [rax + 0x5a0]
cmp word [0x140111550], bx
jb 0x140071805
mov rdi, rbx
shl rdi, 4
mov r12, rsi
add r12, rdi
mov rbp, qword [rsi + rdi]
test rbp, rbp
je 0x140071873
inc qword [rsi + 0x5a8]
mov rax, qword [rbp]
test rax, rax
je 0x14007155f
mov rcx, rax
not rcx
cmp qword [rbp + 8], rcx
jne 0x14007193f
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 0x140071813
mov r14, qword [rsp + 0x80]
mov esi, dword [rsp + 0x44]
jmp 0x1400709df
cmp byte [rsp + 0x60], 0
jne 0x1400709e9
mov rcx, rbp
xor edx, edx
mov r8, r14
call fcn.14007eec0
jmp 0x1400709e9
mov al, byte [0x140111548]
cmp al, 2
je 0x14007189e
mov rax, r13
shl rax, 5
mov rcx, qword [r14 + rax + 0x10]
lea rdx, [r15 + 0x10]
cmp rdx, rcx
ja 0x140070aab
lea rdx, [r15 + 0x1410]
cmp rdx, rcx
jb 0x140070aab
mov edx, dword [rcx + 0x18]
cmp byte [r14 + rax + 0x1d], 0
mov r14, rdx
jne 0x1400718a8
mov rax, qword [0x140111520]
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 0x140071507
test rax, rsi
jne 0x140071715
mov rax, rdx
lock xadd qword [0x140111510], rax
add rax, rdx
mov rcx, qword [0x140111518]
cmp rax, rcx
jbe 0x140071566
mov rcx, qword [0x140111540]
call fcn.1400a9fa0
mov esi, eax
jmp 0x140071568
int3
lea rcx, [rsp + 0x80]
call fcn.14004df20
jmp 0x140070be4
xor eax, eax
jmp 0x140071429
xor esi, esi
cmp byte [0x140111549], 1
jne 0x140071580
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov r8, r14
call fcn.14007eec0
test sil, sil
je 0x140070be4
mov al, byte [0x140111548]
test al, al
jne 0x140070be4
lea rcx, [0x140111510]
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 0x14007079d
mov rdx, rbx
add rdx, rax
movzx r8d, cl
shr r8, 1
mov rcx, rbx
int3
xor ebx, ebx
jmp 0x140070e2c
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.1400dead0
jmp 0x140070e3b
mov al, byte [0x140111548]
cmp al, 2
jne 0x140070d60
int3
call fcn.14006c7a0
cmp rax, 2
jb 0x1400718b6
mov rdi, rax
inc qword [rax + 0x5a0]
cmp word [0x140111550], si
jb 0x1400718d2
mov r14, rsi
shl r14, 4
mov rbp, rdi
add rbp, r14
mov rbx, qword [rdi + r14]
test rbx, rbx
je 0x140071944
inc qword [rdi + 0x5a8]
mov rax, qword [rbx]
test rax, rax
je 0x1400717b8
mov rcx, rax
not rcx
cmp qword [rbx + 8], rcx
jne 0x14007193f
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 0x1400718e0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov r14, qword [rsp + 0x38]
jmp 0x140070e22
cmp byte [rsp + 0x6f], 0
jne 0x14007170b
mov rcx, rbx
xor edx, edx
mov r8, qword [rsp + 0x50]
call fcn.14007eec0
mov r14, qword [rsp + 0x38]
jmp 0x140070e2c
int3
int3
mov r15, qword [r14 + 0x20]
jmp 0x140071167
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.140054d10
test rax, rax
je 0x14007196f
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 0x140071977
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov eax, dword [rax + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x140071269
xor eax, eax
jmp 0x1400716b7
xor ebp, ebp
jmp 0x140070f01
shl rcx, 5
mov r14, qword [rbx + rcx + 0x20]
jmp 0x140070f01
xor ebx, ebx
jmp 0x140070fc0
shl rcx, 5
mov rax, qword [rbp + rcx + 0x20]
jmp 0x140070fbb
lea r8, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, ebx
call fcn.14004c260
mov rbp, rax
jmp 0x140071445
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.14006c7e0
mov rax, qword [rdi + rsi*8 + 0x10]
mov rbp, qword [rax]
test rbp, rbp
je 0x140071989
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 0x1400718b2
mov rdx, rcx
not rdx
cmp qword [rbp + 8], rdx
jne 0x14007193f
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
jmp 0x140070f01
inc qword [rsi + 0x5b8]
inc qword [rsi + 0x5b0]
mov rcx, rsi
mov rdx, rbx
int3
int3
mov r14, qword [r12 + 0x20]
jmp 0x1400714c5
xor ecx, ecx
jmp 0x140071867
lea r8, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, esi
call fcn.14004c260
mov rbx, rax
jmp 0x1400716d5
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.14006c7e0
mov rax, qword [rdi + rsi*8 + 0x10]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400719ae
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 0x140071985
mov rdx, rcx
not rdx
cmp qword [rbx + 8], rdx
jne 0x14007193f
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
jmp 0x140070fc3
call fcn.1400a8610
inc qword [rdi + 0x5b8]
inc qword [rdi + 0x5b0]
mov rcx, rdi
mov rdx, rsi
int3
xor r12d, r12d
jmp 0x140071269
shl rcx, 5
mov rax, qword [rbp + rcx + 0x20]
jmp 0x1400717ae
xor ecx, ecx
jmp 0x140071933
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 0x140070e9d
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.140054d10
test rax, rax
je 0x140071a29
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 0x140071a30
shl rcx, 5
mov rax, qword [rbp + rcx + 0x10]
mov eax, dword [rax + 0x18]
jmp 0x140071a39
xor ebx, ebx
jmp 0x140070fc3
shl rcx, 5
mov rax, qword [rbp + rcx + 0x20]
mov qword [rsp + 0x50], rax
jmp 0x140070fc3