Function at 0x1007dae0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x10116e52
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e6198]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov dword [ebp], vtable.i3UIRenderer.0
mov ecx, dword [ebp + 0x950]
mov esi, dword [0x10123858]
xor edi, edi
mov dword [esp + 0x28], 3
cmp ecx, edi
je 0x1007db36
call esi
mov dword [ebp + 0x950], edi
mov ecx, dword [ebp + 0x790]
cmp ecx, edi
je 0x1007db48
call esi
mov dword [ebp + 0x790], edi
mov ecx, dword [ebp + 0x1f4]
cmp ecx, edi
je 0x1007db5a
call esi
mov dword [ebp + 0x1f4], edi
mov ecx, dword [ebp + 0x1f8]
cmp ecx, edi
je 0x1007db6c
call esi
mov dword [ebp + 0x1f8], edi
mov ecx, dword [ebp + 0x1fc]
cmp ecx, edi
je 0x1007db7e
call esi
mov dword [ebp + 0x1fc], edi
mov ecx, dword [ebp + 0x200]
cmp ecx, edi
je 0x1007db90
call esi
mov dword [ebp + 0x200], edi
mov ecx, dword [ebp + 0x204]
cmp ecx, edi
je 0x1007dba2
call esi
mov dword [ebp + 0x204], edi
mov ebx, dword [0x10123ffc]
lea esi, [ebp + 0x214]
mov dword [esp + 0x14], 0x40
jmp 0x1007dbc2
xor edi, edi
mov ecx, dword [esi]
call dword [0x10124008]
test eax, eax
jle 0x1007dbea
mov edi, edi
mov ecx, dword [esi]
push edi
call dword [0x10123e80]
mov ecx, eax
call ebx
mov ecx, dword [esi]
inc edi
call dword [0x10124008]
cmp edi, eax
jl 0x1007dbd0
mov ecx, dword [esi]
call ebx
mov dword [esi], 0
add esi, 0x14
sub dword [esp + 0x14], 1
jne 0x1007dbc0
mov ecx, dword [ebp + 0x714]
mov edi, dword [0x10123858]
xor esi, esi
cmp ecx, esi
je 0x1007dc18
call edi
mov dword [ebp + 0x714], esi
mov ecx, dword [ebp + 0x718]
cmp ecx, esi
je 0x1007dc2a
call edi
mov dword [ebp + 0x718], esi
mov ecx, dword [ebp + 0x70c]
cmp ecx, esi
je 0x1007dc44
call ebx
mov ecx, dword [ebp + 0x70c]
call edi
mov dword [ebp + 0x70c], esi
mov ebx, dword [0x10123834]
mov esi, dword [0x10123838]
xor edi, edi
test edi, edi
jl 0x1007dc5b
cmp edi, 0x40
jl 0x1007dc7a
push 0
push str.void___thiscall_i3UIRenderer::_FreeLayer_int_
push 0x5c2
push 0
call ebx
push str.__idx____0_____idx_____64__
push str.Asserted_:__s
call esi
add esp, 0x18
inc edi
cmp edi, 0x40
jl 0x1007dc52
mov eax, dword [ebp + 0x71c]
test eax, eax
je 0x1007dc9d
push eax
call fcn.100ed4cd
add esp, 4
mov dword [ebp + 0x71c], 0
mov eax, dword [ebp + 0x78c]
test eax, eax
je 0x1007dcb9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 0x78c], 0
mov ebx, dword [0x1012379c]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x101ea6b0], 0
mov eax, dword [ebp + 0x970]
mov byte [esp + 0x28], 2
mov dword [esp + 0x14], eax
test eax, eax
je 0x1007dd16
mov eax, dword [0x101237bc]
mov ecx, dword [eax]
mov esi, dword [0x101e7834]
push ecx
call edi
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
lea edx, [edx + ecx*4]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
push edx
push ecx
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push esi
call ecx
add esp, 0xc
mov ecx, eax
call ebx
mov eax, dword [ebp + 0x960]
mov byte [esp + 0x28], 1
mov dword [esp + 0x18], eax
test eax, eax
je 0x1007dd5e
mov edx, dword [0x101237bc]
mov eax, dword [edx]
mov esi, dword [0x101e7834]
push eax
call edi
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
lea edx, [edx + ecx*4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
push edx
push ecx
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push esi
call ecx
add esp, 0xc
mov ecx, eax
call ebx
mov eax, dword [ebp + 0x954]
mov byte [esp + 0x28], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x1007dd9f
mov edx, dword [0x101237bc]
mov eax, dword [edx]
mov esi, dword [0x101e7834]
push eax
call edi
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x18]
mov edx, dword [eax + 4]
push edi
push ecx
push eax
mov eax, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
push esi
call eax
add esp, 0xc
mov ecx, eax
call ebx
mov ecx, ebp
mov dword [esp + 0x28], 0xffffffff
call sym.i3FrameworkDx.dll_public_virtual:_void___thiscall_i3GameObj::destructor_void_
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret