Function at 0x448050
Capabilities:
Connect socket
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push ebx
mov ebx, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [ebp - 0x228], ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp ecx, 0xffffffff
jne 0x4480d6
mov ecx, dword [0x629538]
mov eax, dword [0x62953c]
cmp ecx, 0x257edfd1
jne 0x44809a
cmp eax, 0xb2ab117a
je 0x4480a9
cmp ecx, 0x257edfd0
jne 0x4480ad
cmp eax, 0xb2ab117a
jne 0x4480ad
mov al, 1
jmp 0x4480c1
mov eax, dword [0x629530]
mov ecx, 0x629530
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esi], 0x2719
add eax, 2
mov dword [esi + 4], 0x629530
jmp 0x44810f
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
jne 0x4480f1
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], eax
jmp 0x448112
call ebx
push 0x629530
push eax
lea ecx, [ebp - 0x220]
call fcn.0044ab00
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ebx, dword [0x629538]
mov edi, dword [0x62953c]
cmp ebx, 0x257edfd1
jne 0x44812e
cmp edi, 0xb2ab117a
je 0x44813e
cmp ebx, 0x257edfd0
jne 0x448142
cmp edi, 0xb2ab117a
jne 0x448142
mov al, 1
jmp 0x448162
mov eax, dword [0x629530]
mov ecx, 0x629530
push 0x2734
mov eax, dword [eax + 0x18]
call eax
mov edi, dword [0x62953c]
mov ebx, dword [0x629538]
movzx eax, al
lea edx, [ebp - 0x220]
add eax, 2
mov dword [ebp - 0x220], 0x2734
mov ecx, esi
mov dword [ebp - 0x21c], 0x629530
mov dword [ebp - 0x218], eax
call fcn.0044a960
test al, al
jne 0x44820c
cmp ebx, 0x257edfd1
jne 0x4481a3
cmp edi, 0xb2ab117a
je 0x4481b3
cmp ebx, 0x257edfd0
jne 0x4481b7
cmp edi, 0xb2ab117a
jne 0x4481b7
mov al, 1
jmp 0x4481d7
mov eax, dword [0x629530]
mov ecx, 0x629530
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov edi, dword [0x62953c]
mov ebx, dword [0x629538]
movzx eax, al
lea edx, [ebp - 0x220]
add eax, 2
mov dword [ebp - 0x220], 0x2733
mov ecx, esi
mov dword [ebp - 0x21c], 0x629530
mov dword [ebp - 0x218], eax
call fcn.0044a960
test al, al
je 0x4483df
mov eax, dword [ebp - 0x224]
cmp eax, 0xffffffff
jne 0x448276
cmp ebx, 0x257edfd1
jne 0x448227
cmp edi, 0xb2ab117a
je 0x448237
cmp ebx, 0x257edfd0
jne 0x44823b
cmp edi, 0xb2ab117a
jne 0x44823b
mov al, 1
jmp 0x44824f
mov eax, dword [0x629530]
mov ecx, 0x629530
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x2719
movzx eax, al
mov dword [esi + 4], 0x629530
add eax, 2
pop edi
mov dword [esi + 8], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
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.WSOCK32.dll_select]
test eax, eax
js 0x4483ba
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 [esi], xmm0
push ecx
mov dword [esi + 8], 0
call dword [sym.imp.WSOCK32.dll_getsockopt]
mov edi, eax
test edi, edi
jne 0x448305
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], eax
jmp 0x448333
call dword [ebp - 0x228]
push 0x629530
push eax
lea ecx, [ebp - 0x220]
call fcn.0044ab00
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
cmp edi, 0xffffffff
je 0x4483df
mov ecx, dword [0x629538]
mov edi, dword [ebp - 8]
mov eax, dword [0x62953c]
cmp ecx, 0x257edfd1
jne 0x448350
cmp eax, 0xb2ab117a
je 0x44835f
cmp ecx, 0x257edfd0
jne 0x448387
cmp eax, 0xb2ab117a
jne 0x448387
test edi, edi
mov dword [esi], edi
mov dword [esi + 4], 0x629530
setne al
movzx eax, al
add eax, 2
pop edi
mov dword [esi + 8], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
mov eax, dword [0x629530]
mov ecx, 0x629530
push edi
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], edi
movzx eax, al
mov dword [esi + 4], 0x629530
add eax, 2
pop edi
mov dword [esi + 8], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
call dword [ebp - 0x228]
push 0x629530
push eax
lea ecx, [ebp - 0x220]
call fcn.0044ab00
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046676f
mov esp, ebp
pop ebp
ret