Function at 0x1000fdfc
Capabilities:
Create thread
Print debug messages
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push edi
mov dword [ebp - 0xf4], ecx
push 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0xf4]
call fcn.1000fbe3
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000fef9
mov eax, dword [ebp - 0xf4]
mov cx, word [eax + 0x114]
push ecx
mov ecx, dword [ebp - 0xf4]
call fcn.1000fb68
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0
jmp 0x1000fe68
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x400
jge 0x1000feb3
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 0x128]
mov edx, dword [ebp - 0x28]
cmp dword [ecx + edx*8], 0
jne 0x1000feb1
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 0x128]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov dword [ecx + edx*8], eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx + 0x128]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov dword [edx + eax*8 + 4], ecx
jmp 0x1000fe5f
mov dword [ebp - 0x24], 0
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x24], edx
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0x1000fca1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 0x14], 0
jle 0x1000ff6e
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x1000ff5a
jmp 0x1000ff6e
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x1000ff32
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x1000ffaa
mov byte [ebp - 0x8c], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x8b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
push eax
push 0x1008c230
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x1000fff0
mov byte [ebp - 0xf0], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0xef]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 0xc]
push edx
push 0x1008c244
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x10]
pop edi
mov esp, ebp
pop ebp
ret 8