Function at 0x18001a110
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor edi, edi
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov qword [rbp - 1], rdi
lea rcx, [rbp - 0x11]
call fcn.18001d6b0
mov eax, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
sub eax, ecx
mov dword [rbp - 0x19], eax
lea rdx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x18001a317
lea rax, str._passphrase_:____r_n__hostname_:___r_n
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], 0x26
lea rax, [0x180057178]
cmp qword [0x180057190], 0xf
cmova rax, qword [0x180057178]
mov qword [rbp - 0x79], rax
mov rax, qword [0x180057188]
mov qword [rbp - 0x71], rax
movups xmm0, xmmword [rbp - 0x79]
movups xmmword [rbp + 0x17], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp + 7], rax
mov rax, qword [rbp - 0x11]
mov qword [rbp + 0x27], rax
movabs rax, 0xb000000000000010
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x79], 2
lea rax, [rbp + 7]
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
movaps xmm1, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm1
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x2f]
call fcn.18001d4e0
nop
lea r8, [rbp + 0x2f]
lea rcx, [rbp - 0x59]
call fcn.18001c590
nop
mov r8d, 1
lea rdx, [0x18004dcd0]
mov rcx, rax
call fcn.180005660
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
lea rcx, [rbx + 0x10]
lea rdx, [rbp - 0x39]
call fcn.180007d00
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x18001a293
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a28d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a28d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180027ccc
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x18001a2d2
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a2cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a2cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180027ccc
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x18001a4a5
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a49f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a49f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rax, str._passphrase_:____r_n__hostname_:_unknown_host__r_n
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], 0x30
lea rax, [0x180057178]
cmp qword [0x180057190], 0xf
cmova rax, qword [0x180057178]
mov qword [rbp - 0x59], rax
mov rax, qword [0x180057188]
mov qword [rbp - 0x51], rax
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x31], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x59], 1
lea rax, [rbp - 0x39]
mov qword [rbp - 0x51], rax
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
movaps xmm1, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm1
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 7]
call fcn.18001d4e0
nop
lea r8, [rbp + 7]
lea rcx, [rbp - 0x79]
call fcn.18001c590
nop
mov r8d, 1
lea rdx, [0x18004dcd0]
mov rcx, rax
call fcn.180005660
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbx + 0x10]
lea rdx, [rbp - 0x39]
call fcn.180007d00
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x18001a427
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a421
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a421
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180027ccc
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x18001a466
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a460
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a460
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180027ccc
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x18001a4a5
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a49f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a49f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180027ccc
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x18001a4e2
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a4dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a4dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180027ccc
mov al, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180027890
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret