Function at 0x1400c4d90
Capabilities:
Resolve dns

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
mov ebx, r13d
lea r9, [rsp + 0x68]
mov r15d, r13d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r8d, 0x83
lea rdx, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov r14d, eax
test eax, eax
jne 0x1400c502f
mov r9, qword [rsp + 0x68]
lea rcx, str.ADDR__s:_d_getaddrinfo_____p_n
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
call fcn.1400b5b70
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1400c5001
mov qword [rsp + 0x50], rbp
nop
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1400c4e0d
lea ebp, [rax + 0xe]
jmp 0x1400c4e19
cmp eax, 0x17
jne 0x1400c4ee4
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], r13
je 0x1400c4ee4
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400c4ee4
cmp rax, rbp
jb 0x1400c4ee4
mov edx, 0x9e
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
lea ecx, [rdx - 0x6e]
call fcn.1400b5c00
mov rdi, rax
test rax, rax
je 0x1400c4f40
mov eax, dword [rsi]
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov dword [rdi], eax
mov edx, 0xb0
mov eax, dword [rsi + 4]
mov rcx, rbp
mov dword [rdi + 4], eax
mov eax, dword [rsi + 8]
mov dword [rdi + 8], eax
mov eax, dword [rsi + 0xc]
mov dword [rdi + 0xc], eax
mov dword [rdi + 0x10], ebp
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x28], r13
call fcn.1400b5c00
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1400c4f24
mov rdx, qword [rsi + 0x20]
mov r8, rbp
mov rcx, rax
call fcn.14021d160
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400c4ed1
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov edx, 0xb9
call fcn.1400b6150
mov qword [rdi + 0x18], rax
test rax, rax
je 0x1400c4ef3
test rbx, rbx
cmove rbx, rdi
test r15, r15
je 0x1400c4ee1
mov qword [r15 + 0x28], rdi
mov r15, rdi
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1400c4e00
jmp 0x1400c4f46
mov rcx, qword [rdi + 0x20]
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov edx, 0xbc
mov r14d, 8
call fcn.1400b5b20
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov edx, 0xbd
mov rcx, rdi
call fcn.1400b5b20
jmp 0x1400c4f46
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov edx, 0xb3
mov rcx, rdi
mov r14d, 8
call fcn.1400b5b20
jmp 0x1400c4f46
mov r14d, 8
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
test rdi, rdi
je 0x1400c4f7a
mov r9, rdi
lea rdx, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov r8d, Ordinal_211
lea rcx, str.ADDR__s:_d_freeaddrinfo__p__n
call fcn.1400b5b70
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r14d, r14d
je 0x1400c4ffc
test rbx, rbx
je 0x1400c4fda
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov edx, 0x5b
call fcn.1400b5b20
mov rcx, qword [rbx + 0x18]
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov edx, 0x5c
call fcn.1400b5b20
mov rdi, qword [rbx + 0x28]
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libcurl_addrinfo.c
mov edx, 0x5f
mov rcx, rbx
call fcn.1400b5b20
mov rbx, rdi
test rdi, rdi
jne 0x1400c4f90
mov rdi, qword [rsp + 0x60]
mov rbx, r13
mov rsi, qword [rsp + 0x58]
mov eax, r14d
mov qword [r12], rbx
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
test rbx, rbx
jne 0x1400c5010
mov r14d, 0x2af9
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r14d
mov rsi, qword [rsp + 0x58]
mov qword [r12], rbx
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
lea rcx, str.ADDR__s:_d_getaddrinfo___failed_n
call fcn.1400b5b70
mov eax, r14d
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret