Function at 0x4b0da0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], edx
mov ebx, dword [edi]
mov dword [edx], 0xffffffff
mov dword [esi], ecx
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xa8], esi
push ecx
push eax
push edi
call fcn.004b05c0
add esp, 0x10
test eax, eax
jne 0x4b10ac
lea eax, [edi + 0xcc]
push eax
lea esi, [edi + 0x9e]
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.004b0d40
add esp, 0xc
test eax, eax
jne 0x4b0e65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.004b26a0
push eax
push esi
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.004afa90
push dword [ebp - 0x98]
push edi
call fcn.004b0080
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
lea ecx, [edi + 0x40]
push ecx
movups xmmword [ecx], xmm0
push str.__Trying__s..._n
movups xmm0, xmmword [esi + 0x10]
push ebx
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], eax
mov ax, word [esi + 0x2c]
mov word [ecx + 0x2c], ax
call fcn.004afb30
push edi
call fcn.004b04a0
mov esi, dword [ebp - 0x98]
add esp, 0x10
cmp dword [ebx + 0x314], 0
je 0x4b0ebc
push esi
push edi
call fcn.004b1180
add esp, 8
push esi
call fcn.004b0560
add esp, 4
cmp dword [ebx + 0x408], 0
je 0x4b0ed8
push esi
push ebx
call fcn.004b1130
add esp, 8
mov eax, dword [ebx + 0x16c]
test eax, eax
je 0x4b0f05
push 0
push esi
push dword [ebx + 0x170]
call eax
add esp, 0xc
mov dword [ebp - 0x9c], eax
cmp eax, 2
jne 0x4b0f40
mov dword [ebp - 0xa0], 1
push dword [ebp - 0x94]
push esi
push edi
call fcn.004b08d0
add esp, 0xc
mov dword [ebp - 0x98], eax
test eax, eax
je 0x4b0f64
push esi
push edi
call fcn.004b0080
mov eax, dword [ebp - 0x98]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4b0f05
push esi
push edi
call fcn.004b0080
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
push 1
push esi
call fcn.004c95f0
mov eax, dword [ebp - 0xa0]
add esp, 8
test eax, eax
jne 0x4b1055
cmp dword [edi + 0x74], 1
jne 0x4b1055
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x98], eax
cmp eax, 0xffffffff
jne 0x4b0fb4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [ebp - 0x9c], ecx
call fcn.004b2180
cmp dword [edi + 0x20c], 1
mov dword [edi + 0x204], eax
mov dword [edi + 0x208], edx
jle 0x4b0fdd
push dword [edi + 0x210]
push ebx
call fcn.004b2e80
add esp, 8
mov eax, dword [ebp - 0x98]
cmp eax, 0xffffffff
jne 0x4b1045
mov eax, dword [ebp - 0x9c]
cmp eax, 0xb
je 0x4b1029
cmp eax, 0x2732
jle 0x4b1001
cmp eax, 0x2734
jle 0x4b1029
push eax
push edi
call fcn.004b26a0
push eax
lea eax, [edi + 0x40]
push eax
push str.Failed_to_connect_to__s:__s
push ebx
call fcn.004afa90
mov ecx, dword [ebp - 0x9c]
add esp, 0x18
mov dword [ebx + 0x858c], ecx
jmp 0x4b1063
push dword [ebp + 0x10]
push esi
push edi
call fcn.004b1300
add esp, 0xc
mov dword [ebp - 0x98], eax
cmp eax, 3
je 0x4b0f44
cmp eax, 1
jne 0x4b1063
cmp dword [ebx + 0x540], 2
jne 0x4b1063
jmp 0x4b10a4
mov dword [ebp - 0x98], 0
test eax, eax
jne 0x4b1083
lea eax, [ebp - 0x9c]
push eax
push esi
call fcn.004b1290
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x4b10bf
test ecx, ecx
je 0x4b10ef
mov eax, dword [ebp - 0xa8]
push str.connected_n
push ebx
mov dword [eax], 1
call fcn.004afb30
push esi
push edi
call fcn.004b0740
add esp, 0x10
mov eax, dword [ebp - 0xa4]
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4b10ef
push str.Timeout_n
push ebx
call fcn.004afb30
add esp, 8
push esi
push edi
call fcn.004b0080
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x9c]
push eax
push edi
mov dword [ebx + 0x858c], eax
call fcn.004b26a0
push eax
push 0x54dc34
push ebx
call fcn.004afb30
add esp, 0x14
push esi
push edi
call fcn.004b0080
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00519876
mov esp, ebp
pop ebp
ret