Function at 0x140012400
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 [0x14001f008]
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.140005de0
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.140005de0
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.140005de0
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.140005de0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
lea rdx, [rsp + 0x70]
call fcn.1400102d0
nop
lea ecx, [r15 + 8]
call fcn.140013fa0
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, [0x140012ff0]
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 0x14001279c
cmp dword [rsp + 0x68], r15d
je 0x140012790
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 0x140012790
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 0x140012590
lea rcx, [rsp + 0x30]
call fcn.140005de0
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 0x1400125df
lea rdx, str.DEBIAN
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400125df
mov dil, 1
jmp 0x1400125e2
xor dil, dil
test r14b, r14b
je 0x14001261b
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140012613
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012613
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140013fdc
test dil, dil
je 0x1400127ad
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.140005de0
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.1400053b0
lea rdx, [0x140005580]
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 0x1400126bc
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400126b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400126b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013fdc
nop
cmp dword [rsp + 0x68], 0
je 0x1400126ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140012709
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012704
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012704
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013fdc
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], send
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140012759
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012753
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012753
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013fdc
nop
lea rcx, [rbp - 0x40]
call fcn.14000b420
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140013f80
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
call fcn.1400049d0
int3