Function at 0x100527c0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110b6d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
cmp dword [edi + 0x10], 0
je 0x10052830
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x30]
push edi
push ecx
call eax
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov edx, dword [ebp - 0x20]
jmp 0x10052841
xor edx, edx
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [esi], 0
mov dword [esi + 4], 0
movq xmm0, qword [esi + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x60], edi
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
test edx, edx
je 0x100529c4
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x100528a3
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x30]
push fcn.10057ca0
push ecx
call eax
add esp, 0xc
jmp 0x10052963
mov eax, dword [ecx + 8]
movq xmm0, qword [esi + 8]
mov esi, dword [esi + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
movq qword [ebp - 0x68], xmm0
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x31]
push dword [0x1017537c]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100528f4
mov ecx, dword [eax + 4]
jmp 0x100528f6
xor ecx, ecx
push ecx
push dword [ebp - 0x40]
mov edx, 0x1c
call fcn.1002b430
mov ecx, dword [ebp - 0x38]
add esp, 8
movq xmm0, qword [ebp - 0x68]
mov dword [ebp - 0x44], 0
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x4c]
mov dword [eax + 4], edi
movq qword [eax + 0xc], xmm0
mov dword [eax + 0x14], esi
mov dword [eax], 0x10058350
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], 0
call fcn.10057bd0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x30]
push eax
call dword [ebp - 0x40]
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10052963
mov ecx, dword [eax]
push 0
push eax
call ecx
add esp, 8
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x1005298b
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1005298b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1005298b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 7
cmp dword [ebp - 0x20], 0
je 0x100529a6
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x4c]
call fcn.10027870
mov byte [ebp - 4], 6
call fcn.10029eb0
int3