Function at 0x44b600
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9a46
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.0040a220
mov byte [ebp - 4], 1
cmp byte [ebx + 0x61], 0
je 0x44b6bf
push 0
push 0x602665
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x58], 0
call fcn.00404c00
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00413370
cmp dword [ebp - 0x28], 0x10
jb 0x44b685
push dword [ebp - 0x3c]
call fcn.0044ffc1
add esp, 4
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jb 0x44b6a8
push dword [ebp - 0x54]
call fcn.0044ffc1
add esp, 4
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
jmp 0x44b8cd
lea ecx, [ebx + 0x34]
lea eax, [ebp + 0x10]
cmp ecx, eax
je 0x44b6d3
push 0xffffffffffffffff
push 0
push eax
call fcn.004047d0
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, 2
mov word [ebx + 0x4c], ax
push eax
movq qword [ebp - 0x66], xmm0
mov dword [ebp - 0x5e], 0
mov word [ebp - 0x5a], 0
mov word [ebp - 0x68], cx
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp + 0x24], 0x10
mov word [ebp - 0x66], ax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x64], eax
mov ecx, ebx
lea eax, [ebp - 0xd0]
push eax
call fcn.0044b340
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [esi + 4]
movzx ecx, byte [esi]
mov byte [ebp - 0x58], cl
movzx ecx, byte [esi + 1]
mov byte [ebp - 0x57], cl
lea ecx, [ebp - 0x54]
cmp ecx, eax
je 0x44b74d
push 0xffffffffffffffff
push 0
push eax
call fcn.004047d0
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x3c]
cmp ecx, eax
je 0x44b761
push 0xffffffffffffffff
push 0
push eax
call fcn.004047d0
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x44]
mov byte [ebp - 4], 1
cmp dword [ebp - 0xa0], 0x10
mov dword [ebp - 0x14], eax
jb 0x44b794
push dword [ebp - 0xb4]
call fcn.0044ffc1
add esp, 4
cmp dword [ebp - 0xb8], 0x10
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
jb 0x44b7c6
push dword [ebp - 0xcc]
call fcn.0044ffc1
add esp, 4
cmp byte [ebp - 0x58], 0
je 0x44b8ba
lea eax, [ebp - 0xd0]
mov ecx, ebx
push eax
call fcn.0044b550
lea ecx, [ebp - 0xd0]
call fcn.00406730
push 0x10
lea eax, [ebp - 0x68]
push eax
push dword [ebx + 0x30]
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
test esi, esi
jne 0x44b821
push esi
push 0x602665
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x58], 1
call fcn.00404c00
jmp 0x44b8ba
mov edx, eax
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0xe8]
call fcn.004057e0
push eax
mov edx, str.connect_err._lastErr:
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.00405a70
mov esi, eax
add esp, 4
lea eax, [ebp - 0x54]
cmp eax, esi
je 0x44b87c
cmp dword [ebp - 0x40], 0x10
jb 0x44b861
push dword [ebp - 0x54]
call fcn.0044ffc1
add esp, 4
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call fcn.004045c0
cmp dword [ebp - 0x6c], 0x10
jb 0x44b88d
push dword [ebp - 0x80]
call fcn.0044ffc1
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0xd4], 0x10
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
jb 0x44b8ba
push dword [ebp - 0xe8]
call fcn.0044ffc1
add esp, 4
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00413370
lea ecx, [ebp - 0x58]
call fcn.00406730
cmp dword [ebp + 0x24], 0x10
jb 0x44b8de
push dword [ebp + 0x10]
call fcn.0044ffc1
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00577e97
mov esp, ebp
pop ebp
ret 0x20