Function at 0x1000a7e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x70
lock inc dword [0x103621e4]
mov esi, edx
mov edi, ecx
call fcn.1000ad80
test eax, eax
jne 0x1000a81e
lea eax, [esp + 4]
mov ecx, 0x102cf1be
mov edx, 0x46
push 0x102ce124
push 0x102ce114
push eax
call fcn.10003080
add esp, 0xc
ud2
mov ebp, dword [eax]
inc ebp
cmp ebp, 2
mov dword [eax], ebp
jbe 0x1000a85d
mov dword [esp + 4], 0x102ce158
lea ecx, [esp + 4]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], str.formatter_errorfailed_to_write_whole_buffer
mov dword [esp + 0x18], 0
call fcn.1000ae50
ud2
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x34], str.formatter_errorfailed_to_write_whole_buffer
mov dword [esp + 0x38], 0x102ce134
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [0x103621f0]
test eax, eax
jne 0x1000a8aa
mov ecx, str.AcquireSRWLockShared
mov edx, 0x14
call fcn.1000a380
test eax, eax
mov eax, 0x1000ae30
cmovne eax, edx
mov dword [0x103621f0], eax
push 0x103621f4
call eax
push edi
call dword [esi + 0x10]
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call fcn.1000ad80
test eax, eax
je 0x1000a7fb
cmp dword [eax], 1
mov cl, 1
ja 0x1000a98a
mov eax, dword [0x103621fc]
cmp eax, 2
je 0x1000a912
cmp eax, 1
je 0x1000a90e
test eax, eax
jne 0x1000a98a
lea ecx, [esp + 4]
mov edx, 0x102ce200
push 0xe
call fcn.1000af60
add esp, 4
mov edi, dword [esp + 4]
test edi, edi
jne 0x1000a916
mov bl, 5
jmp 0x1000a96e
mov cl, 4
jmp 0x1000a98a
xor ecx, ecx
jmp 0x1000a98a
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
cmp ecx, 4
je 0x1000a93e
cmp ecx, 1
jne 0x1000a955
mov bl, 4
mov esi, 1
cmp edi, 0x102ce20e
je 0x1000a95c
cmp byte [edi], 0x30
jne 0x1000a955
jmp 0x1000a95c
mov bl, 1
mov esi, 3
cmp edi, 0x102ce20f
je 0x1000a95c
cmp dword [edi], 0x6c6c7566
je 0x1000a95c
mov esi, 2
xor ebx, ebx
test eax, eax
je 0x1000a96e
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
cmp bl, 5
mov edx, 1
movzx eax, bl
mov ecx, 4
cmovne edx, esi
cmovne ecx, eax
xchg dword [0x103621fc], edx
mov eax, dword [esp + 0x40]
lea edi, [esp + 0x34]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], eax
push edi
call fcn.10003120
add esp, 4
mov esi, eax
push eax
call dword [edx + 0xc]
add esp, 4
test esi, esi
je 0x1000a9ca
xor eax, 0xecc7bcf4
xor edx, 0x7ef2a91e
or edx, eax
jne 0x1000a9ca
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], eax
jmp 0x1000aa02
push edi
call fcn.10003120
add esp, 4
mov esi, eax
push eax
call dword [edx + 0xc]
add esp, 4
test esi, esi
mov edi, 0x102ce213
mov ecx, 8
je 0x1000a9fe
xor eax, 0x6d0be9c8
xor edx, 0xce8a1faf
or edx, eax
jne 0x1000a9fe
mov edi, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
mov eax, dword [0x10358ef0]
test eax, eax
jne 0x1000aa19
mov ecx, 0x10358ef0
call fcn.10009cf0
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x1000aa2e
cmp dword [eax], 1
jne 0x1000aa2e
add eax, 4
jmp 0x1000aa4b
call fcn.10009e40
test eax, eax
jne 0x1000aa4b
mov al, 1
mov dword [esp + 0x24], 0
xor edi, edi
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x1000aa8c
mov ecx, eax
call fcn.10009f10
mov edi, eax
mov dword [esp + 0x24], eax
add eax, 0x10
mov ecx, dword [edi + 0x10]
test ecx, ecx
cmove eax, ecx
jne 0x1000aa69
xor eax, eax
jmp 0x1000aa84
mov ecx, dword [eax + 4]
sub ecx, 1
jae 0x1000aa82
xor edx, edx
push 0x102ce21c
call fcn.10001b60
add esp, 4
ud2
mov eax, dword [eax]
mov dword [esp + 0x20], 0
test eax, eax
mov edx, str._unnamed_
mov esi, 9
mov dword [esp + 0x50], 0x102ce390
mov dword [esp + 0x54], 4
mov dword [esp + 0x58], 0
cmovne edx, eax
cmovne esi, ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x6c], esi
lea esi, [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10002390
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
lea edx, [esp + 0x44]
mov dword [esp + 0x10], 0x10002390
mov dword [esp + 0x14], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x18], 0x1000bed0
mov dword [esp + 0x64], 3
lea ecx, [esp + 0x28]
lea edx, [esp + 4]
push esi
call fcn.1000b300
add esp, 4
mov al, byte [esp + 0x28]
cmp al, 3
ja 0x1000ab1f
cmp al, 2
jne 0x1000ab73
mov ebx, edi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax]
add esp, 4
mov eax, dword [edi + 4]
cmp dword [eax + 4], 0
je 0x1000ab63
mov ecx, dword [edi]
cmp dword [eax + 8], 9
mov dword [esp + 0x1c], ecx
jae 0x1000ab4f
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp + 0x1c]
jmp 0x1000ab5b
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp + 0x1c]
push dword [ecx - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov edi, ebx
mov ebx, dword [esp + 0x30]
xor eax, eax
mov ecx, ebx
add cl, 0xfd
movzx edx, cl
inc edx
cmp cl, 2
cmovb eax, edx
test eax, eax
je 0x1000abfd
cmp eax, 1
je 0x1000ad16
xor eax, eax
xchg byte [0x10358ef8], al
test al, al
je 0x1000ad16
lea eax, [esp + 4]
mov dword [esp + 4], 0x102ce3c8
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], str.formatter_errorfailed_to_write_whole_buffer
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x50]
lea edx, [esp + 4]
push eax
call fcn.1000b300
add esp, 4
mov al, byte [esp + 0x50]
cmp al, 3
ja 0x1000abf2
cmp al, 2
jne 0x1000ad16
mov ebx, edi
mov edi, dword [esp + 0x54]
jmp 0x1000acd3
mov ecx, 0x10362200
call fcn.1000bf60
lea eax, [esp + 3]
mov dword [esp + 4], 0x102cf188
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], esi
mov byte [esp + 3], bl
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x28]
lea edx, [esp + 4]
mov dword [esp + 0x50], eax
lea eax, [esp + 4]
mov dword [esp + 0x54], 0x1000c060
push eax
call fcn.1000b300
add esp, 4
mov eax, dword [0x103621ec]
test eax, eax
jne 0x1000ac7b
mov ecx, 0x102ce0c1
mov edx, 0x17
call fcn.1000a380
test eax, eax
mov eax, 0x1000a750
cmovne eax, edx
mov dword [0x103621ec], eax
cmp eax, 0x1000a750
jne 0x1000ac93
mov eax, dword [0x10362200]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
jmp 0x1000acc1
mov eax, dword [0x10362204]
test eax, eax
jne 0x1000acba
mov ecx, 0x102ce3b0
mov edx, 0x17
call fcn.1000a380
test eax, eax
mov eax, 0x1000c640
cmovne eax, edx
mov dword [0x10362204], eax
push 0x10362200
call eax
mov al, byte [esp + 0x28]
cmp al, 3
ja 0x1000accd
cmp al, 2
jne 0x1000ad16
mov ebx, edi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax]
add esp, 4
mov eax, dword [edi + 4]
cmp dword [eax + 4], 0
je 0x1000ad06
mov esi, dword [edi]
cmp dword [eax + 8], 9
jae 0x1000acf6
call sub.KERNEL32.dll_GetProcessHeap
push esi
jmp 0x1000acfe
call sub.KERNEL32.dll_GetProcessHeap
push dword [esi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov edi, ebx
cmp byte [esp + 0x20], 0
jne 0x1000ad2b
lock dec dword [edi]
jne 0x1000ad2b
lea ecx, [esp + 0x24]
call fcn.1000a2c0
mov eax, dword [0x103621f8]
test eax, eax
jne 0x1000ad52
mov ecx, str.ReleaseSRWLockShared
mov edx, 0x14
call fcn.1000a380
test eax, eax
mov eax, 0x1000aee0
cmovne eax, edx
mov dword [0x103621f8], eax
push 0x103621f4
call eax
cmp ebp, 1
jbe 0x1000ad6b
mov dword [esp + 4], str.thread_panicked_while_panicking._aborting._n
jmp 0x1000a830
call fcn.1000af00
ud2