Function at 0x49dc70
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], connect
call fcn.0045ca00
movaps xmm0, xmmword [0x717f30]
lea eax, [esp + 0x14]
mov edi, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
movups xmmword [esp + 0x58], xmm0
push 8
movaps xmm0, xmmword [0x71ac40]
movups xmmword [esp + 0x6c], xmm0
push eax
movaps xmm0, xmmword [0x71ac50]
push 0x7d8954
movups xmmword [esp + 0x84], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], connect
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xffffffff
call fcn.00467c00
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x18]
push 1
mov dword [ecx + eax*8], edi
mov dword [ecx + eax*8 + 4], esi
lea ecx, [esp + 0x44]
inc dword [esp + 0x1c]
push edi
push 0x7d8954
call fcn.0046ba50
push 0x7d8e1c
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], connect
call fcn.00481da0
push 0x7d8e1c
lea ecx, [esp + 0x14]
call fcn.00481da0
push dword [esp + 0xd4]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xb0]
call fcn.0049bef0
mov esi, dword [esp + 0xc8]
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x18], ecx
jle 0x49df6c
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
push dword [esp + 0x38]
mov edi, dword [eax + ecx*8]
mov esi, dword [eax + ecx*8 + 4]
lea ecx, [esp + 0x50]
push edi
push 0x7d8954
call fcn.0046ba50
mov ebx, dword [esp + 0x68]
lea eax, [esp + 0x33]
push eax
mov ecx, esi
call fcn.0045e070
cmp byte [eax], 0
je 0x49de12
mov ecx, dword [esp + 0xcc]
push edi
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x8c], ecx
mov ecx, esi
mov dword [esp + 0x90], edi
call fcn.0045dc70
mov ecx, dword [esp + 0x28]
mov ebp, eax
mov edx, dword [esp + 0x24]
and ecx, 0x3fffffff
cmp edx, ecx
jne 0x49de57
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x7d8954
call fcn.00467c00
mov edx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x20]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*4]
test eax, eax
je 0x49de79
movq xmm0, qword [esp + 0x8c]
movq qword [eax], xmm0
mov dword [eax + 8], ebp
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x58]
inc edx
push eax
push esi
push dword [esp + 0xa8]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x30], edx
push esi
push edi
call fcn.0049bf40
cmp ebx, dword [esp + 0x68]
jge 0x49df52
mov esi, ebx
shl esi, 4
nop dword [eax + eax]
mov eax, dword [esp + 0x64]
mov edi, dword [esi + eax + 4]
test edi, edi
je 0x49df44
mov ebp, dword [esi + eax + 8]
test ebp, ebp
je 0x49df44
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x49deeb
push 0
push edi
mov ecx, eax
call fcn.0046b890
test eax, eax
je 0x49deeb
mov ecx, dword [esp + 0x64]
mov dword [esi + ecx + 4], eax
jmp 0x49df44
push 0
push edi
lea ecx, [esp + 0x48]
call fcn.0046b890
test eax, eax
jne 0x49df44
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
and eax, 0x3fffffff
cmp ecx, eax
jne 0x49df24
push 8
lea eax, [esp + 0x18]
push eax
push 0x7d8954
call fcn.00467c00
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x14]
push 1
push edi
push 0x7d8954
mov dword [eax + ecx*8], edi
mov dword [eax + ecx*8 + 4], ebp
lea ecx, [esp + 0x4c]
inc dword [esp + 0x24]
call fcn.0046ba50
inc ebx
add esi, 0x10
cmp ebx, dword [esp + 0x68]
jl 0x49deb0
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x18]
jl 0x49ddd0
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x49e0d7
cmp dword [esp + 0xd0], 0
mov ebx, 4
je 0x49df92
mov eax, dword [esp + 0x24]
lea ebx, [eax*8 + 4]
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 0x2c]
lea eax, [edi + ebx]
push eax
push ecx
call fcn.00460640
mov edi, eax
mov eax, dword [esp + 0x40]
push eax
push dword [esp + 0x40]
lea ecx, [eax + edi]
push edi
mov dword [esp + 0x24], ecx
call fcn.0045d810
xor edx, edx
add esp, 0x14
cmp dword [esp + 0x5c], edx
jle 0x49dfe7
nop
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx*8 + 4]
mov eax, dword [eax + edx*8]
add ecx, edi
inc edx
mov dword [edi + eax], ecx
cmp edx, dword [esp + 0x5c]
jl 0x49dfd0
cmp dword [esp + 0x68], 0
jle 0x49e029
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x4c]
push 0xffffffffffffffff
mov ebp, dword [ebx + eax + 4]
push ebp
call fcn.0046b890
cmp eax, 0xffffffff
je 0x49e00e
lea ebp, [eax + edi]
mov eax, dword [esp + 0x64]
inc esi
mov eax, dword [ebx + eax]
add ebx, 0x10
mov dword [edi + eax], ebp
cmp esi, dword [esp + 0x68]
jl 0x49dff2
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x24]
test esi, esi
je 0x49e066
xor ebp, ebp
test eax, eax
jle 0x49e066
xor ebx, ebx
nop dword [eax]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + ebx]
add eax, edi
push eax
push dword [ecx + ebx + 4]
mov ecx, esi
push 0x7d8954
call fcn.0046ba50
mov eax, dword [esp + 0x24]
lea ebx, [ebx + 0xc]
inc ebp
cmp ebp, eax
jl 0x49e040
mov ebx, dword [esp + 0xd0]
test ebx, ebx
je 0x49e0cb
xor ebp, ebp
test eax, eax
jle 0x49e0c2
xor ecx, ecx
mov dword [esp + 0x2c], ecx
nop dword [eax]
mov esi, dword [esp + 0x20]
mov edx, dword [ebx]
add esi, ecx
mov ecx, ebx
mov eax, dword [esi]
push dword [esi + 8]
add eax, edi
push eax
call dword [edx + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi + 8]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + ebp*8], eax
mov eax, dword [esi]
add eax, edi
mov dword [ecx + ebp*8 + 4], eax
inc ebp
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add ecx, 0xc
mov dword [esp + 0x2c], ecx
cmp ebp, eax
jl 0x49e080
mov ecx, dword [esp + 0x10]
mov dword [ecx + eax*8], eax
jmp 0x49e0d9
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
jmp 0x49e0d9
xor edi, edi
lea ecx, [esp + 0xa4]
call fcn.0049bf30
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], 0
test eax, eax
js 0x49e112
and eax, 0x3fffffff
mov ecx, 0x7d8954
lea eax, [eax + eax*2]
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x24]
call dword [eax + 0x10]
push 0x7d8954
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], connect
call fcn.0046b3e0
lea ecx, [esp + 0x4c]
call fcn.0046b110
push 0x7d8954
lea ecx, [esp + 0x44]
call fcn.0046b3e0
lea ecx, [esp + 0x40]
call fcn.0046b110
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
test eax, eax
js 0x49e17a
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x18]
call dword [eax + 0x10]
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], connect
call fcn.0048c260
lea ecx, [esp + 0x98]
call fcn.0045caa0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
test eax, eax
js 0x49e1c7
mov edx, dword [0x7d8954]
and eax, 0x3fffffff
push eax
push dword [esp + 0x38]
mov ecx, 0x7d8954
call dword [edx + 0x10]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret