Function at 0x4b2b60
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 4
je 0x4b2b90
push str.k_EConnectionStateUnconnected__m_EConnectionState
push 0x40d
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_tcpconnection.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4b2b90
int3
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
cmp word [eax + 0x14], 4
je 0x4b2bcc
cmp word [ecx + 0x14], 4
je 0x4b2bcc
mov edi, dword [ebp + 0x14]
jmp 0x4b2bd5
mov edi, dword [ebp + 0x14]
or edi, 0x800
mov ecx, edi
shr ecx, 0xb
and ecx, 0xffffff01
mov dword [ebp - 4], ecx
test edi, 0x40
jne 0x4b2bfa
mov ecx, eax
call fcn.004c0d50
mov byte [ebp + 0x17], 1
test al, al
jne 0x4b2bfe
mov byte [ebp + 0x17], 0
cmp byte [ebp - 4], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [esi + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esi + 0x3c], eax
mov eax, dword [edx + 8]
mov dword [esi + 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0x44], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x4c], eax
je 0x4b2c40
lea ecx, [esi + 0x20]
call fcn.004c0820
cmp byte [ebp + 0x17], 0
je 0x4b2c40
lea ecx, [esi + 0x38]
call fcn.004c0820
push 0x80
lea eax, [ebp - 0xe4]
mov byte [esi + 0x150], 0
push eax
lea ecx, [esi + 0x20]
call fcn.004c1570
cmp word [esi + 0x4e], 0
mov dword [ebp + 0x10], eax
je 0x4b2ca9
push 0
push 0x30
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x38]
call fcn.004c1830
push 0
push 0x30
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x20]
call fcn.004c1830
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x34]
push eax
push str.Tried_to_initiate_an_outbound_connection_to__s__bound_to_local_address__s.__An_ephemeral_local_port_should_be_used_for_outbound_TCP_conections___How_does_this_work_
push 0x430
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_tcpconnection.cpp
call fcn.00536b80
add esp, 0x14
test al, al
jne 0x4b2ca9
int3
cmp dword [esi + 0x18], 0xffffffff
je 0x4b2ccb
push str.INVALID_SOCKET__m_hSocket
push 0x432
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_tcpconnection.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4b2ccb
int3
mov cl, byte [esi + 0x50]
lea edx, [esi + 0x38]
mov eax, edi
not cl
shr eax, 6
not al
and al, 1
movzx eax, al
push eax
mov eax, edi
or eax, 1
and cl, 1
push edx
cmove edi, eax
push edi
push edx
push 1
call fcn.004ad4b0
add esp, 0x14
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
je 0x4b2dbd
mov byte [esi + 0x1c], 1
mov dword [esi + 0x10], 1
mov ecx, dword [0x7d9ce4]
lea eax, [ecx + 1]
cdq
mov dword [0x7d9d60], eax
lea eax, [ecx + 2]
mov dword [0x7d9d64], edx
mov dword [0x7d9ce4], eax
cdq
mov dword [0x7d9e44], eax
mov dword [0x7d9e48], edx
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x4b2e14
cmp dword [ecx + 0x2c], 0
jne 0x4b2e14
mov ecx, dword [ecx]
lea edx, [ebp + 0x14]
push esi
push edx
mov eax, dword [ecx]
call dword [eax]
cmp dword [ebp + 0x14], 0
jne 0x4b2dc8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push 0
push 0x30
push eax
call fcn.004c1830
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.00457a70
lea ecx, [ebp - 0x34]
push ecx
push str.CTCPConnection::BInternalAsyncConnect:_GetSSLContextForNewConnection_returned_null__aborting_connect_to__s_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 3
push 4
push 0
push 0xb
push 0
push 0
call fcn.00450b10
mov eax, dword [esi]
add esp, 0x2c
mov ecx, esi
call dword [eax + 0x70]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4b2dbd
mov dword [ebp + 0x14], 0
call fcn.004619e0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x2c0
call fcn.0054d1bd
add esp, 4
test eax, eax
je 0x4b2df6
mov ecx, dword [ebp + 0x14]
push 0
push 0
push dword [0x7d9abc]
push ecx
push dword [ecx + 0xc]
mov ecx, eax
push esi
call fcn.004eea50
mov ecx, eax
jmp 0x4b2df8
xor ecx, ecx
mov eax, dword [esi + 0xa0]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4b2e14
mov dword [ebp + 0x14], 0
call fcn.004619e0
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 0x18]
call dword [eax + 0x24]
mov eax, dword [esi + 0x94]
sub eax, 0
je 0x4b2e9f
sub eax, 1
je 0x4b2e4f
sub eax, 1
je 0x4b2e61
push 0x6e35c8
push 0x451
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_tcpconnection.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4b2e4f
int3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esi + 0x9c], 0x7fffffff
jb 0x4b2e94
ja 0x4b2e78
cmp dword [esi + 0x98], 0xffffffff
jb 0x4b2e94
push str.m_stimeFakeTimeout.LTime_____INT64_MAX
push 0x458
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommon_tcpconnection.cpp
call fcn.00536b70
add esp, 0xc
test al, al
jne 0x4b2e94
int3
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov al, byte [esi + 0x50]
not al
test al, 1
je 0x4b2f68
cmp byte [0x7da1b8], 0
jne 0x4b2ec8
push 0
mov ecx, 0x7da180
mov byte [0x7da1b8], 1
call fcn.0053d330
push 0
push 0
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, 0x7dc2e0
push dword [esi + 0x18]
push 0x4b4ed0
push 2
call fcn.004ed740
mov ecx, dword [esi + 0x20]
mov edi, eax
push 0
push esi
mov dword [ebp + 0x14], edi
mov dword [edi + 0x28], ecx
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x2c], ecx
mov ecx, dword [esi + 0x28]
mov dword [edi + 0x30], ecx
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x34], ecx
mov eax, dword [esi + 0x30]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x3c], eax
call fcn.004b4730
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0xe4]
push eax
push dword [esi + 0x18]
call fcn.004dec30
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4b2fac
push dword [ebp + 0x14]
mov ecx, 0x7dc2e0
call fcn.004ed800
push 0
push esi
call fcn.004b40e0
mov eax, dword [esi]
add esp, 8
mov ecx, esi
call dword [eax + 0x70]
inc dword [0x7d9ebc]
test edi, edi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x10]
lea eax, [ebp - 0xe4]
push eax
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_connect]
mov edi, eax
test edi, edi
jns 0x4b2fa2
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
jne 0x4b2fa0
xor edi, edi
test edi, edi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test edi, edi
je 0x4b2faa
inc dword [0x7d9ebc]
test edi, edi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0x14