Function at 0x536280
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [ebp + 8]
mov dword [ecx + 4], 0x1ffff
mov dword [ecx + 8], vtable.hkpWorldDeletionListener.0
mov dword [ecx + 0xc], vtable.hkpPhantomOverlapListener.0
mov dword [ecx + 0x10], vtable.hkpWorldPostSimulationListener.0
push esi
lea esi, [ecx + 8]
mov dword [ecx], vtable.hkpBroadPhaseBorder.0
push edi
lea edi, [ecx + 0x10]
mov dword [esi], vtable.hkpBroadPhaseBorder.1.0
mov dword [ecx + 0xc], vtable.hkpBroadPhaseBorder.2.0
mov dword [edi], vtable.hkpBroadPhaseBorder.3.0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], connect
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x30], eax
mov al, byte [ebp + 0x10]
mov dword [esp + 0xc], ecx
mov byte [ecx + 0x34], al
call fcn.0045c0c0
push esi
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x14]
call fcn.0050dff0
mov ecx, dword [esi + 0x14]
push edi
call fcn.0050dcd0
mov eax, dword [esi + 0x14]
push dword [0x884adc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
movups xmm1, xmmword [eax + 0x320]
movups xmm4, xmmword [eax + 0x330]
movaps xmm0, xmm1
movaps xmmword [esp + 0x34], xmm1
shufps xmm0, xmm1, 0x55
movaps xmm3, xmm4
movaps xmm2, xmm0
movaps xmmword [esp + 0x44], xmm0
movaps xmm0, xmm1
movaps xmmword [esp + 0xa4], xmm4
shufps xmm0, xmm1, 0xaa
movaps xmm1, xmm0
movaps xmmword [esp + 0x74], xmm0
xorps xmm0, xmm0
unpcklps xmm3, xmm1
unpcklps xmm2, xmm0
xorps xmm1, xmm1
unpcklps xmm3, xmm2
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
movaps xmm2, xmm0
movaps xmmword [esp + 0x64], xmm0
movaps xmmword [esp + 0x14], xmm3
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xaa
movaps xmm3, xmm4
unpcklps xmm3, xmm0
unpcklps xmm2, xmm1
unpcklps xmm3, xmm2
movaps xmmword [esp + 0x54], xmm0
movaps xmmword [esp + 0x84], xmm3
movaps xmmword [esp + 0x24], xmm3
call edi
push 0xe0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0xe0
push 0
mov word [eax + 4], cx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0051f1c0
mov esi, eax
mov eax, dword [esp + 0xc]
mov byte [esi + 0x28], 3
add eax, 0xc
mov ecx, esi
push eax
call fcn.0051e990
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov dword [eax + 0x18], esi
call fcn.0050b540
movaps xmm4, xmmword [esp + 0x30]
xorps xmm1, xmm1
movss xmm0, dword [esp + 0x70]
movaps xmm3, xmm4
movss xmm2, dword [esp + 0x40]
push dword [0x884adc]
unpcklps xmm3, xmm0
movss xmm0, dword [esp + 0x54]
unpcklps xmm2, xmm1
unpcklps xmm3, xmm2
movss xmm2, dword [esp + 0x64]
movaps xmmword [esp + 0x94], xmm3
movaps xmmword [esp + 0x14], xmm3
movaps xmm3, xmm4
unpcklps xmm3, xmm0
unpcklps xmm2, xmm1
unpcklps xmm3, xmm2
movaps xmmword [esp + 0x24], xmm3
call edi
push 0xe0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0xe0
push 0
mov word [eax + 4], cx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0051f1c0
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xc
mov ecx, esi
push eax
mov byte [esi + 0x28], 3
call fcn.0051e990
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov dword [eax + 0x1c], esi
call fcn.0050b540
movss xmm0, dword [esp + 0x70]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x60]
push dword [0x884adc]
unpcklps xmm3, xmm0
movaps xmm0, xmmword [esp + 0x84]
unpcklps xmm2, xmm1
unpcklps xmm3, xmm2
movaps xmmword [esp + 0x14], xmm3
movaps xmmword [esp + 0x24], xmm0
call edi
push 0xe0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0xe0
push 0
mov word [eax + 4], cx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0051f1c0
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xc
push eax
mov byte [esi + 0x28], 3
mov ecx, esi
call fcn.0051e990
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov dword [eax + 0x20], esi
call fcn.0050b540
movaps xmm0, xmmword [esp + 0x90]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0xa0]
movss xmm2, dword [esp + 0x40]
push dword [0x884adc]
movaps xmmword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x54]
unpcklps xmm3, xmm0
unpcklps xmm2, xmm1
unpcklps xmm3, xmm2
movaps xmmword [esp + 0x24], xmm3
call edi
push 0xe0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0xe0
push 0
mov word [eax + 4], cx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0051f1c0
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xc
mov ecx, esi
push eax
mov byte [esi + 0x28], 3
call fcn.0051e990
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov dword [eax + 0x24], esi
call fcn.0050b540
movss xmm0, dword [esp + 0x50]
xorps xmm1, xmm1
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x40]
push dword [0x884adc]
unpcklps xmm3, xmm0
movaps xmm0, xmmword [esp + 0x84]
unpcklps xmm2, xmm1
unpcklps xmm3, xmm2
movaps xmmword [esp + 0x14], xmm3
movaps xmmword [esp + 0x24], xmm0
call edi
push 0xe0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0xe0
push 0
mov word [eax + 4], cx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0051f1c0
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xc
mov ecx, esi
push eax
mov byte [esi + 0x28], 3
call fcn.0051e990
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov dword [eax + 0x28], esi
call fcn.0050b540
movaps xmm0, xmmword [esp + 0x90]
movaps xmmword [esp + 0x10], xmm0
movss xmm3, dword [esp + 0xa0]
xorps xmm1, xmm1
movss xmm2, dword [esp + 0x60]
movss xmm0, dword [esp + 0x70]
push dword [0x884adc]
unpcklps xmm3, xmm0
unpcklps xmm2, xmm1
unpcklps xmm3, xmm2
movaps xmmword [esp + 0x24], xmm3
call edi
push 0xe0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0xe0
push 0
mov word [eax + 4], cx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0051f1c0
mov edi, dword [esp + 0xc]
mov esi, eax
mov ecx, esi
lea eax, [edi + 0xc]
mov byte [esi + 0x28], 3
push eax
call fcn.0051e990
mov ecx, dword [ebp + 8]
push esi
mov dword [edi + 0x2c], esi
call fcn.0050b540
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc