Function at 0x5f6350
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x134
mov eax, dword [esp + 0x138]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
mov edx, dword [eax + 0x20]
mov dword [esp + 8], edx
test edx, edx
jle 0x5f660e
push ebx
push ebp
push esi
mov esi, dword [esp + 0x148]
xor ecx, ecx
push edi
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x1c]
xor edi, edi
add eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
test ecx, ecx
jle 0x5f65ee
mov ebx, dword [eax + 4]
mov ecx, esi
push 0xffffffffffffffff
mov eax, dword [ebx + edi*8 + 4]
and eax, 0xfffffffe
push eax
call fcn.0046ab90
mov ebp, eax
cmp ebp, 0xffffffff
je 0x5f641a
mov esi, dword [esp + 0x148]
movss xmm0, dword [ebx + edi*8]
add esi, 0xc
movss dword [esp + 0x10], xmm0
mov ecx, dword [esi + 8]
and ecx, 0x3fffffff
cmp dword [esi + 4], ecx
jne 0x5f63f5
push 0xc
push esi
push 0x7d8954
call fcn.00467c00
movss xmm0, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x5f6412
movss dword [eax], xmm0
mov dword [eax + 4], ebp
mov dword [eax + 8], 0
inc dword [esi + 4]
jmp 0x5f65d4
lea eax, [esp + 0xc4]
mov dword [esp + 0xc0], 0x80000080
mov dword [esp + 0xb8], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x38]
mov dword [esp + 0xbc], 1
push ecx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0xbc]
mov eax, dword [ebx + edi*8 + 4]
and eax, 0xfffffffe
mov byte [esp + 0xc8], 0
push ecx
push eax
mov dword [esp + 0x40], 0x80000080
mov dword [esp + 0x3c], 1
mov byte [esp + 0x44], 0
call fcn.005f6060
add esp, 0xc
test eax, eax
je 0x5f656d
push 0xffffffffffffffff
push dword [esp + 0xbc]
mov ecx, esi
call fcn.0046ab90
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x5f656d
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0xc
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
call dword [edx + 4]
mov ebp, eax
lea ecx, [ebp + 8]
mov dword [ebp + 4], 0x1ffff
mov dword [ebp], vtable.hkbStringEventPayload.0
call fcn.0045d8c0
push dword [esp + 0x2c]
lea ecx, [ebp + 8]
call fcn.0045d9a0
movss xmm0, dword [ebx + edi*8]
mov ecx, ebp
movss dword [esp + 0x10], xmm0
call fcn.0045c0c0
mov ecx, ebp
call fcn.0045c0c0
mov ecx, ebp
call fcn.0045c160
mov ebx, dword [esp + 0x148]
add ebx, 0xc
mov eax, dword [ebx + 8]
and eax, 0x3fffffff
cmp dword [ebx + 4], eax
jne 0x5f6526
push 0xc
push ebx
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
lea esi, [eax + ecx*4]
test esi, esi
je 0x5f6563
movss xmm0, dword [esp + 0x10]
mov ecx, ebp
mov eax, dword [esp + 0x1c]
movss dword [esi], xmm0
mov dword [esi + 4], eax
mov dword [esi + 8], 0
call fcn.0045c0c0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5f6560
call fcn.0045c160
mov dword [esi + 8], ebp
inc dword [ebx + 4]
mov ecx, ebp
call fcn.0045c160
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0
test eax, eax
js 0x5f6594
and eax, 0x3fffffff
mov ecx, 0x7d8950
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x30]
call dword [eax + 0x10]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], connect
mov dword [esp + 0xbc], 0
test eax, eax
js 0x5f65d4
and eax, 0x3fffffff
mov ecx, 0x7d8950
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0xbc]
call dword [eax + 0x10]
mov eax, dword [esp + 0x24]
inc edi
mov esi, dword [esp + 0x14c]
cmp edi, dword [esp + 0x20]
jl 0x5f63a1
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add ecx, 0x10
sub edx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jne 0x5f6387
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret