Function at 0x140067fb0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x488]
sub rsp, 0x588
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x1400bd010]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov r15, qword [rbp + 0x4e0]
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
xor edx, edx
lea r8d, [rax + 0x64]
lea rcx, [rbp - 0x1c]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], 0x18
mov dword [rbp - 0x78], 0x18
mov dword [rbp - 0x20], 0x68
test rbx, rbx
je 0x1400680a9
cmp word [rbx], 0
je 0x1400680a9
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x50]
call qword [sym.imp.huawei_secure_c.dll_wcscpy_s]
test eax, eax
jne 0x1400680a2
mov rdx, rdi
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400680a2
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x260]
call qword [sym.imp.huawei_secure_c.dll_wcscpy_s]
test eax, eax
je 0x1400680f8
xor eax, eax
jmp 0x140068228
mov r8d, 0x104
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rdx, rdi
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400680a2
mov r8d, 0x104
lea rdx, [rbp + 0x260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x260]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
movdqa xmm0, xmmword [0x14008efc0]
movdqu xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov word [rsp + 0x60], bx
lea rax, [rbp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140068120
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x60]
call sym.HwMdcCenter.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.140067bf0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14006818d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068188
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a810
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
mov qword [rsp + 0x50], rsi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x260]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140068226
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068221
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068221
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a810
mov eax, ebx
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140079c90
add rsp, 0x588
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret