Function at 0x14001bdb0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x1400b7360]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r15, r9
mov r14, rdx
mov rdi, qword [rbp + 0x4a0]
mov qword [rbp - 0x48], rdx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
movzx ebx, word [r9]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov esi, 0x10
mov eax, 0x1c
cmp bx, 2
cmovne esi, eax
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x401
lea r8, [rbp + 0x30]
mov edx, esi
mov rcx, r15
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.14000a060
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rdi + 0x10], xmm1
mov rax, qword [rdi + 0x10]
test al, 1
je 0x14001bec6
cmp rax, 1
jne 0x14001be71
cmp dword [rdi], r12d
je 0x14001bec6
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x401
lea r8, [rbp + 0x30]
mov edx, esi
mov rcx, r15
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.14000a060
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rdi + 0x10], xmm1
mov rax, qword [rdi + 0x10]
movups xmm1, xmmword [rdi]
movups xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [rdi + 0x10]
movsd qword [rbp - 0x50], xmm0
cmp rax, 2
jb 0x14001bef3
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 [rdi], xmm1
movsd qword [rdi + 0x10], xmm0
mov rax, qword [rdi + 0x10]
mov rsi, 0xffffffffffffffff
test al, 1
je 0x14001bf2f
cmp rax, 1
jne 0x14001bf15
cmp dword [rdi], r12d
je 0x14001bf2f
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
lea rdx, [rbp - 0x78]
mov ebx, 1
jmp 0x14001bfcf
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], shutdown
mov byte [rsp + 0x68], r12b
lea rax, [rbp + 8]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x14001bf50
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x68]
call fcn.14001d080
nop
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], shutdown
mov byte [rsp + 0x48], 0
lea rax, [rbp + 0x30]
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14001bf90
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14001d080
nop
mov dword [rsp + 0x40], 6
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x48]
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.14001d2d0
mov rdx, rax
mov ebx, reloc.WS2_32.dll_ntohl
mov qword [r14], r12
mov qword [r14 + 8], r12
mov rcx, qword [rdx]
mov qword [r14], rcx
mov rcx, qword [rdx + 8]
mov qword [r14 + 8], rcx
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov rax, qword [rdx + 0x10]
mov qword [r14 + 0x10], rax
mov qword [rdx + 0x10], r12
or ebx, 0x10
mov dword [rsp + 0x40], ebx
test bl, 8
je 0x14001c040
and ebx, 0xfffffff7
mov dword [rsp + 0x40], ebx
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x14001c040
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001c03c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001c03c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, dword [rsp + 0x40]
test bl, 4
je 0x14001c09c
and ebx, 0xfffffffb
mov dword [rsp + 0x40], ebx
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14001c089
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c084
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c160
call fcn.1400581e0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], shutdown
mov byte [rsp + 0x48], 0
test bl, 2
je 0x14001c0f2
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14001c0e0
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c0db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c15a
call fcn.1400581e0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], shutdown
mov byte [rsp + 0x68], 0
test bl, 1
je 0x14001c12c
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001c12c
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001c12c
mov rbx, qword [rbp - 0x70]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14001c12c
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
mov rax, r14
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1400581c0
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140067c44
nop
call fcn.140067c44
int3