Function at 0x18000eea0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180028040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
lea r8, [rsp + 0x20]
lea rdx, [0x18001fa88]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
je 0x18000ef3a
lea rbx, [0x180000000]
nop word [rax + rax]
movsxd rcx, dword [0x180028f8c]
cmp ecx, 0x3f
jg 0x18000ef3a
mov qword [rbx + rcx*8 + 0x29190], rax
mov rcx, rax
call fcn.18000f610
movsxd rcx, dword [0x180028f8c]
lea r8, [rsp + 0x20]
lea rdx, [0x18001fa88]
mov qword [rbx + rcx*8 + 0x28f90], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
inc dword [0x180028f8c]
test rax, rax
jne 0x18000eef0
mov ecx, dword [0x180028f8c]
test ecx, ecx
jle 0x18000f28b
mov qword [rsp + 0x40], rsi
xor esi, esi
test ecx, ecx
jle 0x18000f286
mov qword [rsp + 0x48], rdi
lea rdi, [0x180029198]
mov rbx, qword [rdi - 8]
test rbx, rbx
je 0x18000f26f
lea rdx, str.__melonloader.consolemode
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f00c
mov r8, qword [rdi]
test r8, r8
je 0x18000efff
movzx r9d, byte [r8]
test r9b, r9b
je 0x18000efff
cmp r9b, 0x2b
je 0x18000efaa
movzx edx, r9b
cmp r9b, 0x2d
jne 0x18000efb6
movzx edx, byte [r8 + 1]
inc r8
test dl, dl
je 0x18000efff
xor ecx, ecx
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x18000efff
lea ecx, [rcx + rcx*4]
movsx eax, dl
movzx edx, byte [r8 + 1]
add ecx, ecx
inc r8
sub ecx, eax
add ecx, 0x30
test dl, dl
jne 0x18000efb8
mov eax, ecx
neg eax
cmp r9b, 0x2d
cmovne ecx, eax
xor eax, eax
test ecx, ecx
cmovns eax, ecx
cmp eax, 4
jle 0x18000f001
mov eax, 4
mov dword [0x1800293a8], eax
jmp 0x18000f26f
xor eax, eax
mov dword [0x1800293a8], eax
jmp 0x18000f26f
lea rdx, str.__melonloader.consoleontop
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18000f26f
lea rdx, str.__melonloader.consoledst
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f046
mov byte [0x1800280aa], 0
jmp 0x18000f26f
lea rdx, str.__melonloader.dab
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f067
mov byte [0x180028d03], 1
jmp 0x18000f26f
lea rdx, str.__melonloader.disableunityclc
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f088
mov byte [0x1800280a9], 0
jmp 0x18000f26f
lea rdx, str.__melonloader.debug
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f0a9
mov byte [0x180028d05], 1
jmp 0x18000f26f
lea rdx, str.__melonloader.hideconsole
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18000f26f
lea rdx, str.__melonloader.hidewarnings
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18000f26f
lea rdx, str.__melonloader.maxlogs
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f166
mov r8, qword [rdi]
test r8, r8
je 0x18000f156
movzx r9d, byte [r8]
test r9b, r9b
je 0x18000f156
cmp r9b, 0x2b
je 0x18000f111
movzx edx, r9b
cmp r9b, 0x2d
jne 0x18000f11d
movzx edx, byte [r8 + 1]
inc r8
test dl, dl
je 0x18000f156
xor ecx, ecx
nop
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x18000f156
lea ecx, [rcx + rcx*4]
movsx eax, dl
movzx edx, byte [r8 + 1]
add ecx, ecx
inc r8
sub ecx, eax
add ecx, 0x30
test dl, dl
jne 0x18000f120
mov eax, ecx
neg eax
cmp r9b, 0x2d
cmovne ecx, eax
mov dword [0x1800280b4], ecx
jmp 0x18000f26f
mov ecx, 0xa
mov dword [0x1800280b4], ecx
jmp 0x18000f26f
lea rdx, str.__melonloader.maxwarnings
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f1f3
mov r8, qword [rdi]
test r8, r8
je 0x18000f1e6
movzx r9d, byte [r8]
test r9b, r9b
je 0x18000f1e6
cmp r9b, 0x2b
je 0x18000f19c
movzx edx, r9b
cmp r9b, 0x2d
jne 0x18000f1a8
movzx edx, byte [r8 + 1]
inc r8
test dl, dl
je 0x18000f1e6
xor ecx, ecx
nop word [rax + rax]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x18000f1e6
lea ecx, [rcx + rcx*4]
movsx eax, dl
movzx edx, byte [r8 + 1]
add ecx, ecx
inc r8
sub ecx, eax
add ecx, 0x30
test dl, dl
jne 0x18000f1b0
mov eax, ecx
neg eax
cmp r9b, 0x2d
cmovne ecx, eax
mov dword [0x1800280b0], ecx
jmp 0x18000f26f
mov ecx, 0xa
mov dword [0x1800280b0], ecx
jmp 0x18000f26f
lea rdx, str.__melonloader.maxerrors
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f26f
mov r8, qword [rdi]
test r8, r8
je 0x18000f264
movzx r9d, byte [r8]
test r9b, r9b
je 0x18000f264
cmp r9b, 0x2b
je 0x18000f229
movzx edx, r9b
cmp r9b, 0x2d
jne 0x18000f235
movzx edx, byte [r8 + 1]
inc r8
test dl, dl
je 0x18000f264
xor ecx, ecx
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x18000f264
lea ecx, [rcx + rcx*4]
movsx eax, dl
movzx edx, byte [r8 + 1]
add ecx, ecx
inc r8
sub ecx, eax
add ecx, 0x30
test dl, dl
jne 0x18000f237
mov eax, ecx
neg eax
cmp r9b, 0x2d
cmovne ecx, eax
jmp 0x18000f269
mov ecx, 0xa
mov dword [0x1800280b8], ecx
inc esi
add rdi, 8
cmp esi, dword [0x180028f8c]
jl 0x18000ef63
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18001c770
add rsp, 0x30
pop rbx
ret