Function at 0x1400408b0
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 r14, rdx
mov rdi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdx, qword [0x140124450]
test rdx, rdx
jne 0x140040ad5
movabs r15, 0x7fffffffffffffef
mov ecx, 0x18
call fcn.14008611c
mov r12, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [0x140124450], rax
mov ecx, 0x18
call fcn.14008611c
mov r13, rax
movups xmmword [rax], xmm6
mov qword [rax + 0x10], rsi
mov qword [0x140124458], rax
call fcn.14003e330
mov rax, qword [rax + 8]
mov rsi, qword [rax + 0x10]
lea rcx, str.user_data_dir
call fcn.1400a5a90
cmp rax, r15
ja 0x140040bd5
mov rbx, rax
mov qword [rsp + 0x28], rsi
cmp rax, 0xb
jae 0x14004098f
lea rsi, [rsp + 0x48]
mov byte [rsi + 0x17], bl
cmp rbx, 3
jne 0x140040b87
movzx eax, word [0x1400fe3f4]
mov word [rsp + 0x4c], ax
mov eax, dword [str.user_data_dir]
mov dword [rsp + 0x48], eax
jmp 0x1400409d0
lea rbp, [rbx + 8]
and rbp, 0xfffffffffffffff8
mov rcx, rbp
add rcx, rbp
call fcn.14008611c
mov rsi, rax
mov qword [rsp + 0x48], rax
lea rax, [r15 + 0x11]
or rax, rbp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rbx
mov r8, rbx
add r8, rbx
lea rdx, str.user_data_dir
mov rcx, rsi
call fcn.1400890c0
mov word [rsi + rbx*2], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
mov rcx, rax
call fcn.1400a5a90
cmp rax, r15
ja 0x140040bdf
mov rbx, rax
cmp rax, 0xb
jae 0x140040a1c
lea rbp, [rsp + 0x30]
mov byte [rbp + 0x17], bl
cmp rbx, 3
jne 0x140040b95
movzx eax, word [rsi + 4]
mov word [rsp + 0x34], ax
mov eax, dword [rsi]
mov dword [rsp + 0x30], eax
jmp 0x140040a61
mov qword [rsp + 0x20], r14
lea r14, [rbx + 8]
and r14, 0xfffffffffffffff8
lea rcx, [r14 + r14]
call fcn.14008611c
mov rbp, rax
mov qword [rsp + 0x30], rax
add r15, 0x11
or r15, r14
mov r14, qword [rsp + 0x20]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rbx
mov r8, rbx
add r8, rbx
mov rcx, rbp
mov rdx, rsi
call fcn.1400890c0
mov word [rbp + rbx*2], 0
lea rsi, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.14003e8e0
mov rcx, rsi
mov rdx, qword [rsp + 0x28]
mov r8, r12
mov r9, r13
call fcn.140040340
mov ebx, eax
cmp byte [rsi + 0x17], 0
jns 0x140040aa4
mov rcx, qword [rsp + 0x60]
call fcn.140086158
cmp byte [rsp + 0x47], 0
jns 0x140040ab5
mov rcx, qword [rsp + 0x30]
call fcn.140086158
cmp byte [rsp + 0x5f], 0
jns 0x140040ac6
mov rcx, qword [rsp + 0x48]
call fcn.140086158
test bl, bl
je 0x140040be9
mov rdx, qword [0x140124450]
cmp rdx, rdi
je 0x140040b00
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x140040ba3
test r8b, r8b
jns 0x140040b66
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rdi
mov rdx, rax
call fcn.140033570
mov sil, 1
test r14, r14
je 0x140040b3b
mov rdx, qword [0x140124458]
cmp rdx, r14
je 0x140040b3b
cmp byte [r14 + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x140040bbc
test r8b, r8b
jns 0x140040b76
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, r14
mov rdx, rax
call fcn.140033570
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140087640
mov eax, esi
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 + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rdi], xmm0
jmp 0x140040b00
mov rax, qword [rdx + 0x10]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [r14], xmm0
jmp 0x140040b3b
test rbx, rbx
jne 0x1400409bb
jmp 0x1400409d0
test rbx, rbx
jne 0x140040a50
jmp 0x140040a61
test r8b, r8b
jns 0x140040baf
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140033440
jmp 0x140040b00
test r8b, r8b
jns 0x140040bc8
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, r14
call fcn.140033440
jmp 0x140040b3b
lea rcx, [rsp + 0x48]
call fcn.1400d2c60
lea rcx, [rsp + 0x30]
call fcn.1400d2c60
xor esi, esi
jmp 0x140040b3b