Function at 0x1400033d0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400900c0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
call fcn.140003080
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x50]
call fcn.14006cd10
lea r14, [rsi + 8]
mov rdx, r14
cmp qword [rsi + 0x20], 0xf
jbe 0x140003444
mov rdx, qword [r14]
lea rcx, [rbp - 0x50]
call fcn.14000a650
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
mov dword [rsp + 0x78], 0x100
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov qword [rbp - 0x80], r15
xorps xmm0, xmm0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
movups xmmword [rbp - 0x78], xmm0
test eax, eax
je 0x1400034c5
lea rax, [rbp + 0xc0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400034b2
lea rdx, [rbp + 0xc0]
jmp 0x1400034d2
mov r8d, 7
lea rdx, str.Unknown
lea rcx, [rbp - 0x80]
call fcn.14000caa0
mov dword [rsp + 0x30], 3
lea rdx, str.External_IP:
lea rcx, [rbp - 0x50]
call fcn.14000bf90
lea rdx, [rbx + 8]
cmp qword [rbx + 0x20], 0xf
jbe 0x140003501
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x18]
mov rcx, rax
call fcn.14000f130
lea rdx, str.__Hostname:
mov rcx, rax
call fcn.14000bf90
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.14000f130
lea rdx, [0x1400880ec]
mov rcx, rax
call fcn.14000bf90
mov rdi, qword [0x1400935c0]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400035af
lea rdx, [rbx + 0x18]
cmp qword [rbx + 0x30], 0xf
jbe 0x140003562
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000f130
lea rdx, [0x140088110]
mov rcx, rax
call fcn.14000bf90
lea rdx, [rbx + 0x40]
cmp qword [rbx + 0x58], 0xf
jbe 0x14000358c
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x50]
mov rcx, rax
call fcn.14000f130
lea rdx, [0x1400880ec]
mov rcx, rax
call fcn.14000bf90
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140003554
lea rcx, [rbp - 0x48]
call fcn.14000a550
test rax, rax
jne 0x1400035ef
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 8], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x40]
and eax, 0x17
mov dword [rbp + rcx - 0x40], eax
mov edx, dword [rbp + rcx - 0x3c]
and edx, eax
jne 0x1400036d7
lea rdx, [0x140088022]
lea rcx, [0x140091630]
call fcn.14000bf90
cmp qword [rsi + 0x20], 0xf
jbe 0x14000360c
mov r14, qword [r14]
mov r8, qword [rsi + 0x18]
mov rdx, r14
mov rcx, rax
call fcn.14000f130
lea rdx, [0x1400880ec]
mov rcx, rax
call fcn.14000bf90
nop
lea rcx, [rbp - 0x80]
call fcn.14000aa30
mov rcx, qword [rbp - 0x80]
mov qword [rbp - 0x80], r15
mov edx, select
call fcn.14000d680
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.140007ff0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rcx, qword [rbp - 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx - 0x54], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x58]
call fcn.140011670
nop
mov rax, rsi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140012f40
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
test dl, 4
je 0x1400036e5
lea rbx, str.ios_base::badbit_set
jmp 0x1400036fa
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140001ee0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002b10
lea rdx, [0x14008e2e0]
lea rcx, [rsp + 0x50]
call fcn.140016870
int3