Function at 0x6dc15c33
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
movzx eax, word [edi]
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push eax
call sym.DNSAPI.dll_Socket_Create
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x6dc1e08d
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x90]
push eax
movzx eax, word [edi]
push eax
call fcn.6dc09aad
mov edi, eax
cmp edi, ebx
jne 0x6dc1e0ae
cmp dword [esi + 0x94], 0
mov edi, 0x6dc3a848
mov ebx, 0x6dc08d00
jne 0x6dc1e0ec
push dword [ebp + 0xc]
mov byte [esi + 0xc8], 1
push esi
call fcn.6dc093c9
push dword [esi + 0x30]
lea eax, [esi + 0x10]
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x6dc1e167
test byte [esi + 0x9c], 1
jne 0x6dc1e195
mov eax, dword [0x6dc3a848]
cmp eax, edi
je 0x6dc15cd9
test dword [eax + 0x1c], 0x200
jne 0x6dc1e217
mov eax, dword [ebp - 4]
push 1
push 0
push esi
mov dword [esi + 0x98], eax
call sym.DNSAPI.dll_Send_MessagePrivate
pop esi
pop edi
pop ebx
leave
ret 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x98], ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, ebx
jne 0x6dc15ced
mov eax, 0x2736
jmp 0x6dc15ced
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc1e0d6
test dword [eax + 0x1c], 0x400
je 0x6dc1e0d6
push edi
push 0x6dc08d00
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
push ebx
push dword [ebp - 4]
call sym.DNSAPI.dll_Socket_CloseEx
mov dword [esi + 0x98], ebx
mov eax, edi
jmp 0x6dc15cec
mov eax, dword [0x6dc3a848]
cmp eax, edi
je 0x6dc1e10c
test dword [eax + 0x1c], 0x400
je 0x6dc1e10c
push ebx
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc23ea9
push dword [esi + 0x94]
push dword [ebp - 4]
call fcn.6dc306ea
mov dword [ebp + 8], eax
test eax, eax
je 0x6dc15c8e
mov eax, dword [0x6dc3a848]
cmp eax, edi
je 0x6dc1e148
test dword [eax + 0x1c], 0x400
je 0x6dc1e148
push dword [ebp + 8]
push ebx
push 0x37
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
push 0
push dword [ebp - 4]
call sym.DNSAPI.dll_Socket_CloseEx
and dword [esi + 0x98], 0
add esi, 0x10
push esi
call fcn.6dc3156a
jmp 0x6dc1e20f
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp + 8], eax
lea eax, [esi + 0x10]
push eax
call fcn.6dc3156a
mov ecx, dword [0x6dc3a848]
cmp ecx, edi
je 0x6dc1e1f2
test dword [ecx + 0x1c], 0x200
je 0x6dc1e1f2
push dword [ebp + 8]
push eax
push ebx
push 0x38
jmp 0x6dc1e1e7
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x6dc224a4
lea eax, [esi + 0x10]
push eax
push dword [ebp - 4]
call fcn.6dc3098f
test eax, eax
jne 0x6dc1e1bb
cmp dword [ebp + 0xc], eax
jne 0x6dc15cc3
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp + 8], eax
lea eax, [esi + 0x10]
push eax
call fcn.6dc3156a
mov ecx, dword [0x6dc3a848]
cmp ecx, edi
je 0x6dc1e1f2
test dword [ecx + 0x1c], 0x200
je 0x6dc1e1f2
push dword [ebp + 8]
push eax
push ebx
push 0x39
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.6dc283de
xor edi, edi
push edi
push dword [ebp - 4]
call sym.DNSAPI.dll_Socket_CloseEx
mov dword [esi + 0x98], edi
cmp dword [ebp + 8], edi
jne 0x6dc1e20f
mov dword [ebp + 8], 0x2749
mov eax, dword [ebp + 8]
jmp 0x6dc15cec
push dword [ebp - 4]
lea eax, [esi + 0x10]
push esi
push eax
call fcn.6dc3156a
push eax
mov eax, dword [0x6dc3a848]
push ebx
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc2ba39
jmp 0x6dc15cd9