Function at 0x470ca0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3885
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push esi
push edi
mov eax, dword [0x5ec374]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
xor eax, eax
push 0x24
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0045670f
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
or esi, 0xffffffff
mov dword [ebp - 4], 0
test edi, edi
je 0x470e16
mov eax, dword [ebp - 0x24]
lea esi, [edi + 0x10]
xorps xmm0, xmm0
mov ecx, 0x5f9a28
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], esi
movups xmmword [edi], xmm0
call fcn.00470930
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
mov dword [esi], ecx
test ecx, ecx
je 0x470d4e
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
lea eax, [edi + 0x14]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
lea edx, [edi + 0x1c]
mov dword [ebp - 0x14], edx
mov dword [edx], 0
mov esi, dword [ebp - 0x1c]
mov dword [edx + 4], 0
mov esi, dword [esi]
test esi, esi
je 0x470d89
mov ecx, 1
lea eax, [esi + 4]
lock xadd dword [eax], ecx
mov ecx, dword [edx]
mov dword [edx], esi
or esi, 0xffffffff
test ecx, ecx
je 0x470dbf
mov eax, esi
lea edx, [ecx + 4]
lock xadd dword [edx], eax
lea edx, [edi + 0x1c]
sub eax, 1
jne 0x470dbf
lea eax, [ecx + 4]
test eax, eax
mov eax, 0
cmove ecx, eax
test ecx, ecx
je 0x470dbf
mov eax, dword [ecx]
push 1
call dword [eax]
lea edx, [edi + 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
test edx, edx
je 0x470ddd
mov ecx, 1
lea eax, [edx + 4]
lock xadd dword [eax], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], edx
test ecx, ecx
je 0x470e04
lea edx, [ecx + 4]
mov eax, esi
lock xadd dword [edx], eax
sub eax, 1
jne 0x470e04
test edx, edx
cmove ecx, eax
test ecx, ecx
je 0x470e04
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], 2
mov eax, dword [eax + 4]
mov dword [edi + 0x18], eax
jmp 0x470e18
xor edi, edi
push 0x10
mov dword [ebp - 4], 0xffffffff
call fcn.0045670f
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x470e49
mov dword [eax + 4], 0
mov dword [eax], vtable.._AU__BindState_V__RunnableAdapter_P8PostTaskAndReplyRelay__A0xc7a53060_base__AEXXZ_internal_base____A6AXPAVPostTaskAndReplyRelay__A0xc7a53060_3__Z__A6AXV__UnretainedWrapper_VPostTaskAndReplyRelay__A0xc7a53060_base___23__Z_internal_base__.0
mov dword [eax + 8], 0x472780
mov dword [eax + 0xc], edi
jmp 0x470e4b
xor eax, eax
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x470e5e
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
test byte [ebp - 0x18], 0x20
mov dword [ebp - 0x28], 0
je 0x470e76
lea ecx, [ebp - 0xe0]
call fcn.004622c0
mov dword [ebp - 0x28], 0x44e740
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp - 0x24]
mov dword [ebp - 4], 0x12
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x2c]
test al, al
sete byte [ebp - 0xd]
test ecx, ecx
je 0x470ebb
lea eax, [ecx + 4]
lock xadd dword [eax], esi
sub esi, 1
jne 0x470ebb
test eax, eax
je 0x470ebb
test ecx, ecx
je 0x470ebb
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0xd], 0
je 0x470eec
test edi, edi
je 0x470ed7
mov ecx, edi
call fcn.00462a40
push 0x24
push edi
call fcn.0045673f
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc