Function at 0x463b20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
push ebx
push esi
push edi
push dword [0x884adc]
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x70
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x463b62
push 1
push dword [ebp + 0x14]
mov ecx, eax
push 0
call fcn.004645d0
mov esi, eax
mov dword [esp + 0x10], eax
jmp 0x463b68
xor esi, esi
mov dword [esp + 0x10], esi
lea eax, [esp + 0x11c]
mov ebx, esi
mov dword [esp + 0x110], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], reloc.WSOCK32.dll_recv
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], reloc.WSOCK32.dll_recv
cmp edi, dword [ebp + 0xc]
jae 0x463cb7
mov edx, dword [ebp + 0x10]
mov ebx, dword [edi]
cmp ebx, 0x15
jae 0x463bc5
add edi, 4
jmp case.0x463bdb.70
movsx eax, byte [ebx]
add eax, 0xffffffbb
cmp eax, 0x2b
ja case.0x463bdb.71
movzx eax, byte [eax + 0x464210]
jmp dword [eax*4 + 0x4641dc]
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 2]
setne byte [esp + 0x14]
push dword [esp + 0x14]
push 0
push eax
push esi
call fcn.00466830
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x118]
and eax, 0x3fffffff
mov dword [esp + 0x10], esi
cmp dword [esp + 0x114], eax
jne 0x463c30
push 0xc
lea eax, [esp + 0x114]
push eax
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov eax, dword [esp + 0x114]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x110]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x463c56
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x48]
inc dword [esp + 0x114]
and eax, 0x3fffffff
cmp dword [esp + 0x44], eax
jne 0x463c80
push 0xc
lea eax, [esp + 0x44]
push eax
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov eax, dword [esp + 0x44]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x40]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x463ca0
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
inc dword [esp + 0x44]
mov edx, dword [ebp + 0x10]
add edi, 0xc
cmp edi, dword [ebp + 0xc]
jb 0x463bb6
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], 0
test eax, eax
js 0x463ce4
and eax, 0x3fffffff
mov ecx, 0x7d8954
lea eax, [eax + eax*2]
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x44]
call dword [eax + 0x10]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], connect
mov dword [esp + 0x114], 0
test edx, edx
js 0x463d2c
and edx, 0x3fffffff
mov ecx, 0x7d8954
lea edx, [edx + edx*2]
shl edx, 2
push edx
mov edx, dword [0x7d8954]
push dword [esp + 0x114]
call dword [edx + 0x10]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x114]
test eax, eax
je case.0x463bdb.71
lea ecx, [eax + eax*2]
add ebx, 2
mov eax, dword [esp + 0x110]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
cmp byte [ebx], 0
mov dword [esp + 0x10], eax
je 0x463d7e
mov eax, dword [eax]
add eax, 2
push ebx
push eax
call fcn.0045d370
add esp, 8
test eax, eax
jne case.0x463bdb.71
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
push edi
push eax
push edx
mov ecx, esi
call fcn.00464670
mov esi, dword [esi + 0x60]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
dec ebx
dec dword [esp + 0x114]
and ecx, 0x3fffffff
mov dword [esp + 0x10], esi
cmp ecx, ebx
jge 0x463dc7
add ecx, ecx
mov eax, ebx
cmp ebx, ecx
push 0xc
cmovl eax, ecx
push eax
lea eax, [esp + 0x48]
push eax
push 0x7d8954
call fcn.00467b80
add esp, 0x10
mov dword [esp + 0x44], ebx
jmp 0x463ca4
mov eax, dword [esp + 0x118]
and eax, 0x3fffffff
cmp dword [esp + 0x114], eax
jne 0x463dfc
push 0xc
lea eax, [esp + 0x114]
push eax
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov eax, dword [esp + 0x114]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x110]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x463e22
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
inc dword [esp + 0x114]
cmp byte [ebp + 0x18], 0
setne byte [esp + 0x18]
push dword [esp + 0x18]
push 0
push dword [edi + 0xc]
push esi
call fcn.00466830
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x48]
and eax, 0x3fffffff
mov dword [esp + 0x10], esi
cmp dword [esp + 0x44], eax
jne 0x463e6d
push 0xc
lea eax, [esp + 0x44]
push eax
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov eax, dword [esp + 0x44]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x40]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x463e8d
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
inc dword [esp + 0x44]
add edi, 0x10
mov edx, dword [ebp + 0x10]
jmp case.0x463bdb.70
mov eax, dword [esp + 0x118]
and eax, 0x3fffffff
cmp dword [esp + 0x114], eax
jne 0x463ec8
push 0xc
lea eax, [esp + 0x114]
push eax
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov eax, dword [esp + 0x114]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x110]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x463eee
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x48]
inc dword [esp + 0x114]
and eax, 0x3fffffff
cmp dword [esp + 0x44], eax
jne 0x463f18
push 0xc
lea eax, [esp + 0x44]
push eax
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov eax, dword [esp + 0x44]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x40]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x463f38
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
inc dword [esp + 0x44]
lea eax, [ebx + 2]
cmp byte [ebp + 0x18], 0
setne byte [esp + 0x1c]
push dword [esp + 0x1c]
push 0
push eax
push esi
call fcn.00466830
mov ecx, dword [esp + 0x128]
add esp, 0x10
movq xmm0, qword [edi]
and ecx, 0x3fffffff
mov edx, dword [esp + 0x114]
mov ebx, dword [edi + 0xc]
mov esi, dword [edi + 8]
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ebx
cmp edx, ecx
jne 0x463fa6
push 0xc
lea eax, [esp + 0x114]
push eax
push 0x7d8954
call fcn.00467c00
mov edx, dword [esp + 0x120]
add esp, 0xc
mov eax, dword [esp + 0x110]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*4]
test eax, eax
je 0x463fcb
movq xmm0, qword [esp + 0x34]
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x48]
inc edx
mov dword [esp + 0x114], edx
and eax, 0x3fffffff
mov edx, dword [esp + 0x44]
cmp edx, eax
jne 0x463ffc
push 0xc
lea eax, [esp + 0x44]
push eax
push 0x7d8954
call fcn.00467c00
mov edx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x40]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*4]
test eax, eax
je 0x46401b
movq xmm0, qword [esp + 0x34]
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov edx, dword [esp + 0x44]
inc edx
lea eax, [ebx + 2]
cmp byte [ebp + 0x18], 0
mov dword [esp + 0x44], edx
setne byte [esp + 0x20]
push dword [esp + 0x20]
push 0
push eax
push dword [esp + 0x1c]
call fcn.00466830
mov edx, dword [ebp + 0x10]
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
add edi, 0x10
jmp case.0x463bdb.70
mov eax, dword [esp + 0x114]
test eax, eax
je case.0x463bdb.71
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x110]
lea ecx, [ecx - 3]
push edi
lea esi, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
push esi
push edx
call fcn.00464670
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 2]
setne byte [esp + 0x24]
push dword [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x60]
call fcn.00466830
movq xmm0, qword [edi]
add esp, 0x10
movq qword [esi], xmm0
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov esi, dword [esp + 0x10]
jmp 0x463ca4
mov eax, dword [esp + 0x114]
cmp eax, 1
jle case.0x463bdb.71
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x110]
lea ecx, [ecx - 3]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
cmp byte [eax], 0x53
jne case.0x463bdb.71
push edi
push ecx
push edx
mov ecx, esi
call fcn.00464670
mov ebx, dword [esi + 0x60]
mov ecx, dword [esp + 0x114]
mov esi, dword [esp + 0x44]
dec ecx
mov eax, dword [esp + 0x48]
dec esi
and eax, 0x3fffffff
mov dword [esp + 0x114], ecx
cmp eax, esi
jge 0x464137
lea ecx, [eax + eax]
mov eax, esi
cmp esi, ecx
push 0xc
cmovl eax, ecx
push eax
lea eax, [esp + 0x48]
push eax
push 0x7d8954
call fcn.00467b80
mov ecx, dword [esp + 0x124]
add esp, 0x10
mov eax, dword [esp + 0x110]
lea ecx, [ecx + ecx*2]
push edi
mov dword [esp + 0x48], esi
lea eax, [eax + ecx*4]
mov ecx, ebx
add eax, 0xfffffff4
push eax
push dword [ebp + 0x10]
call fcn.00464670
mov esi, dword [ebx + 0x60]
jmp 0x463d8b
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 2]
setne byte [esp + 0x28]
push dword [esp + 0x28]
push 2
push eax
push esi
call fcn.00466830
movss xmm0, dword [edi + 4]
add esp, 0x10
mov edx, dword [ebp + 0x10]
addss xmm0, dword [eax]
inc word [eax + 0x30]
add edi, 8
movss dword [eax], xmm0
jmp case.0x463bdb.70
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 2]
setne byte [esp + 0x2c]
push dword [esp + 0x2c]
push 1
push eax
push esi
call fcn.00466830
mov edx, dword [ebp + 0x10]
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
add edi, 4
jmp case.0x463bdb.70
mov esi, dword [esi + 0x60]
mov dword [esp + 0x10], esi
test esi, esi
je case.0x463bdb.71
add edi, 4
jmp case.0x463bdb.70