Function at 0x180002110
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows
Create thread
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x18000a008]
xor rax, rsp
mov qword [rbp + 0x230], rax
cmp edx, 1
jne 0x1800025c6
call fcn.180001f10
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], r14w
jne 0x180002176
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1800026b0
lea r11, [rsp + 0x70]
mov r9, qword [rsp + 0x70]
mov rsi, qword [rbp - 0x78]
cmp rsi, 8
cmovae r11, r9
mov rax, qword [rbp - 0x80]
cmp rax, 4
jb 0x180002212
lea r10, [rax - 3]
lea r10, [r11 + r10*2]
mov rbx, r11
lea r15, str._aut
nop
mov rax, r10
sub rax, rbx
sar rax, 1
je 0x180002212
cmp word [rbx], 0x2f
je 0x1800021db
add rbx, 2
sub rax, 1
jmp 0x1800021c9
mov edx, 4
mov rcx, r15
mov r8, rbx
sub r8, r15
nop dword [rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x18000220c
add rcx, 2
sub rdx, 1
jne 0x1800021f0
sub rbx, r11
sar rbx, 1
jmp 0x180002215
add rbx, 2
jmp 0x1800021c0
mov rbx, rdi
cmp rsi, 8
jb 0x180002253
lea rdx, [rsi*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18000224b
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000224b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1800036ec
cmp rbx, rdi
je 0x180002272
call fcn.180001860
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1800014d0
jmp 0x1800025c6
mov edx, 0xc800000
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov r8d, 0xc800000
lea rdx, [0x18000a050]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x180001da0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800022cd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x104
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
lea rax, [rbp + 0x20]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x180002300
mov r8, rdi
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1800026b0
nop
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x180002367
lea rdi, [rcx + 5]
mov qword [rsp + 0x60], rdi
lea rbx, [rsp + 0x50]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x50]
lea rcx, [rbx + rcx*2]
mov r8d, 0xa
lea rdx, str.__aut
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r14w
jmp 0x18000237f
mov qword [rsp + 0x20], 5
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.180002d90
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180002401
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x180002446
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002441
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002441
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800036ec
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov r8d, 0x2d
lea rdx, str.C:Program_Files__x86_360360Safeuninst.exe
lea rcx, [rsp + 0x70]
call fcn.1800026b0
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000257c
test al, 0x10
jne 0x18000257c
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x70]
call fcn.1800011d0
nop
lea r8, str._view.png
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.180002860
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.180003140
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x180002523
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000251e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000251e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800036ec
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x180002582
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002575
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002575
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800036ec
jmp 0x180002582
call fcn.1800015d0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1800025c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800025c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800025c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800036ec
mov eax, 1
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.180003690
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret