Function at 0x7043b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
push esi
push edi
mov edi, dword [ebp + 0x10]
push dword [0x884adc]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [esi + esi*2]
shl esi, 5
add esi, 0x7f
mov edx, dword [eax + 0xc]
and esi, 0xffffff80
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], edx
lea ecx, [edx + esi]
cmp esi, dword [eax + 8]
jg 0x7043f8
cmp ecx, dword [eax + 0x10]
ja 0x7043f8
mov dword [eax + 0xc], ecx
jmp 0x704406
push esi
mov ecx, eax
call fcn.0046a3c0
mov edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push dword [ebp + 0x14]
push edi
push dword [eax + 0x30]
call fcn.00704960
movss xmm4, dword [0x718824]
xor edx, edx
movaps xmm0, xmm4
mov dword [esp + 0x28], edx
divss xmm0, dword [ebp + 8]
add esp, 0x14
movaps xmm1, xmm0
movss dword [esp + 0x24], xmm0
shufps xmm1, xmm1, 0
movaps xmmword [esp + 0x30], xmm1
cmp dword [edi], edx
jle 0x704916
mov esi, dword [esp + 0xc]
xor ecx, ecx
add esi, 0x40
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
nop dword [eax + eax]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x704475
mov eax, dword [eax + edx*4]
cmp eax, 0xffffffff
je 0x7048f7
jmp 0x704477
xor eax, eax
lea ecx, [eax + eax*2]
mov eax, dword [edi + 4]
shl ecx, 4
add ecx, dword [ebp + 0x14]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + edx*4]
mov dword [esp + 0x10], eax
movss xmm2, dword [ecx + 0x1c]
mov eax, dword [edi + 0x10]
movss xmm3, dword [ecx + 8]
movss xmm5, dword [ecx + 0xc]
movss xmm6, dword [ecx + 0x10]
movss dword [esp + 8], xmm2
test eax, eax
je 0x7044d5
movss xmm1, dword [eax + edx*4]
movaps xmm0, xmm1
mulss xmm2, xmm1
movaps xmm1, xmmword [esp + 0x30]
mulss xmm3, xmm0
mulss xmm5, xmm0
mulss xmm0, xmm6
movss dword [esp + 8], xmm2
movaps xmm6, xmm0
mov eax, dword [ebp + 0xc]
movaps xmm0, xmm4
subss xmm0, dword [ecx + 4]
mov edi, dword [esp + 0x10]
shufps xmm3, xmm3, 0
mov eax, dword [eax + 0x34]
add eax, dword [esp + 0x1c]
shufps xmm0, xmm0, 0
movaps xmmword [esp + 0x70], xmm0
movaps xmm0, xmmword [esi - 0x40]
movaps xmm4, xmm0
shufps xmm5, xmm5, 0
subps xmm4, xmmword [eax]
movaps xmm7, xmm0
shufps xmm6, xmm6, 0
subps xmm7, xmmword [edi + 0x140]
movaps xmmword [eax], xmm0
movaps xmmword [esp + 0xa0], xmm3
mulps xmm4, xmm1
mov dword [esp + 0x20], eax
mulps xmm7, xmm1
movaps xmmword [esp + 0xb0], xmm5
movaps xmm0, xmm4
movaps xmmword [esp + 0xc0], xmm6
subps xmm0, xmmword [eax + 0x20]
movaps xmmword [eax + 0x20], xmm4
movups xmm1, xmmword [edi + 0x1b0]
mulps xmm1, xmmword [esp + 0x70]
mulps xmm0, xmm3
addps xmm1, xmm0
subps xmm4, xmm1
mulps xmm4, xmm5
addps xmm4, xmm1
subps xmm7, xmm4
movaps xmmword [esp + 0x60], xmm4
movss xmm1, dword [ecx + 0x14]
mulps xmm7, xmm6
movaps xmm3, xmm7
mulps xmm3, xmm7
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
addss xmm0, xmm3
shufps xmm3, xmm3, 0xaa
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
comiss xmm3, xmm0
jbe 0x7045a6
xorps xmm0, xmm0
sqrtss xmm0, xmm3
divss xmm1, xmm0
shufps xmm1, xmm1, 0
mulps xmm7, xmm1
xorps xmm0, xmm0
addps xmm7, xmm4
ucomiss xmm2, xmm0
movaps xmmword [esp + 0x60], xmm7
lahf
test ah, 0x44
jnp 0x7046d2
movaps xmm4, xmmword [esi]
movaps xmm2, xmmword [edi + 0x170]
movaps xmm5, xmm4
movaps xmm3, xmm2
shufps xmm5, xmm4, 0xff
mulps xmm3, xmm4
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xc9
movaps xmm6, xmm2
shufps xmm6, xmm2, 0xd2
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
addss xmm0, xmm3
shufps xmm3, xmm3, 0xaa
addss xmm3, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xd2
mulps xmm1, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xc9
mulps xmm6, xmm0
shufps xmm3, xmm3, 0
mulps xmm3, xmm4
subps xmm6, xmm1
movss xmm0, dword [esp + 8]
movss xmm1, dword [ecx + 0x20]
shufps xmm0, xmm0, 0
movaps xmm4, xmm1
mulss xmm4, xmm1
mulps xmm6, xmm5
mulps xmm5, xmm5
addps xmm5, xmmword [0x7195c0]
mulps xmm5, xmm2
addps xmm5, xmm3
movss xmm3, dword [ecx + 0x28]
mulss xmm3, dword [esp + 0x24]
addps xmm6, xmm5
mulss xmm3, dword [esp + 8]
addps xmm6, xmm6
addps xmm6, xmmword [esi - 0x10]
subps xmm6, xmmword [edi + 0x140]
mulps xmm6, xmmword [esp + 0x30]
subps xmm6, xmm7
mulps xmm6, xmm0
movaps xmm2, xmm6
mulps xmm2, xmm6
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
addss xmm0, xmm2
shufps xmm2, xmm2, 0xaa
addss xmm2, xmm0
comiss xmm2, xmm4
movaps xmm5, xmm2
divss xmm5, xmm4
jbe 0x7046be
movaps xmm0, xmm3
mulss xmm0, xmm3
comiss xmm0, xmm2
jbe 0x7046af
divss xmm4, xmm2
xorps xmm0, xmm0
sqrtss xmm0, xmm4
shufps xmm0, xmm0, 0
mulps xmm6, xmm0
jmp 0x7046be
mulss xmm1, xmm3
divss xmm1, xmm2
shufps xmm1, xmm1, 0
mulps xmm6, xmm1
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x7046ca
movss dword [eax + edx*4], xmm5
addps xmm6, xmm7
movaps xmmword [esp + 0x60], xmm6
mov ecx, edi
call fcn.005078e0
mov eax, dword [edi + 0xe0]
lea ecx, [edi + 0xe0]
lea edx, [esp + 0x60]
push edx
call dword [eax + 0x40]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x90]
push ecx
lea edi, [esi - 0x30]
push edi
lea ecx, [eax + 0x160]
call fcn.00704c70
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x80]
push eax
push edi
lea ecx, [esi + 0x10]
call fcn.00704c70
movaps xmm4, xmmword [esp + 0x80]
mov eax, esi
mulps xmm4, xmmword [esp + 0x30]
movaps xmm0, xmmword [edi]
mov edi, dword [esp + 0x10]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmm4
movaps xmm2, xmmword [esp + 0x90]
subps xmm0, xmmword [eax + 0x30]
movaps xmmword [eax + 0x30], xmm4
movups xmm1, xmmword [edi + 0x1c0]
mov esi, dword [esp + 0x28]
mulps xmm2, xmmword [esp + 0x30]
mulps xmm0, xmmword [esp + 0xa0]
mulps xmm1, xmmword [esp + 0x70]
addps xmm1, xmm0
subps xmm4, xmm1
movaps xmmword [esp + 0x80], xmm4
mulps xmm4, xmmword [esp + 0xb0]
addps xmm4, xmm1
subps xmm2, xmm4
movaps xmmword [esp + 0x50], xmm4
movss xmm1, dword [esi + 0x18]
movaps xmmword [esp + 0x90], xmm2
mulps xmm2, xmmword [esp + 0xc0]
movaps xmm3, xmm2
mulps xmm3, xmm2
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
addss xmm0, xmm3
shufps xmm3, xmm3, 0xaa
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
comiss xmm3, xmm0
jbe 0x7047d4
xorps xmm0, xmm0
sqrtss xmm0, xmm3
divss xmm1, xmm0
shufps xmm1, xmm1, 0
mulps xmm2, xmm1
movss xmm0, dword [esp + 8]
addps xmm2, xmm4
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movaps xmmword [esp + 0x50], xmm2
lahf
test ah, 0x44
jnp 0x7048c0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
lea ecx, [edi + 0x160]
call fcn.00704c70
movaps xmm1, xmmword [esp + 0x40]
mulps xmm1, xmmword [esp + 0x30]
movaps xmm7, xmmword [esp + 0x50]
movss xmm0, dword [esp + 8]
movss xmm3, dword [esi + 0x24]
movss xmm4, dword [esi + 0x2c]
subps xmm1, xmm7
shufps xmm0, xmm0, 0
movaps xmm5, xmm3
mulss xmm4, dword [esp + 0x24]
mulss xmm5, xmm3
mulps xmm1, xmm0
mulss xmm4, dword [esp + 8]
movaps xmm2, xmm1
movaps xmmword [esp + 0x40], xmm1
mulps xmm2, xmm1
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
addss xmm0, xmm2
shufps xmm2, xmm2, 0xaa
addss xmm2, xmm0
comiss xmm2, xmm5
movaps xmm6, xmm2
divss xmm6, xmm5
jbe 0x7048a3
movaps xmm0, xmm4
mulss xmm0, xmm4
comiss xmm0, xmm2
jbe 0x70488f
divss xmm5, xmm2
xorps xmm0, xmm0
sqrtss xmm0, xmm5
shufps xmm0, xmm0, 0
mulps xmm0, xmm1
movaps xmm1, xmm0
jmp 0x70489e
mulss xmm3, xmm4
divss xmm3, xmm2
shufps xmm3, xmm3, 0
mulps xmm1, xmm3
movaps xmmword [esp + 0x40], xmm1
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x7048b8
mov eax, dword [esp + 0x14]
addss xmm6, dword [ecx + eax*4]
movss dword [ecx + eax*4], xmm6
addps xmm1, xmm7
movaps xmmword [esp + 0x50], xmm1
mov ecx, edi
call fcn.005078e0
mov eax, dword [edi + 0xe0]
lea ecx, [edi + 0xe0]
lea edx, [esp + 0x50]
push edx
call dword [eax + 0x44]
movaps xmm1, xmmword [esp + 0x30]
movss xmm4, dword [0x718824]
mov edx, dword [esp + 0x14]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc edx
add esi, 0x60
add ecx, 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
cmp edx, dword [edi]
jl 0x704460
mov esi, dword [esp + 0x2c]
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
mov esi, dword [esp + 0xc]
jg 0x704947
lea ecx, [edx + esi]
cmp ecx, dword [eax + 0xc]
jne 0x704947
cmp dword [eax + 0x14], esi
je 0x704947
mov dword [eax + 0xc], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edx
push esi
mov ecx, eax
call fcn.0046a590
pop edi
pop esi
mov esp, ebp
pop ebp
ret