Function at 0x443e20
Capabilities:
Connect socket
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4901c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp ecx, 0xffffffff
jne 0x443eb0
mov ecx, dword [0x490a50]
mov eax, dword [0x490a54]
cmp ecx, 0x257edfd1
jne 0x443e5e
cmp eax, 0xb2ab117a
je 0x443e6d
cmp ecx, 0x257edfd0
jne 0x443e71
cmp eax, 0xb2ab117a
jne 0x443e71
mov al, 1
jmp 0x443e85
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebp - 0x220], 0x2719
add eax, 2
mov dword [ebp - 0x21c], 0x490a48
movq xmm0, qword [ebp - 0x220]
movq qword [edi], xmm0
mov dword [edi + 8], eax
jmp 0x443ec7
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
mov ecx, edi
setne dl
call fcn.00443ba0
mov ebx, dword [0x490a50]
mov esi, dword [0x490a54]
cmp ebx, 0x257edfd1
jne 0x443ee3
cmp esi, 0xb2ab117a
je 0x443ef3
cmp ebx, 0x257edfd0
jne 0x443ef7
cmp esi, 0xb2ab117a
jne 0x443ef7
mov al, 1
jmp 0x443f17
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push 0x2734
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x490a54]
mov ebx, dword [0x490a50]
movzx eax, al
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x2734
add eax, 2
mov dword [ebp - 0x21c], 0x490a48
mov ecx, edi
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x218], eax
call fcn.004411e0
test al, al
jne 0x443fe5
cmp ebx, 0x257edfd1
jne 0x443f6c
cmp esi, 0xb2ab117a
je 0x443f7c
cmp ebx, 0x257edfd0
jne 0x443f80
cmp esi, 0xb2ab117a
jne 0x443f80
mov al, 1
jmp 0x443fa0
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x490a54]
mov ebx, dword [0x490a50]
movzx eax, al
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x2733
add eax, 2
mov dword [ebp - 0x21c], 0x490a48
mov ecx, edi
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x218], eax
call fcn.004411e0
test al, al
je 0x44414b
mov eax, dword [ebp - 0x224]
cmp eax, 0xffffffff
jne 0x444044
cmp ebx, 0x257edfd1
jne 0x444000
cmp esi, 0xb2ab117a
je 0x444010
cmp ebx, 0x257edfd0
jne 0x444021
cmp esi, 0xb2ab117a
jne 0x444021
mov al, 1
mov dword [ebp - 0x220], 0x2719
jmp 0x44412c
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov dword [ebp - 0x220], 0x2719
jmp 0x44412c
push 0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x20c], eax
push ecx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x108], eax
push ecx
push 0
inc eax
mov dword [ebp - 0x210], 1
push eax
mov dword [ebp - 0x10c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x4440de
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push 0x1007
xorps xmm0, xmm0
mov dword [ebp - 8], 4
push 0xffff
movq qword [edi], xmm0
push ecx
mov dword [edi + 8], 0
call dword [sym.imp.WS2_32.dll_getsockopt]
mov esi, eax
mov ecx, edi
test esi, esi
setne dl
call fcn.00443ba0
cmp esi, 0xffffffff
je 0x44414b
mov esi, dword [ebp - 0x214]
jmp 0x4440e6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov ecx, dword [0x490a50]
mov eax, dword [0x490a54]
cmp ecx, 0x257edfd1
jne 0x444100
cmp eax, 0xb2ab117a
je 0x44410f
cmp ecx, 0x257edfd0
jne 0x444116
cmp eax, 0xb2ab117a
jne 0x444116
test esi, esi
setne al
jmp 0x444126
mov eax, dword [0x490a48]
mov ecx, 0x490a48
push esi
mov eax, dword [eax + 0x18]
call eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0x490a48
movq xmm0, qword [ebp - 0x220]
movzx eax, al
add eax, 2
movq qword [edi], xmm0
mov dword [edi + 8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e4b9
mov esp, ebp
pop ebp
ret