Function at 0x1400760a0
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
movdqa xmmword [rsp + 0x230], xmm7
movdqa xmmword [rsp + 0x220], xmm6
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r8
lea rcx, [rsp + 0x30]
call dbg.read_ipv4_addr
mov r15, rax
test r15b, 1
je 0x140076182
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x140076150
mov rax, qword [rsp + 0x30]
lea rcx, [r14 - 1]
movzx edx, byte [rax]
inc rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
cmp dl, 0x3a
jne 0x140076150
mov dword [rsp + 0xb0], 0xa
mov qword [rsp + 0xa0], 0
mov byte [rsp + 0xb4], 1
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
call dbg.read_atomically<u16, core::net::parser::{impl#0}::read_number::{closure_env#0}<u16>>
cmp ax, 1
jne 0x140076152
jmp 0x14007615c
xor eax, eax
mov qword [rsp + 0x38], r14
test ax, ax
je 0x140076182
movabs rax, 0xffffffff00
and r15, rax
shr r15, 8
movzx eax, dx
shl rax, 0x30
shl r15, 0x10
or r15, rax
mov eax, 1
jmp 0x140076187
xor r15d, r15d
xor eax, eax
or rax, r15
cmp ax, 1
je 0x140076298
movzx ecx, ax
mov rax, rbx
test ecx, ecx
jne 0x14007629d
test rbx, rbx
je 0x1400764b6
lea rax, [rbx - 1]
lea rcx, [rdi + 1]
movzx edx, byte [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
cmp dl, 0x5b
jne 0x1400764b6
pxor xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
mov r8d, 8
call dbg.read_groups
cmp rax, 8
jne 0x14007632b
movdqa xmm6, xmmword [rsp + 0xa0]
movdqa xmm0, xmm6
psrlw xmm0, 8
psllw xmm6, 8
por xmm6, xmm0
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
xor r13d, r13d
test r8, r8
je 0x1400763e3
cmp byte [rcx], 0x25
jne 0x14007640d
lea r11, [r8 - 1]
lea r10, [rcx + 1]
xor r14d, r14d
mov ebp, 0xa
mov qword [rsp + 0x28], r11
mov r15, r10
xor r12d, r12d
xor r13d, r13d
mov eax, 0
test r11, r11
je 0x140076273
movzx r9d, byte [r15]
add r9d, 0xffffffd0
xor eax, eax
cmp r9d, 0xa
setb al
jae 0x140076273
dec r11
inc r15
cmp eax, 1
jne 0x1400763e5
mov eax, r14d
mul ebp
jo 0x1400763fd
mov r14d, eax
add r14d, r9d
jb 0x1400763fd
inc r12
jmp 0x140076250
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1400764c0
mov edi, r15d
shr edi, 0x10
shr r15, 0x18
xor ebx, ebx
movzx eax, byte [0x1400a41f8]
mov ecx, 0x20
mov edx, 4
call sym.__rust_alloc
test rax, rax
je 0x140076a65
mov word [rax], bx
mov rcx, r15
shl rcx, 8
movzx edx, dil
or rdx, rcx
shr r15, 0x18
mov word [rax + 6], r15w
mov dword [rax + 2], edx
movq qword [rax + 8], xmm6
pshufd xmm0, xmm6, 0xee
movd dword [rax + 0x10], xmm0
mov dword [rax + 0x14], 0
mov dword [rax + 0x18], r14d
mov word [rax + 0x1c], bp
mov rcx, rax
add rcx, 0x20
mov qword [rsi], rax
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rcx
jmp 0x140076577
test dl, 1
jne 0x1400764b6
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400764b6
mov rdx, qword [rsp + 0x30]
cmp byte [rdx], 0x3a
jne 0x1400764b6
cmp rcx, 1
je 0x1400764b6
add rcx, 0xfffffffffffffffe
movzx r8d, byte [rdx + 1]
add rdx, 2
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
cmp r8b, 0x3a
jne 0x1400764b6
mov qword [rsp + 0x6e], 0
mov qword [rsp + 0x68], 0
mov r8d, 7
sub r8, rax
jb 0x140076af7
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x68]
call dbg.read_groups
mov ecx, 8
sub rcx, rax
jb 0x140076b10
cmp rax, 8
je 0x140076b23
lea rcx, [rsp + rcx*2]
add rcx, 0xa0
add rax, rax
lea rdx, [rsp + 0x68]
mov r8, rax
call sym.memcpy
jmp 0x1400761f8
jmp 0x14007640d
test r12, r12
je 0x1400763fa
mov r13d, 1
mov qword [rsp + 0x28], r11
mov r10, r15
jmp 0x1400763fd
xor r13d, r13d
cmp r13d, 1
jne 0x14007640d
mov rcx, r10
mov r8, qword [rsp + 0x28]
jmp 0x140076414
test r13d, r13d
cmove r14d, r13d
test r8, r8
je 0x1400764b6
cmp byte [rcx], 0x5d
jne 0x1400764b6
mov r15, r8
dec r15
je 0x140076483
add r8, 0xfffffffffffffffe
movzx eax, byte [rcx + 1]
add rcx, 2
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
cmp al, 0x3a
jne 0x140076483
mov dword [rsp + 0xb0], 0xa
mov qword [rsp + 0xa0], 0
mov byte [rsp + 0xb4], 1
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
call dbg.read_atomically<u16, core::net::parser::{impl#0}::read_number::{closure_env#0}<u16>>
mov ebp, edx
cmp ax, 1
jne 0x140076485
jmp 0x14007648f
xor eax, eax
mov qword [rsp + 0x38], r15
test ax, ax
je 0x1400764b6
xor eax, eax
test al, al
jne 0x1400764c0
cmp qword [rsp + 0x38], 0
jne 0x1400764c0
movd r15d, xmm6
pshufd xmm6, xmm6, 0xf9
shl r15, 8
mov bx, 1
xor edi, edi
jmp 0x1400762b2
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xc0], 1
movabs rax, 0x3a0000003a
mov qword [rsp + 0xc8], rax
mov bpl, 0x3a
mov r14, rbx
jmp 0x140076515
cmp r14, rbx
ja 0x140076565
mov cl, 0x3a
mov rdx, rdi
mov r8, r14
call dbg.memrchr
cmp rax, 1
jne 0x140076565
mov r14, rdx
cmp rdx, rbx
jae 0x140076510
cmp byte [rdi + r14], bpl
jne 0x140076510
lea r12, [r14 + 1]
lea rcx, str.p_t_
sub rbx, r12
je 0x14007656c
lea r8, [rdi + r14]
inc r8
movzx eax, byte [r8]
cmp eax, 0x2d
je 0x14007659b
cmp eax, 0x2b
jne 0x1400765a1
dec rbx
je 0x14007656c
inc r8
jmp 0x1400765a1
lea rcx, str.__t_
mov qword [rsi + 8], rcx
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x220]
movaps xmm7, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp rbx, 1
je 0x14007656c
cmp rbx, 5
jae 0x14007663b
xor eax, eax
xor r15d, r15d
movzx edx, byte [r8 + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x14007656c
add r15d, r15d
lea r15d, [r15 + r15*4]
add r15d, edx
inc rax
cmp rbx, rax
jne 0x1400765b0
mov rax, qword [0x1400a4158]
cmp rax, 3
jne 0x140076a36
cmp r14, 0x17f
ja 0x140076a48
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call sym.memcpy
mov byte [rsp + r14 + 0xa0], 0
cmp r14, 0xe
ja 0x14007668f
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [rsp + rcx + 0xa0], 0
je 0x14007673f
inc rcx
cmp r12, rcx
jne 0x140076620
jmp 0x14007679d
xor r9d, r9d
mov r10w, 0xa
xor r15d, r15d
nop word cs:[rax + rax]
cmp rbx, r9
je 0x1400765cf
movzx r11d, byte [r8 + r9]
mov eax, r15d
mul r10w
seto dl
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x14007656c
test dl, dl
jne 0x14007656c
mov r15d, eax
inc r9
add r15w, r11w
jae 0x140076650
jmp 0x14007656c
lea rax, [rsp + 0xa7]
and rax, 0xfffffffffffffff8
sub rax, rbx
je 0x1400766c5
je 0x1400766c5
xor ecx, ecx
cmp byte [rsp + rcx + 0xa0], 0
je 0x14007673f
inc rcx
cmp rax, rcx
jne 0x1400766a4
lea rcx, [r14 - 0xf]
cmp rax, rcx
jbe 0x1400766cb
jmp 0x14007671a
lea rcx, [r14 - 0xf]
xor eax, eax
movabs rdx, 0xfefefefefefefeff
movabs r8, 0x8080808080808080
mov r9, qword [rsp + rax + 0xa0]
mov r10, r9
not r10
add r9, rdx
and r10, r8
test r10, r9
jne 0x14007671a
mov r9, qword [rsp + rax + 0xa8]
mov r10, r9
not r10
add r9, rdx
and r10, r8
test r10, r9
jne 0x14007671a
add rax, 0x10
cmp rax, rcx
jbe 0x1400766df
sub r12, rax
je 0x14007679d
lea rdx, [rsp + rax]
add rdx, 0xa0
xor ecx, ecx
cmp byte [rdx + rcx], 0
je 0x14007673c
inc rcx
cmp r12, rcx
jne 0x14007672c
jmp 0x14007679d
add rcx, rax
cmp rcx, r14
jne 0x14007679d
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x98]
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x140076805
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x1400767a4
lea rax, str._bC_t_
mov qword [rsp + 0x70], rax
mov eax, 1
test rax, rax
je 0x1400767bd
mov rcx, qword [rsp + 0x70]
jmp 0x14007656c
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400767f2
movzx ebp, word [rsp + 0x80]
mov r8, qword [rax + 0x20]
mov r13, qword [rax + 0x28]
movzx edx, word [r8]
cmp edx, 0x17
je 0x14007684b
cmp edx, 2
je 0x140076824
mov rax, r13
test r13, r13
jne 0x1400767d4
call fcn.14008424c
mov eax, 4
xor ebx, ebx
xor ecx, ecx
jmp 0x140076a1b
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov word [rsp + 0x80], r15w
xor eax, eax
jmp 0x1400767ae
mov qword [rsp + 0x28], rcx
cmp qword [rax + 0x10], 0x10
jb 0x140076ac8
mov ebx, dword [r8 + 4]
mov eax, ebx
shr eax, 0x10
movd xmm6, eax
pinsrw xmm6, ebp, 1
xor r15d, r15d
jmp 0x140076873
mov qword [rsp + 0x28], rcx
cmp qword [rax + 0x10], 0x1b
jbe 0x140076add
movdqu xmm6, xmmword [r8 + 8]
mov r14d, dword [r8 + 4]
mov edi, dword [r8 + 0x18]
pshufd xmm7, xmm6, 0xf9
mov r15w, 1
movzx eax, byte [0x1400a41f8]
mov ecx, pe_nt_image_headers64
mov edx, 4
call sym.__rust_alloc
test rax, rax
je 0x140076a76
mov word [rax], r15w
mov word [rax + 2], bx
movd dword [rax + 4], xmm6
movq qword [rax + 8], xmm7
pshufd xmm0, xmm7, 0xee
movd dword [rax + 0x10], xmm0
mov dword [rax + 0x14], r14d
mov dword [rax + 0x18], edi
mov word [rax + 0x1c], bp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 4
mov qword [rsp + 0xb0], 1
mov ebx, 1
test r13, r13
je 0x140076a01
lea r9, [rsp + 0xa0]
lea rcx, [0x140095ba0]
mov qword [rsp + 0x90], rcx
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
mov qword [rsp + 0x88], rcx
jmp 0x140076965
pshufd xmm0, xmm6, 0xf9
mov rcx, rbx
shl rcx, 5
mov word [rax + rcx], di
mov word [rax + rcx + 2], r15w
movd dword [rax + rcx + 4], xmm7
pshufd xmm1, xmm0, 0xee
movd dword [rax + rcx + 0x10], xmm1
movq qword [rax + rcx + 8], xmm0
mov dword [rax + rcx + 0x14], r12d
mov edx, dword [rsp + 0x64]
mov dword [rax + rcx + 0x18], edx
mov ebp, r14d
mov word [rax + rcx + 0x1c], bp
inc rbx
mov qword [rsp + 0xb0], rbx
test r13, r13
je 0x140076a01
mov rdx, r13
mov rcx, qword [rdx + 0x20]
mov r13, qword [rdx + 0x28]
movzx r8d, word [rcx]
cmp r8d, 0x17
je 0x1400769af
cmp r8d, 2
je 0x14007698a
mov rdx, r13
test r13, r13
jne 0x140076968
jmp 0x140076a01
cmp qword [rdx + 0x10], 0x10
jb 0x140076a87
mov r15d, dword [rcx + 4]
mov ecx, r15d
shr ecx, 0x10
movd xmm7, ecx
mov r14d, ebp
pinsrw xmm7, ebp, 1
xor edi, edi
jmp 0x1400769d5
cmp qword [rdx + 0x10], 0x1b
jbe 0x140076a8e
mov r14d, ebp
movdqu xmm6, xmmword [rcx + 8]
mov r12d, dword [rcx + 4]
mov ecx, dword [rcx + 0x18]
mov dword [rsp + 0x64], ecx
mov di, 1
movdqa xmm7, xmm6
cmp rbx, qword [rsp + 0xa8]
jne 0x14007690f
mov rbp, r9
mov rcx, r9
mov rdx, rbx
call dbg.do_reserve_and_handle<core::net::socket_addr::SocketAddr, alloc::alloc::Global>
mov rax, qword [rsp + 0xa0]
mov r9, rbp
jmp 0x14007690f
mov rcx, qword [rsp + 0x28]
call fcn.14008424c
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
shl rbx, 5
add rbx, rax
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rbx
jmp 0x140076577
call dbg.initialize<unsafe extern "system" fn() -> i32, std::sync::once_lock::{impl#0}::get_or_init::{closure_env#0}<unsafe extern "system" fn() -> i32, std::sys::windows::net::init::{closure_env#0}>, !>
cmp r14, 0x17f
jbe 0x1400765ed
lea rcx, [rsp + 0x68]
mov rdx, rdi
mov r8, r14
mov r9d, r15d
call dbg.run_with_cstr_allocating<std::sys_common::net::LookupHost, std::sys_common::net::{impl#6}::try_from::{closure_env#0}>
mov rax, qword [rsp + 0x68]
jmp 0x1400767ae
mov ecx, 4
mov edx, 0x20
call dbg.handle_alloc_error
ud2
mov ecx, 4
mov edx, pe_nt_image_headers64
call dbg.handle_alloc_error
jmp 0x140076af5
mov edx, 0x42
jmp 0x140076ab1
mov edx, 0x43
lea rax, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
mov qword [rsp + 0x88], rax
lea rax, str.z__t_
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call dbg.panic
jmp 0x140076af5
lea r8, [0x140095ba0]
mov edx, 0x42
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
jmp 0x140076af0
lea r8, str.z__t_
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
call dbg.panic
ud2
lea rax, [0x14008cae8]
mov edx, 7
mov rcx, r8
mov r8, rax
call dbg.slice_end_index_len_fail
ud2
lea r8, [0x14008cb00]
mov edx, 8
call dbg.slice_index_order_fail
ud2
lea r8, [0x14008cb18]
mov ecx, 8
mov edx, 7
call dbg.slice_end_index_len_fail
ud2