Function at 0x4273ec
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x3c6c], 0
je 0x427420
mov dword [esp + 8], 0x128
mov dword [esp + 4], str..._connection.cpp
mov dword [esp], 0x7c4c5f
call sub.msvcrt.dll__assert
lea eax, [ebp - 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x42897c
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.0064563c
sub esp, 4
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebx + 0x3c50]
mov esi, dword [eax + 0x10]
mov eax, dword [0x7bf760]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov ebx, eax
test eax, eax
je 0x4276f0
cmp esi, dword [eax]
jne 0x42747e
jmp 0x42748a
cmp esi, dword [ebx]
je 0x42748a
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x42747a
jmp 0x4276f0
test edi, 1
je 0x42749f
mov ecx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x70]
mov edx, dword [ecx + ebx]
mov edi, dword [edx + edi - 1]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x70]
mov dword [esp], eax
call edi
jmp 0x42771d
mov dword [esp], 0x30
call fcn.0076790c
mov edi, eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov ebx, edi
test edi, edi
jne 0x4274d5
jmp 0x42754a
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], eax
mov dword [esp + 0xc], 0x63e53c
mov dword [esp + 8], 0x63e5ac
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0063f2cc
mov dword [edi + 0x20], esi
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 0x2c], ecx
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0x74]
mov dword [edi + 0x24], ecx
lea eax, [esi + 0x18]
mov dword [esp], eax
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
jmp 0x42754a
mov dword [ebp - 0x38], ebx
mov edi, 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_PostQueuedCompletionStatus
sub esp, 0x10
test eax, eax
jne 0x4275bc
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
call fcn.00637860
mov dword [esp + 0xc], 0x7c4c48
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0064bc34
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.00631f7c
mov esi, eax
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0064be18
jmp 0x4275df
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.00638ac0
jmp 0x42771d
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.00638b20
mov ebx, dword [ebp - 0x6c]
test edi, edi
je 0x4275f9
mov dword [esp], edi
call fcn.007678c4
mov dword [ebp - 0x6c], ebx
jmp 0x427603
cmp dword [ebp - 0x6c], 1
je 0x427611
mov dword [esp], esi
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
mov dword [esp], esi
call fcn.00767c68
mov ebx, eax
cmp byte [0x7b9004], 0
je 0x4276e9
lea eax, [ebp - 0x21]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7c4c6b
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
lea edx, [ebp - 0x19]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
call fcn.006656b0
mov dword [esp + 0x14], 1
lea edx, [ebp - 0x28]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 3
mov dword [esp + 4], str.void_Connection::deleteConnection__
mov dword [esp], eax
call fcn.005838da
jmp 0x4276a4
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4276b5
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4276d3
mov byte [0x7b9004], 0
jmp 0x4276e9
call fcn.00767e34
jmp 0x42771d
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov dword [esp + 4], 0
lea eax, [esi + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_InterlockedExchangeAdd
sub esp, 8
test eax, eax
je 0x4274af
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret