Function at 0x1c72fd9
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
test edx, edx
je 0x1c72db0
mov ebx, edx
mov esi, ecx
mov edx, dword [edx]
call fcn.01c72c60
mov edx, dword [ebx + 4]
mov ecx, esi
call fcn.01c72c60
mov eax, dword [0x1d0b680]
mov ecx, dword [0x1d04a8c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c72f94
mov eax, ebx
and eax, 0xffe00000
mov ecx, ebx
shr ecx, 9
and ecx, 0xfe0
lea edi, [eax + ecx]
add edi, 0x1000
movzx ecx, word [eax + ecx + 0x101e]
mov edx, ecx
neg edx
mov dword [ebp - 0x24], edx
shl ecx, 5
mov edx, edi
sub edx, ecx
mov dword [ebp - 0x34], edx
mov ecx, edx
and ecx, 0xfffff000
mov ecx, dword [ecx]
cmp byte [ecx], 2
je 0x1c72dc2
mov dword [ebp - 0x2c], ebx
cmp byte [ecx + 2], 0
mov dword [ebp - 0x30], edi
je 0x1c72e7a
mov eax, dword [ebp - 0x24]
shl eax, 5
mov ebx, dword [edi + eax + 8]
cmp byte [ebx + 0x10], 0
je 0x1c72e7a
mov dword [ebp - 0x28], ecx
mov esi, dword [0x1d0b694]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x1c72e60
cmp esi, 2
mov ecx, dword [ebp - 0x28]
jb 0x1c72e7a
sub ebx, ecx
add ebx, 0xfffffff0
sar ebx, 5
add dword [esi + 0x340], 1
adc dword [esi + 0x344], 0
movzx eax, word [0x1d021a8]
cmp ebx, eax
ja 0x1c72e6c
mov eax, dword [esi + ebx*8]
bswap eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
not eax
mov dword [ecx + 4], eax
mov dword [esi + ebx*8], ecx
add byte [esi + ebx*8 + 4], 1
add dword [esi + 0x348], 1
adc dword [esi + 0x34c], 0
mov al, byte [esi + ebx*8 + 5]
cmp byte [esi + ebx*8 + 4], al
ja 0x1c72f41
mov al, byte [esi + 0x310]
test al, 1
jne 0x1c72f57
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebp - 0x24]
shl edx, 5
mov edx, dword [edi + edx + 8]
cmp byte [edx + 0x10], 0
je 0x1c72cf8
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x1d0219c]
and ecx, 1
shl ecx, 0xf
lea edx, [ecx + eax]
lea esi, [ecx + eax]
add esi, 0x4000
mov edi, ebx
shr edi, 8
and edi, 0x1fff
shr bl, 3
mov ecx, ebx
mov ebx, 1
shl ebx, cl
mov eax, dword [edx + edi*4 + 0x4000]
mov ecx, eax
or ecx, ebx
lock cmpxchg dword [esi + edi*4], ecx
jne 0x1c72e12
test eax, ebx
jne 0x1c73066
mov ecx, dword [ebp - 0x24]
mov eax, ecx
lock xadd dword [0x1d02194], eax
add eax, ecx
mov ecx, dword [0x1d02198]
cmp eax, ecx
jbe 0x1c72db0
mov al, byte [0x1d021a4]
test al, al
jne 0x1c72db0
mov ecx, 0x1d02194
push 1
call fcn.01c6f200
jmp 0x1c72db0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1c72d3e
add dword [esi + 0x350], 1
adc dword [esi + 0x354], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
add ecx, 8
mov esi, 1
mov dword [ebp - 0x28], 0
mov ebx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov edi, ecx
push ecx
call ebx
test al, al
jne 0x1c72ed3
mov eax, esi
test esi, esi
jle 0x1c72eb6
pause
add eax, 0xffffffff
jne 0x1c72eac
add dword [ebp - 0x28], esi
add esi, esi
cmp esi, 0x40
mov eax, 0x40
cmovge esi, eax
cmp dword [ebp - 0x28], 0x3e8
mov ecx, edi
jl 0x1c72e9d
call fcn.01c76bc0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov esi, dword [ebp - 0x2c]
cmp eax, esi
mov ecx, edi
je 0x1c72f6f
bswap eax
mov dword [esi], eax
not eax
mov dword [esi + 4], eax
mov dword [ebx], esi
mov esi, dword [ebp - 0x24]
shl esi, 5
mov edx, dword [ebp - 0x30]
movzx eax, word [edx + esi + 0xc]
add eax, 0xffffffff
mov word [edx + esi + 0xc], ax
test ax, ax
jle 0x1c72f85
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test esi, esi
je 0x1c72db0
lea ecx, [ebp - 0x18]
call fcn.01c77790
jmp 0x1c72db0
lea edx, [esi + ebx*8]
movzx eax, al
shr eax, 1
mov ecx, esi
push eax
push edx
call fcn.01c74a40
jmp 0x1c72da2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov ecx, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01c741c0
push str..._.._base_allocator_partition_allocator_partition_page.h_529__Check_failed:_slot_start___freelist_head
call fcn.01c4cf00
mov ecx, edi
add esp, 4
mov eax, dword [ebx]
jmp 0x1c72ee5
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.01c77590
mov ecx, edi
jmp 0x1c72f19
push 0x1d0b680
call fcn.01cb3187
add esp, 4
cmp dword [0x1d0b680], 0xffffffff
jne 0x1c72cb1
mov dword [ebp - 0x18], 0x1000000
mov byte [ebp - 0x14], 0
mov dword [0x1d0a4e0], 0x1000000
mov byte [0x1d0a4e7], 1
mov dword [0x1d0a4e8], 0
push 0x1100
push 0
push 0x1d0a4f0
call fcn.01cb76e0
add esp, 0xc
mov byte [0x1d0b610], 0
mov dword [0x1d0b67c], 0
xorps xmm0, xmm0
movups xmmword [0x1d0b614], xmm0
movups xmmword [0x1d0b624], xmm0
movups xmmword [0x1d0b634], xmm0
movups xmmword [0x1d0b644], xmm0
movups xmmword [0x1d0b654], xmm0
movups xmmword [0x1d0b664], xmm0
mov dword [0x1d0b676], 0
mov dword [0x1d0b672], 0
sub esp, 8
mov al, byte [ebp - 0x14]
mov byte [esp + 4], al
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov ecx, 0x1d0a4e0
call fcn.01c74c60
push 0x1d0b680
call fcn.01cb31fd
add esp, 4
jmp 0x1c72cb1
call fcn.01c6d4f0
int3