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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f038b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x1011cfc0]
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 0x1009ea2d
xor esi, esi
jmp 0x1009eab5
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1009ea46
call edi
xor esi, esi
jmp 0x1009eab5
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 0x1009ea73
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call edi
xor esi, esi
jmp 0x1009eab5
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 0x1009eaa1
call dword [sym.imp.WS2_32.dll_closesocket]
call edi
xor esi, esi
jmp 0x1009eab5
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 - 0x1e4]
push esi
push eax
call fcn.1009ec30
add esp, 8
cmp byte [ebp - 0x1cc], 0
jne 0x1009eb63
mov edi, dword [ebp - 0x1e4]
mov esi, dword [ebp - 0x1e0]
test edi, edi
jne 0x1009eae6
test esi, esi
je 0x1009eb0c
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 - 0x1d8]
push dword [ebp - 0x1dc]
call dword [sym.imp.HTTPAPI.dll_HttpCloseServerSession]
mov eax, dword [ebp - 0x1d4]
test eax, eax
je 0x1009eb1d
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 0x1009ea10
xor eax, eax
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.100be9a9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1e0]
push 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call fcn.100be635
add esp, 4
test eax, eax
je 0x1009ebb1
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
jmp 0x1009ebb3
xor eax, eax
mov dword [ebp - 0x1bc], eax
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x1009e0e0
push 0
push 0
call fcn.100cfc45
add esp, 0x18
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x1009ec0b
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x1009ec1c
push ecx
push eax
call fcn.100a787a
add esp, 8
test eax, eax
jne 0x1009ec1c
mov eax, esi
jmp 0x1009eb48
push 6
mov dword [ebp - 0x1c0], 0
call fcn.100a742a
push 1
call fcn.100a742a
int3