Function at 0x10095600
Capabilities:
Create tcp socket
Get local ipv4 addresses
Get socket information
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8e94
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x10131fa8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x1c0], 0
nop dword [eax]
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1009565d
xor esi, esi
jmp 0x100956e5
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10095676
call edi
xor esi, esi
jmp 0x100956e5
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 2
push eax
push esi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x100956a3
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call edi
xor esi, esi
jmp 0x100956e5
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
push esi
cmp eax, 0xffffffff
jne 0x100956d1
call dword [sym.imp.WS2_32.dll_closesocket]
call edi
xor esi, esi
jmp 0x100956e5
call dword [sym.imp.WS2_32.dll_closesocket]
call edi
push dword [ebp - 0x1e]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx esi, ax
lea eax, [ebp - 0x200]
push esi
push eax
call fcn.10095990
add esp, 8
cmp byte [ebp - 0x1e8], 0
jne 0x10095779
mov edi, dword [ebp - 0x200]
mov esi, dword [ebp - 0x1fc]
test edi, edi
jne 0x10095712
test esi, esi
je 0x10095738
push 1
push 0
push esi
push edi
call dword [sym.imp.HTTPAPI.dll_HttpRemoveUrlFromUrlGroup]
push esi
push edi
call dword [sym.imp.HTTPAPI.dll_HttpCloseUrlGroup]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
call dword [sym.imp.HTTPAPI.dll_HttpCloseServerSession]
mov eax, dword [ebp - 0x1f0]
test eax, eax
je 0x10095749
push eax
call dword [sym.imp.HTTPAPI.dll_HttpCloseRequestQueue]
push 0
push 1
call dword [sym.imp.HTTPAPI.dll_HttpTerminate]
mov esi, dword [ebp - 0x1c0]
mov edi, dword [sym.imp.WS2_32.dll_WSACleanup]
inc esi
mov dword [ebp - 0x1c0], esi
cmp esi, 0x3e8
jl 0x10095640
xor eax, eax
jmp 0x1009596f
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1fc]
push 0x18
mov dword [ebp - 0x14], eax
call fcn.100ca2cf
mov edi, eax
add esp, 4
test edi, edi
je 0x100957c9
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
jmp 0x100957cb
xor edi, edi
mov dword [ebp - 0x1bc], edi
lea eax, [ebp - 0x1d4]
mov dword [ebp - 4], 0
push eax
call fcn.1009e4c0
add esp, 4
test eax, eax
je 0x100957f4
push eax
call fcn.1009e0f0
add esp, 4
mov eax, dword [ebp - 0x1d4]
mov byte [ebp - 0x1c4], 1
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 1
push 1
push eax
call fcn.1009de7d
add esp, 8
test eax, eax
je 0x10095829
push eax
call fcn.1009e0f0
add esp, 4
mov eax, dword [ebp - 0x1d0]
mov byte [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
push eax
mov byte [ebp - 4], 2
mov byte [ebp - 0x1cc], 0
call fcn.1009ded0
add esp, 4
test eax, eax
je 0x10095857
push eax
call fcn.1009e0f0
add esp, 4
mov dword [ebp - 0x1d8], 0x1010bc98
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c8], edi
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1e0]
push 0x1000cd10
push eax
call fcn.1009e21c
add esp, 0xc
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x100958a8
push ecx
call fcn.1009e0f0
add esp, 4
cmp byte [ebp - 0x1cc], 0
jne 0x100958db
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
call fcn.1009e512
add esp, 8
test eax, eax
je 0x100958d2
push eax
call fcn.1009e0f0
add esp, 4
cmp byte [ebp - 0x1cc], 0
je 0x100958b1
mov eax, dword [ebp - 0x1c8]
test eax, eax
je 0x100958f0
push 0x18
push eax
call fcn.100ca2ff
add esp, 8
mov edi, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1d4]
push edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c0], eax
call fcn.1009def5
add esp, 4
test eax, eax
je 0x1009591c
push eax
call fcn.1009e0f0
add esp, 4
push edi
call fcn.1009de39
push dword [ebp - 0x1c0]
call fcn.1009e489
add esp, 8
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 4], 5
test eax, eax
jne 0x10095951
push 1
call fcn.1009e11d
mov eax, dword [ebp - 0x1dc]
add esp, 4
push eax
push dword [ebp - 0x1e0]
call fcn.1009e1a1
add esp, 8
test eax, eax
je 0x1009596d
push eax
call fcn.1009e0f0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ca30d
mov esp, ebp
pop ebp
ret