Function at 0x1400350c4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140064068]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rbx, rcx
lea rcx, [0x14007037f]
call fcn.140041b34
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor esi, esi
test eax, eax
je 0x1400353cb
cmp eax, 0x104
je 0x1400353cb
lea r12d, [rsi + 7]
mov qword [rsp + 0x68], rsi
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x70], r12
mov word [rsp + 0x58], si
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r8, rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140003c60
lea rdi, [0x14004caf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
cmp qword [rsp + 0x70], 8
lea r10, [rsp + 0x58]
mov cl, byte [rsp + 0x30]
mov r9, rdi
cmovae r10, qword [rsp + 0x58]
or r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x68]
mov byte [rsp + 0x28], cl
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.140034f24
cmp qword [rsp + 0x68], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x48], rsi
cmovb rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 8
mov r8, rax
mov qword [rsp + 0x50], r12
cmovae rdx, qword [rsp + 0x58]
mov word [rsp + 0x38], si
call fcn.140003c60
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
cmp qword [rsp + 0x50], 8
lea r10, [rsp + 0x38]
mov cl, byte [rsp + 0x30]
mov r9, rdi
cmovae r10, qword [rsp + 0x38]
or r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x48]
mov byte [rsp + 0x28], cl
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.140034f24
cmp qword [rsp + 0x48], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
mov qword [rbp - 0x78], rsi
cmovb rax, qword [rsp + 0x48]
cmp qword [rsp + 0x50], 8
mov r8, rax
mov qword [rbp - 0x70], r12
cmovae rdx, qword [rsp + 0x38]
mov word [rsp + 0x78], si
call fcn.140003c60
cmp qword [rbp - 0x70], 8
lea rcx, [rsp + 0x78]
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
call fcn.140005650
test al, al
je 0x140035288
call fcn.140005674
neg al
sbb ecx, ecx
add ecx, 2
jmp 0x1400352dc
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
cmp eax, 0x102
ja 0x1400352e1
lea rdx, str.Reader
lea rcx, [rbp + 0x1b0]
call sub.VCRUNTIME140.dll_wcsstr
mov ecx, 1
test rax, rax
jne 0x1400352dc
mov ecx, 2
call fcn.140011b18
mov rdx, rdi
mov rcx, rbx
call fcn.140032e2c
mov rdx, qword [rbp - 0x70]
mov ebx, eax
mov edi, 0x1000
cmp rdx, 8
jb 0x140035330
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x14003532b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400353bb
call fcn.140041c60
mov rdx, qword [rsp + 0x50]
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], r12
mov word [rsp + 0x78], si
cmp rdx, 8
jb 0x140035377
mov rcx, qword [rsp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x140035372
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400353bb
call fcn.140041c60
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r12
mov word [rsp + 0x38], si
cmp rdx, 8
jb 0x1400353c7
mov rcx, qword [rsp + 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x1400353c2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400353c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140041c60
mov eax, ebx
jmp 0x1400353ce
or eax, 0xffffffff
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140041c00
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret