Function at 0x140012560
Capabilities:
Create thread
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
lea r8d, [r15 + 7]
lea rdx, str.Unknown
lea rcx, [rbp - 0x40]
call fcn.140005c90
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
lea r8d, [r15 + 7]
lea rdx, str.Unknown
lea rcx, [rbp - 0x20]
call fcn.140005c90
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
lea r8d, [r15 + 7]
lea rdx, str.Unknown
lea rcx, [rbp]
call fcn.140005c90
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
lea r8d, [r15 + 4]
lea rdx, str.none
lea rcx, [rbp - 0x70]
call fcn.140005c90
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
lea rdx, [rsp + 0x70]
call fcn.140010070
nop
lea ecx, [r15 + 8]
call fcn.1400143a0
lea rcx, [rsp + 0x70]
mov qword [rax], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140013160]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400128fc
cmp dword [rsp + 0x68], r15d
je 0x1400128f0
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400128f0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, str.Failed_to_get_system_name.
lea rdx, [rbp + 0x20]
test eax, eax
cmove rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400126f0
lea rcx, [rsp + 0x30]
call fcn.140005c90
lea rcx, [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, 0x10
setae r14b
mov rbx, qword [rsp + 0x30]
cmovae rcx, rbx
mov r8, qword [rsp + 0x40]
cmp r8, 6
jne 0x14001273f
lea rdx, str.DEBIAN
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001273f
mov dil, 1
jmp 0x140012742
xor dil, dil
test r14b, r14b
je 0x14001277b
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140012773
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012773
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400143dc
test dil, dil
je 0x14001290d
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
mov r8d, 0x1a
lea rdx, str.You_are_not_using_Windows.
lea rcx, [rbp + 0x20]
call fcn.140005c90
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005260
lea rdx, [0x140005430]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14001281c
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012816
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012816
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
nop
cmp dword [rsp + 0x68], 0
je 0x14001282a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140012869
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012864
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012864
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], send
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400128b9
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400128b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400128b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400143dc
nop
lea rcx, [rbp - 0x40]
call fcn.14000b1c0
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140014380
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x68], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor r9d, r9d
lea r8, [0x140018fc8]
lea rdx, str.Welcome_to_Daulaires_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140004660
int3