Function at 0x5570c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [ebp + 0xc]
movaps xmm0, xmmword [0x78ab10]
push esi
mov esi, ecx
lea ecx, [esp + 0x4c]
movaps xmm2, xmmword [eax]
movaps xmm1, xmmword [eax + 0x30]
addps xmm1, xmm2
mulps xmm0, xmm2
push edi
movaps xmmword [esp + 0x30], xmm2
addps xmm0, xmm1
movaps xmmword [esp + 0x20], xmm1
movaps xmmword [esp + 0x10], xmm0
call fcn.00535530
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x20
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0x20
push ecx
mov word [eax + 4], cx
mov ecx, eax
movss xmm0, dword [esi + 0x20]
movss dword [esp], xmm0
call fcn.004e2a80
movss xmm1, dword [esi + 0x28]
lea ecx, [esp + 0x50]
movaps xmm0, xmmword [esi + 0x60]
movss dword [esp + 0xe0], xmm1
mulss xmm1, dword [0x719724]
push ecx
push ecx
mov dword [esp + 0x5c], eax
movss dword [esp], xmm1
push eax
mov byte [esp + 0x11b], 6
mov dword [esp + 0x114], 0x3c23d70a
mov dword [esp + 0x108], 0x3e4ccccd
mov dword [esp + 0x100], 0x3f800000
movaps xmmword [esp + 0x6c], xmm0
mov byte [esp + 0x118], 2
call fcn.0055b7b0
movss xmm0, dword [esi + 0x28]
lea eax, [esp + 0x12c]
mov edi, dword [ebp + 8]
add esp, 0xc
movss dword [esp + 0xe0], xmm0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0x3ecccccd
push eax
lea eax, [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x2c]
mov dword [esp], 0x3d4ccccd
push eax
push edi
call fcn.00555cc0
movss xmm0, dword [esi + 0x24]
add esp, 0x14
test eax, eax
jne 0x557219
lea eax, [esp + 0x80]
push eax
push ecx
movss dword [esp], xmm0
lea eax, [edi + 0x10]
push eax
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00555ec0
add esp, 0x14
jmp 0x55722a
shufps xmm0, xmm0, 0
mulps xmm0, xmmword [esp + 0x30]
movaps xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [esp + 0x120]
xor edi, edi
movaps xmmword [esp + 0x40], xmm0
cmp dword [esi + 0x18], edi
jle 0x55725a
nop
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x40]
push edx
lea edx, [esi + 0x60]
push edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x14]
inc edi
cmp edi, dword [esi + 0x18]
jl 0x557240
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x220
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0x220
mov word [eax + 4], cx
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.005115f0
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], eax
call fcn.0045c160
mov edx, dword [esp + 8]
xor edi, edi
mov ecx, dword [esi + 0x2c]
mov dword [edx + 0x9c], ecx
cmp dword [esi + 0x18], edi
jle 0x5572c6
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
push edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [esp + 8]
inc edi
cmp edi, dword [esi + 0x18]
jl 0x5572b0
mov ecx, dword [ebp + 8]
push 1
push edx
call fcn.0050a350
mov edi, dword [esi + 0x50]
mov eax, dword [edi + 4]
cmp dword [edi + 0x10], eax
jl 0x5572ee
mov ecx, edi
test eax, eax
jne 0x5572e6
push 8
jmp 0x5572e9
add eax, eax
push eax
call fcn.005565c0
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 4]
jne 0x5572fd
mov dword [edi + 0xc], 0
mov ecx, dword [edi + 0xc]
mov eax, dword [edi]
mov edx, dword [esp + 8]
mov dword [eax + ecx*4], edx
inc dword [edi + 0xc]
inc dword [edi + 0x10]
mov edi, dword [esi + 0x50]
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x30]
jle 0x557372
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
inc ecx
xor eax, eax
mov dword [esp + 8], edx
cmp ecx, dword [edi + 4]
cmove ecx, eax
dec dword [edi + 0x10]
mov dword [edi + 8], ecx
mov edi, dword [esi + 0x18]
sub edi, 1
js 0x557355
nop dword [eax]
mov eax, dword [esi + 0x14]
push edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x10]
sub edi, 1
mov edx, dword [esp + 8]
jns 0x557340
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x55736b
push edx
lea eax, [esp + 0x13]
push eax
call fcn.0050a4e0
mov edx, dword [esp + 8]
mov ecx, edx
call fcn.0045c160
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8