Function at 0x18000e400
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x180028040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
cmp byte [0x1800280a8], 0
je 0x18000e909
mov byte [0x1800280a8], 0
lea rcx, [rbp + 0x2f]
call fcn.180013e80
nop
cmp qword [0x180029738], 0
je 0x18000e463
lea rdx, [0x180021ab8]
lea rcx, [0x1800296b0]
call fcn.1800056a0
cmp qword [0x180029840], 0
je 0x18000e480
lea rdx, [0x180021ab8]
lea rcx, [0x1800297b8]
call fcn.1800056a0
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.18000dbd0
mov rdx, rax
lea rcx, [0x1800296b0]
call fcn.18000eba0
mov rbx, rax
cmp qword [rax + 0x88], 0
je 0x18000e4b8
lea rdx, str.___INTERNAL_FAILURE_
mov rcx, rax
call fcn.1800056a0
cmp qword [rbx + 0x190], 0
je 0x18000e4d5
lea rcx, [rbx + 0x108]
lea rdx, str.___INTERNAL_FAILURE_
call fcn.1800056a0
cmp qword [rbx + 0x88], 0
je 0x18000e4ea
mov rdx, rdi
mov rcx, rbx
call fcn.1800056a0
cmp qword [rbx + 0x190], 0
je 0x18000e503
lea rcx, [rbx + 0x108]
mov rdx, rdi
call fcn.1800056a0
cmp qword [rbx + 0x88], 0
je 0x18000e534
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx edx, al
mov rcx, rbx
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__::put_char____ptr64]
mov rcx, rbx
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__::flush_void____ptr64]
cmp qword [rbx + 0x190], 0
je 0x18000e56c
add rbx, 0x108
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx edx, al
mov rcx, rbx
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__::put_char____ptr64]
mov rcx, rbx
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__::flush_void____ptr64]
mov r8, qword [0x180029390]
cmp qword [0x180029398], 0
je 0x18000e590
cmp qword [0x1800293a0], 0
je 0x18000e590
test r8, r8
je 0x18000e590
mov al, 1
jmp 0x18000e592
xor al, al
test al, al
je 0x18000e895
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov eax, dword [0x1800293a8]
cmp eax, 1
jne 0x18000e5b1
lea ecx, [rax + 0xc]
jmp 0x18000e621
cmp eax, 2
je 0x18000e5f4
cmp eax, 3
je 0x18000e5cd
mov ecx, 0xc
mov edx, 0xe
cmp eax, 4
cmove ecx, edx
jmp 0x18000e621
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
imul ecx, eax, 0xe
mov eax, 0x80010003
imul ecx
add edx, ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
inc ecx
add ecx, edx
mov r8, qword [0x180029390]
jmp 0x18000e621
mov ecx, dword [0x1800280ac]
lea eax, [rcx + 1]
mov dword [0x1800280ac], eax
cmp eax, 0xf
jle 0x18000e614
mov dword [0x1800280ac], 1
jmp 0x18000e621
cmp eax, 7
jne 0x18000e621
inc eax
mov dword [0x1800280ac], eax
cmp byte [0x180028d04], 0
je 0x18000e653
movzx edx, cx
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x180022130]
movdqu xmmword [rbp - 0x29], xmm1
mov byte [rbp - 0x39], 0
jmp 0x18000e722
cmp ecx, 0xf
ja case.0x18000e670.15
movsxd rax, ecx
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0xe92c]
add rcx, rdx
jmp rcx
lea rdx, str.e_30m
jmp 0x18000e703
lea rdx, str.e_34m
jmp 0x18000e703
lea rdx, str.e_32m
jmp 0x18000e703
lea rdx, str.e_36m
jmp 0x18000e703
lea rdx, str.e_31m
jmp 0x18000e703
lea rdx, str.e_35m
jmp 0x18000e703
lea rdx, str.e_33m
jmp 0x18000e703
lea rdx, str.e_37m
jmp 0x18000e703
lea rdx, str.e_90m
jmp 0x18000e703
lea rdx, str.e_94m
jmp 0x18000e703
lea rdx, str.e_92m
jmp 0x18000e703
lea rdx, str.e_96m
jmp 0x18000e703
lea rdx, str.e_91m
jmp 0x18000e703
lea rdx, str.e_95m
jmp 0x18000e703
lea rdx, str.e_93m
jmp 0x18000e703
lea rdx, str.e_97m
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x39], xmm0
movdqu xmmword [rbp - 0x29], xmm1
mov r8d, 5
lea rcx, [rbp - 0x39]
call fcn.180005870
nop
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0xf
cmova rdx, qword [rbp - 0x39]
mov r8, qword [rbp - 0x29]
mov rcx, rbx
call fcn.18000ece0
lea rdx, [0x180021ab8]
mov rcx, rax
call fcn.1800056a0
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
mov r8, qword [rbp + 0x3f]
mov rcx, rax
call fcn.18000ece0
lea rdx, str.___INTERNAL_FAILURE_
mov rcx, rax
call fcn.1800056a0
mov rcx, rax
mov rdx, rdi
call fcn.1800056a0
lea rdx, [0x18000ec80]
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]
mov rbx, rax
cmp byte [0x180028d04], 0
je 0x18000e7c7
mov edx, 7
mov rcx, qword [0x180029390]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x180022130]
movdqu xmmword [rbp - 9], xmm1
mov byte [rbp - 0x19], 0
jmp 0x18000e7ed
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r8d, 5
lea rdx, str.e_37m
lea rcx, [rbp - 0x19]
call fcn.180005870
nop
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rbx
call fcn.18000ece0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x18000e846
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e841
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e841
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001c790
movdqa xmm0, xmmword [0x180022130]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x18000e895
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e890
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e890
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001c790
mov r9d, 0x10
lea r8, str.MelonLoader___INTERNAL_FAILURE
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x18000e909
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e904
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001c790
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.18001c770
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret