Function at 0x140049da0
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x168]
sub rsp, 0x250
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rdi, qword [rbp + 0x170]
mov rsi, qword [rbp + 0x178]
mov qword [rbp + 8], rsi
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
movdqa xmm1, xmmword [0x1401e8230]
movdqu xmmword [rbp + 0x28], xmm1
mov word [rbp + 0x18], r14w
xorps xmm1, xmm1
cmp byte [rdi + 0x278], r14b
je 0x14004a093
movdqu xmmword [rbp + 0xe0], xmm0
movdqu xmmword [rbp + 0xf0], xmm1
mov dword [rbp + 0xd0], 0xcb37db74
mov dword [rbp + 0xd4], 0x8202ffa6
mov dword [rbp + 0xd8], 0xc2566f2f
mov dword [rbp + 0xdc], 0x7783fd66
mov dword [rbp], reloc.WS2_32.dll_recv
lea rdx, [rbp]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140049e86
lea r8, str.c3be9f65b1bb80e
lea edx, [rax + 0x10]
lea rcx, [rbp + 0xe0]
call fcn.14014a348
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rax, vtable.asw::root::detail::basic_hash.0
mov qword [rbp - 0x30], rax
cmp byte [0x14021396c], 0
jne 0x140049eb7
mov byte [0x14021396c], 1
mov cl, 1
call fcn.14007a0c0
xor al, 1
mov byte [0x14021396d], al
lea rbx, vtable.asw::root::md5.0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], r14
lea rcx, [rbp - 0x30]
call fcn.140071310
mov rax, qword [rbp - 0x30]
mov r8d, 0x30
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x30]
mov rax, qword [rax + 8]
call qword [case.0x1400cc851.0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], r14
mov r8d, 7
lea rdx, str.icarus_
lea rcx, [rbp + 0x38]
call fcn.1400258d0
nop
lea rdx, [rdi + 0x280]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140049f29
mov rdx, qword [rdx]
lea rcx, [rbp + 0x38]
call fcn.1400237f0
mov rax, qword [rbp + 0x48]
lea r8, [rax + rax]
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 7
cmova rdx, qword [rbp + 0x38]
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
mov rax, qword [rax + 8]
call qword [case.0x1400cc851.0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x30]
call fcn.140071540
nop
mov rdx, qword [rbp + 0x98]
mov r8, qword [rbp + 0xa0]
cmp rdx, r8
je 0x14004a38f
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
sub r8, rdx
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea rcx, [rsp + 0x68]
call fcn.14004fcc0
nop
mov r9d, 7
lea r8, str.Global_
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140022bd0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x48], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x14004a02a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a025
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a3b6
call fcn.140133620
movups xmmword [rbp + 0x18], xmm6
movups xmmword [rbp + 0x28], xmm7
movdqa xmm0, xmmword [0x1401e8230]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
lea rcx, [rsp + 0x48]
call fcn.140025e80
nop
lea rcx, [rsp + 0x68]
call fcn.140025e80
nop
lea rcx, [rbp + 0x98]
call fcn.140025210
nop
lea rcx, [rbp + 0x38]
call fcn.140025e80
nop
mov qword [rbp - 0x30], rbx
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14004a32e
mov edx, 0x58
call fcn.140133620
jmp 0x14004a32e
movdqu xmmword [rbp + 0x6c], xmm0
movdqu xmmword [rbp + 0x7c], xmm1
mov dword [rbp + 0x58], 0xcb37db74
mov dword [rbp + 0x5c], 0x8202ffa6
mov dword [rbp + 0x60], 0xc2566f2f
mov dword [rbp + 0x64], 0x7783fd66
mov dword [rbp + 0x68], 0x20059
mov dword [rbp + 8], reloc.WS2_32.dll_recv
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x6c]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14004a0ec
lea r8, str.c3be9f65b1bb80e
lea edx, [rax + 0x10]
lea rcx, [rbp + 0x6c]
call fcn.14014a348
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp - 0x30], xmm0
lea rax, vtable.asw::root::detail::basic_hash.0
mov qword [rbp - 0x30], rax
cmp byte [0x14021396c], 0
jne 0x14004a12b
mov byte [0x14021396c], 1
mov cl, 1
call fcn.14007a0c0
xor al, 1
mov byte [0x14021396d], al
lea rbx, vtable.asw::root::md5.0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], r14
mov r9d, getservbyname
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x30]
call fcn.140071640
nop
mov qword [rbp - 0x30], rbx
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14004a16d
mov edx, 0x58
call fcn.140133620
nop
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x20]
call fcn.140025a20
nop
mov cl, 1
call fcn.1401308cc
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x30]
call fcn.140024c00
mov r11, rax
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x10]
lea r8, [rdx + rcx*2]
lea rdx, [rbp - 0x20]
cmova rdx, qword [rbp - 0x20]
mov rax, qword [rax]
mov rcx, r11
mov rax, qword [rax + 0x38]
call qword [case.0x1400cc851.0]
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14004a1f4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400cc851.0]
mov r8, rax
test rax, rax
je 0x14004a1f4
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x1400cc851.0]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
movzx ecx, word [rcx]
call fcn.14014a340
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
mov word [rcx], ax
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
cmp rdx, r8
je 0x14004a3bc
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
sub r8, rdx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea rcx, [rbp - 0x50]
call fcn.14004fcc0
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 7
jb 0x14004a389
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rax, qword [rbp - 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 7
lea r9, str.Global_
lea rcx, [rbp - 0x70]
call fcn.140023000
nop
mov r8d, 1
lea rdx, [0x1401dea08]
lea rcx, [rbp - 0x70]
call fcn.1400237f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x48]
lea rcx, [rbp + 0x100]
call fcn.140032fc0
nop
lea rcx, [rsp + 0x48]
call fcn.140025e80
nop
lea rcx, [rbp - 0x70]
call fcn.140025e80
nop
lea rcx, [rbp - 0x50]
call fcn.140025e80
lea rcx, [rbp + 0x100]
call fcn.140025e80
nop
lea rcx, [rbp - 0x20]
call fcn.140025e80
nop
lea rcx, [rbp + 0xb8]
call fcn.140025210
lea r8, [rbp + 0x18]
cmp qword [rbp + 0x30], 7
cmova r8, qword [rbp + 0x18]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsi], rax
lea rcx, [rbp + 0x18]
call fcn.140025e80
mov rax, rsi
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140025b50
nop
lea rdx, str.Unable_to_convert_uninitialized_digest_to_string_
lea rcx, [rbp + 0x100]
call fcn.1400966e0
lea rdx, [0x14020e468]
lea rcx, [rbp + 0x100]
call fcn.140135f84
nop
call fcn.140143340
nop
lea rdx, str.Unable_to_convert_uninitialized_digest_to_string_
lea rcx, [rsp + 0x68]
call fcn.1400966e0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x68]
call fcn.140135f84
int3