Function at 0x1400de220
Capabilities:
Create tcp socket
Create udp socket
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
lea rdi, str.127.0.0.1:34254could_not_resolve_to_any_addresses
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x38]
call fcn.140015cd0
mov rbx, rax
test bl, 1
je 0x1400de40d
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x1400de408
mov r10, qword [rsp + 0x38]
cmp byte [r10], 0x3a
jne 0x1400de408
mov r9, r8
dec r9
je 0x1400de408
movabs rax, 0xffffffff00
and rbx, rax
shr rbx, 8
xor r11d, r11d
mov si, 0xa
xor eax, eax
nop word cs:[rax + rax]
movzx ebp, byte [r10 + r11 + 1]
add ebp, 0xffffffd0
cmp ebp, 9
ja 0x1400de2e3
mul si
jo 0x1400de408
mov ecx, eax
add ax, bp
jb 0x1400de408
movsx eax, bp
add eax, ecx
inc r11
cmp r9, r11
jne 0x1400de2b0
xor ecx, ecx
jmp 0x1400de2ec
mov rcx, r9
sub rcx, r11
mov r9d, r11d
mov qword [rsp + 0x40], rcx
test r9d, r9d
je 0x1400de408
movzx eax, ax
shl rax, 0x30
shl rbx, 0x10
or rbx, rax
mov eax, 1
or rax, rbx
cmp ax, 1
jne 0x1400de41e
cmp qword [rsp + 0x40], 0
jne 0x1400de433
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa8], rax
movzx eax, byte [0x14017dea0]
mov edx, 0x20
xor ecx, ecx
call fcn.1400f8170
test rax, rax
je 0x1400de923
mov rsi, rax
mov word [rax], 0
mov rax, rbx
shr rax, 0x10
and rax, 0xffffffffffffff00
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
or rcx, rax
shr rbx, 0x30
mov word [rsi + 6], bx
mov dword [rsi + 2], ecx
mov rax, qword [rsp + 0xa8]
mov qword [rsi + 8], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsi + 0x10], eax
mov dword [rsi + 0x14], 0
mov rax, rsi
add rax, 0x20
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xd0], rax
mov rax, rsi
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
cmp rsi, rax
je 0x1400de7a6
xor edi, edi
jmp 0x1400de544
mov qword [rsp + 0x40], r8
xor ebx, ebx
xor eax, eax
or rax, rbx
cmp ax, 1
je 0x1400de31a
movzx eax, ax
test eax, eax
jne 0x1400de433
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x60], 1
movabs rax, 0x3a0000003a
mov qword [rsp + 0x58], rax
mov bl, 0x3a
mov r8d, 0xf
jmp 0x1400de476
cmp r8, 0xf
ja 0x1400de4ce
mov cl, 0x3a
mov rdx, rdi
call fcn.140017a90
cmp rax, 1
jne 0x1400de4ce
mov r8, rdx
cmp rdx, 0xf
jae 0x1400de470
cmp byte [r8 + rdi], bl
jne 0x1400de470
mov r9, r8
lea rsi, str.invalid_port_value
sub r9, 0xe
je 0x1400de4d5
lea rcx, [r8 + rdi]
inc rcx
cmp r8, 0xd
jne 0x1400de740
movzx eax, byte [rcx]
cmp eax, 0x2b
je 0x1400de4d5
mov r9d, 1
cmp eax, 0x2d
je 0x1400de4d5
jmp 0x1400de7f2
lea rsi, str.invalid_socket_address
mov eax, 1
mov rdx, rsi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [0x14017de28]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
dec rdi
mov rcx, qword [0x14017de28]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
shl r12, 0x20
or r12, 2
add rsi, 0x20
mov rdi, r12
cmp rsi, qword [rsp + 0xd8]
je 0x1400de7a9
movzx r13d, word [rsi]
cmp r13w, 2
je 0x1400de7d8
mov r14d, dword [rsi + 0x14]
mov r12d, dword [rsi + 0x18]
movzx ebx, word [rsi + 0x1c]
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x90], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0x80], xmm0
mov eax, dword [0x14017de08]
cmp eax, 3
jne 0x1400de72e
test r13b, 1
mov ebp, 2
mov eax, 0x17
cmovne ebp, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400de5f0
test r13b, 1
je 0x1400de670
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x82]
jmp 0x1400de68d
mov dword [rsp + 0x6c], r12d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400de610
mov r12d, eax
cmp eax, 0x2726
jne 0x1400de6d3
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400de715
mov r15, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1400de738
mov r12d, dword [rsp + 0x6c]
test r13b, 1
jne 0x1400de5cd
nop dword [rax + rax]
movzx ebx, word [rsp + 0x84]
mov r14d, dword [rsp + 0x80]
xorps xmm0, xmm0
mov r8d, 0x10
mov ax, 2
rol bx, 8
mov word [rsp + 0x38], ax
mov word [rsp + 0x3a], bx
mov dword [rsp + 0x3c], r14d
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], r12d
mov rcx, r15
lea rdx, [rsp + 0x38]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1400de8a5
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
mov rcx, r15
call qword [sym.imp.ws2_32.dll_closesocket]
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400de527
mov r15, qword [rdi - 1]
mov rbx, qword [rdi + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1400de6f6
mov rcx, r15
call rax
cmp qword [rbx + 8], 0
je 0x1400de512
cmp qword [rbx + 0x10], 0x11
jb 0x1400de500
mov r15, qword [r15 - 8]
jmp 0x1400de500
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400de527
jmp 0x1400de6e1
call fcn.14011e640
jmp 0x1400de586
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400de6c7
cmp byte [rcx], 0x2b
jne 0x1400de7e5
lea rcx, [rdi + r8]
add rcx, 2
mov r9d, 0xd
sub r9, r8
cmp r8, 8
ja 0x1400de7f2
xor r10d, r10d
mov r11w, 0xa
xor eax, eax
nop
cmp r9, r10
je 0x1400de823
mul r11w
seto bl
movzx edx, byte [rcx + r10]
add edx, 0xffffffd0
cmp edx, 9
ja 0x1400de4d5
test bl, bl
jne 0x1400de4d5
inc r10
add ax, dx
jae 0x1400de770
jmp 0x1400de4d5
xor r12d, r12d
cmp qword [rsp + 0x78], 0
je 0x1400de7c5
mov rcx, qword [0x14017de28]
xor edx, edx
mov r8, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r12, r12
lea rsi, [0x140164fe8]
cmovne rsi, r12
jmp 0x1400de4d5
mov r12, rdi
cmp qword [rsp + 0x78], 0
jne 0x1400de7b1
jmp 0x1400de7c5
neg r9
cmp r8, 9
jbe 0x1400de764
xor edx, edx
xor eax, eax
nop word cs:[rax + rax]
movzx r10d, byte [rcx + rdx]
add r10d, 0xffffffd0
cmp r10d, 9
ja 0x1400de4d5
add eax, eax
lea eax, [rax + rax*4]
add eax, r10d
inc rdx
cmp r9, rdx
jne 0x1400de800
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r8
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x38]
call fcn.1400ea170
mov rsi, qword [rsp + 0x88]
test byte [rsp + 0x80], 1
jne 0x1400de4d5
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0xe8], xmm0
add byte [rax], al
mov qword [rsp + 0xe0], rsi
lea rcx, [rsp + 0xb8]
lea rdx, [rsp + 0xe0]
call fcn.1400ea3b0
mov rax, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
add byte [rax], al
add byte [rax - 0x7b], cl
ror byte [rdi], 0x85
sti
invalid
invalid
jmp 0x1400de4d5
cmp qword [rsp + 0x78], 0
je 0x1400de8c1
mov rcx, qword [0x14017de28]
xor edx, edx
mov r8, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400de919
mov rsi, qword [rdi - 1]
mov rbx, qword [rdi + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1400de8e0
mov rcx, rsi
call rax
dec rdi
cmp qword [rbx + 8], 0
je 0x1400de907
cmp qword [rbx + 0x10], 0x11
jb 0x1400de8f5
mov rsi, qword [rsi - 8]
mov rcx, qword [0x14017de28]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x14017de28]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
adc eax, 0x42737
xor eax, eax
mov rsi, r15
jmp 0x1400de4da
mov ecx, 4
mov edx, 0x20
call fcn.140118750
int3