Function at 0x6dbc90
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x6dbfcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
movzx edx, byte [ebp + 0x1c]
lea ecx, [ebp - 0xc]
mov eax, esi
call fcn.006dbab0
test eax, eax
jne 0x6dbcec
cmp dword [ebp - 0xc], 0
jne 0x6dbd31
call fcn.006dbaa8
mov dword [ebx], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x28]
mov ecx, 2
mov eax, 0x6dbff0
call fcn.00425870
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00409fec
jmp 0x6dbf9f
xor eax, eax
push ebp
push 0x6dbf98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0xffffffff
jne 0x6dbdd5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
movzx eax, word [eax]
mov ecx, 6
mov edx, 1
call fcn.006dbc2c
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0xffffffff
jne 0x6dbdc9
call fcn.006dbaa8
mov dword [ebx], eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebx]
xor edx, edx
call fcn.00429514
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x28]
mov ecx, 2
mov eax, 0x6dc05c
call fcn.00425870
mov edx, dword [ebp - 0x2c]
mov eax, edi
call fcn.00409fec
call fcn.00409344
jmp 0x6dbf9f
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dl, 1
call fcn.006dbbd8
movzx eax, word [ebp - 4]
push eax
call sub.wsock32.dll_htons
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x18]
mov word [edx + 2], ax
xor eax, eax
push ebp
push 0x6dbf40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x18], 0
jne 0x6dbe87
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_bind
test eax, eax
jge 0x6dbf15
call fcn.006dbaa8
mov dword [ebx], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], 0x11
lea ecx, [ebp - 0x58]
mov eax, dword [ebx]
xor edx, edx
call fcn.00429514
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x11
mov eax, dword [ebx]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x54]
mov ecx, 3
mov eax, 0x6dc0e4
call fcn.00425870
mov edx, dword [ebp - 0x34]
mov eax, edi
call fcn.00409fec
call fcn.00409344
call fcn.00409344
jmp 0x6dbf9f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_connect
test eax, eax
jge 0x6dbf15
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x6dbf15
call fcn.006dbaa8
mov dword [ebx], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], 0x11
lea ecx, [ebp - 0x60]
mov eax, dword [ebx]
xor edx, edx
call fcn.00429514
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x11
mov eax, dword [ebx]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x54]
mov ecx, 3
mov eax, 0x6dc16c
call fcn.00425870
mov edx, dword [ebp - 0x5c]
mov eax, edi
call fcn.00409fec
call fcn.00409344
call fcn.00409344
jmp 0x6dbf9f
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dbf47
cmp byte [ebp - 5], 0
jne 0x6dbf3f
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
call fcn.006dbc38
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dbfd6
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00409c6c
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00409c6c
lea eax, [ebp - 0x10]
call fcn.00409c0c
ret