Function at 0x10006c22
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x10
call fcn.100175e6
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.100175e6
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1003239d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
push 0x10032dd6
push 0x10032dd2
push 0x10032dda
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0xc], esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push eax
push 0x10
call fcn.100175e6
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
call dword [0x10032e72]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10006d1b
push 0x26
push 0x401f9f6
push 6
call fcn.100175fe
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.10017a40
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10006d72
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10006d70
imul eax, dword [edi]
jmp 0x10006d65
mov ecx, eax
cmp ecx, 8
jle 0x10006d7c
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.100175ec
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [0x10032d52]
call dword [sym.imp.WS2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10006dc9
push 0x82
push 0x401f9f6
push 6
call fcn.100175fe
add esp, 0xc
mov ebx, dword [ebp - 0xc]
cmp word [ebx], ax
jne 0x10006e2b
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov eax, dword [0x10032dce]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [0x10032dca]
call dword [sym.imp.WS2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10006e20
push 0xea
push 0x401f9f6
push 6
call fcn.100175fe
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov word [ebx], ax
call fcn.10007062
mov dword [ebp - 0xc], esp
push dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push eax
push 0x10
call fcn.100175e6
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_connect]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10006eab
push 0x133
push 0x401f9f6
push 6
call fcn.100175fe
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.10017a40
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10006f02
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10006f00
imul eax, dword [edi]
jmp 0x10006ef5
mov ecx, eax
cmp ecx, 8
jle 0x10006f0c
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.100175ec
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push eax
push 0x10
call fcn.100175e6
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10006fa1
push 0x15c
push 0x401f9f6
push 6
call fcn.100175fe
add esp, 0xc
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.10017a40
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10006ff7
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10006ff5
imul eax, dword [edi]
jmp 0x10006fea
mov ecx, eax
cmp ecx, 8
jle 0x10007001
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.100175ec
add esp, 4
push 0x10032dd6
push 0x10032dd2
push 0x10032dda
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov eax, dword [ebp - 8]
jmp 0x10007036
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100175ec
add esp, 4
pop ebx
call fcn.100175ec
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc