Function at 0x180023840
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x80
movdqa xmm0, xmmword [0x1800fef80]
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov r13d, edx
mov qword [rsp + 0x68], r15
mov r12, rcx
mov qword [rsp + 0x30], r15
lea ebp, [r15 - 1]
movdqu xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
test rcx, rcx
je 0x180023906
call fcn.1800e4638
mov rbx, rax
test rax, rax
je 0x180023906
mov qword [rsp + 0xb8], rsi
lea edx, [rbp + 0x3b]
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov qword [rsp + 0x70], r14
mov rsi, rax
call fcn.1800d7718
mov rdi, rax
test rax, rax
jne 0x180023918
mov dword [rsp + 0x20], 0x89
lea r9, str.________________________________________C:LibreSS5crypto_bio_b_sock.c
mov edx, 0xfff
mov r8d, WSAStartup
mov ecx, 0x20
call sym.version.dll_ERR_put_error
mov rcx, rbx
call fcn.1800d8288
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xb8]
mov eax, ebp
add rsp, 0x80
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
mov byte [rax], r15b
cmp byte [rax + 1], r15b
jne 0x18002392b
mov dword [rsp + 0x20], 0x8e
jmp 0x1800238c5
cmp byte [rbx], r15b
je 0x18002393b
cmp byte [rbx], 0x2a
jne 0x18002393e
cmp byte [rbx + 1], r15b
jne 0x18002393e
mov rsi, r15
lea r9, [rsp + 0x30]
mov rcx, rsi
lea r8, [rsp + 0x40]
lea rdx, [rax + 1]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18002397b
mov ecx, eax
call fcn.180023e60
mov r9, rax
lea r8, [rdi + 1]
mov rdx, rsi
lea rcx, str.getaddrinfo:__s:_s:__s
call sym.version.dll_ERR_asprintf_error_data
jmp 0x1800238e1
test rsi, rsi
jne 0x18002398d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x20]
mov dword [rcx + 4], r15d
mov edx, 1
mov r14d, 2
mov ecx, r14d
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rbp, rax
cmp eax, 0xffffffff
jne 0x1800239fb
call fcn.1800d92ec
lea rsi, str.________________________________________C:LibreSS5crypto_bio_b_sock.c
mov dword [rsp + 0x20], 0xa0
mov edi, 0xfff
mov r9, rsi
mov edx, edi
mov ecx, r14d
mov r8d, dword [rax]
call sym.version.dll_ERR_put_error
mov rdx, r12
lea rcx, [0x1800fef58]
call sym.version.dll_ERR_asprintf_error_data
mov r9, rsi
mov dword [rsp + 0x20], 0xa2
lea r8d, [r14 + 0x74]
mov edx, edi
jmp 0x1800238d7
cmp r13d, r14d
jne 0x180023a30
lea r9, [rsp + 0xb0]
mov dword [rsp + 0xb0], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 4
mov ecx, ebp
call sym.version.dll_posix_setsockopt
mov r15d, eax
mov rdx, qword [rsp + 0x30]
movsxd rdi, ebp
mov rcx, rdi
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x180023a73
call fcn.1800d92ec
mov dword [rsp + 0xc0], 0x75
mov dword [rsp + 0xb0], 0xae
mov r8d, dword [rax]
mov eax, 0xac
jmp 0x180023aad
mov edx, 0x7fffffff
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1800238e1
call fcn.1800d92ec
mov dword [rsp + 0xc0], 0x77
mov dword [rsp + 0xb0], 0xb4
mov r8d, dword [rax]
mov eax, 0xb2
mov ecx, 2
lea rsi, str.________________________________________C:LibreSS5crypto_bio_b_sock.c
mov edi, 0xfff
mov qword [rsp + 0x38], rsi
lea r13, [0x1800fef58]
mov dword [rsp + 0xc8], edi
lea r14d, [rcx + 0x1e]
mov r9, rsi
mov dword [rsp + 0x20], eax
mov edx, edi
call sym.version.dll_ERR_put_error
mov rdx, r12
mov rcx, r13
call sym.version.dll_ERR_asprintf_error_data
mov eax, dword [rsp + 0xb0]
mov r9, rsi
mov r8d, dword [rsp + 0xc0]
mov edx, edi
mov ecx, r14d
mov dword [rsp + 0x20], eax
call sym.version.dll_ERR_put_error
mov rcx, rbx
call fcn.1800d8288
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r15d, r15d
jne 0x1800238f4
mov ecx, ebp
call sym.version.dll_posix_close
lea ebp, [r14 - 0x21]
jmp 0x1800238f4