Function at 0x100fabb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [0x10411900]
mov ebp, edx
mov edi, ecx
test eax, eax
jne 0x100fabce
mov ecx, 0x10411900
call fcn.100f2930
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x100fabe3
cmp dword [eax], 1
jne 0x100fabe3
add eax, 4
jmp 0x100fabf0
call fcn.100f2a80
test eax, eax
je 0x100fae52
mov ecx, eax
call fcn.100f2b50
mov ebx, eax
mov dword [esp + 0x24], eax
xor ecx, ecx
mov eax, 2
lock cmpxchg dword [ebx + 0x18], ecx
je 0x100fae0c
mov esi, ebx
add esi, 0x18
mov ecx, dword [esi + 4]
call fcn.100f4af0
mov eax, dword [0x10551f14]
mov dword [esp], edi
test eax, eax
jne 0x100fad0a
xor edx, edx
mov al, byte [ebx + 0x20]
lea edi, [esi + 4]
test al, al
jne 0x100fae6b
mov ecx, 1
xor eax, eax
lock cmpxchg dword [esi], ecx
jne 0x100facd8
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
xor eax, eax
lock cmpxchg dword [ebx + 0x28], ecx
je 0x100fac69
cmp eax, ecx
jne 0x100fae90
mov eax, dword [esi + 4]
mov edi, 0x3e8
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, ebp
mul edi
mov ebp, eax
mov eax, dword [esp]
seto cl
mul edi
mov edi, edx
mov dword [esp], eax
add edi, ebp
setb al
or al, cl
jne 0x100fad30
mov ebp, dword [esp + 0x80]
mov ecx, 0x431bde83
mov eax, ebp
mul ecx
shr edx, 0x12
add dword [esp], edx
adc edi, 0
jb 0x100fad30
mov ecx, dword [esp]
imul eax, ebp, 0x68c26139
ror eax, 6
cmp eax, 0x10c6
jbe 0x100fad19
add ecx, 1
adc edi, 0
setae al
movzx eax, al
jmp 0x100fad1e
cmp eax, 2
jne 0x100faea1
xor eax, eax
xchg dword [esi], eax
cmp eax, 2
mov dword [esp + 0x30], eax
jne 0x100faeba
test dl, dl
jne 0x100fad03
mov eax, dword [0x10551f14]
test eax, eax
jne 0x100fae26
mov esi, dword [edi]
jmp 0x100fad9f
call fcn.100faaa0
mov edx, eax
xor dl, 1
jmp 0x100fac2e
mov eax, 1
cmp ecx, 0xffffffff
sbb edi, 0
mov edi, 0xffffffff
cmovb edi, ecx
test eax, eax
jne 0x100fad35
mov edi, 0xffffffff
mov eax, dword [0x10551f84]
test eax, eax
jne 0x100fad5c
mov ecx, str.SleepConditionVariableSRW
mov edx, 0x19
call fcn.100f2fc0
test eax, eax
mov eax, 0x100fab90
cmovne eax, edx
mov dword [0x10551f84], eax
push 0
push edi
push dword [esp + 0x30]
push dword [esp + 0x38]
call eax
mov cl, byte [ebx + 0x20]
test cl, cl
jne 0x100faf5a
xor eax, eax
xchg dword [esi], eax
mov esi, dword [esp + 0x20]
lea ecx, [eax - 1]
cmp ecx, 2
mov ecx, dword [esp + 0x1c]
jae 0x100fafb8
test cl, cl
jne 0x100fad9d
mov eax, dword [0x10551f14]
test eax, eax
jne 0x100fae3c
mov esi, dword [esi]
mov eax, dword [0x10551f24]
test eax, eax
je 0x100fadbd
cmp eax, 0x100f3390
jne 0x100fade2
mov eax, dword [esi]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
jmp 0x100fae0c
mov ecx, 0x103a03b9
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f3390
cmovne eax, edx
mov dword [0x10551f24], eax
cmp eax, 0x100f3390
je 0x100fadaf
mov eax, dword [0x10551f3c]
test eax, eax
jne 0x100fae09
mov ecx, str.ReleaseSRWLockExclusive
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f51d0
cmovne eax, edx
mov dword [0x10551f3c], eax
push esi
call eax
mov eax, dword [esp + 0x24]
lock dec dword [eax]
jne 0x100fae1e
lea ecx, [esp + 0x24]
call fcn.100f2f00
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.100faaa0
test al, al
jne 0x100fad03
mov byte [ebx + 0x20], 1
jmp 0x100fad03
call fcn.100faaa0
test al, al
jne 0x100fad9d
mov byte [ebx + 0x20], 1
jmp 0x100fad9d
mov ecx, 0x103a02cf
mov edx, 0x5e
push 0x103a0330
call fcn.1000a9c0
add esp, 4
ud2
mov dword [esp + 4], edi
mov byte [esp + 8], dl
lea eax, [esp + 4]
mov ecx, 0x103c93eb
mov edx, 0x2b
push 0x103a1484
push 0x103a1308
jmp 0x100fafad
mov ecx, str.attempted_to_use_a_condition_variable_with_two_mutexes
mov edx, 0x36
push 0x103a13a4
jmp 0x100faeb0
mov ecx, 0x103a1494
mov edx, 0x1f
push 0x103a14b4
call fcn.100f33b0
add esp, 4
ud2
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x50]
lea eax, [esp + 0x30]
mov dword [esp + 0x54], 0x103a3108
mov dword [esp + 0x58], 3
mov dword [esp + 0x5c], 0
mov dword [esp + 4], 0x103a1354
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], str.formatter_errorfailed_to_write_whole_buffer
mov dword [esp + 0x50], 0x103a1350
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0x100b9ba0
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
lea edx, [esp + 4]
mov dword [esp + 0x40], 0x100b9ba0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x54]
mov edx, 0x103a14c4
mov dword [esp + 0x48], 0x1000b4a0
mov dword [esp + 0x68], 3
call fcn.100f94f0
ud2
test eax, eax
mov eax, dword [esp + 0x20]
mov ecx, 0x103c93eb
mov edx, 0x2b
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 8], al
movzx eax, word [esp + 0x34]
mov word [esp + 9], ax
mov al, byte [esp + 0x36]
mov byte [esp + 0xb], al
movzx eax, word [esp + 0x54]
sete byte [esp + 0xc]
mov word [esp + 0xd], ax
mov al, byte [esp + 0x56]
mov byte [esp + 0xf], al
lea eax, [esp + 4]
push 0x103a14e4
push 0x103a14d4
push eax
call fcn.1000aa20
add esp, 0xc
ud2
lea edx, [esp + 0x54]
lea ecx, [esp + 0x34]
mov dword [esp + 4], 0x103a1fc8
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 4]
mov edx, 0x103a14f4
mov dword [esp + 0x38], fcn.10008600
mov dword [esp + 0x18], 1
call fcn.100f94f0
ud2