Function at 0x140072301
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
movapd xmmword [rsp + 0x130], xmm7
movapd xmmword [rsp + 0x120], xmm6
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x14007295f
lea rsi, str.127.0.0.1:34254__
lea rcx, [rsp + 0x30]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
call fcn.1400124da
mov rdi, rax
test dil, 1
je 0x14007238f
lea rcx, [rsp + 0x30]
call fcn.140012b9e
test ax, ax
je 0x14007238f
movabs rax, 0xffffffff00
and rdi, rax
shr rdi, 8
movzx eax, dx
shl rax, 0x30
shl rdi, 0x10
or rdi, rax
mov eax, 1
jmp 0x140072393
xor edi, edi
xor eax, eax
movzx ecx, di
or rcx, rax
je 0x14007263c
cmp qword [rsp + 0x38], 0
jne 0x14007282a
mov esi, edi
shr esi, 0x10
shr rdi, 0x18
xor r14d, r14d
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov ecx, 0x20
mov edx, 4
call fcn.140074b74
mov word [rax], r14w
mov rcx, rdi
shl rcx, 8
movzx edx, sil
or rdx, rcx
shr rdi, 0x18
mov word [rax + 6], di
mov dword [rax + 2], edx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 8], rcx
mov ecx, dword [rsp + 0x88]
mov dword [rax + 0x10], ecx
and dword [rax + 0x14], 0
mov dword [rax + 0x18], ebx
mov word [rax + 0x1c], bp
lea rcx, [rax + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0xe0], rcx
xor r14d, r14d
xorpd xmm6, xmm6
cmp rax, qword [rsp + 0xe0]
je 0x14007271e
lea r13, [rax + 0x20]
movzx esi, word [rax]
cmp si, 2
je 0x140072721
mov qword [rsp + 0x50], r14
mov r15d, dword [rax + 0x14]
mov edi, dword [rax + 0x18]
movzx r12d, word [rax + 0x1c]
movzx ecx, word [rax + 0x12]
mov word [rsp + 0x70], cx
movups xmm0, xmmword [rax + 2]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140075fee
test si, si
mov ebp, 0x17
mov eax, 2
cmove ebp, eax
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140072538
test si, si
je 0x1400725a8
rol r12w, 8
movupd xmm7, xmmword [rsp + 0x62]
mov r8d, 0x1c
mov ax, 0x17
mov rsi, qword [rsp + 0x50]
jmp 0x1400725cf
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x140072552
mov r14d, eax
cmp eax, 0x2726
jne 0x140072615
mov dword [rsp + 0x28], 1
and dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14007261f
mov rbx, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x140072510
call fcn.140034700
mov r14, rax
mov rcx, rbx
call fcn.140087a6c
jmp 0x140072627
movzx r12d, word [rsp + 0x64]
rol r12w, 8
mov r15d, dword [rsp + 0x60]
movsd xmm7, xmm6
mov r8d, 0x10
mov ax, 2
mov rsi, qword [rsp + 0x50]
mov edi, dword [rsp + 0x5c]
mov word [rsp + 0x30], ax
mov word [rsp + 0x32], r12w
mov dword [rsp + 0x34], r15d
movupd xmmword [rsp + 0x38], xmm7
mov dword [rsp + 0x5c], edi
mov dword [rsp + 0x48], edi
mov rcx, rbx
lea rdx, [rsp + 0x30]
call sub.ws2_32.dll_bind
cmp eax, 0xffffffff
jne 0x140072745
call fcn.14007612c
mov r14, rax
mov rcx, rbx
call fcn.140087a6c
jmp 0x14007262c
shl r14, 0x20
or r14, 2
jmp 0x140072627
call fcn.14007612c
mov r14, rax
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.14007227a
mov rax, r13
jmp 0x140072491
lea rcx, [rsp + 0x30]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
mov edx, 0x5b
call fcn.14001287d
test al, al
je 0x14007281c
lea rdi, [rsp + 0xb0]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001265b
cmp byte [rdi], 0
je 0x14007281c
mov edi, dword [rsp + 0xb1]
mov rax, qword [rsp + 0xb5]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0xbd]
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x30]
mov r14, qword [rcx]
mov r15, qword [rcx + 8]
mov edx, 0x25
call fcn.14001287d
test al, al
je 0x140072789
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
xor ebx, ebx
mov r10d, 0xa
mov r9, rcx
mov r12, r8
xor r11d, r11d
mov eax, 0
test r12, r12
je 0x1400726fb
movzx ebp, byte [r9]
add ebp, 0xffffffd0
xor eax, eax
cmp ebp, 0xa
setb al
jae 0x1400726fb
dec r12
inc r9
cmp eax, 1
jne 0x14007278d
mov eax, ebx
mul r10d
jo 0x1400727a3
mov ebx, eax
add ebx, ebp
jb 0x1400727a3
inc r11
jmp 0x1400726da
mov r13, rax
lea rcx, [rsp + 0xb0]
mov qword [rcx + 0x10], r13
call fcn.14007226b
test r14, r14
lea rcx, str.0R_r_
cmovne rcx, r14
jmp 0x1400728ab
lea rcx, [rsp + 0xb0]
mov qword [rcx + 0x10], r13
call fcn.14007226b
mov rcx, rsi
call fcn.14007227a
mov rcx, rbx
movaps xmm6, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140087a6c
xor eax, eax
jmp 0x1400727b3
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r9
test r11, r11
je 0x1400727a3
mov eax, 1
jmp 0x1400727af
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
xor eax, eax
test eax, eax
jne 0x1400727bd
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
test eax, eax
cmove ebx, eax
lea rcx, [rsp + 0x30]
mov edx, 0x5d
call fcn.14001287d
test al, al
je 0x14007281c
lea rcx, [rsp + 0x30]
call fcn.140012b9e
test ax, ax
je 0x14007281c
mov eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rcx
mov dword [rsp + 0x98], eax
cmp qword [rsp + 0x38], 0
jne 0x14007282a
mov ebp, edx
shl rdi, 8
mov r14w, 1
xor esi, esi
jmp 0x1400723b7
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
lea rbx, [rsp + 0xd8]
mov qword [rbx - 0x28], rsi
mov edi, 0xf
mov qword [rbx - 0x20], rdi
and qword [rbx - 0x18], 0
mov qword [rbx - 0x10], rdi
mov qword [rbx - 8], 1
movabs rax, 0x3a0000003a
mov qword [rbx], rax
cmp rdi, 0xf
ja 0x1400728a4
mov cl, 0x3a
mov rdx, rsi
mov r8, rdi
call fcn.1400134d6
cmp rax, 1
jne 0x1400728a4
mov rdi, rdx
cmp rdx, 0xf
jae 0x14007289a
lea rcx, [rsi + rdi]
mov edx, 1
mov r9d, 1
mov r8, rbx
call fcn.140011bb6
test al, al
jne 0x1400728d4
mov qword [rsp + 0xc8], rdi
jmp 0x14007285d
lea rcx, str._b_r_
call fcn.140072284
movaps xmm6, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rdi + rsi]
inc rcx
mov edx, 0xe
sub rdx, rdi
call fcn.140013b65
test al, 1
jne 0x14007291c
shr eax, 0x10
lea rdx, [rsp + 0xb0]
mov qword [rdx], rsi
mov qword [rdx + 8], rdi
mov word [rdx + 0x10], ax
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140075df7
cmp qword [rsi], 0
je 0x140072925
mov rcx, qword [rsp + 0x38]
jmp 0x1400728ab
lea rcx, str.Pb_r_
jmp 0x1400728ab
mov rax, qword [rsp + 0x38]
movups xmm0, xmmword [rsp + 0x40]
lea rdx, [rsp + 0xe8]
movups xmmword [rdx + 8], xmm0
mov qword [rdx], rax
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140075ea2
cmp qword [rsi], 0
jne 0x14007243e
mov rcx, qword [rsp + 0x68]
jmp 0x1400728ab
ud2