Function at 0x5ef8d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x5efafa
mov eax, dword [ebx + 8]
test eax, eax
je 0x5efafa
cmp dword [eax + 0xc], 0
je 0x5efafa
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5ef906
cmp byte [eax], 0
jne 0x5ef90e
mov eax, dword [0x8789fc]
mov dword [ebp + 0xc], eax
push eax
call fcn.0045d4a0
mov ecx, dword [ebx + 8]
add esp, 4
mov dword [ebp - 8], eax
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x24], ebx
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x10], edx
test edx, edx
je 0x5efafa
xor ecx, ecx
push esi
mov dword [ebp - 0xc], ecx
push edi
mov eax, dword [ebx + 0x1c]
xor ebx, ebx
add eax, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x5efae0
mov edi, dword [eax + 4]
mov esi, dword [edi + ebx*8 + 4]
and esi, 0xfffffffe
push esi
call fcn.0045d4a0
mov ecx, dword [ebp - 8]
add esp, 4
cmp eax, ecx
jle 0x5ef981
push ecx
push esi
push dword [ebp + 0xc]
call fcn.0045d3a0
add esp, 0xc
test eax, eax
jne 0x5ef981
add esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb0]
push eax
push esi
mov dword [ebp - 0xa8], 0x80000080
mov dword [ebp - 0xac], 1
mov byte [ebp - 0xa4], 0
call fcn.005ef080
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x5efaa0
mov ecx, dword [ebp - 0xac]
movss xmm0, dword [edi + ebx*8]
dec ecx
movss dword [ebp - 0x14], xmm0
test ecx, ecx
jle 0x5efa2b
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0xc
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
lea ecx, [edi + 8]
mov dword [edi + 4], 0x1ffff
mov dword [edi], vtable.hkbStringEventPayload.0
call fcn.0045d8c0
push dword [ebp - 0xb0]
lea ecx, [edi + 8]
call fcn.0045d9a0
mov ecx, edi
call fcn.0045c0c0
mov ecx, edi
call fcn.0045c0c0
mov ecx, edi
call fcn.0045c160
jmp 0x5efa2d
xor edi, edi
mov esi, dword [ebp + 8]
add esi, 0xc
mov eax, dword [esi + 8]
and eax, 0x3fffffff
cmp dword [esi + 4], eax
jne 0x5efa50
push 0xc
push esi
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov eax, dword [esi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esi]
lea ebx, [eax + ecx*4]
test ebx, ebx
je 0x5efa8f
movss xmm0, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
movss dword [ebx], xmm0
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
test edi, edi
je 0x5efa80
mov ecx, edi
call fcn.0045c0c0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x5efa8c
call fcn.0045c160
mov dword [ebx + 8], edi
inc dword [esi + 4]
test edi, edi
je 0x5efa9d
mov ecx, edi
call fcn.0045c160
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], 0
test eax, eax
js 0x5efacd
and eax, 0x3fffffff
mov ecx, 0x7d8950
push eax
mov eax, dword [0x7d8950]
push dword [ebp - 0xb0]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp - 0x1c]
jb 0x5ef953
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x24]
add ecx, 0x10
sub edx, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
jne 0x5ef938
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret