Function at 0x14001c170
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400b7360]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r15, r9
mov r14, rdx
mov qword [rbp + 0x10], rdx
mov rbx, qword [rbp + 0x80]
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rbp + 8], rax
lea rdx, [r9 + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14001b2f0
nop
lea rdi, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdi, qword [rbp - 0x80]
lea rdx, [r15 + 0x30]
lea rcx, [rsp + 0x28]
call fcn.14001b2f0
mov dword [rsp + 0x20], 0x60
lea rsi, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x14001c202
cmp byte [rsi], 0
jne 0x14001c204
xor esi, esi
test rdi, rdi
je 0x14001c20e
cmp byte [rdi], 0
jne 0x14001c210
xor edi, edi
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp + 8]
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.14000a060
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbx + 0x10], xmm1
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14001c283
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c27e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c525
call fcn.1400581e0
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], shutdown
mov byte [rsp + 0x28], dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14001c2d3
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c2ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c52b
call fcn.1400581e0
mov rax, qword [rbp + 8]
mov qword [rbp + 0x10], rax
movups xmm1, xmmword [rbx]
movups xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [rbx + 0x10]
movsd qword [rbp - 0x50], xmm0
mov rax, qword [rbx + 0x10]
cmp rax, 2
jb 0x14001c30c
and eax, 1
lea rcx, str.D:_acyber_ember_ransomwarecyber_ember_ransomwarecpp_boost_boost_asiodetail_resolver_service.hpp
or rax, rcx
mov qword [rbp - 0x50], rax
movsd xmm0, qword [rbp - 0x50]
movups xmmword [rbx], xmm1
movsd qword [rbx + 0x10], xmm0
mov rax, qword [rbx + 0x10]
test al, 1
je 0x14001c341
cmp rax, 1
jne 0x14001c327
cmp dword [rbx], 0
je 0x14001c341
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x48]
mov ebx, 0x61
jmp 0x14001c38c
lea rdx, [r15 + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14001b2f0
nop
mov dword [rsp + 0x20], 0xe2
lea rdx, [r15 + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14001b2f0
nop
mov dword [rsp + 0x20], 0x1e6
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x48]
mov rdx, qword [rbp + 8]
lea rcx, [rbp - 0x28]
call fcn.14001d480
mov rdx, rax
mov ebx, 0x1ee
mov qword [r14], rdi
mov qword [r14 + 8], rdi
mov rcx, qword [rdx]
mov qword [r14], rcx
mov rcx, qword [rdx + 8]
mov qword [r14 + 8], rcx
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov rax, qword [rdx + 0x10]
mov qword [r14 + 0x10], rax
mov qword [rdx + 0x10], rdi
or ebx, 0x10
mov dword [rsp + 0x20], ebx
mov esi, 0xffffffff
test bl, 8
je 0x14001c404
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdi, qword [rbp - 0x20]
test rdi, rdi
je 0x14001c402
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001c3fe
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001c3fe
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, dword [rsp + 0x20]
xor edi, edi
test bl, 4
je 0x14001c44c
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14001c44c
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c446
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c531
call fcn.1400581e0
nop
test bl, 2
je 0x14001c4a8
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14001c495
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c490
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c51f
call fcn.1400581e0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], shutdown
mov byte [rsp + 0x60], 0
test bl, 1
je 0x14001c4e6
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001c4e6
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001c4e6
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14001c4e6
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14001c4f5
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r14
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1400581c0
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140067c44
nop
call fcn.140067c44
nop
call fcn.140067c44
nop
call fcn.140067c44
int3