Function at 0x180003960
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 0x27], rcx
xor esi, esi
mov dword [rbp - 0x59], esi
lea r14, str.MelonLoaderDependenciesBootstrap.dll
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0x26
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.180006160
mov dword [rbp - 0x59], 2
mov rdx, rbx
mov rcx, rdi
call fcn.180004970
mov dword [rbp - 0x59], 6
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.180001b60
nop
mov dword [rbp - 0x59], 3
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x180003a27
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003a22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003a22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000702c
movdqa xmm0, xmmword [0x18000c4d0]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], si
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov ecx, dword [rax]
mov dword [rbp + 0x2f], ecx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp + 0x2f]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
mov r8d, esi
mov r10d, dword [rbp + 0x2f]
test r10d, r10d
jle 0x180003c1e
mov r9, rax
lea r11, str.__melonloader.basedir
mov rdx, qword [r9]
test rdx, rdx
je 0x180003b56
mov rax, rsi
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r11 + rax*2]
jne 0x180003b56
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r11 + rax*2 + 2]
jne 0x180003b56
add rax, 2
cmp rax, 0x16
jne 0x180003a90
movsxd rax, r8d
mov rcx, qword [rbx + rax*8 + 8]
test rcx, rcx
je 0x180003c1e
mov qword [rbp - 0x49], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x180003ad6
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x19]
call fcn.180006160
mov dword [rbp - 0x59], 0xb
lea rax, [rbp - 0x19]
cmp rdi, rax
je 0x180003b6b
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x180003b3c
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180003b37
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003ba2
mov rcx, r8
call fcn.18000702c
mov eax, 7
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [rdi + 0x10], xmm1
mov word [rbp - 0x19], si
jmp 0x180003b6f
inc r8d
add r9, 8
cmp r8d, r10d
jl 0x180003a73
jmp 0x180003c1e
mov rax, qword [rbp - 1]
cmp rax, 7
jbe 0x180003bae
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003ba9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003ba9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000702c
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0x26
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.180006160
mov dword [rbp - 0x59], 0x1b
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.180001b60
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x180003c1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003c19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003c19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000702c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180006fd0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret