Function at 0x4b399b
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, 0xa8
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x4b3f78
lea rsi, str.127.0.0.1:34254could_not_resolve_to_any_addresses
lea rcx, [rsp + 0x40]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
call fcn.0042e4c0
mov rdi, rax
test dil, 1
je 0x4b3a70
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x4b3a66
mov r9, qword [rsp + 0x40]
cmp byte [r9], 0x3a
jne 0x4b3a66
lea r8, [rcx - 1]
inc r9
xor r10d, r10d
mov bp, 0xa
mov r11, r8
xor ebx, ebx
mov eax, 0
test r11, r11
je 0x4b3a33
movzx r14d, byte [r9]
add r14d, 0xffffffd0
xor eax, eax
cmp r14d, 0xa
setb al
jae 0x4b3a33
inc r9
dec r11
jmp 0x4b3a3d
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r11
cmp eax, 1
jne 0x4b3a87
mov eax, ebx
mul bp
jo 0x4b3a95
mov ebx, eax
add bx, r14w
setb dl
xor eax, eax
cmp r14d, 0xffff
ja 0x4b3a97
test dl, dl
jne 0x4b3a97
dec r10
jmp 0x4b3a0e
xor eax, eax
mov r8, rcx
test ax, ax
jne 0x4b3a9d
lea rax, [0x00537099]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xe
jmp 0x4b3aa6
xor eax, eax
test r10, r10
setne al
cmovne r8, r11
jmp 0x4b3a97
xor eax, eax
cmp ax, 1
jne 0x4b3a68
test r8, r8
je 0x4b3b2d
mov r8d, 0xf
lea rbx, str.invalid_socket_address
mov cl, 0x3a
mov rdx, rsi
call fcn.00430390
cmp rax, 1
jne 0x4b3df7
mov r8, rdx
cmp rdx, 0xe
ja 0x4b3ad7
cmp byte [r8 + rsi], 0x3a
je 0x4b3ae2
cmp r8, 0xf
jbe 0x4b3ab3
jmp 0x4b3df7
lea rbx, [0x00537fd0]
cmp r8, 0xe
je 0x4b3df7
lea rcx, [r8 + rsi]
inc rcx
movzx eax, byte [rcx]
mov r9d, 0xe
cmp eax, 0x2d
je 0x4b3e85
cmp eax, 0x2b
jne 0x4b3e8f
cmp r8, 0xd
je 0x4b3df7
inc rcx
mov r9d, 0xd
jmp 0x4b3e8f
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rcx, qword [0x00576170]
test rcx, rcx
jne 0x4b3b63
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x4b3f92
mov rcx, rax
mov qword [0x00576170], rax
mov r8d, 0x20
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x4b3f92
mov rsi, rax
movabs rax, 0xffffffff00
and rdi, rax
shr rdi, 8
movzx eax, bx
and word [rsi], 0
shl rax, 0x20
or rax, rdi
mov rcx, rax
and rcx, 0xffffffffffffff00
movzx edx, dil
or rdx, rcx
shr rax, 0x20
mov word [rsi + 6], ax
mov dword [rsi + 2], edx
mov rax, qword [rsp + 0x30]
mov qword [rsi + 8], rax
mov eax, dword [rsp + 0x38]
mov dword [rsi + 0x10], eax
and dword [rsi + 0x14], 0
mov rcx, rsi
add rcx, 0x20
mov eax, 1
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rsi
xor r15d, r15d
mov qword [rsp + 0xa0], rcx
cmp rsi, rcx
je 0x4b3ddf
mov rax, rsi
add rsi, 0x20
mov qword [rsp + 0x48], rsi
movzx ebx, word [rax]
cmp bx, 2
je 0x4b3ddf
mov qword [rsp + 0x98], r15
mov r13d, dword [rax + 2]
movzx r12d, word [rax + 6]
mov ecx, dword [rax + 0x14]
mov dword [rsp + 0x6c], ecx
mov r15d, dword [rax + 0x18]
movzx edi, word [rax + 0x1c]
mov eax, dword [rsi - 0x10]
mov dword [rsp + 0x38], eax
mov rax, qword [rsi - 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [0x005761b8]
cmp rax, 3
jne 0x4b3dce
mov ebp, 2
test bx, bx
je 0x4b3c68
mov ebp, 0x17
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 r14, rax
cmp rax, 0xffffffffffffffff
je 0x4b3cd9
shl r12, 0x20
or r13, r12
test bx, bx
je 0x4b3d46
shr r13, 0x10
mov dword [rsp + 0x70], r13d
mov eax, dword [rsp + 0x38]
lea rcx, [rsp + 0x74]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x30]
rol di, 8
mov qword [rcx], rax
movaps xmm0, xmmword [rsp + 0x70]
mov r8d, 0x1c
mov ax, 0x17
mov ecx, dword [rsp + 0x6c]
jmp 0x4b3d61
mov dword [rsp + 0x68], r15d
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x4b3cf8
mov r15d, eax
cmp eax, 0x2726
jne 0x4b3da2
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 0x4b3dc4
mov r14, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
je 0x4b3dd8
mov r15d, dword [rsp + 0x68]
jmp 0x4b3c90
mov rdi, r13
shr rdi, 0x20
rol di, 8
xorps xmm0, xmm0
mov r8d, 0x10
mov ax, 2
mov ecx, r13d
mov word [rsp + 0x70], ax
mov word [rsp + 0x72], di
mov dword [rsp + 0x74], ecx
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x88], r15d
mov rcx, r14
lea rdx, [rsp + 0x70]
call sub.ws2_32.dll_bind
cmp eax, 0xffffffff
jne 0x4b3e53
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
mov rcx, r14
call sub.ws2_32.dll_closesocket
shl r15, 0x20
or r15, 2
mov rcx, qword [rsp + 0x98]
call fcn.004b40d3
mov rcx, qword [rsp + 0xa0]
jmp 0x4b3bf6
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
jmp 0x4b3da2
call fcn.004eab00
jmp 0x4b3c59
call sub.kernel32.dll_GetLastError
jmp 0x4b3d97
lea rcx, [rsp + 0x40]
call fcn.004b412c
test r15, r15
lea rbx, [0x005370d0]
cmovne rbx, r15
mov eax, ebx
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x4b3e3e
test rax, rax
je 0x4b3e3e
lea rsi, [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 0x4b3e31
mov rcx, qword [rbx - 1]
mov rdx, qword [rax + 0x10]
call fcn.00403400
mov edx, 8
mov rcx, rsi
call fcn.00403400
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x40]
call fcn.004b412c
mov rcx, qword [rsp + 0x98]
call fcn.004b40d3
mov rcx, r14
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sub.ws2_32.dll_closesocket
cmp r8, 0xd
je 0x4b3df7
sub r9, r8
cmp r9, 5
jae 0x4b3eea
xor edx, edx
xor eax, eax
movzx r10d, byte [rcx + rdx]
add r10d, 0xffffffd0
cmp r10d, 9
ja 0x4b3df7
imul eax, eax, 0xa
add eax, r10d
inc rdx
cmp r9, rdx
jne 0x4b3e9c
lea rdx, [rsp + 0x40]
mov qword [rdx], rsi
mov qword [rdx + 8], r8
mov word [rdx + 0x10], ax
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.004c6020
cmp qword [rsi], 0
je 0x4b3f26
mov rbx, qword [rsp + 0x78]
jmp 0x4b3df7
xor r10d, r10d
mov r11w, 0xa
xor eax, eax
cmp r9, r10
je 0x4b3ebd
movzx edi, byte [rcx + r10]
mul r11w
seto dl
add edi, 0xffffffd0
cmp edi, 9
ja 0x4b3df7
test dl, dl
jne 0x4b3df7
inc r10
add ax, di
jae 0x4b3ef4
jmp 0x4b3df7
lea rdi, [rsp + 0x70]
movzx eax, word [rdi + 0x18]
movzx ecx, word [rdi + 0x1e]
lea rdx, [rsp + 0x40]
mov word [rdx + 0x16], cx
mov ecx, dword [rdi + 0x1a]
mov dword [rdx + 0x12], ecx
movups xmm0, xmmword [rdi + 8]
lea rcx, [rsp + 0x30]
mov word [rcx], ax
movaps xmmword [rdx], xmm0
mov word [rdx + 0x10], ax
mov qword [rdx + 0x18], rcx
mov rcx, rdi
call fcn.004e0eb0
mov rax, qword [rdi]
mov rsi, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
shl rcx, 5
add rcx, rsi
jmp 0x4b3bd7
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._repos_rust_1.70.0_library_std_src_sync_once.rs
mov edx, 0x2b
call fcn.0042f210
ud2
mov ecx, 0x20
mov edx, 4
call fcn.004043b0
ud2