Function at 0x140020130
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r15d, r15d
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r14, rcx
test rdx, rdx
je 0x140020164
cmp byte [rdx], r15b
jne 0x140020167
mov rdi, r15
test rbx, rbx
je 0x140020171
cmp byte [r8], r15b
jne 0x140020174
mov rbx, r15
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r9, qword [rbp + 0x40]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, eax
cmp eax, 0x273f
jg 0x140020314
je 0x1400202c3
test eax, eax
je 0x1400202b7
sub ecx, 8
je 0x140020266
sub ecx, 0x271e
je 0x140020215
cmp ecx, 0x16
jne 0x14002033a
mov rcx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rcx, rdx
cmp rcx, 1
jbe 0x140020207
mov rax, qword [0x14012e2f8]
mov edx, 0x273c
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x273c
jmp 0x1400204bb
mov al, 1
mov dword [rbp - 0x20], 0x273c
jmp 0x1400204bb
mov rcx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rcx, rdx
cmp rcx, 1
jbe 0x140020258
mov rax, qword [0x14012e2f8]
mov edx, 0x2726
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x2726
jmp 0x1400204bb
mov al, 1
mov dword [rbp - 0x20], 0x2726
jmp 0x1400204bb
mov rcx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rcx, rdx
cmp rcx, 1
jbe 0x1400202a9
mov rax, qword [0x14012e2f8]
mov edx, select
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rbp - 0x20], select
jmp 0x1400204bb
mov al, 1
mov dword [rbp - 0x20], select
jmp 0x1400204bb
xorps xmm1, xmm1
mov qword [rbp - 0x10], r15
jmp 0x1400204ce
mov rcx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rcx, rdx
cmp rcx, 1
jbe 0x140020306
mov rax, qword [0x14012e2f8]
mov edx, 0x273f
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x273f
jmp 0x1400204bb
mov al, 1
mov dword [rbp - 0x20], 0x273f
jmp 0x1400204bb
sub ecx, 0x277d
je 0x140020479
sub ecx, 0x37c
je 0x14002042e
sub ecx, 1
je 0x1400203dd
cmp ecx, 1
je 0x14002038c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rdx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
mov edi, eax
cmp rdx, 1
jbe 0x14002037f
mov rcx, qword [0x14012e2f8]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, rbx
call r8
mov dword [rbp - 0x20], edi
jmp 0x1400204bb
test edi, edi
mov dword [rbp - 0x20], edi
setne al
jmp 0x1400204bb
mov rcx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rcx, rdx
cmp rcx, 1
jbe 0x1400203cf
mov rax, qword [0x14012e2f8]
mov edx, 0x2afb
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x2afb
jmp 0x1400204bb
mov al, 1
mov dword [rbp - 0x20], 0x2afb
jmp 0x1400204bb
mov rcx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rcx, rdx
cmp rcx, 1
jbe 0x140020420
mov rax, qword [0x14012e2f8]
mov edx, 0x2afa
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x2afa
jmp 0x1400204bb
mov al, 1
mov dword [rbp - 0x20], 0x2afa
jmp 0x1400204bb
mov rcx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rcx, rdx
cmp rcx, 1
jbe 0x14002046e
mov rax, qword [0x14012e2f8]
mov edx, 0x2af9
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rbp - 0x20], 0x2af9
jmp 0x1400204bb
mov al, 1
mov dword [rbp - 0x20], 0x2af9
jmp 0x1400204bb
mov rcx, qword [0x14012e300]
lea rbx, [0x14012e2f8]
movabs rdx, 0x4d54ee85da812030
mov dword [rbp - 0x1c], r15d
add rcx, rdx
cmp rcx, 1
jbe 0x1400204b2
mov rax, qword [0x14012e2f8]
mov edx, 0x277d
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x1400204b4
mov al, 1
mov dword [rbp - 0x20], 0x277d
movzx eax, al
add rax, 2
mov qword [rbp - 0x18], rbx
movups xmm1, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x48]
movsd xmm2, qword [rbp - 0x10]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
movups xmmword [rax], xmm1
movsd qword [rax + 0x10], xmm2
mov rax, r14
movups xmmword [r14], xmm1
movsd qword [r14 + 0x10], xmm2
add rsp, 0x40
pop r15
pop r14
pop rbp
ret