Function at 0x1400300d0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14011e040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdx, qword [0x14012fe00]
test rdx, rdx
jne 0x14003031c
movabs rbp, 0x7ffffffffffffff7
mov ecx, 0x18
call fcn.140085d40
mov rbx, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [0x14012fe00], rax
mov ecx, 0x18
call fcn.140085d40
mov r14, rax
movups xmmword [rax], xmm6
mov qword [rax + 0x10], r15
mov qword [0x14012fe08], rax
call fcn.140032810
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
lea r13, str.user_data_dir
mov rcx, r13
call fcn.1400a4b38
cmp rax, rbp
ja 0x140030432
mov r12, rax
cmp rax, 0xa
jbe 0x140030394
mov rax, r12
or rax, 3
lea rcx, [rax + 1]
cmp rax, 0xb
mov r15d, 0xd
cmovne r15, rcx
test r15, r15
js 0x14003042d
lea rcx, [r15 + r15]
call fcn.140085d40
mov rcx, rax
mov qword [rsp + 0x48], rax
lea rax, [r15 + rbp]
add rax, 9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r12
lea r15, [rcx + r12*2]
cmp rcx, r13
seta al
cmp r15, r13
setbe dl
or dl, al
je 0x14003042b
test r12, r12
je 0x140030201
add r12, r12
lea rdx, str.user_data_dir
mov r8, r12
call fcn.1400ba6a0
mov word [r15], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
test rax, rax
je 0x14003042b
mov r12, rax
mov rcx, rax
call fcn.1400a4b38
cmp rax, rbp
ja 0x14003043c
mov r13, rax
cmp rax, 0xa
jbe 0x1400303a2
mov rax, r13
or rax, 3
lea rcx, [rax + 1]
cmp rax, 0xb
mov r15d, 0xd
cmovne r15, rcx
test r15, r15
js 0x14003042d
lea rcx, [r15 + r15]
call fcn.140085d40
mov rcx, rax
mov qword [rsp + 0x30], rax
lea rax, [r15 + rbp]
add rax, 9
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
lea rbp, [rcx + r13*2]
cmp rcx, r12
seta al
cmp rbp, r12
setbe dl
or dl, al
je 0x14003042b
test r13, r13
je 0x1400302a7
add r13, r13
mov rdx, r12
mov r8, r13
call fcn.1400ba6a0
mov word [rbp], 0
lea r12, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x48]
mov rcx, r12
call fcn.1400313e0
mov rcx, r12
mov rdx, qword [rsp + 0x28]
mov r8, rbx
mov r9, r14
call fcn.14002fb10
mov ebx, eax
cmp byte [r12 + 0x17], 0
jns 0x1400302eb
mov rcx, qword [rsp + 0x60]
call fcn.140085d7c
cmp byte [rsp + 0x47], 0
jns 0x1400302fc
mov rcx, qword [rsp + 0x30]
call fcn.140085d7c
cmp byte [rsp + 0x5f], 0
jns 0x14003030d
mov rcx, qword [rsp + 0x48]
call fcn.140085d7c
test bl, bl
je 0x140030446
mov rdx, qword [0x14012fe00]
cmp rdx, rdi
je 0x140030347
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x1400303f9
test r8b, r8b
js 0x1400303e2
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rdi], xmm0
mov dil, 1
test rsi, rsi
je 0x14003037d
mov rdx, qword [0x14012fe08]
cmp rdx, rsi
je 0x14003037d
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x140030412
test r8b, r8b
js 0x1400303b0
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
cmp rcx, qword [0x14011e040]
je 0x1400303c4
call fcn.1400870e0
int3
lea rcx, [rsp + 0x48]
mov byte [rcx + 0x17], r12b
jmp 0x1400301d2
lea rcx, [rsp + 0x30]
mov byte [rcx + 0x17], r13b
jmp 0x14003027c
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rsi
mov rdx, rax
call fcn.140024eb0
jmp 0x14003037d
mov eax, edi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rdi
mov rdx, rax
call fcn.140024eb0
jmp 0x140030347
test r8b, r8b
jns 0x140030405
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140024d50
jmp 0x140030347
test r8b, r8b
jns 0x14003041e
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140024d50
jmp 0x14003037d
ud2
call fcn.1400bb7a0
lea rcx, [rsp + 0x48]
call fcn.1400bb7c0
lea rcx, [rsp + 0x30]
call fcn.1400bb7c0
xor edi, edi
jmp 0x14003037d