Function at 0x44b160
Capabilities:
Connect socket
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4991c0]
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 0x44b1f0
mov ecx, dword [0x499a50]
mov eax, dword [0x499a54]
cmp ecx, 0x257edfd1
jne 0x44b19e
cmp eax, 0xb2ab117a
je 0x44b1ad
cmp ecx, 0x257edfd0
jne 0x44b1b1
cmp eax, 0xb2ab117a
jne 0x44b1b1
mov al, 1
jmp 0x44b1c5
mov eax, dword [0x499a48]
mov ecx, 0x499a48
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebp - 0x220], 0x2719
add eax, 2
mov dword [ebp - 0x21c], 0x499a48
movq xmm0, qword [ebp - 0x220]
movq qword [edi], xmm0
mov dword [edi + 8], eax
jmp 0x44b207
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.0044aee0
mov ebx, dword [0x499a50]
mov esi, dword [0x499a54]
cmp ebx, 0x257edfd1
jne 0x44b223
cmp esi, 0xb2ab117a
je 0x44b233
cmp ebx, 0x257edfd0
jne 0x44b237
cmp esi, 0xb2ab117a
jne 0x44b237
mov al, 1
jmp 0x44b257
mov eax, dword [0x499a48]
mov ecx, 0x499a48
push 0x2734
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x499a54]
mov ebx, dword [0x499a50]
movzx eax, al
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x2734
add eax, 2
mov dword [ebp - 0x21c], 0x499a48
mov ecx, edi
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x218], eax
call fcn.004486c0
test al, al
jne 0x44b325
cmp ebx, 0x257edfd1
jne 0x44b2ac
cmp esi, 0xb2ab117a
je 0x44b2bc
cmp ebx, 0x257edfd0
jne 0x44b2c0
cmp esi, 0xb2ab117a
jne 0x44b2c0
mov al, 1
jmp 0x44b2e0
mov eax, dword [0x499a48]
mov ecx, 0x499a48
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x499a54]
mov ebx, dword [0x499a50]
movzx eax, al
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x2733
add eax, 2
mov dword [ebp - 0x21c], 0x499a48
mov ecx, edi
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x218], eax
call fcn.004486c0
test al, al
je 0x44b482
mov eax, dword [ebp - 0x224]
cmp eax, 0xffffffff
jne 0x44b384
cmp ebx, 0x257edfd1
jne 0x44b340
cmp esi, 0xb2ab117a
je 0x44b350
cmp ebx, 0x257edfd0
jne 0x44b361
cmp esi, 0xb2ab117a
jne 0x44b361
mov al, 1
mov dword [ebp - 0x220], 0x2719
jmp 0x44b463
mov eax, dword [0x499a48]
mov ecx, 0x499a48
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov dword [ebp - 0x220], 0x2719
jmp 0x44b463
push 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x210], eax
push ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x10c], eax
push ecx
push 0
inc eax
mov dword [ebp - 0x214], 1
push eax
mov dword [ebp - 0x110], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x44b415
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x1007
xorps xmm0, xmm0
mov dword [ebp - 0xc], 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.0044aee0
cmp esi, 0xffffffff
je 0x44b482
mov esi, dword [ebp - 8]
jmp 0x44b41d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov ecx, dword [0x499a50]
mov eax, dword [0x499a54]
cmp ecx, 0x257edfd1
jne 0x44b437
cmp eax, 0xb2ab117a
je 0x44b446
cmp ecx, 0x257edfd0
jne 0x44b44d
cmp eax, 0xb2ab117a
jne 0x44b44d
test esi, esi
setne al
jmp 0x44b45d
mov eax, dword [0x499a48]
mov ecx, 0x499a48
push esi
mov eax, dword [eax + 0x18]
call eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0x499a48
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.00475d09
mov esp, ebp
pop ebp
ret