Function at 0x1400019f0
Capabilities:
Accept command line arguments
Check if process is running under wine
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbp, rcx
mov rcx, rdx
mov r13, rdx
call fcn.140001050
test rax, rax
mov r14, rax
je 0x140001bb9
cmp word [rbp], 0
je 0x140001cb9
mov rsi, qword [sym.imp.ucrtbase.dll_free]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0x38], rax
lea rdi, section..data
nop dword [rax]
mov rdx, qword [rsp + 0x38]
mov rcx, rbp
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
mov r15d, dword [rsp + 0x4c]
mov r12, rax
lea ecx, [r15 + 2]
movsxd rcx, ecx
shl rcx, 3
call qword [sym.imp.ucrtbase.dll_malloc]
test rax, rax
mov rbx, rax
je 0x140001cb1
test r15d, r15d
jle 0x140001aa3
xor r13d, r13d
nop dword [rax + rax]
mov rcx, qword [r12 + r13*8]
call fcn.140001050
mov r15d, dword [rsp + 0x4c]
mov qword [rbx + r13*8], rax
add r13, 1
cmp r15d, r13d
jg 0x140001a88
movzx eax, byte [rdi]
movsxd rdx, r15d
mov qword [rbx + rdx*8], r14
mov qword [rbx + rdx*8 + 8], 0
test al, 8
jne 0x140001bf0
mov edx, dword [rsp + 0x4c]
test edx, edx
js 0x140001b2e
lea r13, [0x140005124]
xor r15d, r15d
lea r12, [0x140005460]
jmp 0x140001aeb
add r15, 1
cmp dword [rsp + 0x4c], r15d
jl 0x140001b26
mov edx, eax
and edx, 8
je 0x140001ae0
mov rcx, qword [rbx + r15*8]
add r15, 1
call fcn.140001790
mov rdx, rdi
mov r9, r13
mov r8, r12
mov qword [rsp + 0x20], rax
mov ecx, 3
call fcn.140001390
movzx eax, byte [rdi]
mov edx, eax
and edx, 8
cmp dword [rsp + 0x4c], r15d
jge 0x140001aeb
test dl, dl
jne 0x140001bd0
xor edx, edx
mov rcx, rbx
call sub.ntdll.dll___wine_unix_spawnvp
test eax, eax
je 0x140001cc5
mov ecx, dword [rsp + 0x4c]
xor r13d, r13d
mov r12, rsi
test ecx, ecx
jle 0x140001b61
nop
mov rcx, qword [rbx + r13*8]
add r13, 1
call rsi
cmp dword [rsp + 0x4c], r13d
jg 0x140001b50
mov rcx, rbx
call r12
cmp word [rbp], 0
mov rax, rbp
je 0x140001c20
nop dword [rax]
add rax, 2
cmp word [rax], 0
jne 0x140001b78
sub rax, rbp
sar rax, 1
add eax, 1
cdqe
add rax, rax
add rbp, rax
cmp word [rbp], 0
jne 0x140001a48
mov r13, qword [rsp + 0xa8]
test byte [section..data], 2
jne 0x140001c3a
mov rcx, r14
call r12
mov eax, 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r9, [0x140005128]
mov rdx, rdi
mov ecx, 3
lea r8, [0x140005460]
call fcn.140001390
jmp 0x140001b2e
lea r8, [0x140005460]
mov rdx, rdi
mov ecx, 3
lea r9, str.Trying
call fcn.140001390
mov r8d, dword [rsp + 0x4c]
test r8d, r8d
js 0x140001c2a
movzx eax, byte [rdi]
jmp 0x140001ac6
mov eax, 2
jmp 0x140001b90
movzx edx, byte [rdi]
and edx, 8
test dl, dl
je 0x140001b2e
jmp 0x140001bd0
lea rax, str._null_
test r13, r13
je 0x140001c77
mov rax, r13
shr rax, 0x10
test rax, rax
je 0x140001ca0
mov rdx, 0xffffffffffffffff
mov rcx, r13
call qword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
lea rax, str._invalid_
test edx, edx
jne 0x140001c77
mov rcx, r13
call fcn.1400011b0
mov qword [rsp + 0x20], rax
lea r9, str.could_not_find_a_suitable_app_to_open__s_n
mov ecx, 1
lea r8, [0x140005460]
lea rdx, section..data
call fcn.140001390
jmp 0x140001bb3
lea rcx, str._04x
mov edx, r13d
call fcn.140001720
jmp 0x140001c77
mov r13, qword [rsp + 0xa8]
mov r12, qword [sym.imp.ucrtbase.dll_free]
jmp 0x140001ba6
xor ecx, ecx
call qword [sym.imp.kernel32.dll_ExitProcess]