Function at 0x411ab0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2d08
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
push dword [0x50b8e0]
mov edi, eax
add eax, 0xffffff50
neg edi
sbb edi, edi
and edi, eax
mov dword [ebp - 0x30], edi
mov eax, dword [edi + 0x8f4]
mov esi, dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x411b17
cmp dword [eax], esi
je 0x411ca1
mov eax, dword [eax + 8]
test eax, eax
jne 0x411b08
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea ecx, [edi + 0x4c8]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [edi + 0x8f4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x54], 0
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x23], 1
mov byte [ebp - 0x6f], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
push 0x34
mov dword [ebp - 0x40], eax
call fcn.0042ae70
mov edx, eax
add esp, 4
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x41dbb0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov cl, byte [ebp - 0x23]
mov byte [edx + 0x21], cl
mov ecx, esi
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x23], 0
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x30]
push edx
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0042acf0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.0041d750
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x411c84
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x411c84
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x411c84
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x411b17
mov edx, dword [ebp - 0x28]
mov edi, dword [edx]
mov esi, dword [edi]
cmp esi, edi
je 0x411d19
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
lea eax, [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [esi + 0x10]
push eax
lea eax, [ecx + 8]
mov ecx, dword [ecx]
push eax
call fcn.00435e70
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x411cfc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x411cf8
cmp esi, dword [eax + 8]
jne 0x411cf8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x411ce8
mov esi, eax
jmp 0x411d12
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x411d12
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x411d06
mov eax, dword [ebp - 0x28]
cmp esi, edi
jne 0x411cc7
mov eax, dword [ebp - 0x30]
jmp 0x411c86