Function at 0x1800750c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov r13, r9
mov rbx, r8
mov r12, rdx
mov r14, rcx
mov ecx, dword [0x180205148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov dword [rbp - 0x38], eax
lea edx, [rax + 1]
mov ecx, dword [0x180205148]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x180209190]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov dword [rbp - 0x34], eax
lea edx, [rax + 1]
mov ecx, dword [0x180209190]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea ecx, [rsi + rdi]
mov r15d, dword [rbp + 0x60]
test ecx, ecx
jne 0x1800754c7
cmp dword [rbp + 0x68], 0xa
jne 0x18007519e
mov dword [rbp - 0x40], 0xc0000001
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, r13
mov r8, rbx
mov rdx, r12
mov rcx, r14
call fcn.180074810
test al, al
je 0x18007519e
mov edx, esi
mov ecx, dword [0x180209190]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, edi
mov ecx, dword [0x180205148]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [rbp - 0x40]
jmp 0x180075505
lea r13, [r14 + 0x18]
mov qword [rbp - 0x18], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov ecx, dword [r13 + 4]
cmp ecx, eax
jne 0x1800751be
mov rdi, qword [rbp - 0x18]
inc dword [rdi]
jmp 0x1800751d9
mov rcx, qword [rbp - 0x18]
add rcx, 8
call fcn.180035b50
xchg dword [r13 + 4], ebx
mov rdi, qword [rbp - 0x18]
mov dword [rdi], 1
mov byte [rbp - 0x10], 1
mov rcx, qword [r14 + 0x38]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x31], 0
jne 0x180075208
nop dword [rax + rax]
cmp qword [rax + 0x18], r12
jae 0x1800751fc
mov rax, qword [rax + 0x10]
jmp 0x180075202
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x31], 0
je 0x1800751f0
mov qword [rbp - 0x30], rcx
mov rax, qword [r14 + 0x38]
cmp rcx, rax
je 0x180075221
cmp r12, qword [rcx + 0x18]
jb 0x180075221
lea rbx, [rbp - 0x30]
jmp 0x180075229
mov qword [rbp - 0x28], rax
lea rbx, [rbp - 0x28]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x18007547b
cmp dword [rbp + 0x68], 0xe
jne 0x18007547b
mov edx, 0x10
mov r14, qword [rbp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x1800752bb
dec dword [rdi]
jne 0x180075293
xor esi, esi
xchg dword [r13 + 4], esi
mov rcx, qword [rbp - 0x18]
add rcx, 8
mov eax, 0x80000000
lock xadd dword [rcx], eax
bt eax, 0x1e
jb 0x180075293
cmp eax, 0x80000000
jle 0x180075293
lock bts dword [rcx], 0x1e
jb 0x180075293
call fcn.180035ad0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov edx, dword [rbp - 0x34]
mov ecx, dword [0x180209190]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [rbp - 0x38]
mov ecx, dword [0x180205148]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 0xc000000d
jmp 0x180075505
mov rdx, r15
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x180075332
dec dword [rdi]
jne 0x18007530a
xor esi, esi
xchg dword [r13 + 4], esi
mov rcx, qword [rbp - 0x18]
add rcx, 8
mov eax, 0x80000000
lock xadd dword [rcx], eax
bt eax, 0x1e
jb 0x18007530a
cmp eax, 0x80000000
jle 0x18007530a
lock bts dword [rcx], 0x1e
jb 0x18007530a
call fcn.180035ad0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov edx, dword [rbp - 0x34]
mov ecx, dword [0x180209190]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [rbp - 0x38]
mov ecx, dword [0x180205148]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 0xc000000d
jmp 0x180075505
cmp r15d, 8
jae 0x18007539e
dec dword [rdi]
jne 0x180075376
xor esi, esi
xchg dword [r13 + 4], esi
mov rcx, qword [rbp - 0x18]
add rcx, 8
mov eax, 0x80000000
lock xadd dword [rcx], eax
bt eax, 0x1e
jb 0x180075376
cmp eax, 0x80000000
jle 0x180075376
lock bts dword [rcx], 0x1e
jb 0x180075376
call fcn.180035ad0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov edx, dword [rbp - 0x34]
mov ecx, dword [0x180209190]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [rbp - 0x38]
mov ecx, dword [0x180205148]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 0xc000000d
jmp 0x180075505
xor esi, esi
mov r8d, esi
mov r12d, esi
mov rdx, qword [rbx + 0x28]
mov r9, qword [rbx + 0x20]
test rdx, rdx
je 0x1800753dd
mov eax, dword [rdx + 8]
test eax, eax
je 0x1800753d9
nop word [rax + rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1800753d3
mov eax, dword [rdx + 8]
test eax, eax
jne 0x1800753c0
jmp 0x1800753d9
mov r12, rdx
mov r8, r9
mov rdi, qword [rbp - 0x18]
mov rax, qword [rbp + 0x58]
movsxd rax, dword [rax]
mov qword [r8], rax
mov qword [r14 + 8], rax
mov dword [r14], esi
test r12, r12
je 0x18007541a
lock dec dword [r12 + 8]
jne 0x180075416
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
lock dec dword [r12 + 0xc]
jne 0x180075416
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 8]
mov rdi, qword [rbp - 0x18]
dec dword [rdi]
jne 0x180075456
xchg dword [r13 + 4], esi
mov rcx, qword [rbp - 0x18]
add rcx, 8
mov eax, 0x80000000
lock xadd dword [rcx], eax
bt eax, 0x1e
jb 0x180075456
cmp eax, 0x80000000
jle 0x180075456
lock bts dword [rcx], 0x1e
jb 0x180075456
call fcn.180035ad0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov edx, dword [rbp - 0x34]
mov ecx, dword [0x180209190]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [rbp - 0x38]
mov ecx, dword [0x180205148]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
jmp 0x180075505
dec dword [rdi]
jne 0x1800754b9
xor esi, esi
xchg dword [r13 + 4], esi
mov rcx, qword [rbp - 0x18]
add rcx, 8
mov eax, 0x80000000
lock xadd dword [rcx], eax
bt eax, 0x1e
jb 0x1800754b9
cmp eax, 0x80000000
jle 0x1800754b9
lock bts dword [rcx], 0x1e
jb 0x1800754b9
call fcn.180035ad0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov esi, dword [rbp - 0x34]
mov edi, dword [rbp - 0x38]
mov rbx, qword [rbp + 0x50]
mov r13, qword [rbp + 0x58]
mov eax, dword [rbp + 0x68]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
mov r9, r13
mov r8, rbx
mov rdx, r12
mov rcx, qword [r14 + 0x10]
call fcn.1800786c0
mov ebx, eax
mov edx, esi
mov ecx, dword [0x180209190]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, edi
mov ecx, dword [0x180205148]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret