Function at 0x18003cb98
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov ecx, dword [0x18009a2d8]
mov rbp, r8
mov r14, rdx
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
test rax, rax
je 0x18002e8ef
mov rcx, rax
call fcn.180031904
cmp rax, rdi
jne 0x18002e8ef
mov rcx, rbx
call fcn.1800318a8
jmp 0x18002e8f6
mov rax, qword [rdi + 0x130]
mov r9, rsi
mov r8, rbp
mov rdx, r14
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 0x18003cac8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call fcn.180023a4c
mov r8b, 1
mov rdx, rsi
mov rcx, rdi
call rbx
mov r8, rbp
mov rdx, r14
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 0x18003cb98
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rcx
test rdx, rdx
je 0x18003cd22
mov rax, qword [rcx + 0x1a8]
mov rsi, qword [rax + 8]
mov rcx, rsi
call fcn.18002cbfc
mov rbp, rax
mov rcx, qword [rdi + 0x1a8]
test byte [rcx + 0x50], 4
jne 0x18003cbe7
lock inc dword [rcx + 0x28]
lea rcx, [rdi + 0x58]
call fcn.180025620
lea rdx, [rbp + 0x20]
and qword [rdx], 0
mov rax, qword [rdi + 0x50]
mov qword [rax], rbp
mov qword [rdi + 0x50], rdx
lea rcx, [rdi + 0x58]
call fcn.180025668
nop
call fcn.18002be40
mov rbx, rax
test rax, rax
je 0x18003cc44
mov rcx, rax
call fcn.180031904
cmp rax, rsi
jne 0x18003cc44
cmp byte [rbx + 0x88], 0
mov rax, qword [rbx + 0xf8]
je 0x18003cc3c
inc dword [rax + 0x20]
jmp 0x18003cca1
inc dword [rax + 0xa0]
jmp 0x18003cca1
mov ecx, dword [rsi + 0x20]
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
test rax, rax
jne 0x18003cc9e
lea ecx, [rax + 0x40]
call fcn.180022994
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x18003cc82
and dword [rax + 0x20], 0
and dword [rax + 0x24], 0
and dword [rax + 0x28], 0
and dword [rax + 0x2c], 0
mov dword [rax + 0x30], 1
jmp 0x18003cc84
xor ebx, ebx
lea rcx, [rsi + 0x150]
mov rdx, rbx
call fcn.18003b948
mov rdx, rbx
mov ecx, dword [rsi + 0x20]
call fcn.180025268
inc dword [rbx + 0x20]
test dword [rdi + 0x18], 0xfffffff
je 0x18003ccbe
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.180023a4c
mov rcx, rdi
call rbx
mov eax, dword [rsi + 0x2a8]
mov ecx, dword [rsi + 0x2a4]
sub ecx, eax
test ecx, ecx
jle 0x18003cd0c
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x28], eax
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x30], rax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x2c], eax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov rbx, qword [rax + 0x70]
mov rcx, rbx
call fcn.180023a4c
lea r8, [rsp + 0x28]
mov rdx, rdi
mov rcx, rsi
call rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rdx, str.proc
lea rcx, [rsp + 0x40]
call fcn.18002047c
lea rdx, [0x180093868]
lea rcx, [rsp + 0x40]
call fcn.1800422c0
int3