Function at 0x100003a30
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], r8
push rsi
push rdi
push r13
sub rsp, 0x80
and dword [rax + 0x20], 0
and dword [rax + 0x24], 0
mov rsi, rdx
mov rbp, rcx
call fcn.100001210
test al, al
je 0x10001bd3f
mov ebx, dword [0x1000da584]
or r13d, 0xffffffff
cmp ebx, r13d
je 0x10002284d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [0x1000da584]
mov rdi, qword [rax + 0x20]
test rdi, rdi
jne 0x100022854
mov rdx, qword [rsp + 0xb0]
lea r8, [rsp + 0xb8]
xor r9d, r9d
mov rcx, rbp
call fcn.100003898
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x20]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.100003b0c
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x10001bd3f
mov r9, qword [rsp + 0xb8]
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.10000e478
jmp 0x100003aee
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret
mov eax, 0x40000
jmp 0x100003aee
xor eax, eax
jmp 0x100003a86
mov eax, dword [rsi + 0x1c]
test eax, eax
jne 0x1000229a7
mov rdx, qword [rsp + 0xb0]
lea r8, [rsp + 0xb8]
mov rcx, rdi
call fcn.10003e9fc
mov ecx, dword [0x1000da584]
cmp ecx, r13d
jne 0x100022886
xor ebx, ebx
jmp 0x10002288f
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r11d, eax
mov eax, dword [rbx + 0x54]
sub eax, dword [rsp + 0xb8]
cdq
xor eax, edx
sub eax, edx
cmp eax, r11d
jg 0x100022917
mov ecx, dword [0x1000da584]
cmp ecx, r13d
jne 0x1000228c0
xor ebx, ebx
jmp 0x1000228c9
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r11d, eax
mov eax, dword [rbx + 0x58]
sub eax, dword [rsp + 0xbc]
cdq
xor eax, edx
sub eax, edx
cmp eax, r11d
jg 0x100022917
mov ebx, dword [0x1000da584]
cmp ebx, r13d
jne 0x1000228fa
xor eax, eax
jmp 0x100022908
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [0x1000da584]
cmp byte [rax + 0xa1], 0
je 0x100022a28
jmp 0x10002291d
mov ebx, dword [0x1000da584]
cmp ebx, r13d
jne 0x100022926
xor eax, eax
jmp 0x100022934
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [0x1000da584]
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0x38
mov byte [rax + 0xa1], 1
call sub.msvcrt.dll_memcpy
mov dword [rsp + 0x30], 0x48
mov dword [rsp + 0x4c], 3
cmp ebx, r13d
jne 0x100022967
xor eax, eax
jmp 0x10002296f
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov al, byte [rax + 0x50]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, rdi
mov byte [rsp + 0x60], al
call fcn.10000b620
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_PtInRect]
lea rsi, [rsp + 0x30]
mov dword [rsp + 0x70], eax
jmp 0x1000229c6
cmp eax, 1
jne 0x1000229ce
mov byte [rbp + 0x1a8], al
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xa8]
mov byte [rbp + 0x1a8], 0
mov ebx, dword [0x1000da584]
jmp 0x100022a28
cmp eax, 7
jne 0x100022a28
cmp ebx, r13d
jne 0x1000229dc
xor eax, eax
jmp 0x1000229ea
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [0x1000da584]
mov byte [rax + 0xa1], 0
cmp ebx, r13d
jne 0x1000229fa
xor eax, eax
jmp 0x100022a08
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [0x1000da584]
and qword [rax + 0x20], 0
cmp ebx, r13d
jne 0x100022a16
xor eax, eax
jmp 0x100022a24
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [0x1000da584]
mov byte [rax + 0x50], 0
cmp dword [rsi + 0x1c], 3
je 0x100003acd
cmp dword [rsi + 0x1c], 7
je 0x100022a5f
cmp dword [rsi + 0x1c], 2
jne 0x100003a93
cmp ebx, r13d
jne 0x100022a4b
xor eax, eax
jmp 0x100022a53
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov al, byte [rax + 0x50]
cmp byte [rsi + 0x30], al
jne 0x100003a93
cmp dword [rsi + 0x1c], 3
je 0x100003acd
mov rdx, qword [rsp + 0xb0]
lea r8, [rsp + 0xb8]
mov rcx, rdi
call fcn.10003e9fc
jmp 0x100003acd