Function at 0x180042a70
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x18011b040]
xor rax, rsp
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800fa404]
lea rdx, str.CONOUT_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov esi, 1
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800fa404]
lea rdx, str.CONOUT_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea ecx, [rsi + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str._________________________________________________________________________________________________________________________________________________________________________________________n______________________________________________________________________n________________________________________________________________n________________________________________________________________n____________________________________________________n________________________________________________n___________________________________________________n_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________n__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________n___Cranium_v1.7_Beta_Owned_by_Kemo__xkem0x___Maintained_by_Timmy__mawmet__PeQu__ImPeQu__GD__GDBOI101__notkrae__notkrae_and_CoolNite__CoolNite2__n_n
lea rdx, [0x1800fa388]
call fcn.18004c5f0
lea rcx, [0x18011e1a8]
cmp qword [0x18011e1c0], 0xf
cmova rcx, qword [0x18011e1a8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor edi, edi
mov ebx, edi
xor eax, eax
lock cmpxchg dword [0x18011ceb0], esi
je 0x180042b71
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x180042b5a
xor ecx, ecx
jmp 0x180042b5c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18011ceb0], esi
jne 0x180042b50
cmp qword [0x18011ceb8], rdi
jne 0x180042ce6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18011ceb8], rax
xchg dword [0x18011ceb0], edi
test rax, rax
je 0x180042cec
call fcn.180025f30
call fcn.1800408d0
call fcn.180040d50
call fcn.180042d20
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 0x35
lea rdx, str.http:__127.0.0.1:3219_carbon_cranium_verify_hash_text
lea rcx, [rsp + 0x60]
call fcn.18001d5d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
xor r8d, r8d
lea rdx, [0x1800f1ad6]
lea rcx, [rsp + 0x20]
call fcn.18001d5d0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180037db0
nop
lea rcx, [rsp + 0x20]
call fcn.18001faf0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
cmp qword [rsp + 0x50], 0
jne 0x180042c40
lea rdx, str.Failed_to_get_response_from_NeptuneCore
call fcn.180043a00
jmp 0x180042c6a
lea rdx, str.Got_response_from_NeptuneCore:
call fcn.180043a00
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rax
call fcn.18000f720
lea rdx, [0x18000e170]
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
lea rcx, [rsp + 0x40]
call fcn.18001faf0
nop
lea rcx, [rsp + 0x60]
call fcn.18001faf0
call fcn.180038290
mov r9d, 0x10
lea r8, str.CraniumV1
xor ecx, ecx
test al, al
lea rdx, str.Failed_to_verify_Cranium.
je 0x180042cb6
lea rdx, str.Verified_Cranium_:D
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.18003ff60
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800c68f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xchg dword [0x18011ceb0], edi
mov r9d, 0x10
lea r8, str.CraniumV1
lea rdx, str.Failed_to_initialize_min_hook__terminating_the_thread.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]