Function at 0x5561c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [ebp + 0xc]
movaps xmm0, xmmword [0x78ab10]
push esi
mov esi, ecx
lea ecx, [esp + 0x5c]
movaps xmm2, xmmword [eax]
movaps xmm1, xmmword [eax + 0x30]
movaps xmmword [esp + 0x4c], xmm1
addps xmm1, xmm2
mulps xmm0, xmm2
push edi
movaps xmmword [esp + 0x30], xmm2
movaps xmmword [esp + 0x10], xmm1
addps xmm0, xmm1
movaps xmmword [esp + 0x20], 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 xmm0, dword [esi + 0x28]
lea ecx, [esp + 0x60]
movss dword [esp + 0xf0], xmm0
mulss xmm0, dword [0x719724]
push ecx
push ecx
mov dword [esp + 0x6c], eax
movss dword [esp], xmm0
push eax
mov byte [esp + 0x12b], 6
mov dword [esp + 0x124], 0x3c23d70a
mov dword [esp + 0x118], 0x3e4ccccd
mov dword [esp + 0x110], 0x3f800000
mov byte [esp + 0x128], 2
call fcn.0055b7b0
movss xmm0, dword [esi + 0x28]
lea eax, [esp + 0x13c]
mov edi, dword [ebp + 8]
add esp, 0xc
movss dword [esp + 0xf0], xmm0
movaps xmm0, xmmword [esi + 0x40]
addps xmm0, xmmword [esp + 0x10]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0xf8], 0
push eax
push ecx
movaps xmmword [esp + 0x7c], xmm0
lea eax, [esp + 0x1c]
movss xmm0, dword [esi + 0x20]
movss dword [esp], xmm0
push eax
push edi
mov dword [esp + 0x10c], 0x3ecccccd
call fcn.00555cc0
movss xmm0, dword [esi + 0x24]
add esp, 0x14
test eax, eax
jne 0x556329
lea eax, [esp + 0x90]
push eax
push ecx
movss dword [esp], xmm0
lea eax, [edi + 0x10]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00555ec0
add esp, 0x14
jmp 0x55633a
shufps xmm0, xmm0, 0
mulps xmm0, xmmword [esp + 0x30]
movaps xmmword [esp + 0x90], xmm0
movaps xmm0, xmmword [esp + 0x130]
xor edi, edi
movaps xmmword [esp + 0x40], xmm0
cmp dword [esi + 0x18], edi
jle 0x55636b
nop
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x54]
push edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x14]
inc edi
cmp edi, dword [esi + 0x18]
jl 0x556350
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 + 0x60]
push ecx
mov ecx, eax
call fcn.005115f0
mov ecx, dword [esp + 0x64]
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 0x5563d6
nop dword [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 0x5563c0
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 0x5563fe
mov ecx, edi
test eax, eax
jne 0x5563f6
push 8
jmp 0x5563f9
add eax, eax
push eax
call fcn.005565c0
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 4]
jne 0x55640d
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 0x556484
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 0x556465
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 0x556450
cmp dword [edx + 8], 0
je 0x55647d
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xf]
push edx
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