Function at 0x100092bb
Capabilities:
Create tcp socket
Get hostname
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 9
mov dword [ebp - 4], 0
push 0x3e8
mov eax, dword [ebp + 8]
add eax, 0x194
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x100092f9
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x194], 0
push 0x280
call fcn.1000d152
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10009319
mov eax, 0x302
jmp 0x1000956a
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 0x32
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0xb6
ja case.0x10009346.2
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [eax + 0x1000957c]
jmp dword [edx*4 + 0x10009570]
mov ecx, dword [ebp - 8]
push ecx
call fcn.1000d1de
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.1000d152
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10009378
mov eax, 0x302
jmp 0x1000956a
jmp 0x1000938e
mov eax, 0x302
jmp 0x1000956a
mov eax, 0x302
jmp 0x1000956a
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x10009560
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x190], ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [ebp - 0x10], 0
je 0x1000955e
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*4], 0xffffffff
jne 0x1000940b
mov dword [ebp - 0xc], 0x31
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x100093be
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [eax + edx*4 + 0x57c], ecx
mov word [ebp - 0x20], 2
mov edx, dword [ebp - 0x10]
add edx, 0x1b0
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov ax, word [edx + ecx*4 + 0x57c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov ecx, 1
test ecx, ecx
je 0x10009503
push 0x10
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x100094b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x57c]
add ecx, 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [ebp + 8]
mov dword [edx + eax*4 + 0x57c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov ax, word [edx + ecx*4 + 0x57c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
jmp 0x100094bb
jmp 0x10009503
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
add eax, 0xc8
mov ecx, dword [ebp + 8]
cmp dword [ecx + edx*4 + 0x57c], eax
jbe 0x100094fe
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4], 0xffffffff
mov dword [ebp - 0xc], 0x32
jmp 0x10009503
jmp 0x10009451
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x10009544
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4], 0xffffffff
mov dword [ebp - 0xc], 0x31
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x100093be
jmp 0x10009567
mov eax, 0x302
jmp 0x1000956a
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc