Function at 0x14004cb40
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 - 0x158]
sub rsp, 0x240
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov rdi, qword [rbp + 0x160]
mov rsi, qword [rbp + 0x168]
mov qword [rbp], rsi
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x140213360]
movdqu xmmword [rbp + 0x20], xmm1
mov word [rbp + 0x10], r14w
xorps xmm1, xmm1
cmp byte [rdi + 0x260], r14b
je 0x14004ce21
movdqu xmmword [rbp + 0xd8], xmm0
movdqu xmmword [rbp + 0xe8], xmm1
mov dword [rbp + 0xc8], 0xcb37db74
mov dword [rbp + 0xcc], 0x8202ffa6
mov dword [rbp + 0xd0], 0xc2566f2f
mov dword [rbp + 0xd4], 0x7783fd66
mov dword [rbp - 8], reloc.WS2_32.dll_recv
lea rdx, [rbp - 8]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14004cc26
lea r8, str.c3be9f65b1bb80e
lea edx, [rax + 0x10]
lea rcx, [rbp + 0xd8]
call fcn.14016e90c
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, vtable.asw::root::detail::basic_hash.0
mov qword [rbp - 0x38], rax
cmp byte [0x14024299c], 0
jne 0x14004cc57
mov byte [0x14024299c], 1
mov cl, 1
call fcn.14007e9f0
xor al, 1
mov byte [0x14024299d], al
lea rbx, vtable.asw::root::md5.0
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], r14
lea rcx, [rbp - 0x38]
call fcn.140075a30
mov rax, qword [rbp - 0x38]
mov r8d, 0x30
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x38]
mov rax, qword [rax + 8]
call qword [case.0x1400cd6b1.0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov r8d, 7
lea rdx, str.icarus_
lea rcx, [rbp + 0x30]
call fcn.140025740
nop
lea rdx, [rdi + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14004ccc9
mov rdx, qword [rdx]
lea rcx, [rbp + 0x30]
call fcn.140023930
mov rax, qword [rbp + 0x40]
lea r8, [rax + rax]
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rdx, qword [rbp + 0x30]
mov rax, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
mov rax, qword [rax + 8]
call qword [case.0x1400cd6b1.0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.140075c60
nop
mov rdx, qword [rbp + 0x58]
mov r8, qword [rbp + 0x60]
cmp rdx, r8
je 0x14004d12c
mov qword [rbp], r14
mov qword [rbp + 8], r14
sub r8, rdx
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea rcx, [rsp + 0x68]
call fcn.1400533c0
nop
mov r9d, 7
lea r8, str.Global_
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400233c0
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 + 0x28]
cmp rdx, 7
jbe 0x14004cdbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cdb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d15b
call fcn.140144330
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp + 0x20], xmm7
movdqa xmm0, xmmword [0x140213360]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
lea rcx, [rsp + 0x48]
call fcn.140025f00
nop
lea rcx, [rsp + 0x68]
call fcn.140025f00
nop
lea rcx, [rbp + 0x58]
call fcn.140025240
nop
lea rcx, [rbp + 0x30]
call fcn.140025f00
nop
mov qword [rbp - 0x38], rbx
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14004d0cb
mov edx, 0x58
call fcn.140144330
jmp 0x14004d0cb
movdqu xmmword [rbp + 0x84], xmm0
movdqu xmmword [rbp + 0x94], xmm1
mov dword [rbp + 0x70], 0xcb37db74
mov dword [rbp + 0x74], 0x8202ffa6
mov dword [rbp + 0x78], 0xc2566f2f
mov dword [rbp + 0x7c], 0x7783fd66
mov dword [rbp + 0x80], 0x20059
mov dword [rbp], reloc.WS2_32.dll_recv
lea rdx, [rbp]
lea rcx, [rbp + 0x84]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14004ce89
lea r8, str.c3be9f65b1bb80e
lea edx, [rax + 0x10]
lea rcx, [rbp + 0x84]
call fcn.14016e90c
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, vtable.asw::root::detail::basic_hash.0
mov qword [rbp - 0x38], rax
cmp byte [0x14024299c], 0
jne 0x14004cec8
mov byte [0x14024299c], 1
mov cl, 1
call fcn.14007e9f0
xor al, 1
mov byte [0x14024299d], al
lea rbx, vtable.asw::root::md5.0
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], r14
mov r9d, gethostname
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x38]
call fcn.140075d70
nop
mov qword [rbp - 0x38], rbx
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14004cf0a
mov edx, 0x58
call fcn.140144330
nop
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x28]
call fcn.140025a50
nop
mov cl, 1
call fcn.1401416b0
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x38]
call fcn.140024ce0
mov r11, rax
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x18]
lea r8, [rdx + rcx*2]
lea rdx, [rbp - 0x28]
cmova rdx, qword [rbp - 0x28]
mov rax, qword [rax]
mov rcx, r11
mov rax, qword [rax + 0x38]
call qword [case.0x1400cd6b1.0]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14004cf91
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400cd6b1.0]
mov r8, rax
test rax, rax
je 0x14004cf91
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x1400cd6b1.0]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rcx, qword [rbp - 0x28]
movzx ecx, word [rcx]
call fcn.14016e904
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rcx, qword [rbp - 0x28]
mov word [rcx], ax
mov rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xb8]
cmp rdx, r8
je 0x14004d161
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
sub r8, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea rcx, [rbp - 0x58]
call fcn.1400533c0
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x18]
sub rax, rcx
cmp rax, 7
jb 0x14004d126
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 7
lea r9, str.Global_
lea rcx, [rbp - 0x78]
call fcn.140015aa0
nop
mov r8d, 1
lea rdx, [0x1402089d8]
lea rcx, [rbp - 0x78]
call fcn.140023930
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 - 0x58]
lea r8, [rsp + 0x48]
lea rcx, [rbp + 0xf8]
call fcn.140033520
nop
lea rcx, [rsp + 0x48]
call fcn.140025f00
nop
lea rcx, [rbp - 0x78]
call fcn.140025f00
nop
lea rcx, [rbp - 0x58]
call fcn.140025f00
lea rcx, [rbp + 0xf8]
call fcn.140025f00
nop
lea rcx, [rbp - 0x28]
call fcn.140025f00
nop
lea rcx, [rbp + 0xb0]
call fcn.140025240
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova r8, qword [rbp + 0x10]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsi], rax
lea rcx, [rbp + 0x10]
call fcn.140025f00
mov rax, rsi
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.140144310
lea r11, [rsp + 0x240]
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.140025b80
nop
lea rdx, str.Unable_to_convert_uninitialized_digest_to_string_
lea rcx, [rbp - 0x58]
call fcn.1400219a0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x78]
call fcn.1400535d0
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x78]
call fcn.14015a550
nop
call fcn.140167900
nop
lea rdx, str.Unable_to_convert_uninitialized_digest_to_string_
lea rcx, [rsp + 0x68]
call fcn.1400219a0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x50]
call fcn.1400535d0
lea rdx, [0x14023da00]
lea rcx, [rbp + 0x50]
call fcn.14015a550
int3