Function at 0x140014260
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7e0]
sub rsp, 0x8e0
mov rax, qword [0x1400b7360]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov r15, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x78]
call fcn.140008ae0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
movups xmmword [rbp + 0x118], xmm0
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x38], rax
movdqu xmmword [rbp + 0x18], xmm0
xor edx, edx
lea rcx, [rbp + 0x18]
call fcn.140027020
lea r9, [rbp + 0x78]
lea r8, [0x140027050]
lea rdx, [rbp + 0x18]
mov rcx, qword [rbp + 0x78]
call fcn.140006b90
mov qword [rbp + 0xf8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x100], xmm0
lea rax, [0x14009cca8]
mov qword [rbp + 0x138], rax
lea rax, fcn.140006da0
mov qword [rbp + 0x128], rax
lea rax, [rbp + 0x78]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x110]
mov qword [rbp + 0x130], rax
lea rax, [0x1400a1510]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x100]
call fcn.14001e6a0
nop
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], shutdown
mov byte [rbp - 0x50], r12b
xor r8d, r8d
lea rdx, [0x14009c24b]
lea rcx, [rbp - 0x50]
call fcn.14001d080
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov edx, 0x400
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.WS2_32.dll_gethostname]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp + 0x60]
call fcn.140008d10
lea r14, [r12 - 1]
test ebx, ebx
je 0x140014435
lea rax, str.D:_acyber_ember_ransomwarecyber_ember_ransomwarecpp_boost_boost_asioipimplhost_name.ipp
mov qword [rbp - 0x30], rax
lea rax, str.host_name
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 0x24
mov dword [rbp - 0x1c], 0x1a
mov rax, qword [rbp + 0x70]
test al, 1
je 0x14001441b
cmp rax, 1
jne 0x140014a79
cmp dword [rbp + 0x60], r12d
setne al
test al, al
jne 0x140014a79
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], shutdown
mov byte [rsp + 0x40], 0
jmp 0x14001447b
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], shutdown
mov byte [rsp + 0x40], 0
lea rax, [rbp + 0x3d0]
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140014460
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x40]
call fcn.14001d080
mov dword [rsp + 0x30], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call fcn.14001b2f0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x1b0]
call fcn.14001b2f0
movdqa xmm0, xmmword [0x1400a1e80]
movdqa xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r12
mov qword [rbp + 0x178], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x180], xmm0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140014524
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001451e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014a87
call fcn.1400581e0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14001455f
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001455a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014a8d
call fcn.1400581e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rax
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r12
xorps xmm1, xmm1
movups xmmword [rbp - 0x68], xmm1
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x160]
lea rdx, [rbp - 0x68]
call fcn.14001c170
mov dword [rsp + 0x30], 6
lea rax, str.D:_acyber_ember_ransomwarecyber_ember_ransomwarecpp_boost_boost_asioip_basic_resolver.hpp
mov qword [rbp - 0x80], rax
lea rdx, str.resolve
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x70], 0x104
mov dword [rbp - 0x6c], 0x1a
mov rax, qword [rbp + 0xa0]
test al, 1
je 0x1400145f4
cmp rax, 1
jne 0x140014a93
cmp dword [rbp + 0x90], 0
setne al
test al, al
jne 0x140014a93
mov rsi, qword [rbp - 0x68]
mov qword [rbp + 0x48], rsi
mov rdi, qword [rbp - 0x60]
mov qword [rbp + 0x50], rdi
mov rbx, qword [rbp - 0x58]
mov qword [rbp + 0x58], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x148], xmm1
mov qword [rbp + 0x158], r12
movabs r8, 0x2aaaaaaaaaaaaaab
mov edx, 1
test rsi, rsi
je 0x140014a58
lea rcx, [rbx + rbx*2]
shl rcx, 5
mov rax, qword [rbp + 0x48]
add rcx, qword [rax]
movups xmm1, xmmword [rcx]
movups xmmword [rbp + 0xd8], xmm1
movsd xmm0, qword [rcx + 0x10]
movsd qword [rbp + 0xe8], xmm0
mov r12d, dword [rcx + 0x18]
mov dword [rbp + 0xf0], r12d
movd ecx, xmm1
mov dword [rsp + 0x38], ecx
cmp cx, 2
jne 0x1400146a8
mov ecx, dword [rbp + 0xdc]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
xor eax, eax
mov dword [rbp + 0x28], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
lea edx, [rax + 1]
mov ecx, dword [rsp + 0x38]
movabs r8, 0x2aaaaaaaaaaaaaab
jmp 0x1400146ad
mov eax, edx
mov dword [rbp + 0x28], edx
test eax, eax
je 0x140014730
inc rbx
mov qword [rbp + 0x58], rbx
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
mov rax, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jne 0x140014628
xor r12d, r12d
mov qword [rbp + 0x48], r12
mov rbx, rdi
mov edi, r12d
mov qword [rbp + 0x50], r12
test rbx, rbx
je 0x140014721
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001471d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001471d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp + 0x50]
mov rbx, r12
mov qword [rbp + 0x58], rbx
mov rsi, r12
jmp 0x14001461e
cmp cx, 2
jne 0x140014767
mov ecx, dword [rbp + 0xdc]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
xor ebx, ebx
mov edx, ebx
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], ebx
mov r12d, ebx
jmp 0x140014783
mov qword [rsp + 0x60], 1
xor ebx, ebx
movups xmm0, xmmword [rbp + 0xe0]
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], r12d
xorps xmm0, xmm0
cmp edx, 1
jne 0x14001483f
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], rbx
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
lea r8, [rbp + 0x1d0]
lea rdx, [rsp + 0x68]
mov ecx, 0x17
call fcn.140009b00
mov rdx, rax
test rax, rax
jne 0x140014816
lea rax, str.D:_acyber_ember_ransomwarecyber_ember_ransomwarecpp_boost_boost_asioipimpl_address_v6.ipp
mov qword [rbp - 0x18], rax
lea rax, str.to_string
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], reloc.WS2_32.dll_WSAGetLastError
mov dword [rbp - 4], 0x1a
mov rax, qword [rbp + 0xb8]
test al, 1
je 0x140014816
cmp rax, 1
jne 0x140014aa4
cmp dword [rbp + 0xa8], edx
setne al
test al, al
jne 0x140014aa4
mov qword [r15], rbx
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], shutdown
mov byte [r15], 0
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140014830
jmp 0x1400148ea
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rbx
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r8, [rbp + 0x2d0]
lea rdx, [rsp + 0x64]
mov ecx, 2
call fcn.140009b00
mov rdx, rax
test rax, rax
jne 0x1400148c5
lea rax, str.D:_acyber_ember_ransomwarecyber_ember_ransomwarecpp_boost_boost_asioipimpl_address_v4.ipp
mov qword [rbp], rax
lea rax, str.to_string
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], 0x5e
mov dword [rbp + 0x14], 0x1a
mov rax, qword [rbp + 0xd0]
test al, 1
je 0x1400148c5
cmp rax, 1
jne 0x140014ab5
cmp dword [rbp + 0xc0], edx
setne al
test al, al
jne 0x140014ab5
mov qword [r15], rbx
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], shutdown
mov byte [r15], 0
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400148e0
mov rcx, r15
call fcn.14001d080
nop
test rdi, rdi
je 0x140014929
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140014929
mov rbx, qword [rbp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140014929
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 0x10
jb 0x14001496a
inc rdx
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014965
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014a52
call fcn.1400581e0
movdqa xmm0, xmmword [0x1400a1e70]
movdqa xmmword [rbp + 0x1c0], xmm0
mov byte [rbp + 0x1b0], 0
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0x10
jb 0x1400149c2
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400149bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014a52
call fcn.1400581e0
movdqa xmm0, xmmword [0x1400a1e70]
movdqa xmmword [rbp + 0x1a0], xmm0
mov byte [rbp + 0x190], 0
lea rcx, [rbp + 0xf8]
call fcn.14001bd00
nop
mov rax, qword [rbp + 0x78]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140014a05
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x1400149f3
lock xadd dword [0x1400c0040], r14d
cmp r14d, 1
jne 0x140014a1a
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rbp + 0x78]
call fcn.140006ce0
nop
mov rax, r15
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400581c0
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140067c44
nop
lea rdx, str.IPv4_address_not_found
lea rcx, [rbp - 0x80]
call fcn.140002620
lea rdx, [0x1400b4770]
lea rcx, [rbp - 0x80]
call fcn.14005a6cc
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x60]
call fcn.140006900
nop
call fcn.140067c44
nop
call fcn.140067c44
nop
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x90]
call fcn.140006940
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0xa8]
call fcn.140006900
int3
lea rdx, [rbp]
lea rcx, [rbp + 0xc0]
call fcn.140006900
int3