Function at 0x140007eb0
Capabilities:
Get hostname
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14002f160]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor r14d, r14d
mov qword [rsp + 0x78], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r14
mov byte [rbp - 0x58], r14b
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x40], shutdown
mov qword [rsp + 0x38], 7
mov eax, dword [str.D010000]
mov dword [rsp + 0x28], eax
movzx eax, word [0x140021d24]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x140021d26]
mov byte [rsp + 0x2e], al
mov byte [rsp + 0x2f], r14b
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140002220
mov rdx, rax
mov rcx, rbx
call fcn.140001700
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x40], shutdown
mov qword [rsp + 0x38], 7
mov eax, dword [str.D010001]
mov dword [rsp + 0x28], eax
movzx eax, word [0x140021d2c]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x140021d2e]
mov byte [rsp + 0x2e], al
mov byte [rsp + 0x2f], r14b
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140006ff0
mov rdx, rax
mov rcx, rbx
call fcn.140001700
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x40], shutdown
mov qword [rsp + 0x38], 7
mov eax, dword [str.D010003]
mov dword [rsp + 0x28], eax
movzx eax, word [0x140021d34]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x140021d36]
mov byte [rsp + 0x2e], al
mov byte [rsp + 0x2f], r14b
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.140007500
mov rdx, rax
mov rcx, rbx
call fcn.140001700
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x40], shutdown
mov qword [rsp + 0x38], 7
mov eax, dword [str.D010004]
mov dword [rsp + 0x28], eax
movzx eax, word [0x140021d3c]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x140021d3e]
mov byte [rsp + 0x2e], al
mov byte [rsp + 0x2f], r14b
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], shutdown
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400080d0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140003200
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140001700
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], shutdown
mov r8d, 7
lea rdx, str.D010005
lea rcx, [rsp + 0x48]
call fcn.140003200
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140007970
mov rdx, rax
mov rcx, rbx
call fcn.140001700
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], shutdown
mov r8d, 7
lea rdx, str.D010006
lea rcx, [rsp + 0x48]
call fcn.140003200
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], shutdown
mov r8d, 7
lea rdx, str.windows
lea rcx, [rsp + 0x28]
call fcn.140003200
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140001700
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], shutdown
mov r8d, 7
lea rdx, str.D010007
lea rcx, [rsp + 0x48]
call fcn.140003200
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [rbp - 0x48]
cmp cx, 9
je 0x14000822b
cmp cx, 6
je 0x14000822b
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], shutdown
lea rdx, [0x140021cd8]
jmp 0x140008245
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], shutdown
lea rdx, [0x140021cd4]
mov r8d, 3
lea rcx, [rsp + 0x28]
call fcn.140003200
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140001700
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], shutdown
mov r8d, 7
lea rdx, str.D010008
lea rcx, [rsp + 0x48]
call fcn.140003200
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140007a20
mov rdx, rax
mov rcx, rbx
call fcn.140001700
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], shutdown
mov r8d, 7
lea rdx, str.D010009
lea rcx, [rsp + 0x48]
call fcn.140003200
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400026d0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140007ad0
mov rdx, rax
mov rcx, rbx
call fcn.140001700
mov r8d, 1
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140002a10
nop
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14000837f
mov rdi, qword [rbp - 0x68]
cmp rbx, rdi
je 0x140008345
nop word [rax + rax]
mov rcx, rbx
call fcn.1400024e0
add rbx, 0x28
cmp rbx, rdi
jne 0x140008330
mov rbx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x60]
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1400038c0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400083c0
mov rdi, qword [rbp - 0x80]
cmp rbx, rdi
je 0x1400083a8
mov rcx, rbx
call fcn.1400024e0
add rbx, 0x20
cmp rbx, rdi
jne 0x140008392
mov rbx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
sub r8, rbx
sar r8, 5
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1400066f0
mov rax, rsi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14001d230
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret