Function at 0x180040f90
Capabilities:
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x18011c040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.18003d1f0
cmp qword [0x18011edd8], r15
jne 0x18003e58c
mov r12d, 0x5dc
nop dword [rax + rax]
mov ecx, 0xbb8
cmp dword [0x18011dd38], 0x14
cmovge ecx, r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14d, r15d
mov rbx, r15
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov edi, dword [rcx + rdi + 0x50]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rax
lea rdx, str.89_54_24_10_4C_89_44_24_18_4C_89_4C_24_20_48_83_EC_28_48_85_C9
lea rcx, [rbp - 0x19]
call fcn.18001e720
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov r10, qword [rbp - 0x11]
mov r11, qword [rbp - 0x19]
sub r10, r11
sar r10, 2
mov r9d, r15d
sub rdi, r10
je 0x18003e52b
mov edx, r15d
test r10, r10
je 0x18003e510
mov rax, r15
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x18003e507
cmp r8d, 0xffffffff
jne 0x18003e518
inc edx
mov eax, edx
cmp rax, r10
jb 0x18003e4f0
test r14d, r14d
jle 0x18003e525
dec r14d
inc r9d
mov eax, r9d
cmp rax, rdi
jb 0x18003e4e5
jmp 0x18003e52b
mov ebx, r9d
add rbx, rsi
test r11, r11
je 0x18003e57c
mov rax, qword [rbp - 9]
sub rax, r11
sar rax, 2
lea rdx, [rax*4]
mov rax, r11
cmp rdx, 0x1000
jb 0x18003e568
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003e653
mov rcx, r11
call fcn.1800c8ea0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r15
mov qword [0x18011edd8], rbx
test rbx, rbx
je 0x18003e460
movsd xmm6, qword [0x180105ff8]
movsd xmm1, qword [0x18011dd30]
mov esi, r15d
mov r14, r15
mov rcx, qword [0x18011dbc8]
comisd xmm6, xmm1
jbe 0x18003e6ac
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
lea rdx, str.48_89_5C_24_08_48_89_6C_24_10_48_89_74_24_18_57_48_83_EC_30_33_ED_49_8B_F0_48_8B_D9
lea rcx, [rbp - 0x59]
call fcn.18001e720
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
mov r10, qword [rbp - 0x51]
mov r11, qword [rbp - 0x59]
sub r10, r11
sar r10, 2
mov r9d, r15d
sub rbx, r10
je 0x18003e660
mov edx, r15d
test r10, r10
je 0x18003e640
mov rax, r15
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x18003e637
cmp r8d, 0xffffffff
jne 0x18003e646
inc edx
mov eax, edx
cmp rax, r10
jb 0x18003e620
test esi, esi
jle 0x18003e65a
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x18003e615
jmp 0x18003e660
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r14d, r9d
add r14, rdi
test r11, r11
je 0x18003e8b1
mov rax, qword [rbp - 0x49]
sub rax, r11
sar rax, 2
lea rdx, [rax*4]
mov rax, r11
cmp rdx, 0x1000
jb 0x18003e8a9
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003e8a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsd xmm0, qword [0x180106048]
comisd xmm0, xmm1
jbe 0x18003e7b5
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
lea rdx, str.48_89_5C_24_08_48_89_6C_24_10_56_57_41_56_48_83_EC_50_33_ED_49_8B_F0_8B_DA_48_8B_F9
lea rcx, [rbp - 0x59]
call fcn.18001e720
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
mov r10, qword [rbp - 0x51]
mov r11, qword [rbp - 0x59]
sub r10, r11
sar r10, 2
mov r9d, r15d
sub rbx, r10
je 0x18003e769
mov edx, r15d
test r10, r10
je 0x18003e750
mov rax, r15
nop dword [rax + rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x18003e747
cmp r8d, 0xffffffff
jne 0x18003e756
inc edx
mov eax, edx
cmp rax, r10
jb 0x18003e730
test esi, esi
jle 0x18003e763
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x18003e720
jmp 0x18003e769
mov r14d, r9d
add r14, rdi
test r11, r11
je 0x18003e8b1
mov rax, qword [rbp - 0x49]
sub rax, r11
sar rax, 2
lea rdx, [rax*4]
mov rax, r11
cmp rdx, 0x1000
jb 0x18003e8a9
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003e8a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
lea rdx, str.48_89_5C_24___55_56_57_41_56_41_57_48_83_EC_50_33_DB_49_8B_F0_48_8B_F9_8B_EB_81_FA
lea rcx, [rbp - 0x59]
call fcn.18001e720
mov rcx, qword [0x18011dbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
mov r10, qword [rbp - 0x51]
mov r11, qword [rbp - 0x59]
sub r10, r11
sar r10, 2
mov r9d, r15d
sub rbx, r10
je 0x18003e869
mov edx, r15d
test r10, r10
je 0x18003e850
mov rax, r15
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x18003e847
cmp r8d, 0xffffffff
jne 0x18003e856
inc edx
mov eax, edx
cmp rax, r10
jb 0x18003e830
test esi, esi
jle 0x18003e863
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x18003e817
jmp 0x18003e869
mov r14d, r9d
add r14, rdi
test r11, r11
je 0x18003e8b1
mov rax, qword [rbp - 0x49]
sub rax, r11
sar rax, 2
lea rdx, [rax*4]
mov rax, r11
cmp rdx, 0x1000
jb 0x18003e8a9
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003e8a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800c8ea0
mov qword [0x18011ede0], r14
mov rbx, qword [0x18011edd8]
test rbx, rbx
jne 0x18003e923
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
lea r8d, [rbx + 0x21]
lea rdx, str.CurlEasy_failed_to_set__aborting_
lea rcx, [rbp - 0x59]
call fcn.18001d4b0
nop
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rdx, qword [rbp - 0x59]
mov r9d, 0x10010
lea r8, str.CraniumV1
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rbp - 0x59]
call fcn.18001f9d0
mov rbx, qword [0x18011edd8]
mov r14, qword [0x18011ede0]
test r14, r14
jne 0x18003e987
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
lea r8d, [r14 + 0x20]
lea rdx, str.CurlOpt_failed_to_set__aborting_
lea rcx, [rbp - 0x59]
call fcn.18001d4b0
nop
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rdx, qword [rbp - 0x59]
mov r9d, 0x10010
lea r8, str.CraniumV1
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rbp - 0x59]
call fcn.18001f9d0
mov rbx, qword [0x18011edd8]
mov r14, qword [0x18011ede0]
mov qword [0x18011e608], rbx
mov qword [0x18011e610], r14
movsd xmm0, qword [0x180105fa8]
movsd xmm1, qword [0x18011dd30]
comisd xmm0, xmm1
jbe 0x18003eabc
mov rax, qword [0x18011de08]
test rax, rax
jne 0x18003e9d9
lea rdx, [0x180049da0]
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov qword [0x18011de08], rax
mov rbx, qword [0x18011e608]
lea rdi, [0x18004ace0]
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x29], rbx
test rax, rax
je 0x18003eb12
mov r8d, 0x30
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003eb12
mov r8d, 0x30
lea rdx, [rbp - 0x59]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003eb12
mov rax, qword [rbp - 0x59]
cmp qword [rbp - 0x19], rax
je 0x18003eb12
mov rdx, qword [0x18011c538]
cmp rdx, qword [0x18011c540]
je 0x18003ea5f
xor eax, eax
mov dword [rdx], eax
mov r9, qword [0x18011c538]
lea rax, [r9 + 4]
mov qword [0x18011c538], rax
jmp 0x18003ea67
call fcn.180049a30
mov r9, rax
mov edx, 1
mov r8d, 0x120
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18003ea8c
sub qword [0x18011c538], 4
jmp 0x18003eb12
mov rdx, qword [0x18011c520]
cmp rdx, qword [0x18011c528]
je 0x18003eaad
mov qword [rdx], rbx
mov qword [rdx + 8], rdi
add qword [0x18011c520], 0x10
jmp 0x18003eb12
lea r9, [rbp - 0x21]
lea r8, [rbp - 0x29]
call fcn.180049be0
jmp 0x18003eb12
comisd xmm6, xmm1
jbe 0x18003eaef
call fcn.1800c6920
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1800c6e50
lea rdx, [0x18004ace0]
lea rcx, [0x18011e608]
call fcn.1800c6150
call fcn.1800c69a0
jmp 0x18003eb12
test rbx, rbx
je 0x18003eb12
xor r8d, r8d
lea rdx, [0x18004ace0]
mov rcx, rbx
call fcn.1800c3930
mov rcx, qword [0x18011edd8]
call fcn.1800c3bc8
mov al, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800c8b10
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
sub rsp, 0x48
call fcn.180038280
test al, al
jne 0x180040fbf
lea rdx, str.Failed_to_load_Carbon._Please_make_sure_your_CarbonLauncher_is_up_to_date_
lea rcx, [rsp + 0x20]
call fcn.18001f900
mov dl, 1
mov rcx, rax
call fcn.18008dfc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], rdi
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 ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800fbf1c]
mov rcx, rax
lea rdx, str.CONOUT_
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 ecx, esi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1800fbf1c]
mov rcx, rax
lea rdx, str.CONOUT_
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, [0x1800fbdf8]
call fcn.1800498a0
cmp qword [0x18011e9a8], 0xf
lea rcx, [0x18011e990]
cmova rcx, qword [0x18011e990]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor edi, edi
mov ebx, edi
xor eax, eax
lock cmpxchg dword [0x18011de90], esi
je 0x1800410a6
cmp rbx, 0x20
jae 0x18004108f
xor ecx, ecx
jmp 0x180041091
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18011de90], esi
jne 0x180041085
cmp qword [0x18011de98], rdi
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jne 0x1800410fa
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18011de98], rax
xchg dword [0x18011de90], edi
test rax, rax
je 0x180041100
call fcn.180025a90
call fcn.18003edb0
call fcn.18003f220
call fcn.180041130
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
jmp 0x18003e400
xchg dword [0x18011de90], 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]