Function at 0x1400b12c0
Capabilities:
Get hostname

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x1a8
lea rbp, [rsp + 0x80]
mov rax, qword [0x1402840b0]
mov r14, qword [rbp + 0x198]
mov rbx, rcx
mov rcx, r8
mov r15, rdx
mov rsi, r8
mov qword [rbp - 0x38], r9
mov rdi, qword [rax]
mov qword [rbp + 0x118], rdi
xor edi, edi
call sub.msvcrt.dll_strlen
cmp rax, 0x7f
mov rcx, rax
ja 0x1400b145c
lea rax, [rax + 0x1b]
and rax, 0xfffffffffffffff0
call fcn.14015b2e0
sub rsp, rax
lea r12, [rsp + 0x30]
lea r13, [r12 + rcx]
add rcx, 1
cmp ecx, 8
jb 0x1400b1491
mov rax, qword [rsi]
mov edi, ecx
mov r8, r12
mov qword [rsp + 0x30], rax
mov rdx, qword [rsi + rdi - 8]
mov qword [r12 + rdi - 8], rdx
lea rdi, [rsp + 0x38]
sub r8, rdi
add ecx, r8d
sub rsi, r8
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_open
lea rdx, str.v0_r_n
mov r8d, 5
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_write
mov edx, dword [rbp + 0x1a0]
lea r8, [rbp - 0x20]
mov rcx, r14
mov qword [rbp - 0x40], r8
call fcn.1400b0fc0
test rax, rax
mov r14, rax
je 0x1400b143f
lea rdi, [rbp + 0x10]
call sym.libvlccore.dll_NTPtime64
mov edx, 0x100
mov rsi, rax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_gethostname]
movsx r14d, byte [rbp - 0x1b]
mov r9, rsi
mov r8, rsi
lea rdx, str.o___llu__llu_IN_IP_c__s_r_n
lea rsi, [rbp - 0x28]
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r14d
call sym.libvlccore.dll_vlc_memstream_printf
mov dword [r13], 0x656d616e
mov byte [r13 + 4], 0
mov r9, rsi
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
call sym.libvlccore.dll_var_GetChecked
test eax, eax
jne 0x1400b14d8
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x1400b14d0
cmp byte [r14], 0
je 0x1400b14d0
mov edx, 0xd
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1400b15c0
mov rcx, r14
call fcn.14016b5d8
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_close
test eax, eax
jne 0x1400b145c
mov rcx, qword [rbx + 8]
call fcn.14016b5d8
mov r15d, 0xffffffff
mov r13, qword [0x1402840b0]
mov eax, r15d
mov rbx, qword [rbp + 0x118]
xor rbx, qword [r13]
jne 0x1400b1975
lea rsp, [rbp + 0x128]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
test cl, 4
jne 0x1400b18d0
test ecx, ecx
je 0x1400b1368
movzx r9d, byte [rsi]
test cl, 2
mov byte [r12], r9b
je 0x1400b1368
mov r10d, ecx
movzx r11d, word [rsi + r10 - 2]
mov word [r12 + r10 - 2], r11w
jmp 0x1400b1368
mov rcx, r14
call fcn.14016b5d8
lea r8, str.Unnamed
lea rdx, str.s_s_r_n
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_printf
movabs rcx, 0x7470697263736564
mov dword [r13 + 8], 0x6e6f69
mov r9, rsi
mov qword [r13], rcx
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
call sym.libvlccore.dll_var_GetChecked
test eax, eax
jne 0x1400b1638
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x1400b1630
cmp byte [r14], 0
je 0x1400b1630
mov edx, 0xd
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x1400b143f
mov edx, 0xa
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
mov r10, r14
jne 0x1400b143f
jmp 0x1400b157d
cmp rax, 0xffffffffffffffff
je 0x1400b143f
add r10, rax
mov rcx, r10
mov rdx, rsi
mov qword [rbp - 0x48], r10
call sym.libvlccore.dll_vlc_towc
test rax, rax
mov r10, qword [rbp - 0x48]
jne 0x1400b1570
test r10, r10
je 0x1400b143f
lea rdx, str.i_s_r_n
mov rcx, rbx
mov r8, r14
call sym.libvlccore.dll_vlc_memstream_printf
mov rcx, r14
call fcn.14016b5d8
jmp 0x1400b164e
mov edx, 0xa
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
mov r9, r14
jne 0x1400b143f
jmp 0x1400b15ed
cmp rax, 0xffffffffffffffff
je 0x1400b143f
add r9, rax
mov rcx, r9
mov rdx, rsi
mov qword [rbp - 0x48], r9
call sym.libvlccore.dll_vlc_towc
test rax, rax
mov r9, qword [rbp - 0x48]
jne 0x1400b15e0
test r9, r9
je 0x1400b143f
lea rdx, str.s_s_r_n
mov rcx, rbx
mov r8, r14
call sym.libvlccore.dll_vlc_memstream_printf
mov rcx, r14
call fcn.14016b5d8
jmp 0x1400b14ee
mov rcx, r14
call fcn.14016b5d8
lea r8, [0x14019da39]
lea rdx, str.i_s_r_n
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_printf
mov dword [r13], 0x6c7275
mov r9, rsi
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
call sym.libvlccore.dll_var_GetChecked
test eax, eax
jne 0x1400b16fa
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x1400b16f2
cmp byte [r14], 0
je 0x1400b16f2
mov edx, 0xd
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x1400b143f
mov edx, 0xa
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
mov r11, r14
jne 0x1400b143f
jmp 0x1400b16bf
cmp rax, 0xffffffffffffffff
je 0x1400b143f
add r11, rax
mov rcx, r11
mov rdx, rsi
mov qword [rbp - 0x48], r11
call sym.libvlccore.dll_vlc_towc
test rax, rax
mov r11, qword [rbp - 0x48]
jne 0x1400b16b2
test r11, r11
je 0x1400b143f
lea rdx, str.u_s_r_n
mov r8, r14
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_printf
mov rcx, r14
call fcn.14016b5d8
mov eax, 0x6c
mov dword [r13], 0x69616d65
mov r9, rsi
mov word [r13 + 4], ax
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
call sym.libvlccore.dll_var_GetChecked
test eax, eax
jne 0x1400b17b8
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x1400b17b0
cmp byte [r14], 0
je 0x1400b17b0
mov edx, 0xd
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x1400b143f
mov edx, 0xa
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
mov r8, r14
jne 0x1400b143f
jmp 0x1400b177d
cmp rax, 0xffffffffffffffff
je 0x1400b143f
add r8, rax
mov rcx, r8
mov rdx, rsi
mov qword [rbp - 0x48], r8
call sym.libvlccore.dll_vlc_towc
test rax, rax
mov r8, qword [rbp - 0x48]
jne 0x1400b1770
test r8, r8
je 0x1400b143f
lea rdx, str.e_s_r_n
mov r8, r14
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_printf
mov rcx, r14
call fcn.14016b5d8
mov r8, qword [rbp - 0x40]
lea rdx, str.c_s_r_n
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_printf
lea rdx, str.t0_0_r_n
mov r8d, 7
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_write
lea r8, str.vlc_3.0.18
lea rdx, str.atool:_s_r_n
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_printf
lea rdx, str.arecvonly_r_n
mov r8d, 0xc
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_write
lea rdx, str.atype:broadcast_r_n
mov r8d, 0x12
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_write
lea rdx, str.acharset:UTF_8_r_n
mov r8d, 0x11
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_write
cmp qword [rbp + 0x190], 0
jne 0x1400b18e7
mov rcx, r15
mov dword [r13], 0x746163
mov r9, rsi
mov r8d, 0x40
mov rdx, r12
call sym.libvlccore.dll_var_GetChecked
test eax, eax
mov r15d, eax
jne 0x1400b1927
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x1400b191f
cmp byte [r14], 0
je 0x1400b191f
mov edx, 0xd
mov rcx, r14
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1400b192f
lea rdx, str.acat:_s_r_n
mov r8, r14
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_printf
lea rdx, str.ax_plgroup:_s_r_n
mov rcx, rbx
mov r8, r14
call sym.libvlccore.dll_vlc_memstream_printf
mov rcx, r14
call fcn.14016b5d8
jmp 0x1400b1462
mov edx, dword [rsi]
mov edi, ecx
mov dword [r12], edx
mov r8d, dword [rsi + rdi - 4]
mov dword [r12 + rdi - 4], r8d
jmp 0x1400b1368
mov edx, dword [rbp + 0x190]
mov rcx, qword [rbp - 0x38]
mov r8, rdi
call fcn.1400b0fc0
test rax, rax
je 0x1400b1843
movsx r8d, byte [rbp + 0x15]
lea r9, [rdi + 7]
lea rdx, str.asource_filter:_incl_IN_IP_c___s_r_n
mov rcx, rbx
call sym.libvlccore.dll_vlc_memstream_printf
jmp 0x1400b1843
mov rcx, r14
call fcn.14016b5d8
xor r15d, r15d
jmp 0x1400b1462
mov edx, 0xa
mov rcx, r14
mov r12, r14
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x1400b1897
jmp 0x1400b1957
cmp rax, 0xffffffffffffffff
je 0x1400b1897
add r12, rax
mov rdx, rsi
mov rcx, r12
call sym.libvlccore.dll_vlc_towc
test rax, rax
jne 0x1400b194a
test r12, r12
jne 0x1400b143f
jmp 0x1400b1897
call fcn.1400c4db0
nop
nop
nop
nop
nop
nop