Function at 0x1400f3680
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, 0x1a8
mov r14, r9
mov r15d, edx
mov rbx, rcx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
test r8, r8
je 0x1400f380c
mov rdi, r8
test r14, r14
je 0x1400f3954
cmp r14, 0x7fe00001
jb 0x1400f36de
test r15b, 1
je 0x1400f4a8e
xor r13d, r13d
jmp 0x1400f3f3e
test r15b, 4
sete al
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov r12b, byte [0x140179198]
mov qword [rsp + 0x68], rcx
and r12b, al
jne 0x1400f3b8f
mov rax, rdi
and rax, 0xffffffffffe00000
mov rcx, rdi
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx eax, word [rbp + 0x1e]
shl rax, 5
mov rsi, rbp
sub rsi, rax
mov r13, rbx
add rbx, 8
mov rcx, rbx
call fcn.1400a5910
lea rax, [rsi + 0x10]
mov qword [rsp + 0x58], rax
mov rax, qword [rsi + 0x10]
cmp byte [rax + 0x1c], 0
je 0x1400f3f65
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, 0x40
mov ecx, 0x40
test r14, r14
mov rbx, r13
je 0x1400f377c
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x140147e80]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x140147ed0]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1401480d8]
movzx eax, word [rcx + rax*2 + 0x400]
lea rax, [rax + rax*4]
cmp byte [rbx + rax*8 + 0x2c], 0
je 0x1400f3fec
mov eax, dword [rbx + rax*8 + 0x28]
movzx ecx, word [rbp + 0x1e]
shl rcx, 5
neg rcx
mov rcx, qword [rbp + rcx + 0x10]
mov ecx, dword [rcx + 0x18]
mov qword [rsp + 0x68], rcx
cmp rax, rcx
jne 0x1400f3ba4
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0x10001
jb 0x1400f3804
mov qword [rsi + 0x20], r14
mov r13, rdi
jmp 0x1400f3f3e
test r15b, 4
jne 0x1400f3a87
mov qword [rsp + 0x80], 0
mov r13b, byte [0x140179198]
test r13b, 1
jne 0x1400f4706
mov eax, 0x40
mov ecx, 0x40
test r14, r14
je 0x1400f384a
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x140147e80]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x140147ed0]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1401480d8]
movzx r12d, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x70], 0xaa
mov rdi, rbx
cmp byte [rbx + 1], 0
mov dword [rsp + 0x34], r15d
je 0x1400f4811
mov ebx, dword [0x140178ca0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test esi, esi
jne 0x1400f47d6
test rbx, rbx
je 0x1400f47e3
inc qword [rbx + 0x298]
cmp r12w, 0x29
jae 0x1400f47fe
mov rsi, r12
shl rsi, 4
lea rbp, [rbx + rsi]
add rbp, 8
mov r15, qword [rbp]
test r15, r15
je 0x1400f48a0
inc qword [rbx + 0x2a0]
mov rcx, qword [r15]
call fcn.14010bcbc
dec byte [rbx + rsi + 0x10]
mov qword [rbp], rax
movzx ebx, word [rbx + rsi + 0x12]
mov al, 1
test byte [rsp + 0x34], 2
je 0x1400f3926
test al, al
jne 0x1400f48e7
mov qword [rsp + 0x80], r15
test r13b, 1
je 0x1400f3947
mov rcx, r15
mov rdx, r14
mov r8, qword [rsp + 0x210]
call fcn.140108e10
mov r13, qword [rsp + 0x80]
jmp 0x1400f3f3e
mov al, byte [0x140179198]
test al, 1
je 0x1400f3976
mov rcx, rdi
call fcn.140108e50
mov rcx, rdi
call fcn.140108e60
test al, al
jne 0x1400f36d6
mov rax, rdi
and rax, 0xffffffffffe00000
mov r13, rdi
shr rdi, 9
and edi, 0xfe0
lea r12, [rax + rdi]
add r12, 0x1000
movzx ecx, word [r12 + 0x1e]
mov rsi, rcx
neg rsi
shl rcx, 5
mov r15, r12
sub r15, rcx
mov rcx, r15
and rcx, 0xfffffffffffff000
mov r14, qword [rcx]
cmp byte [r14], 2
je 0x1400f4580
cmp byte [r14 + 1], 0
je 0x1400f4663
mov rax, rsi
shl rax, 5
mov rdi, qword [r12 + rax + 0x10]
cmp byte [rdi + 0x1c], 0
je 0x1400f4663
mov ebx, dword [0x140178ca0]
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 0x1400f464f
test rbx, rbx
je 0x1400f4663
sub rdi, r14
add rdi, 0xfffffffffffffff0
sar rdi, 3
movabs rbp, 0xcccccccccccccccd
imul rbp, rdi
inc qword [rbx + 0x2c0]
cmp rbp, 0x28
ja 0x1400f465c
shl rbp, 4
mov rcx, qword [rbx + rbp + 8]
call fcn.14010bcbc
mov qword [r13], rax
mov qword [rbx + rbp + 8], r13
mov al, byte [rbx + rbp + 0x10]
inc al
mov byte [rbx + rbp + 0x10], al
inc qword [rbx + 0x2c8]
movzx r8d, byte [rbx + rbp + 0x11]
cmp al, r8b
jae 0x1400f46ee
mov eax, dword [rbx]
test eax, eax
je 0x1400f36d6
mov rcx, rbx
call fcn.140106300
jmp 0x1400f36d6
mov r12d, r15d
mov eax, 0x40
mov ecx, 0x40
test r14, r14
je 0x1400f3aa1
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x140147e80]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x140147ed0]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1401480d8]
movzx r15d, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x80], 0xaa
mov rdi, rbx
cmp byte [rbx + 1], 0
je 0x1400f4774
mov ebp, dword [0x140178ca0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test ebx, ebx
jne 0x1400f4736
test rbp, rbp
je 0x1400f4743
inc qword [rbp + 0x298]
cmp r15w, 0x29
jae 0x1400f475e
mov rbx, r15
shl rbx, 4
lea rsi, [rbx + rbp]
add rsi, 8
mov r13, qword [rsi]
test r13, r13
je 0x1400f486c
inc qword [rbp + 0x2a0]
mov rcx, qword [r13]
call fcn.14010bcbc
dec byte [rbp + rbx + 0x10]
mov qword [rsi], rax
movzx esi, word [rbp + rbx + 0x12]
mov al, 1
test r12b, 2
je 0x1400f3f3e
test al, al
je 0x1400f3f3e
mov rcx, r13
xor edx, edx
mov r8, rsi
call fcn.140110bf0
jmp 0x1400f3f3e
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.140108ef0
test al, al
je 0x1400f3704
test r15b, 4
mov qword [rsp + 0x38], rdi
jne 0x1400f3cf9
mov qword [rsp + 0x80], 0
mov r13b, byte [0x140179198]
test r13b, 1
jne 0x1400f403c
mov dword [rsp + 0x34], r15d
mov eax, 0x40
mov ecx, 0x40
test r14, r14
je 0x1400f3bec
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x140147e80]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x140147ed0]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1401480d8]
movzx r15d, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x70], 0xaa
mov rdi, rbx
cmp byte [rbx + 1], 0
je 0x1400f4196
mov esi, dword [0x140178ca0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test ebx, ebx
jne 0x1400f415b
test rsi, rsi
je 0x1400f4168
inc qword [rsi + 0x298]
cmp r15w, 0x29
jae 0x1400f4183
mov rbp, r15
shl rbp, 4
lea rbx, [rsi + rbp]
add rbx, 8
mov r12, qword [rbx]
test r12, r12
je 0x1400f422a
inc qword [rsi + 0x2a0]
mov rcx, qword [r12]
call fcn.14010bcbc
dec byte [rsi + rbp + 0x10]
mov qword [rbx], rax
movzx ebx, word [rsi + rbp + 0x12]
xor eax, eax
mov r15d, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x38]
test r15b, 2
je 0x1400f3ccb
test al, al
je 0x1400f4457
mov qword [rsp + 0x80], r12
test r13b, 1
je 0x1400f3cec
mov rcx, r12
mov rdx, r14
mov r8, qword [rsp + 0x210]
call fcn.140108e10
mov r13, qword [rsp + 0x80]
jmp 0x1400f3df5
mov edi, r15d
mov eax, 0x40
mov ecx, 0x40
test r14, r14
je 0x1400f3d13
bsr rcx, r14
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x140147e80]
mov cl, byte [rax + rcx]
mov rdx, r14
shr rdx, cl
and edx, 7
lea rcx, [0x140147ed0]
mov rcx, qword [rcx + rax*8]
and rcx, r14
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1401480d8]
movzx r15d, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x80], 0xaa
cmp byte [rbx + 1], 0
je 0x1400f406c
mov r12, rbx
mov esi, dword [0x140178ca0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test ebx, ebx
jne 0x1400f40b4
test rsi, rsi
je 0x1400f40c1
inc qword [rsi + 0x298]
cmp r15w, 0x29
jae 0x1400f40e0
mov rbx, r15
shl rbx, 4
lea rbp, [rsi + rbx]
add rbp, 8
mov r13, qword [rbp]
test r13, r13
je 0x1400f41f5
inc qword [rsi + 0x2a0]
mov rcx, qword [r13]
call fcn.14010bcbc
dec byte [rsi + rbx + 0x10]
mov qword [rbp], rax
movzx ebp, word [rsi + rbx + 0x12]
xor eax, eax
mov r15d, edi
mov rdi, qword [rsp + 0x38]
test r15b, 2
je 0x1400f3df5
test al, al
je 0x1400f4445
test r13, r13
je 0x1400f36cc
mov r8, qword [rsp + 0x68]
cmp r8, r14
cmova r8, r14
mov rcx, r13
mov rdx, rdi
call fcn.1401107e0
mov al, byte [0x140179198]
test al, 1
je 0x1400f3e37
mov rcx, rdi
call fcn.140108e50
mov rcx, rdi
call fcn.140108e60
test al, al
jne 0x1400f3f3e
mov rax, rdi
and rax, 0xffffffffffe00000
shr rdi, 9
and edi, 0xfe0
lea r12, [rax + rdi]
add r12, 0x1000
movzx ecx, word [r12 + 0x1e]
mov rsi, rcx
neg rsi
shl rcx, 5
mov rdi, r12
sub rdi, rcx
mov rcx, rdi
and rcx, 0xfffffffffffff000
mov r14, qword [rcx]
cmp byte [r14], 2
je 0x1400f425e
cmp byte [r14 + 1], 0
je 0x1400f4343
mov rax, rsi
shl rax, 5
mov r15, qword [r12 + rax + 0x10]
cmp byte [r15 + 0x1c], 0
je 0x1400f4343
mov ebp, dword [0x140178ca0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test ebx, ebx
jne 0x1400f432f
test rbp, rbp
je 0x1400f4343
sub r15, r14
add r15, 0xfffffffffffffff0
sar r15, 3
movabs rbx, 0xcccccccccccccccd
imul rbx, r15
inc qword [rbp + 0x2c0]
cmp rbx, 0x28
ja 0x1400f433c
shl rbx, 4
mov rcx, qword [rbp + rbx + 8]
call fcn.14010bcbc
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov qword [rbp + rbx + 8], rcx
mov al, byte [rbp + rbx + 0x10]
inc al
mov byte [rbp + rbx + 0x10], al
inc qword [rbp + 0x2c8]
movzx r8d, byte [rbp + rbx + 0x11]
cmp al, r8b
jae 0x1400f43d6
mov eax, dword [rbp]
test eax, eax
jne 0x1400f43ee
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14010e4a0
mov rax, r13
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [r14 + 0xfff]
and rdx, 0xfffffffffffff000
cmp rdx, 0xf0001
jb 0x1400f3759
mov r9d, dword [rax + 0x18]
mov r8, 0xffffffffffe00000
mov rcx, rsi
and rcx, r8
mov eax, esi
shl eax, 9
and eax, 0x3ffffe00
add rax, r8
and rax, 0xffffffffffffc000
add rax, rcx
mov rcx, rdx
sub rcx, r9
jne 0x1400f3ffe
mov qword [rsi + 0x20], r14
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov dword [rax + 0x18], edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r12b, 1
je 0x1400f3804
mov rcx, rdi
mov rdx, rdi
mov r8, r14
mov r9, qword [rsp + 0x210]
call fcn.140108e90
jmp 0x1400f3804
lea rax, [r14 + 0xfff]
and rax, 0xfffffffffffff000
jmp 0x1400f37ce
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdi
mov edi, r15d
jae 0x1400f43fb
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x60], rax
cmp byte [0x140170d58], 1
jne 0x1400f4469
mov al, byte [0x140170d59]
jmp 0x1400f4501
lea rcx, [rsp + 0x80]
mov edx, r15d
mov r8, r14
mov r9, qword [rsp + 0x210]
call fcn.140108e20
test al, al
je 0x1400f3bd0
mov rcx, qword [rsp + 0x80]
jmp 0x1400f3cdc
lea rbp, [r15 + r15*4]
lea rsi, [rbx + 8]
mov rcx, rsi
call fcn.1400a5910
mov rdx, rbx
mov rbx, qword [rbx + rbp*8 + 0x10]
mov r13, qword [rbx]
test r13, r13
je 0x1400f4985
mov byte [rsp + 0x80], 0
mov ebp, dword [rdx + rbp*8 + 0x28]
mov rcx, qword [r13]
call fcn.14010bcbc
mov qword [rbx], rax
inc word [rbx + 0x18]
mov rcx, rsi
jmp 0x1400f4138
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400f3d89
mov rbx, r12
mov byte [r12 + 1], 0
mov rcx, r12
call fcn.140105f20
mov rsi, rax
mov byte [r12 + 1], 1
jmp 0x1400f3d92
inc qword [rsi + 0x2b8]
inc qword [rsi + 0x2a8]
mov byte [rsp + 0x80], 0
lea rbp, [r15 + r15*4]
lea r15, [r12 + 8]
mov rcx, r15
call fcn.1400a5910
mov rbx, qword [r12 + rbp*8 + 0x10]
mov r13, qword [rbx]
test r13, r13
je 0x1400f49ff
mov byte [rsp + 0x80], 0
mov ebp, dword [r12 + rbp*8 + 0x28]
mov rcx, qword [r13]
call fcn.14010bcbc
mov qword [rbx], rax
inc word [rbx + 0x18]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov r15d, edi
mov rdi, qword [rsp + 0x38]
test r13, r13
je 0x1400f48f9
mov al, byte [rsp + 0x80]
jmp 0x1400f3de7
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400f3c5f
mov rbx, rdi
mov byte [rdi + 1], 0
mov rcx, rdi
call fcn.140105f20
mov rsi, rax
mov byte [rdi + 1], 1
jmp 0x1400f3c68
inc qword [rsi + 0x2b8]
inc qword [rsi + 0x2a8]
mov byte [rsp + 0x70], 0
lea rbx, [r15 + r15*4]
lea r15, [rdi + 8]
mov rcx, r15
call fcn.1400a5910
mov rsi, qword [rdi + rbx*8 + 0x10]
mov r12, qword [rsi]
test r12, r12
je 0x1400f4901
mov byte [rsp + 0x70], 0
mov ebx, dword [rdi + rbx*8 + 0x28]
mov rcx, qword [r12]
call fcn.14010bcbc
mov qword [rsi], rax
inc word [rsi + 0x18]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov r15d, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x38]
test r12, r12
je 0x1400f497d
mov al, byte [rsp + 0x70]
jmp 0x1400f3cbd
movdqu xmm0, xmmword [rsi + 0x2a8]
pcmpeqd xmm1, xmm1
psubq xmm0, xmm1
movdqu xmmword [rsi + 0x2a8], xmm0
mov rcx, rsi
mov rdx, r15
call fcn.1401060c0
mov r13, qword [rbp]
test r13, r13
jne 0x1400f3dc7
jmp 0x1400f40ee
movdqu xmm0, xmmword [rsi + 0x2a8]
pcmpeqd xmm1, xmm1
psubq xmm0, xmm1
movdqu xmmword [rsi + 0x2a8], xmm0
mov rcx, rsi
mov rdx, r15
call fcn.1401060c0
mov r12, qword [rbx]
test r12, r12
jne 0x1400f3c9c
jmp 0x1400f4191
mov rcx, rsi
shl rcx, 5
mov rdx, qword [r12 + rcx + 0x10]
cmp byte [rdx + 0x1c], 0
je 0x1400f3e82
lea rdx, [r12 + rcx]
add rdx, 0x10
mov rbp, qword [0x14016cca8]
and ebp, 1
shl rbp, 0xe
add rbp, rax
mov rcx, qword [rsp + 0x38]
mov eax, ecx
shr eax, 7
and eax, 0x3fff
shr cl, 4
and cl, 7
mov bl, 1
shl bl, cl
lock or byte [rax + rbp + 0x4000], bl
mov rax, qword [rdx]
mov ecx, dword [rax + 0x18]
mov rdx, rcx
lock xadd qword [0x14016cc98], rdx
mov al, 1
add rdx, rcx
mov rcx, qword [0x14016cca0]
cmp rdx, rcx
jbe 0x1400f3f3e
xchg byte [0x14016ccb8], al
test al, 1
jne 0x1400f3f3e
xor eax, eax
xchg qword [0x14016cc98], rax
lea rsi, [0x14016cc50]
mov qword [0x14016ccb0], rax
lock inc qword [0x14016cca8]
call fcn.1400f55f0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400f5700
call fcn.1400f6400
lea rcx, [rsp + 0x80]
mov qword [rcx], rdi
call fcn.1400f64f0
jmp 0x1400f3f3e
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400f3ec5
inc qword [rbp + 0x2d0]
add r14, 8
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov rcx, r14
call fcn.1400a5910
mov rcx, qword [rdi]
mov rbx, qword [rsp + 0x38]
cmp rcx, rbx
je 0x1400f4c0c
call fcn.14010bcbc
mov qword [rbx], rax
mov qword [rdi], rbx
shl rsi, 5
movzx eax, word [r12 + rsi + 0x18]
dec eax
mov word [r12 + rsi + 0x18], ax
test ax, ax
jle 0x1400f48d5
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x80], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsp + 0x80], 0
je 0x1400f3f3e
lea rcx, [rsp + 0x80]
call fcn.140053f10
jmp 0x1400f3f3e
lea rdx, [rbx + rbp]
add rdx, 8
shr r8, 1
mov rcx, rbp
call fcn.1401061c0
jmp 0x1400f3f33
mov rcx, rbp
call fcn.140106300
jmp 0x1400f3f3e
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsi + 0x60]
mov r15d, edi
mov rdi, qword [rsp + 0x38]
ja 0x1400f3759
mov r8, rcx
mov rcx, qword [rsp + 0x48]
add rcx, qword [rsp + 0x50]
mov rbp, r8
mov rdx, r8
mov r8d, 2
xor r9d, r9d
call fcn.140105bc0
mov rdx, qword [rsp + 0x40]
lock add qword [r13 + 0x1440], rbp
jmp 0x1400f3faf
mov rcx, r13
xor edx, edx
mov r8, rbp
call fcn.140110bf0
jmp 0x1400f3df5
mov rcx, r12
xor edx, edx
mov r8, rbx
call fcn.140110bf0
jmp 0x1400f3ccb
lea r15, [rsp + 0x8c]
mov r8d, 0x110
mov rcx, r15
xor edx, edx
call fcn.140110bf0
mov dword [r15 - 0xc], 0x11c
mov r15, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r15
mov rcx, rax
mov edx, 1
mov r8b, 3
call r15
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r15
movabs rcx, 0x300000006
lea rdx, [rsp + 0x8c]
mov qword [rdx - 8], rcx
mov word [rdx + 0x108], 0
lea rcx, [rsp + 0x80]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
setne al
setne byte [0x140170d59]
mov byte [0x140170d58], 1
test al, al
mov eax, 0x10000
mov ecx, 0x200000
cmove rcx, rax
lea rax, [r14 + rcx]
add rax, 0x3fff
neg rcx
and rcx, rax
add rcx, 0xffffffffffffc000
shr rcx, 0xc
lea rax, [rcx + rcx*4]
mov rcx, qword [rsp + 0x60]
shr rcx, 0xa
and rcx, 0xfffffffffffffffc
cmp rax, rcx
mov r15d, edi
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
jb 0x1400f3759
mov rbp, qword [rsp + 0x50]
sub rbp, rax
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rdx, rbp
xor r8d, r8d
call fcn.140105b90
mov rdx, qword [rsp + 0x40]
lock sub qword [r13 + 0x1440], rbp
jmp 0x1400f3faf
mov rcx, rsi
shl rcx, 5
mov rdx, qword [r12 + rcx + 0x10]
cmp byte [rdx + 0x1c], 0
je 0x1400f39c4
lea rdx, [r12 + rcx]
add rdx, 0x10
mov rbp, qword [0x14016cca8]
and ebp, 1
shl rbp, 0xe
add rbp, rax
mov rcx, r13
mov eax, ecx
shr eax, 7
and eax, 0x3fff
shr cl, 4
and cl, 7
mov bl, 1
shl bl, cl
lock or byte [rax + rbp + 0x4000], bl
mov rax, qword [rdx]
mov ecx, dword [rax + 0x18]
mov rdx, rcx
lock xadd qword [0x14016cc98], rdx
mov al, 1
add rdx, rcx
mov rcx, qword [0x14016cca0]
cmp rdx, rcx
jbe 0x1400f36d6
xchg byte [0x14016ccb8], al
test al, 1
jne 0x1400f36d6
xor eax, eax
xchg qword [0x14016cc98], rax
lea rsi, [0x14016cc50]
mov qword [0x14016ccb0], rax
lock inc qword [0x14016cca8]
call fcn.1400f55f0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400f5700
call fcn.1400f6400
lea rcx, [rsp + 0x80]
mov qword [rcx], rdi
call fcn.1400f64f0
jmp 0x1400f36d6
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400f3a06
inc qword [rbx + 0x2d0]
add r14, 8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov rcx, r14
call fcn.1400a5910
mov rcx, qword [r15]
cmp rcx, r13
je 0x1400f4c33
call fcn.14010bcbc
mov qword [r13], rax
mov qword [r15], r13
shl rsi, 5
movzx eax, word [r12 + rsi + 0x18]
dec eax
mov word [r12 + rsi + 0x18], ax
test ax, ax
jle 0x1400f4a7c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x80], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsp + 0x80], 0
je 0x1400f36d6
lea rcx, [rsp + 0x80]
call fcn.140053f10
jmp 0x1400f36d6
lea rdx, [rbx + rbp]
add rdx, 8
shr r8, 1
mov rcx, rbx
call fcn.1401061c0
jmp 0x1400f3a70
lea rcx, [rsp + 0x80]
mov edx, r15d
mov r8, r14
mov r9, qword [rsp + 0x210]
call fcn.140108e20
test al, al
je 0x1400f3833
mov rcx, qword [rsp + 0x80]
jmp 0x1400f3937
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400f3b17
mov rsi, rdi
mov byte [rdi + 1], 0
mov rcx, rdi
call fcn.140105f20
mov rbp, rax
mov byte [rdi + 1], 1
jmp 0x1400f3b20
inc qword [rbp + 0x2b8]
inc qword [rbp + 0x2a8]
mov byte [rsp + 0x80], 0
lea rsi, [r15 + r15*4]
mov rbx, rdi
lea rbp, [rdi + 8]
mov rcx, rbp
call fcn.1400a5910
mov rbx, qword [rdi + rsi*8 + 0x10]
mov r13, qword [rbx]
test r13, r13
je 0x1400f4a96
mov byte [rsp + 0x80], 0
mov esi, dword [rdi + rsi*8 + 0x28]
mov rcx, qword [r13]
call fcn.14010bcbc
mov qword [rbx], rax
inc word [rbx + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r13, r13
je 0x1400f36d6
cmp byte [rsp + 0x80], 0
sete al
jmp 0x1400f3b6b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400f38c2
mov rsi, rdi
mov byte [rdi + 1], 0
mov rcx, rdi
call fcn.140105f20
mov rbx, rax
mov byte [rdi + 1], 1
jmp 0x1400f38cb
inc qword [rbx + 0x2b8]
inc qword [rbx + 0x2a8]
mov byte [rsp + 0x70], 0
lea rbx, [r12 + r12*4]
mov rsi, rdi
lea rbp, [rdi + 8]
mov rcx, rbp
call fcn.1400a5910
mov rsi, qword [rdi + rbx*8 + 0x10]
mov r15, qword [rsi]
test r15, r15
je 0x1400f4b21
mov byte [rsp + 0x70], 0
mov ebx, dword [rdi + rbx*8 + 0x28]
mov rcx, qword [r15]
call fcn.14010bcbc
mov qword [rsi], rax
inc word [rsi + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r15, r15
je 0x1400f4b19
cmp byte [rsp + 0x70], 0
sete al
jmp 0x1400f3917
movdqu xmm0, xmmword [rbp + 0x2a8]
pcmpeqd xmm1, xmm1
psubq xmm0, xmm1
movdqu xmmword [rbp + 0x2a8], xmm0
mov rcx, rbp
mov rdx, r15
call fcn.1401060c0
mov r13, qword [rsi]
test r13, r13
jne 0x1400f3b54
jmp 0x1400f476c
movdqu xmm0, xmmword [rbx + 0x2a8]
pcmpeqd xmm1, xmm1
psubq xmm0, xmm1
movdqu xmmword [rbx + 0x2a8], xmm0
mov rcx, rbx
mov rdx, r12
call fcn.1401060c0
mov r15, qword [rbp]
test r15, r15
jne 0x1400f3900
jmp 0x1400f480c
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140106480
jmp 0x1400f439d
mov rcx, r15
xor edx, edx
mov r8, rbx
call fcn.140110bf0
jmp 0x1400f3926
xor r13d, r13d
jmp 0x1400f3df5
lea rcx, [rdi + rbx*8]
add rcx, 0x10
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov r8d, dword [rsp + 0x34]
mov r9, r14
call fcn.1400f4c40
test rax, rax
je 0x1400f4ba3
mov r12, rax
and rax, 0xffffffffffe00000
mov rcx, r12
shr rcx, 9
and ecx, 0xfe0
lea rbx, [rax + rcx]
add rbx, 0x1000
movzx ecx, word [rbx + 0x1e]
mov rdx, rcx
shl rdx, 5
mov rax, rbx
sub rax, rdx
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x18]
cmp rdx, 0x10000
ja 0x1400f4bb5
mov rax, rdx
mov rbx, rdx
jmp 0x1400f41d0
xor r12d, r12d
jmp 0x1400f3ccb
lea rcx, [rdx + rbp*8]
add rcx, 0x10
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r8d, edi
mov r9, r14
call fcn.1400f4c40
test rax, rax
je 0x1400f4bc6
mov r13, rax
and rax, 0xffffffffffe00000
mov rcx, r13
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx ecx, word [rbp + 0x1e]
mov rdx, rcx
shl rdx, 5
mov rax, rbp
sub rax, rdx
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x18]
cmp rdx, 0x10000
ja 0x1400f4bea
mov rax, rdx
mov rbp, rdx
jmp 0x1400f40ac
lea rcx, [r12 + rbp*8]
add rcx, 0x10
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rdx, r12
mov r8d, edi
mov r9, r14
call fcn.1400f4c40
test rax, rax
je 0x1400f4bd8
mov r13, rax
and rax, 0xffffffffffe00000
mov rcx, r13
shr rcx, 9
and ecx, 0xfe0
lea rbp, [rax + rcx]
add rbp, 0x1000
movzx ecx, word [rbp + 0x1e]
mov rdx, rcx
shl rdx, 5
mov rax, rbp
sub rax, rdx
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x18]
cmp rdx, 0x10000
ja 0x1400f4bfb
mov rax, rdx
mov rbp, rdx
jmp 0x1400f4135
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.140106480
jmp 0x1400f46b5
mov rcx, r14
call fcn.1400afb70
mov rdx, rdi
lea rcx, [rdi + rsi*8]
add rcx, 0x10
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov r9, r14
call fcn.1400f4c40
test rax, rax
je 0x1400f4c0f
mov r13, rax
and rax, 0xffffffffffe00000
mov rcx, r13
shr rcx, 9
and ecx, 0xfe0
lea rbx, [rax + rcx]
add rbx, 0x1000
movzx ecx, word [rbx + 0x1e]
mov rdx, rcx
shl rdx, 5
mov rax, rbx
sub rax, rdx
mov rax, qword [rax + 0x10]
mov esi, dword [rax + 0x18]
cmp rsi, 0x10000
jbe 0x1400f47b4
neg rcx
shl rcx, 5
mov rsi, qword [rbx + rcx + 0x20]
jmp 0x1400f47b4
xor r15d, r15d
jmp 0x1400f3926
lea rcx, [rdi + rbx*8]
add rcx, 0x10
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov r8d, dword [rsp + 0x34]
mov r9, r14
call fcn.1400f4c40
test rax, rax
je 0x1400f4c21
mov r15, rax
and rax, 0xffffffffffe00000
mov rcx, r15
shr rcx, 9
and ecx, 0xfe0
lea rsi, [rax + rcx]
add rsi, 0x1000
movzx ecx, word [rsi + 0x1e]
mov rdx, rcx
shl rdx, 5
mov rax, rsi
sub rax, rdx
mov rax, qword [rax + 0x10]
mov ebx, dword [rax + 0x18]
cmp rbx, 0x10000
jbe 0x1400f484d
neg rcx
shl rcx, 5
mov rbx, qword [rsi + rcx + 0x20]
jmp 0x1400f484d
xor r12d, r12d
movabs rbx, 0xaaaaaaaaaaaaaaaa
jmp 0x1400f41d0
neg rcx
shl rcx, 5
mov rbx, qword [rbx + rcx + 0x20]
jmp 0x1400f41d0
xor r13d, r13d
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x1400f40ac
xor r13d, r13d
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x1400f4135
neg rcx
shl rcx, 5
mov rbp, qword [rbp + rcx + 0x20]
jmp 0x1400f40ac
neg rcx
shl rcx, 5
mov rbp, qword [rbp + rcx + 0x20]
jmp 0x1400f4135
int3
movabs rsi, 0xaaaaaaaaaaaaaaaa
xor r13d, r13d
jmp 0x1400f47b4
movabs rbx, 0xaaaaaaaaaaaaaaaa
xor r15d, r15d
jmp 0x1400f484d
int3