Function at 0x1000e130
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100798f5
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x10096748]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x80]
call fcn.1000b050
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
push 0xc
lea ecx, [ebp - 0x20]
call fcn.10007270
lea ecx, [ebp - 0x20]
call fcn.100086e0
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0xffffffff
jne 0x1000e1ad
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.10038400
add esp, 0xc
jmp 0x1000e1c5
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10038530
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.10010950
test eax, eax
jne 0x1000e255
mov dword [ebp - 0x48], 1
mov byte [ebp - 0x80], 0
push 0x7df098
lea ecx, [ebp - 0x214]
push ecx
call fcn.10035630
add esp, 8
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
add edx, 8
push edx
lea ecx, [ebp - 0x7c]
call fcn.10010150
lea ecx, [ebp - 0x214]
call fcn.1000ccc0
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000e8a0
mov ecx, dword [ebp - 0x118]
or ecx, 1
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10010930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1000d220
mov eax, dword [ebp + 8]
jmp 0x1000e885
cmp dword [ebp + 0xc], 0xffffffff
je 0x1000e361
cmp dword [ebp + 0x10], 1
jne 0x1000e361
push 0
lea ecx, [ebp - 0x20]
call fcn.10010970
mov edx, dword [eax + 4]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.1002af70
add esp, 8
mov byte [ebp - 4], 2
push 0xc
lea ecx, [ebp - 0x30]
call fcn.10007270
lea ecx, [ebp - 0x30]
call fcn.100086e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
lea edx, [ebp - 0x98]
push edx
call fcn.100054f0
mov dword [ebp - 0x158], eax
call fcn.100166e0
add esp, 0x1c
lea ecx, [ebp - 0x30]
call fcn.10008790
test eax, eax
jbe 0x1000e346
mov dword [ebp - 0x48], 1
mov byte [ebp - 0x80], 0
push 0x10087047
lea ecx, [ebp - 0x7c]
call fcn.10010200
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000e8a0
mov ecx, dword [ebp - 0x118]
or ecx, 1
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.10008710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.10005610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10010930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1000d220
mov eax, dword [ebp + 8]
jmp 0x1000e885
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.10008710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.10005610
mov dword [ebp - 0x128], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.10007270
lea ecx, [ebp - 0x14]
call fcn.100088c0
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x20]
call fcn.10008730
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x1000e3a4
push 0
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10010990
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x20]
call fcn.10008760
push eax
lea ecx, [ebp - 0x14]
call fcn.10008950
movzx eax, al
test eax, eax
je 0x1000e84c
lea ecx, [ebp - 0x14]
call fcn.100088e0
mov ecx, dword [eax]
mov dword [ebp - 0x114], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x110], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x10c], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0xffffffff
jne 0x1000e4c0
mov byte [ebp - 0x80], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.1000af50
add esp, 8
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x138], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x138]
push eax
push 0x1008925c
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.10012cf0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
push edx
lea ecx, [ebp - 0x7c]
call fcn.10010150
lea ecx, [ebp - 0x1a8]
call fcn.10005610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x190]
call fcn.10005610
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000e8a0
mov ecx, dword [ebp - 0x118]
or ecx, 1
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10010930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1000d220
mov eax, dword [ebp + 8]
jmp 0x1000e885
mov edx, dword [0x10097670]
mov dword [ebp - 0x24], edx
push 4
lea eax, [ebp - 0x24]
push eax
push 0x1002
push 0xffff
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [ebp - 0x24]
push edx
push 0x1001
push 0xffff
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.1002af70
add esp, 8
mov byte [ebp - 4], 5
push 0x188
call fcn.100499f5
add esp, 4
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x120], 0
je 0x1000e566
push 0x188
mov ecx, dword [ebp - 0x120]
call fcn.10007270
mov eax, dword [0x1009766c]
push eax
mov ecx, dword [ebp - 0x120]
call fcn.10014d50
mov dword [ebp - 0x12c], eax
jmp 0x1000e570
mov dword [ebp - 0x12c], 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x140], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
mov dword [eax + 4], 0x1000f470
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 8], 0x1000f560
mov edx, dword [ebp - 0x108]
mov dword [edx + 0xc], fcn.10003dc0
mov eax, dword [ebp - 0x108]
mov dword [eax + 0x10], fcn.1000f590
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0x14], 0x1000f850
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x11c]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x108]
mov dl, byte [0x10097661]
mov byte [ecx + 0x4e], dl
mov eax, dword [ebp - 0x108]
mov ecx, dword [0x100976a4]
mov dword [eax + 0x58], ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [0x100976a0]
mov dword [edx + 0x5c], eax
cmp dword [0x1009c41c], 0x64
jl 0x1000e61b
mov dword [0x1009c41c], 0
mov ecx, dword [0x1009c41c]
add ecx, 1
mov dword [0x1009c41c], ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [0x1009c41c]
mov dword [edx + 0xe0], eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.100202a0
add esp, 4
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x108]
add ecx, 0x18
call fcn.10010150
lea ecx, [ebp - 0x178]
call fcn.10005610
mov eax, dword [ebp - 0x108]
mov byte [eax + 0xe4], 0
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x114]
mov dword [ecx + 0x104], edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0xe8
call fcn.10006030
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
mov dword [ecx + 0x108], edx
call fcn.10049da8
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0x10c], eax
mov edx, dword [ebp - 0x108]
mov byte [edx + 0x114], 1
call fcn.10040130
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0x64], eax
mov edx, dword [0x10097668]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x104], 0xb4
jne 0x1000e70d
mov dword [ebp - 0x124], 0xd3d
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0x104], 0x1f4
jl 0x1000e73b
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x104], 0x257
jg 0x1000e73b
mov dword [ebp - 0x124], 0x1b58
mov eax, dword [ebp - 0x108]
mov cx, word [ebp - 0x124]
mov word [eax + 0x100], cx
push 0x604282
lea edx, [ebp - 0x104]
push edx
call fcn.10035630
add esp, 8
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0xe0]
push ecx
lea edx, [ebp - 0x1c0]
push edx
call fcn.1000af50
add esp, 8
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x144]
push ecx
push 3
push 0
push 0x10089274
lea ecx, [ebp - 0xfc]
call fcn.10010250
push eax
lea ecx, [ebp - 0xfc]
call fcn.10010220
push eax
lea ecx, [ebp - 0xfc]
call fcn.10006030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c0]
call fcn.10005610
lea edx, [ebp - 0x104]
push edx
call fcn.10035890
add esp, 4
lea eax, [ebp - 0x108]
push eax
push 0x1000dea0
lea ecx, [ebp - 0x38]
call fcn.10012d30
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x38]
call fcn.1000bdb0
mov byte [ebp - 0x80], 1
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.1000bd60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x104]
call fcn.1000ccc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.10005610
jmp 0x1000e393
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000e8a0
mov eax, dword [ebp - 0x118]
or eax, 1
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10010930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1000d220
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004910b
mov esp, ebp
pop ebp
ret