Function at 0x14006cc50
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 fcn.140037f40
mov r15, rax
test r15b, 1
je 0x14006cd32
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x14006cd00
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 0x14006cd00
mov dword [rsp + 0xb0], 0xa
mov qword [rsp + 0xa0], 0
mov byte [rsp + 0xb4], 1
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
call fcn.1400386d0
cmp ax, 1
jne 0x14006cd02
jmp 0x14006cd0c
xor eax, eax
mov qword [rsp + 0x38], r14
test ax, ax
je 0x14006cd32
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 0x14006cd37
xor r15d, r15d
xor eax, eax
or rax, r15
cmp ax, 1
je 0x14006ce48
movzx ecx, ax
mov rax, rbx
test ecx, ecx
jne 0x14006ce4d
test rbx, rbx
je 0x14006d066
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 0x14006d066
pxor xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
mov r8d, 8
call fcn.1400384a0
cmp rax, 8
jne 0x14006cedb
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 0x14006cf93
cmp byte [rcx], 0x25
jne 0x14006cfbd
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 0x14006ce23
movzx r9d, byte [r15]
add r9d, 0xffffffd0
xor eax, eax
cmp r9d, 0xa
setb al
jae 0x14006ce23
dec r11
inc r15
cmp eax, 1
jne 0x14006cf95
mov eax, r14d
mul ebp
jo 0x14006cfad
mov r14d, eax
add r14d, r9d
jb 0x14006cfad
inc r12
jmp 0x14006ce00
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14006d070
mov edi, r15d
shr edi, 0x10
shr r15, 0x18
xor ebx, ebx
movzx eax, byte [0x1400951f8]
mov ecx, 0x20
mov edx, 4
call fcn.140006dd0
test rax, rax
je 0x14006d60a
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 0x14006d127
test dl, 1
jne 0x14006d066
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14006d066
mov rdx, qword [rsp + 0x30]
cmp byte [rdx], 0x3a
jne 0x14006d066
cmp rcx, 1
je 0x14006d066
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 0x14006d066
mov qword [rsp + 0x6e], 0
mov qword [rsp + 0x68], 0
mov r8d, 7
sub r8, rax
jb 0x14006d69c
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x68]
call fcn.1400384a0
mov ecx, 8
sub rcx, rax
jb 0x14006d6b5
cmp rax, 8
je 0x14006d6c8
lea rcx, [rsp + rcx*2]
add rcx, 0xa0
add rax, rax
lea rdx, [rsp + 0x68]
mov r8, rax
call sub.msvcrt.dll_memcpy
jmp 0x14006cda8
jmp 0x14006cfbd
test r12, r12
je 0x14006cfaa
mov r13d, 1
mov qword [rsp + 0x28], r11
mov r10, r15
jmp 0x14006cfad
xor r13d, r13d
cmp r13d, 1
jne 0x14006cfbd
mov rcx, r10
mov r8, qword [rsp + 0x28]
jmp 0x14006cfc4
test r13d, r13d
cmove r14d, r13d
test r8, r8
je 0x14006d066
cmp byte [rcx], 0x5d
jne 0x14006d066
mov r15, r8
dec r15
je 0x14006d033
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 0x14006d033
mov dword [rsp + 0xb0], 0xa
mov qword [rsp + 0xa0], 0
mov byte [rsp + 0xb4], 1
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
call fcn.1400386d0
mov ebp, edx
cmp ax, 1
jne 0x14006d035
jmp 0x14006d03f
xor eax, eax
mov qword [rsp + 0x38], r15
test ax, ax
je 0x14006d066
xor eax, eax
test al, al
jne 0x14006d070
cmp qword [rsp + 0x38], 0
jne 0x14006d070
movd r15d, xmm6
pshufd xmm6, xmm6, 0xf9
shl r15, 8
mov bx, 1
xor edi, edi
jmp 0x14006ce62
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 0x14006d0c5
cmp r14, rbx
ja 0x14006d115
mov cl, 0x3a
mov rdx, rdi
mov r8, r14
call fcn.14003b120
cmp rax, 1
jne 0x14006d115
mov r14, rdx
cmp rdx, rbx
jae 0x14006d0c0
cmp byte [rdi + r14], bpl
jne 0x14006d0c0
lea r12, [r14 + 1]
lea rcx, str.invalid_port_value
sub rbx, r12
je 0x14006d11c
lea r8, [rdi + r14]
inc r8
movzx eax, byte [r8]
cmp eax, 0x2d
je 0x14006d14b
cmp eax, 0x2b
jne 0x14006d151
dec rbx
je 0x14006d11c
inc r8
jmp 0x14006d151
lea rcx, str.invalid_socket_address
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 0x14006d11c
cmp rbx, 5
jae 0x14006d1eb
xor eax, eax
xor r15d, r15d
movzx edx, byte [r8 + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x14006d11c
add r15d, r15d
lea r15d, [r15 + r15*4]
add r15d, edx
inc rax
cmp rbx, rax
jne 0x14006d160
mov rax, qword [0x140095158]
cmp rax, 3
jne 0x14006d5db
cmp r14, 0x17f
ja 0x14006d5ed
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov byte [rsp + r14 + 0xa0], 0
cmp r14, 0xe
ja 0x14006d23f
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [rsp + rcx + 0xa0], 0
je 0x14006d2e3
inc rcx
cmp r12, rcx
jne 0x14006d1d0
jmp 0x14006d341
xor r9d, r9d
mov r10w, 0xa
xor r15d, r15d
nop word cs:[rax + rax]
cmp rbx, r9
je 0x14006d17f
movzx r11d, byte [r8 + r9]
mov eax, r15d
mul r10w
seto dl
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x14006d11c
test dl, dl
jne 0x14006d11c
mov r15d, eax
inc r9
add r15w, r11w
jae 0x14006d200
jmp 0x14006d11c
lea rax, [rsp + 0xa7]
and rax, 0xfffffffffffffff8
sub rax, rbx
je 0x14006d275
je 0x14006d275
xor ecx, ecx
cmp byte [rsp + rcx + 0xa0], 0
je 0x14006d2e3
inc rcx
cmp rax, rcx
jne 0x14006d254
lea rcx, [r14 - 0xf]
cmp rax, rcx
jbe 0x14006d27b
jmp 0x14006d2be
lea rcx, [r14 - 0xf]
xor eax, eax
movdqa xmm0, xmmword [0x14007ee90]
movabs rdx, 0x8080808080808080
movdqu xmm1, xmmword [rsp + rax + 0xa0]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r8, xmm2
test r8, rdx
jne 0x14006d2be
add rax, 0x10
cmp rax, rcx
jbe 0x14006d28d
sub r12, rax
je 0x14006d341
lea rdx, [rsp + rax]
add rdx, 0xa0
xor ecx, ecx
cmp byte [rdx + rcx], 0
je 0x14006d2e0
inc rcx
cmp r12, rcx
jne 0x14006d2d0
jmp 0x14006d341
add rcx, rax
cmp rcx, r14
jne 0x14006d341
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 0x14006d3ab
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x14006d348
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsp + 0x70], rax
mov eax, 1
test rax, rax
je 0x14006d361
mov rcx, qword [rsp + 0x70]
jmp 0x14006d11c
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14006d397
movzx r13d, word [rsp + 0x80]
mov r8, qword [rax + 0x20]
mov r15, qword [rax + 0x28]
movzx edx, word [r8]
cmp edx, 0x17
je 0x14006d3f2
cmp edx, 2
je 0x14006d3ca
mov rax, r15
test r15, r15
jne 0x14006d379
call sub.WS2_32.dll_freeaddrinfo
mov eax, 4
xor r14d, r14d
xor ecx, ecx
jmp 0x14006d5c0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov word [rsp + 0x80], r15w
xor eax, eax
jmp 0x14006d352
cmp qword [rax + 0x10], 0xf
mov qword [rsp + 0x28], rcx
jbe 0x14006d66d
mov ebp, dword [r8 + 4]
mov eax, ebp
shr eax, 0x10
movd xmm6, eax
pinsrw xmm6, r13d, 1
xor r12d, r12d
jmp 0x14006d41a
cmp qword [rax + 0x10], 0x1b
mov qword [rsp + 0x28], rcx
jbe 0x14006d682
movdqu xmm6, xmmword [r8 + 8]
mov r14d, dword [r8 + 4]
mov edi, dword [r8 + 0x18]
pshufd xmm7, xmm6, 0xf9
mov r12w, 1
movzx eax, byte [0x1400951f8]
mov ecx, pe_nt_image_headers64
mov edx, 4
call fcn.140006dd0
test rax, rax
je 0x14006d61b
mov rbx, rax
mov word [rax], r12w
mov word [rax + 2], bp
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], r13w
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 4
mov qword [rsp + 0xb0], 1
mov r14d, 1
test r15, r15
je 0x14006d5a6
lea rcx, [rsp + 0xa0]
lea rax, [0x14008b2f0]
mov qword [rsp + 0x90], rax
lea rax, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
mov qword [rsp + 0x88], rax
jmp 0x14006d512
pshufd xmm0, xmm6, 0xf9
mov rax, r14
shl rax, 5
mov word [rbx + rax], bp
mov word [rbx + rax + 2], r12w
movd dword [rbx + rax + 4], xmm7
pshufd xmm1, xmm0, 0xee
movd dword [rbx + rax + 0x10], xmm1
movq qword [rbx + rax + 8], xmm0
mov edx, dword [rsp + 0x60]
mov dword [rbx + rax + 0x14], edx
mov edx, dword [rsp + 0x64]
mov dword [rbx + rax + 0x18], edx
mov word [rbx + rax + 0x1c], r13w
inc r14
mov qword [rsp + 0xb0], r14
test r15, r15
je 0x14006d5a6
mov r8, r15
mov rax, qword [r8 + 0x20]
mov r15, qword [r8 + 0x28]
movzx edx, word [rax]
cmp edx, 0x17
je 0x14006d557
cmp edx, 2
je 0x14006d534
mov r8, r15
test r15, r15
jne 0x14006d515
jmp 0x14006d5a6
cmp qword [r8 + 0x10], 0xf
jbe 0x14006d62c
mov r12d, dword [rax + 4]
mov eax, r12d
shr eax, 0x10
movd xmm7, eax
pinsrw xmm7, r13d, 1
xor ebp, ebp
jmp 0x14006d57d
cmp qword [r8 + 0x10], 0x1b
jbe 0x14006d633
movdqu xmm6, xmmword [rax + 8]
mov edx, dword [rax + 4]
mov dword [rsp + 0x60], edx
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x64], eax
mov bp, 1
movdqa xmm7, xmm6
cmp r14, qword [rsp + 0xa8]
jne 0x14006d4bb
mov rdi, rcx
mov rdx, r14
call fcn.14006c8f0
mov rbx, qword [rsp + 0xa0]
mov rcx, rdi
jmp 0x14006d4bb
mov rcx, qword [rsp + 0x28]
call sub.WS2_32.dll_freeaddrinfo
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
shl r14, 5
add r14, rax
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], r14
jmp 0x14006d127
call fcn.14006c9b0
cmp r14, 0x17f
jbe 0x14006d19d
lea rcx, [rsp + 0x68]
mov rdx, rdi
mov r8, r14
mov r9d, r15d
call fcn.14006ca10
mov rax, qword [rsp + 0x68]
jmp 0x14006d352
mov ecx, 4
mov edx, 0x20
call fcn.1400072b0
ud2
mov ecx, 4
mov edx, pe_nt_image_headers64
call fcn.1400072b0
jmp 0x14006d69a
mov edx, 0x42
jmp 0x14006d656
mov edx, 0x43
lea rax, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
mov qword [rsp + 0x88], rax
lea rax, [0x14008b350]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
call fcn.140036450
jmp 0x14006d69a
lea r8, [0x14008b2f0]
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 0x14006d695
lea r8, [0x14008b350]
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
call fcn.140036450
ud2
lea rax, str.librarycore_src_netparser.rs
mov edx, 7
mov rcx, r8
mov r8, rax
call fcn.1400360b0
ud2
lea r8, str.librarycore_src_netparser.rs
mov edx, 8
call fcn.140036af0
ud2
lea r8, str.librarycore_src_netparser.rs
mov ecx, 8
mov edx, 7
call fcn.1400360b0
ud2