Function at 0x44bc00
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4a3350]
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 - 0x98], ecx
mov dword [ebp - 0xa4], edx
mov ebx, dword [edi]
mov dword [edx], 0xffffffff
mov dword [esi], ecx
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xa8], esi
push ecx
push eax
push edi
call fcn.0044b430
add esp, 0x10
test eax, eax
jne 0x44bfeb
movzx eax, word [ebp - 0x84]
lea esi, [edi + 0x9e]
sub eax, 2
jne 0x44bf90
push 0x2e
push esi
lea eax, [ebp - 0x80]
push eax
push 2
call fcn.00450390
add esp, 0x10
test eax, eax
je 0x44bf90
push dword [ebp - 0x82]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
lea ecx, [edi + 0x40]
mov dword [edi + 0xcc], eax
movdqu xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
push ecx
movdqu xmmword [ecx], xmm0
push str.__Trying__s..._n
movdqu xmm0, xmmword [esi + 0x10]
push ebx
movdqu 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.0044a770
push edi
call fcn.0044b310
mov esi, dword [ebp - 0xa0]
add esp, 0x10
cmp dword [ebx + 0x314], 0
je 0x44bd05
push esi
push edi
call fcn.0044c070
add esp, 8
push esi
call fcn.0044b3d0
add esp, 4
cmp dword [ebx + 0x408], 0
je 0x44bd21
push esi
push ebx
call fcn.0044c020
add esp, 8
mov eax, dword [ebx + 0x16c]
test eax, eax
je 0x44bd4e
push 0
push esi
push dword [ebx + 0x170]
call eax
add esp, 0xc
mov dword [ebp - 0x9c], eax
cmp eax, 2
jne 0x44bd89
mov dword [ebp - 0x98], 1
push dword [ebp - 0x94]
push esi
push edi
call fcn.0044b730
add esp, 0xc
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x44bdad
push esi
push edi
call fcn.0044ae50
mov eax, dword [ebp - 0xa0]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x44bd4e
push esi
push edi
call fcn.0044ae50
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
push 1
push esi
call fcn.00466450
mov eax, dword [ebp - 0x98]
add esp, 8
test eax, eax
jne 0x44beb7
cmp dword [edi + 0x74], 1
jne 0x44beb7
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 0x44bdfd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [ebp - 0x9c], ecx
call fcn.0044e920
cmp dword [edi + 0x20c], 1
mov dword [edi + 0x204], eax
mov dword [edi + 0x208], edx
jle 0x44be26
push dword [edi + 0x210]
push ebx
call fcn.0044f650
add esp, 8
mov eax, dword [ebp - 0x98]
cmp eax, 0xffffffff
jne 0x44be8e
mov eax, dword [ebp - 0x9c]
cmp eax, 0xb
je 0x44be72
cmp eax, 0x2732
jle 0x44be4a
cmp eax, 0x2734
jle 0x44be72
push eax
push edi
call fcn.0044ee50
push eax
lea eax, [edi + 0x40]
push eax
push str.Failed_to_connect_to__s:__s
push ebx
call fcn.0044a6a0
mov ecx, dword [ebp - 0x9c]
add esp, 0x18
mov dword [ebx + 0x858c], ecx
jmp 0x44bec5
push dword [ebp + 0x10]
push esi
push edi
call fcn.0044c220
add esp, 0xc
mov dword [ebp - 0x98], eax
cmp eax, 3
je 0x44bd8d
cmp eax, 1
jne 0x44bec5
cmp dword [ebx + 0x540], 2
jne 0x44bec5
mov eax, dword [ebp - 0xa4]
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x98], 0
test eax, eax
jne 0x44bee5
lea eax, [ebp - 0x9c]
push eax
push esi
call fcn.0044c1b0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x44bf21
test ecx, ecx
je 0x44bf51
mov eax, dword [ebp - 0xa8]
push str.connected_n
push ebx
mov dword [eax], 1
call fcn.0044a770
push esi
push edi
call fcn.0044b5a0
mov eax, dword [ebp - 0xa4]
add esp, 0x10
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x44bf51
push str.Timeout_n
push ebx
call fcn.0044a770
add esp, 8
push esi
push edi
call fcn.0044ae50
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x9c]
push eax
push edi
mov dword [ebx + 0x858c], eax
call fcn.0044ee50
push eax
push 0x491dac
push ebx
call fcn.0044a770
add esp, 0x14
push esi
push edi
call fcn.0044ae50
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
mov byte [esi], 0
mov dword [edi + 0xcc], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.0044ee50
push eax
push esi
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0044a6a0
mov ecx, dword [edi + 0x28]
add esp, 0x18
mov eax, dword [ebp - 0xa0]
test ecx, ecx
je 0x44bfe4
cmp eax, dword [edi + 0x134]
jne 0x44bffe
cmp dword [edi + 0x13c], 0
je 0x44bffe
mov dword [edi + 0x13c], 0
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
push eax
push dword [edi + 0x2c]
call ecx
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.0042419e
mov esp, ebp
pop ebp
ret