Function at 0x1000e5a0
Capabilities:
Connect socket
Send data
Send data on socket

Disassembly:
mov eax, dword [0x1002650c]
sub esp, 0x210
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push esi
jne 0x1000e606
mov ax, word [0x10026836]
cmp ax, bx
je 0x1000e606
mov cl, byte [0x10027940]
neg cl
sbb ecx, ecx
and ecx, 0x1002783c
push ecx
push 0x1002672c
push 0x10026520
push eax
push 0x10026624
call fcn.1000de20
add esp, 0x14
test al, al
jne 0x1000e606
pop esi
mov dword [0x1002650c], ebx
pop ebp
mov dword [0x10026728], 0xffffffff
pop ebx
add esp, 0x210
ret
mov edx, dword [0x1002650c]
mov esi, dword [sym.imp.WSOCK32.dll_connect]
push 0x10
push 0x10026510
push edx
call esi
or ebp, 0xffffffff
mov dword [0x10026728], eax
cmp eax, ebp
jne 0x1000e6d6
cmp dword [0x1002650c], ebx
jne 0x1000e6d6
mov ax, word [0x10026836]
cmp ax, bx
je 0x1000e6d6
mov cl, byte [0x10027940]
neg cl
sbb ecx, ecx
and ecx, 0x1002783c
push ecx
push 0x1002672c
push 0x10026520
push eax
push 0x10026624
call fcn.1000de20
add esp, 0x14
test al, al
jne 0x1000e699
mov edx, dword [0x1002650c]
push edx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [0x10026728], ebp
pop esi
mov dword [0x1002650c], ebx
pop ebp
xor al, al
pop ebx
add esp, 0x210
ret
mov eax, dword [0x1002650c]
push 0x10
push 0x10026510
push eax
call esi
cmp eax, ebp
mov dword [0x10026728], eax
jne 0x1000e6d6
mov ecx, dword [0x1002650c]
push ecx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [0x10026728], ebp
pop esi
mov dword [0x1002650c], ebx
pop ebp
xor al, al
pop ebx
add esp, 0x210
ret
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
push edx
stosb byte es:[edi], al
call fcn.1000dd50
mov esi, dword [esp + 0x22c]
mov ecx, ebp
mov edi, esi
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x10026520
mov edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x1002672c
add edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], edx
mov edx, ecx
mov ecx, dword [esp + 0x22c]
add edx, ecx
lea edi, [esp + 0x18]
mov ecx, ebp
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
add edx, eax
lea edi, [ecx + edx + 0x20]
mov eax, edi
and eax, 0xf
je 0x1000e760
mov ecx, 0x10
sub ecx, eax
add edi, ecx
add edi, 0x12c
push edi
call sub.MSVCRT.dll_malloc
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
or ecx, 0xffffffff
mov dword [ebp], 0xcef1b7c1
mov dword [ebp + 8], ebx
mov edi, esi
xor eax, eax
mov dword [ebp + 4], 0x6addaf8
mov dword [ebp + 0xc], ebx
lea ebx, [ebp + 0x30]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ebx + 8]
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x228]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x10026520
mov esi, 0x10026520
lea edx, [edx + ecx + 2]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10026520
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x1c]
lea edx, [edx + ecx + 2]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x1002672c
lea edx, [edx + ecx + 2]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, 0x1002672c
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1002672c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, dword [esp + 0x22c]
lea eax, [edx + ecx + 2]
mov ecx, dword [esp + 0x230]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov esi, 0
lea edi, [esp + 0x121]
lea eax, [eax + ecx + 2]
mov ecx, 0x40
cdq
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub edx, 8
sbb eax, esi
mov dword [ebx], edx
mov dword [ebx + 4], eax
xor eax, eax
mov byte [esp + 0x120], 0
lea edx, [esp + 0x120]
rep stosd dword es:[edi], eax
mov ecx, dword [0x10026508]
mov dword [esp + 0x14], esi
stosw word es:[edi], ax
push ecx
push edx
push 0x10027944
push 0x10026520
stosb byte es:[edi], al
call fcn.1000f0f0
mov eax, dword [0x10026508]
lea ecx, [esp + 0x130]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x20]
push edx
push eax
push ecx
push ebx
call fcn.10011460
mov edx, dword [esp + 0x3c]
add esp, 0x2c
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x11c]
add edx, 0x20
rep stosd dword es:[edi], eax
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], esi
push esi
mov dword [ebp + 0x14], esi
push eax
mov ecx, dword [0x1002650c]
push ebp
push ecx
call dword [sym.imp.WSOCK32.dll_send]
push ebp
call sub.MSVCRT.dll_free
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret