Function at 0x10056f20
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 0x10111088
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
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, ecx
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [eax], 0
mov dword [eax + 4], 0
movups xmm0, xmmword [eax + 0x10]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x44], edi
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x10057148
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x10056fee
lea eax, [ebp - 0x44]
push eax
push fcn.10057d60
push esi
call ecx
add esp, 0xc
jmp 0x10057100
movups xmm0, xmmword [eax + 0x10]
mov ecx, dword [edx + 8]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x9c], ecx
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x7c], eax
movups xmmword [ebp - 0x98], xmm0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x45]
push dword [0x1017537c]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10057072
mov ecx, dword [eax + 4]
jmp 0x10057074
xor ecx, ecx
push ecx
push dword [ebp - 0x6c]
mov edx, 0x38
call fcn.1002b430
mov ecx, dword [ebp - 0x4c]
add esp, 8
movups xmm0, xmmword [ebp - 0xb8]
mov dword [ebp - 0x70], 0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x54]
mov dword [eax + 4], edi
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x5c]
movups xmmword [eax + 0x14], xmm0
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x30], ecx
lea ecx, [ebp - 0x78]
mov dword [eax], 0x10058d80
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], 0
call fcn.10057b30
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
push esi
call dword [ebp - 0x6c]
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x10057100
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x10057128
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10057128
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10057128
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 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 0xc
lea ecx, [ebp - 0x78]
call fcn.10027870
mov byte [ebp - 4], 4
call fcn.10029eb0
int3