Function at 0x1400b37e0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r14, rdx
mov rdi, rcx
cmp byte [0x140465ba4], 0
je 0x1400b39c4
cmp dword [reloc.WS2_32.dll_closesocket], 1
jl 0x1400b41d1
mov edx, 2
lea rcx, [rbp - 0x80]
call fcn.1400269f0
nop
movsxd rcx, dword [rbp - 0x80]
lea r8d, [rcx + 7]
mov edx, dword [rbp - 0x70]
cmp r8d, edx
jle 0x1400b385a
mov eax, dword [rbp - 0x6c]
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b388b
mov rdx, rcx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_90m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b6c]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b6e]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 5]
cmp r8d, edx
jle 0x1400b389c
add eax, 5
mov dword [rbp - 0x6c], eax
jmp 0x1400b38c2
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.Util]
mov dword [rdx], eax
movzx eax, byte [0x1401a43fc]
mov byte [rdx + 4], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 7]
cmp r8d, edx
jle 0x1400b38d3
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b3904
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_31m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b64]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b66]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 0x33]
cmp r8d, edx
jle 0x1400b3915
add eax, 0x33
mov dword [rbp - 0x6c], eax
jmp 0x1400b395e
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
movups xmm0, xmmword [str.resolve_host_was_called_with_DNS_disabled_for_host]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [0x1401b29b0]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [0x1401b29c0]
movups xmmword [rdx + 0x20], xmm0
movzx eax, word [0x1401b29d0]
mov word [rdx + 0x30], ax
movzx eax, byte [0x1401b29d2]
mov byte [rdx + 0x32], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400b396b
mov r9, qword [rdi]
mov r8, qword [rdi + 0x10]
lea ebx, [rcx + r8]
cmp ebx, edx
jle 0x1400b397f
add eax, r8d
mov dword [rbp - 0x6c], eax
jmp 0x1400b399c
movsxd r8, r8d
movsxd rcx, ecx
add rcx, qword [rbp - 0x78]
mov rdx, r9
call fcn.140145200
mov dword [rbp - 0x80], ebx
mov ecx, ebx
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 4]
cmp r8d, edx
jle 0x1400b39ad
add eax, 4
mov dword [rbp - 0x6c], eax
jmp 0x1400b39bf
movsxd rcx, ecx
mov rax, qword [rbp - 0x78]
mov dword [rcx + rax], 0x6d305b1b
mov dword [rbp - 0x80], r8d
jmp 0x1400b41c8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x54], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x64], xmm1
xor r12d, r12d
mov dword [rsp + 0x74], r12d
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 0x400
mov qword [rsp + 0x40], r12
cmp qword [rcx + 0x18], 0x10
jb 0x1400b3a02
mov rcx, qword [rcx]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
lea r15, [0x140465770]
mov rbx, 0xffffffffffffffff
mov r13d, 0x203a
test eax, eax
je 0x1400b3ccd
cmp dword [reloc.WS2_32.dll_closesocket], 4
jl 0x1400b3c9c
lea edx, [rbx + 2]
lea rcx, [rbp - 0x80]
call fcn.1400269f0
nop
movsxd rcx, dword [rbp - 0x80]
lea r8d, [rcx + 7]
mov edx, dword [rbp - 0x70]
cmp r8d, edx
jle 0x1400b3a67
mov eax, dword [rbp - 0x6c]
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b3a98
mov rdx, rcx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_90m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b6c]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b6e]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 5]
cmp r8d, edx
jle 0x1400b3aa9
add eax, 5
mov dword [rbp - 0x6c], eax
jmp 0x1400b3acf
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.Util]
mov dword [rdx], eax
movzx eax, byte [0x1401a43fc]
mov byte [rdx + 4], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 7]
cmp r8d, edx
jle 0x1400b3ae0
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b3b08
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_33m]
mov dword [rdx], eax
movzx eax, word [0x1401a8cdc]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8cde]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], r15
mov r9d, 0x400
mov r8d, esi
xor edx, edx
mov ecx, 0x12ff
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
movsxd rdx, dword [rbp - 0x80]
lea r9d, [rdx + 0x17]
mov r8d, dword [rbp - 0x70]
cmp r9d, r8d
jle 0x1400b3b4c
mov eax, dword [rbp - 0x6c]
add eax, 0x17
mov dword [rbp - 0x6c], eax
jmp 0x1400b3b86
add rdx, qword [rbp - 0x78]
movups xmm0, xmmword [str.getaddrinfo_failed_for]
movups xmmword [rdx], xmm0
mov eax, dword [0x1401ab1c8]
mov dword [rdx + 0x10], eax
movzx eax, word [0x1401ab1cc]
mov word [rdx + 0x14], ax
movzx eax, byte [0x1401ab1ce]
mov byte [rdx + 0x16], al
mov dword [rbp - 0x80], r9d
mov edx, r9d
mov eax, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400b3b93
mov r9, qword [rdi]
mov rcx, qword [rdi + 0x10]
lea esi, [rdx + rcx]
cmp esi, r8d
jle 0x1400b3ba6
add eax, ecx
mov dword [rbp - 0x6c], eax
jmp 0x1400b3bc4
movsxd r8, ecx
movsxd rcx, edx
add rcx, qword [rbp - 0x78]
mov rdx, r9
call fcn.140145200
mov dword [rbp - 0x80], esi
mov edx, esi
mov eax, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
lea r9d, [rdx + 2]
cmp r9d, r8d
jle 0x1400b3bd5
add eax, 2
mov dword [rbp - 0x6c], eax
jmp 0x1400b3bef
movsxd rcx, edx
mov rax, qword [rbp - 0x78]
mov word [rcx + rax], r13w
mov dword [rbp - 0x80], r9d
mov edx, r9d
mov eax, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
mov rcx, rbx
inc rcx
cmp byte [r15 + rcx], 0
jne 0x1400b3bf2
lea esi, [rdx + rcx]
cmp esi, r8d
jle 0x1400b3c0b
add eax, ecx
mov dword [rbp - 0x6c], eax
jmp 0x1400b3c29
movsxd r8, ecx
movsxd rcx, edx
add rcx, qword [rbp - 0x78]
mov rdx, r15
call fcn.140145200
mov dword [rbp - 0x80], esi
mov edx, esi
mov eax, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
lea r9d, [rdx + 0x19]
cmp r9d, r8d
jle 0x1400b3c3a
add eax, 0x19
mov dword [rbp - 0x6c], eax
jmp 0x1400b3c70
movsxd rdx, edx
add rdx, qword [rbp - 0x78]
movups xmm0, xmmword [str.__retrying_with_IPv4_only]
movups xmmword [rdx], xmm0
movsd xmm1, qword [0x1401ab1e0]
movsd qword [rdx + 0x10], xmm1
movzx eax, byte [0x1401ab1e8]
mov byte [rdx + 0x18], al
mov dword [rbp - 0x80], r9d
mov edx, r9d
mov eax, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
lea r9d, [rdx + 4]
cmp r9d, r8d
jle 0x1400b3c81
add eax, 4
mov dword [rbp - 0x6c], eax
jmp 0x1400b3c93
movsxd rcx, edx
mov rax, qword [rbp - 0x78]
mov dword [rcx + rax], 0x6d305b1b
mov dword [rbp - 0x80], r9d
lea rcx, [rbp - 0x80]
call fcn.140026c70
mov dword [rsp + 0x4c], 2
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400b3cb1
mov rcx, qword [rdi]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test eax, eax
jne 0x1400b3faf
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400b3faf
mov rdx, qword [rax + 0x20]
cmp dword [rax + 4], 0x17
jne 0x1400b3ced
add rdx, 8
mov cl, 1
jmp 0x1400b3cf3
add rdx, 4
xor cl, cl
mov byte [r14], cl
mov r9d, 0x40
lea r8, [rbp + 0x3a0]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov rsi, rax
test rax, rax
je 0x1400b3f9d
cmp dword [reloc.WS2_32.dll_closesocket], 5
jl 0x1400b3f86
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400269f0
nop
movsxd rcx, dword [rbp - 0x80]
lea r8d, [rcx + 7]
mov edx, dword [rbp - 0x70]
cmp r8d, edx
jle 0x1400b3d4c
mov eax, dword [rbp - 0x6c]
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b3d7d
mov rdx, rcx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_90m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b6c]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b6e]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 5]
cmp r8d, edx
jle 0x1400b3d8e
add eax, 5
mov dword [rbp - 0x6c], eax
jmp 0x1400b3db4
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.Util]
mov dword [rdx], eax
movzx eax, byte [0x1401a43fc]
mov byte [rdx + 4], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 4]
cmp r8d, edx
jle 0x1400b3dc5
add eax, 4
mov dword [rbp - 0x6c], eax
jmp 0x1400b3de0
movsxd rcx, ecx
mov rax, qword [rbp - 0x78]
mov dword [rcx + rax], 0x6d305b1b
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 7]
cmp r8d, edx
jle 0x1400b3df1
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b3e22
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_96m]
mov dword [rdx], eax
movzx eax, word [0x1401a9304]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a9306]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400b3e2f
mov r9, qword [rdi]
mov r8, qword [rdi + 0x10]
lea r14d, [r8 + rcx]
cmp r14d, edx
jle 0x1400b3e44
add eax, r8d
mov dword [rbp - 0x6c], eax
jmp 0x1400b3e63
movsxd r8, r8d
movsxd rcx, ecx
add rcx, qword [rbp - 0x78]
mov rdx, r9
call fcn.140145200
mov dword [rbp - 0x80], r14d
mov ecx, r14d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 4]
cmp r8d, edx
jle 0x1400b3e74
add eax, 4
mov dword [rbp - 0x6c], eax
jmp 0x1400b3e8f
movsxd rcx, ecx
mov rax, qword [rbp - 0x78]
mov dword [rcx + rax], 0x6d305b1b
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 0xd]
cmp r8d, edx
jle 0x1400b3ea0
add eax, 0xd
mov dword [rbp - 0x6c], eax
jmp 0x1400b3ed3
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
movsd xmm0, qword [str._resolved_to]
movsd qword [rdx], xmm0
mov eax, dword [0x1401b29e0]
mov dword [rdx + 8], eax
movzx eax, byte [0x1401b29e4]
mov byte [rdx + 0xc], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 7]
cmp r8d, edx
jle 0x1400b3ee4
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b3f15
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_90m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b6c]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b6e]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x1400b3f20
lea r14d, [r8 + rcx]
cmp r14d, edx
jle 0x1400b3f3b
add eax, r8d
mov dword [rbp - 0x6c], eax
jmp 0x1400b3f5a
movsxd r8, r8d
movsxd rcx, ecx
add rcx, qword [rbp - 0x78]
mov rdx, rsi
call fcn.140145200
mov dword [rbp - 0x80], r14d
mov ecx, r14d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 4]
cmp r8d, edx
jle 0x1400b3f6b
add eax, 4
mov dword [rbp - 0x6c], eax
jmp 0x1400b3f7d
movsxd rcx, ecx
mov rax, qword [rbp - 0x78]
mov dword [rcx + rax], 0x6d305b1b
mov dword [rbp - 0x80], r8d
lea rcx, [rbp - 0x80]
call fcn.140026c70
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400b3f86
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14001aa30
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov al, 1
jmp 0x1400b41d3
cmp dword [reloc.WS2_32.dll_closesocket], 3
jl 0x1400b41d1
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.1400269f0
nop
movsxd rcx, dword [rbp - 0x80]
lea r8d, [rcx + 7]
mov edx, dword [rbp - 0x70]
cmp r8d, edx
jle 0x1400b3fe6
mov eax, dword [rbp - 0x6c]
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b4017
mov rdx, rcx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_90m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b6c]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b6e]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 5]
cmp r8d, edx
jle 0x1400b4028
add eax, 5
mov dword [rbp - 0x6c], eax
jmp 0x1400b404e
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.Util]
mov dword [rdx], eax
movzx eax, byte [0x1401a43fc]
mov byte [rdx + 4], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 7]
cmp r8d, edx
jle 0x1400b405f
add eax, 7
mov dword [rbp - 0x6c], eax
jmp 0x1400b4087
movsxd rdx, ecx
add rdx, qword [rbp - 0x78]
mov eax, dword [str.e_0_33m]
mov dword [rdx], eax
movzx eax, word [0x1401a8cdc]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8cde]
mov byte [rdx + 6], al
mov dword [rbp - 0x80], r8d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], r15
mov r9d, 0x400
mov r8d, esi
xor edx, edx
mov ecx, 0x12ff
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
movsxd rcx, dword [rbp - 0x80]
lea r8d, [rcx + 0x17]
mov edx, dword [rbp - 0x70]
cmp r8d, edx
jle 0x1400b40ca
mov eax, dword [rbp - 0x6c]
add eax, 0x17
mov dword [rbp - 0x6c], eax
jmp 0x1400b4106
mov rdx, rcx
add rdx, qword [rbp - 0x78]
movups xmm0, xmmword [str.getaddrinfo_failed_for]
movups xmmword [rdx], xmm0
mov eax, dword [0x1401ab1c8]
mov dword [rdx + 0x10], eax
movzx eax, word [0x1401ab1cc]
mov word [rdx + 0x14], ax
movzx eax, byte [0x1401ab1ce]
mov byte [rdx + 0x16], al
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400b4113
mov r9, qword [rdi]
mov r8, qword [rdi + 0x10]
lea edi, [r8 + rcx]
cmp edi, edx
jle 0x1400b4127
add eax, r8d
mov dword [rbp - 0x6c], eax
jmp 0x1400b4144
movsxd r8, r8d
movsxd rcx, ecx
add rcx, qword [rbp - 0x78]
mov rdx, r9
call fcn.140145200
mov dword [rbp - 0x80], edi
mov ecx, edi
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 2]
cmp r8d, edx
jle 0x1400b4155
add eax, 2
mov dword [rbp - 0x6c], eax
jmp 0x1400b4170
movsxd rcx, ecx
mov rax, qword [rbp - 0x78]
mov word [rcx + rax], r13w
mov dword [rbp - 0x80], r8d
mov ecx, r8d
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
nop
inc rbx
cmp byte [r15 + rbx], 0
jne 0x1400b4170
lea edi, [rbx + rcx]
cmp edi, edx
jle 0x1400b4188
add eax, ebx
mov dword [rbp - 0x6c], eax
jmp 0x1400b41a5
movsxd r8, ebx
movsxd rcx, ecx
add rcx, qword [rbp - 0x78]
mov rdx, r15
call fcn.140145200
mov dword [rbp - 0x80], edi
mov ecx, edi
mov eax, dword [rbp - 0x6c]
mov edx, dword [rbp - 0x70]
lea r8d, [rcx + 4]
cmp r8d, edx
jle 0x1400b41b6
add eax, 4
mov dword [rbp - 0x6c], eax
jmp 0x1400b41c8
movsxd rcx, ecx
mov rax, qword [rbp - 0x78]
mov dword [rcx + rax], 0x6d305b1b
mov dword [rbp - 0x80], r8d
lea rcx, [rbp - 0x80]
call fcn.140026c70
xor al, al
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140140c60
mov rbx, qword [rsp + 0x540]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret