Function at 0x1400136a0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x14016e028]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov rdi, r8
mov r15, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rbp + 0x1a0]
mov dword [rbp + 0x19c], 0x104
xor r12d, r12d
mov qword [rbp + 0x190], rcx
mov rbx, 0xffffffffffffffff
mov dword [rbp + 0x198], r12d
mov r9, rbx
nop word [rax + rax]
inc r9
cmp word [rax + r9*2], r12w
jne 0x140013710
lea rcx, [rbp + 0x190]
mov r8, rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
call fcn.140018b80
cmp dword [rsp + 0x30], r12d
je 0x140013764
movups xmm0, xmmword [rsp + 0x30]
mov rcx, qword [rbp + 0x190]
lea rax, [rbp + 0x1a0]
movups xmmword [rsi], xmm0
cmp rcx, rax
je 0x140013ad6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140013ad6
lea rax, [rbp - 0x30]
mov qword [rsp + 0x730], r14
mov qword [rbp - 0x40], rax
lea r8, [rbp - 0x40]
mov rax, qword [rbp + 0x190]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov eax, dword [rbp + 0x198]
xor r9d, r9d
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rbp - 0x38], r12d
mov dword [rbp - 0x34], 0x14
mov qword [rsp + 0x50], rdi
call fcn.14000ada0
mov rdi, qword [rbp - 0x40]
mov eax, dword [rbp - 0x38]
lea r14, [rdi + rax*8]
cmp rdi, r14
je 0x14001382c
nop dword [rax]
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rcx
test rcx, rcx
je 0x1400137eb
mov rax, rbx
inc rax
cmp byte [rcx + rax], r12b
jne 0x1400137e0
jmp 0x1400137ee
mov rax, r12
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
movaps xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov r8, r15
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp - 0x80]
call fcn.140013120
movups xmm0, xmmword [rax]
movd eax, xmm0
test eax, eax
jne 0x14001391f
add rdi, 8
cmp rdi, r14
jne 0x1400137d0
mov rax, qword [r15]
mov r8, rbx
mov rdx, qword [rax]
inc r8
cmp byte [rdx + r8], r12b
jne 0x140013835
lea rax, [rbp + 0x80]
mov dword [rbp + 0x78], r12d
add r8, rdx
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x70]
mov dword [rbp + 0x7c], 0x104
call fcn.140008430
lea rax, [rbp + 0x2c0]
mov dword [rbp + 0x2b8], r12d
mov qword [rbp + 0x2b0], rax
lea rcx, [rsp + 0x60]
mov rax, qword [rbp + 0x70]
mov edx, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x78]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rbp + 0x2bc], 0x104
call fcn.1400142b0
mov ecx, dword [rbp + 0x78]
lea rdx, [rbp + 0x3d0]
cmp rax, rbx
mov r8d, 0x104
cmovne ecx, eax
mov dword [rbp + 0x78], ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, eax
test rax, rax
je 0x140013aff
cmp rax, 0x104
je 0x140013aff
mov r8d, 0x104
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r9d, eax
test eax, eax
je 0x140013aff
lea rcx, [rsp + 0x30]
cmp r9, 0x104
jbe 0x140013927
mov edx, 0x7a
jmp 0x140013b0c
movups xmmword [rsi], xmm0
jmp 0x140013aa2
lea rax, [rbp + 0x2b0]
lea r8, [rbp + 0x3d0]
mov qword [rsp + 0x20], rax
call fcn.140018b80
cmp dword [rsp + 0x30], r12d
jne 0x140013b11
mov rax, qword [rbp + 0x2b0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001396b
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x140013960
jmp 0x14001396e
mov rbx, r12
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x60]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.140015910
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0x2b0]
mov r8, qword [rsp + 0x38]
add r8, rdx
mov dword [rbp + 0x2b8], r12d
call fcn.140008430
lea rax, [rbp + 0x2b0]
mov word [rsp + 0x70], 0x101
mov qword [rbp - 0x80], rax
lea r9, [rbp - 0x68]
lea rax, [rsp + 0x60]
mov word [rsp + 0x40], 0x101
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x80]
lea rax, [rsp + 0x30]
mov word [rbp - 0x58], 0x101
mov edx, 2
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x70]
mov word [rbp - 0x70], 0x106
call fcn.140015100
lea rax, [rbp + 0x70]
mov word [rbp - 0x70], 0x106
lea rdx, [rbp - 0x68]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.1400238a0
mov r14, rax
cmp qword [rax + 0x18], 0x10
jb 0x140013a24
mov r14, qword [rax]
mov rbx, qword [rax + 0x10]
mov r8d, 1
mov rcx, qword [rsp + 0x50]
lea rdx, [rbx + 1]
call fcn.14001eb80
mov rdi, rax
test rbx, rbx
je 0x140013a52
mov r8, rbx
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 0x68]
mov byte [rbx + rdi], r12b
call fcn.140005ef0
mov rcx, qword [r15]
lea rax, [0x14016e048]
mov qword [rcx], rdi
mov dword [rsi], r12d
mov qword [rsi + 8], rax
mov rcx, qword [rbp + 0x2b0]
lea rax, [rbp + 0x2c0]
cmp rcx, rax
je 0x140013a8c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x70]
lea rax, [rbp + 0x80]
cmp rcx, rax
je 0x140013aa2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x40]
lea rax, [rbp - 0x30]
cmp rcx, rax
je 0x140013ab5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x190]
lea rax, [rbp + 0x1a0]
cmp rcx, rax
je 0x140013ace
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x730]
mov rax, rsi
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.14013e7c0
mov rbx, qword [rsp + 0x738]
add rsp, 0x6f0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.14001c470
movaps xmm0, xmmword [rsp + 0x30]
movd eax, xmm0
test eax, eax
je 0x1400139ad
movups xmmword [rsi], xmm0
jmp 0x140013a73