Function at 0x140018628
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor ebx, ebx
mov r12, rcx
mov qword [rbp - 0x31], rbx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rcx, rax
lea rdx, [rbp - 0x31]
call fcn.140008410
mov dword [rbp - 0x39], eax
test eax, eax
je 0x1400188b4
mov r15, qword [rbp - 0x31]
test r15, r15
je 0x1400188b4
lea rcx, str.runlocal
mov r13d, ebx
mov qword [rbp - 0x19], rcx
lea rcx, str.durestart
mov qword [rbp - 0x11], rcx
lea rcx, str.BTFolderPath
mov qword [rbp - 9], rcx
lea rcx, str.UILanguage
mov qword [rbp - 1], rcx
lea rcx, [0x14002b7a8]
mov qword [rbp + 7], rcx
lea rcx, str.PrivateSourcesPath
mov qword [rbp + 0xf], rcx
lea rcx, str.DebugHelp
mov qword [rbp + 0x17], rcx
lea rcx, str.Help
mov qword [rbp + 0x1f], rcx
cmp eax, 1
jbe 0x140018854
mov r14, qword [r15 + 8]
lea r13d, [rbx + 1]
jmp 0x140018857
movzx eax, word [r14]
mov ecx, 0xfffd
sub ax, 0x2d
test cx, ax
jne 0x140018845
mov rcx, r14
mov rsi, rbx
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov r15, rax
mov edi, ebx
lea rax, [rbp - 0x19]
mov qword [rbp - 0x29], rax
mov rcx, qword [rax]
or rdx, 0xffffffffffffffff
mov rax, rdx
inc rax
cmp word [rcx + rax*2], bx
jne 0x140018742
mov r9, rdx
inc r9
cmp word [rcx + r9*2], bx
jne 0x14001874e
mov dword [rsp + 0x28], eax
mov r8, r15
mov qword [rsp + 0x20], rcx
mov edx, 1
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
nop dword [rax + rax]
cmp eax, 2
je 0x140018792
mov rax, qword [rbp - 0x29]
inc edi
add rax, 8
mov qword [rbp - 0x29], rax
cmp edi, 8
jb 0x140018738
mov r15, qword [rbp - 0x31]
cmp edi, 8
jae 0x1400187be
mov edx, 0x3a
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x1400187be
mov word [rax], bx
add rsi, 2
test edi, edi
je 0x14001883d
sub edi, 1
je 0x140018832
sub edi, 1
je 0x140018819
sub edi, 1
je 0x14001880a
sub edi, 1
je 0x1400187e5
sub edi, 1
je 0x1400187fb
sub edi, 1
je 0x1400187f0
cmp edi, 1
jne 0x140018845
mov dword [r12 + 0xc], 1
jmp 0x140018845
mov dword [r12 + 0x10], 1
jmp 0x140018845
test rsi, rsi
je 0x140018845
lea rcx, [r12 + 0x424]
jmp 0x140018823
test rsi, rsi
je 0x140018845
lea rcx, [r12 + 0x21c]
jmp 0x140018823
test rsi, rsi
je 0x140018845
lea rcx, [r12 + 0x14]
mov r8, rsi
mov edx, 0x104
call fcn.140002fb4
jmp 0x140018845
mov dword [r12 + 4], 1
jmp 0x140018845
mov dword [r12], 1
inc r13d
cmp r13d, dword [rbp - 0x39]
jae 0x140018854
mov r14, qword [r15 + r13*8]
jmp 0x140018857
mov r14, rbx
test r14, r14
jne 0x140018703
mov rdi, qword [r15]
test rdi, rdi
je 0x14001888f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test eax, eax
je 0x14001888f
mov qword [r15], rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140023d70
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret