Function at 0x557bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x884adc]
call esi
push 0x40
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0x40
mov word [eax + 4], cx
mov ecx, eax
call fcn.005221c0
push dword [0x884adc]
mov edi, eax
mov dword [esp + 0x10], edi
call esi
push 0x48
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
call edx
mov ecx, 0x48
push edi
mov word [eax + 4], cx
mov ecx, eax
call fcn.0051bfc0
mov edi, dword [ebp + 8]
mov esi, eax
cmp dword [edi + 4], 1
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
jle 0x557c55
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 0x14]
je 0x557c52
cmp eax, dword [ecx + 0x18]
jne 0x557c55
mov eax, dword [edx + 0x18]
push eax
mov ecx, esi
call fcn.0051c140
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 4], eax
jle 0x557dfb
nop dword [eax]
lea ecx, [eax*4]
mov eax, dword [edi]
add eax, ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x44]
push ecx
push dword [eax]
call fcn.005594c0
add esp, 0xc
cmp eax, 1
je 0x557ea6
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [esi + 0x3c]
lea eax, [eax + ecx*4]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
cmp eax, dword [ecx + edx*4 - 4]
je 0x557cdd
mov eax, dword [esp + 0x14]
movaps xmm1, xmmword [esp + 0x40]
movaps xmm0, xmmword [esp + 0x30]
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm1
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
cmp eax, dword [ecx + edx*4 - 4]
jne 0x557e0c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
add eax, 0x160
push eax
mov eax, dword [ecx + 0x14]
lea ecx, [esp + 0x54]
add eax, 0x160
push eax
call fcn.004fd6e0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi]
mov eax, dword [eax + ecx*4]
push dword [eax + 0xc]
call fcn.005595b0
mov ecx, dword [esp + 0x28]
add esp, 0x10
test ecx, ecx
je 0x557e6f
mov edx, dword [esp + 0x1c]
test edx, edx
mov eax, dword [esp + 0x20]
cmove edx, ecx
test eax, eax
mov dword [esp + 0x1c], edx
cmove eax, ecx
cmp byte [ebp + 0xc], 0
mov dword [esp + 0x20], eax
je 0x557d7e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
push eax
push edx
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.005222f0
mov eax, dword [edi]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x3c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x38]
mov edi, dword [esp + 0x14]
cmp edi, dword [eax + ecx*4 - 4]
mov edi, dword [ebp + 8]
jne 0x557dde
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0xc]
add ecx, ecx
mov eax, dword [eax + 0x18]
mov byte [eax + ecx*8 - 4], 1
mov eax, dword [edi]
mov eax, dword [eax + edx*4]
push dword [eax + 0x18]
jmp 0x557de2
push dword [esp + 0x14]
mov ecx, esi
call fcn.0051c140
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 4]
jl 0x557c70
mov ecx, dword [esp + 0xc]
call fcn.0045c160
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x200
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.004745a0
push str.Constraints_are_not_ordered_properly___Two_consecutive_constraint_share_no_common_hkpEntity.
lea ecx, [esp + 0x1c]
call fcn.0045cb80
mov ecx, dword [0x884c54]
lea edx, [esp + 0x60]
push 0xc2
push str.ConstraintChainhkpConstraintChainUtil.cpp
push edx
mov eax, dword [ecx]
push 0xabbad88d
push 1
call dword [eax + 0xc]
lea ecx, [esp + 0x18]
call fcn.0045caa0
mov ecx, dword [esp + 0xc]
call fcn.0045c160
mov ecx, esi
call fcn.0045c160
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x200
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x2c]
call fcn.004745a0
push str.No_motors_extracted_from_the_original_constraint.
lea ecx, [esp + 0x28]
call fcn.0045cb80
push 0xcf
push str.ConstraintChainhkpConstraintChainUtil.cpp
lea edx, [esp + 0x68]
push edx
push 0xabba88d3
jmp 0x557edb
push 0x200
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x2c]
call fcn.004745a0
push str.Not_supported_types_of_constraints_used_to_build_a_chain_
lea ecx, [esp + 0x28]
call fcn.0045cb80
push 0xb7
push str.ConstraintChainhkpConstraintChainUtil.cpp
lea edx, [esp + 0x68]
push edx
push 0xabbad88d
mov ecx, dword [0x884c54]
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0x24]
call fcn.0045caa0
mov ecx, dword [esp + 0xc]
call fcn.0045c160
mov ecx, esi
call fcn.0045c160
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret