Function at 0x1400dc340
Capabilities:
Create tcp socket
Create udp socket
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
mov r13, rcx
lea rdi, str.127.0.0.1:34254could_not_resolve_to_any_addresses
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
lea rcx, [rsp + 0x40]
call fcn.1400083a0
mov rbx, rax
test bl, 1
je 0x1400dc45f
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1400dc44a
cmp byte [rcx], 0x3a
jne 0x1400dc44a
mov qword [rsp + 0x38], r13
lea r9, [rcx + 1]
lea r10, [r8 - 1]
xor r11d, r11d
mov si, 0xa
mov rdx, r10
mov r12, r9
xor eax, eax
mov r13d, 0
test rdx, rdx
je 0x1400dc3f7
nop word cs:[rax + rax]
lea r14, [r12 + 1]
lea r15, [rdx - 1]
movzx ebp, byte [r12]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
add ebp, 0xffffffd0
xor r13d, r13d
cmp ebp, 0xa
setb r13b
jb 0x1400dc407
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rdx
mov r15, rdx
mov r14, r12
cmp r13d, 1
jne 0x1400dc82f
mul si
jo 0x1400dc83a
add ax, bp
setb dl
cmp ebp, 0xffff
ja 0x1400dc83a
test dl, dl
jne 0x1400dc83a
dec r11
mov rdx, r15
mov r12, r14
mov r13d, 0
test rdx, rdx
jne 0x1400dc3d0
jmp 0x1400dc3f7
xor edx, edx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r8
test dx, dx
jne 0x1400dc855
xor ebx, ebx
xor eax, eax
movzx ecx, bx
or rcx, rax
cmp rcx, 1
jne 0x1400dc889
cmp qword [rsp + 0x48], 0
jne 0x1400dc8a0
mov rsi, rbx
shr rsi, 0x10
shr rbx, 0x18
xor edi, edi
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
mov rcx, qword [0x140195bd0]
test rcx, rcx
jne 0x1400dc4c9
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400dcd67
mov rcx, rax
mov qword [0x140195bd0], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400dcd67
mov word [rax], di
mov rdx, rbx
shl rdx, 8
movzx ecx, sil
or rcx, rdx
shr rbx, 0x18
mov word [rax + 6], bx
mov dword [rax + 2], ecx
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 8], rcx
mov ecx, dword [rsp + 0xd0]
mov dword [rax + 0x10], ecx
mov dword [rax + 0x14], 0
mov dword [rax + 0x18], ebp
mov word [rax + 0x1c], r14w
mov rcx, rax
add rcx, 0x20
mov qword [rsp + 0xa8], 1
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], r13
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov r13, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xf8], rax
cmp r13, rax
je 0x1400dc7f2
xor ebx, ebx
jmp 0x1400dc5ca
mov rcx, qword [0x140195bd0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x140195bd0]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
or r15, 2
add r13, 0x20
mov rbx, r15
cmp r13, qword [rsp + 0xf8]
je 0x1400dc7f5
movzx edi, word [r13]
cmp di, 2
je 0x1400dca86
mov r12d, dword [r13 + 2]
movzx r14d, word [r13 + 6]
mov eax, dword [r13 + 0x14]
mov dword [rsp + 0x90], eax
mov eax, dword [r13 + 0x18]
mov dword [rsp + 0x94], eax
movzx esi, word [r13 + 0x1c]
mov eax, dword [r13 + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [0x140195bd8]
cmp rax, 3
jne 0x1400dc7e8
test di, di
mov ebp, 0x17
mov eax, 2
cmove 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 sub.ws2_32.dll_WSASocketW
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400dc6b0
shl r14, 0x20
or r12, r14
test di, di
je 0x1400dc720
shr r12, 0x10
mov dword [rsp + 0x60], r12d
mov eax, dword [rsp + 0x48]
lea rcx, [rsp + 0x64]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x40]
rol si, 8
mov qword [rcx], rax
movaps xmm0, xmmword [rsp + 0x60]
mov r8d, 0x1c
mov ax, 0x17
mov ecx, dword [rsp + 0x90]
jmp 0x1400dc73b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400dc6cb
mov r15d, eax
cmp eax, 0x2726
jne 0x1400dc782
mov dword [rsp + 0x28], 1
mov 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 0x1400dc7d1
mov r15, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x1400dc65a
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1400dc776
mov rsi, r12
shr rsi, 0x20
rol si, 8
xorps xmm0, xmm0
mov r8d, 0x10
mov ax, 2
mov ecx, r12d
mov word [rsp + 0x60], ax
mov word [rsp + 0x62], si
mov dword [rsp + 0x64], ecx
movups xmmword [rsp + 0x68], xmm0
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x78], eax
mov rcx, r15
lea rdx, [rsp + 0x60]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1400dca9d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rcx, r15
mov r15d, eax
call qword [sym.imp.ws2_32.dll_closesocket]
shl r15, 0x20
test rbx, rbx
je 0x1400dc5b1
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x1400dc5b1
lea r14, [rbx - 1]
mov rcx, qword [rbx - 1]
mov rax, qword [rbx + 7]
call qword [rax]
mov rax, qword [rbx + 7]
cmp qword [rax + 8], 0
je 0x1400dc59f
mov r8, qword [r14]
cmp qword [rax + 0x10], 0x11
jb 0x1400dc590
mov r8, qword [r8 - 8]
jmp 0x1400dc590
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r15d, eax
shl r15, 0x20
test rbx, rbx
jne 0x1400dc78f
jmp 0x1400dc5b1
call fcn.140125ca0
jmp 0x1400dc61f
xor r15d, r15d
cmp qword [rsp + 0xa0], 0
je 0x1400dc817
mov rcx, qword [0x140195bd0]
xor edx, edx
mov r8, qword [rsp + 0x98]
call qword [sym.imp.kernel32.dll_HeapFree]
test r15, r15
lea rax, [0x14015a020]
cmovne rax, r15
mov r13, qword [rsp + 0x38]
jmp 0x1400dc96e
test r11, r11
je 0x1400dc83a
mov dx, 1
jmp 0x1400dc846
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r10
xor edx, edx
mov r13, qword [rsp + 0x38]
cmp dx, 1
jne 0x1400dc44c
movabs rcx, 0xffffffff00
and rbx, rcx
shr rbx, 8
movzx eax, ax
shl rax, 0x30
shl rbx, 0x10
or rbx, rax
mov eax, 1
movzx ecx, bx
or rcx, rax
cmp rcx, 1
je 0x1400dc473
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
test rcx, rcx
je 0x1400dc98f
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x80], 1
movabs rax, 0x3a0000003a
mov qword [rsp + 0x88], rax
mov r8d, 0xf
jmp 0x1400dc8eb
mov qword [rsp + 0x78], r8
cmp r8, 0xf
ja 0x1400dc957
mov cl, 0x3a
mov rdx, rdi
call fcn.14000b3d0
cmp rax, 1
jne 0x1400dc957
mov r8, rdx
cmp rdx, 0xf
jae 0x1400dc8e0
movzx eax, byte [r8 + rdi]
cmp al, byte [rsp + 0x88]
jne 0x1400dc8e0
lea rax, [r8 + 1]
lea rcx, str.invalid_port_value
cmp rax, 0xf
je 0x1400dc95e
lea r9, [rdi + rax]
movzx edx, byte [r9]
mov r10d, 0xf
cmp edx, 0x2d
je 0x1400dcb26
cmp edx, 0x2b
jne 0x1400dcb30
cmp rax, 0xe
je 0x1400dc95e
inc r9
mov r10d, 0xe
jmp 0x1400dcb30
lea rcx, str.invalid_socket_address
mov qword [rsp + 0xa8], rcx
mov rax, qword [rsp + 0xa8]
mov qword [r13 + 8], rax
mov eax, 1
mov qword [r13], rax
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400dc8a0
mov rcx, qword [rsp + 0x40]
dec rax
movzx edx, byte [rcx]
inc rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
cmp dl, 0x5b
jne 0x1400dc8a0
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.1400089f0
cmp byte [rsp + 0x60], 0
je 0x1400dc8a0
mov ebx, dword [rsp + 0x61]
mov rax, qword [rsp + 0x65]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x6d]
mov dword [rsp + 0xf0], eax
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor r12d, r12d
test rcx, rcx
je 0x1400dcbd1
cmp byte [r8], 0x25
jne 0x1400dcc48
mov qword [rsp + 0x38], r13
lea r10, [r8 + 1]
lea r9, [rcx - 1]
xor r14d, r14d
mov r15d, 0xa
mov r11, r9
mov rsi, r10
xor ebp, ebp
xor r12d, r12d
mov eax, 0
test r11, r11
je 0x1400dca58
movzx r13d, byte [rsi]
add r13d, 0xffffffd0
xor eax, eax
cmp r13d, 0xa
setb al
jae 0x1400dca58
inc rsi
dec r11
cmp eax, 1
jne 0x1400dcc1f
mov eax, ebp
mul r15d
jo 0x1400dcc18
mov ebp, eax
add ebp, r13d
jb 0x1400dcc18
dec r14
mov eax, 0
test r11, r11
jne 0x1400dca3f
jmp 0x1400dca58
mov r15, rbx
cmp qword [rsp + 0xa0], 0
jne 0x1400dc800
jmp 0x1400dc817
cmp qword [rsp + 0xa0], 0
je 0x1400dcabf
mov rcx, qword [0x140195bd0]
xor edx, edx
mov r8, qword [rsp + 0x98]
call qword [sym.imp.kernel32.dll_HeapFree]
test rbx, rbx
mov r13, qword [rsp + 0x38]
je 0x1400dcb1b
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x1400dcb1b
lea rdi, [rbx - 1]
mov rcx, qword [rbx - 1]
mov rax, qword [rbx + 7]
call qword [rax]
mov rax, qword [rbx + 7]
cmp qword [rax + 8], 0
je 0x1400dcb09
mov r8, qword [rdi]
cmp qword [rax + 0x10], 0x11
jb 0x1400dcafa
mov r8, qword [r8 - 8]
mov rcx, qword [0x140195bd0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x140195bd0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [r13 + 8], r15
xor eax, eax
jmp 0x1400dc977
cmp rax, 0xe
je 0x1400dc95e
sub r10, rax
cmp r10, 5
jae 0x1400dcb93
xor edx, edx
xor eax, eax
nop dword [rax]
movzx r11d, byte [r9 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x1400dc95e
add eax, eax
lea eax, [rax + rax*4]
add eax, r11d
inc rdx
cmp r10, rdx
jne 0x1400dcb40
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r8
mov word [rsp + 0x70], ax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x60]
call fcn.1400e72b0
cmp qword [rsp + 0x40], 0
je 0x1400dcbd3
mov rcx, qword [rsp + 0x48]
jmp 0x1400dc95e
xor r11d, r11d
mov si, 0xa
xor eax, eax
nop dword [rax]
cmp r10, r11
je 0x1400dcb63
movzx ebx, byte [r9 + r11]
mul si
seto dl
add ebx, 0xffffffd0
cmp ebx, 9
ja 0x1400dc95e
test dl, dl
jne 0x1400dc95e
inc r11
add ax, bx
jae 0x1400dcba0
jmp 0x1400dc95e
jmp 0x1400dcc48
mov rax, qword [rsp + 0x48]
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x108], xmm0
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0xa8]
lea rdx, [rsp + 0x100]
call fcn.1400e7410
mov rax, qword [rsp + 0xc0]
test rax, rax
jne 0x1400dc54c
jmp 0x1400dc966
mov r13, qword [rsp + 0x38]
jmp 0x1400dcc3a
test r14, r14
mov r13, qword [rsp + 0x38]
je 0x1400dcc37
mov r12d, 1
mov r9, r11
mov r10, rsi
jmp 0x1400dcc3a
xor r12d, r12d
cmp r12d, 1
jne 0x1400dcc48
mov r8, r10
mov rcx, r9
jmp 0x1400dcc4f
test r12d, r12d
cmove ebp, r12d
test rcx, rcx
je 0x1400dc8a0
cmp byte [r8], 0x5d
jne 0x1400dc8a0
mov r9, rcx
dec r9
je 0x1400dccef
cmp byte [r8 + 1], 0x3a
jne 0x1400dccef
add r8, 2
add rcx, 0xfffffffffffffffe
xor r11d, r11d
mov si, 0xa
mov r10, rcx
mov r15, r8
xor r14d, r14d
mov eax, 0
test r10, r10
je 0x1400dccb2
movzx r12d, byte [r15]
add r12d, 0xffffffd0
xor eax, eax
cmp r12d, 0xa
setb al
jae 0x1400dccb2
inc r15
dec r10
jmp 0x1400dccbc
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r10
cmp eax, 1
jne 0x1400dccfe
mov eax, r14d
mul si
jo 0x1400dcd0c
mov r14d, eax
add r14w, r12w
setb al
cmp r12d, 0xffff
ja 0x1400dcd0c
test al, al
jne 0x1400dcd0c
dec r11
mov eax, 0
test r10, r10
jne 0x1400dcc97
jmp 0x1400dccb2
xor eax, eax
mov rcx, r9
test ax, ax
jne 0x1400dcd19
jmp 0x1400dc8a0
test r11, r11
je 0x1400dcd0c
mov ax, 1
mov rcx, r10
jmp 0x1400dcd13
mov qword [rsp + 0x40], r8
xor eax, eax
cmp ax, 1
jne 0x1400dccf1
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0xe0], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xd8], rax
test rcx, rcx
jne 0x1400dc8a0
shl rbx, 8
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x60], rax
mov di, 1
xor esi, esi
jmp 0x1400dc48c
mov ecx, 0x20
mov edx, 4
call fcn.14011dd70
ud2