Function at 0x140010160
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x6c0]
sub rsp, 0x7c0
mov rax, qword [0x1401677b8]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
mov rbx, rdx
cmp qword [rcx + 0x18], 0
je 0x1400109f9
lea rsi, [rcx + 8]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400101ad
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
jne 0x1400109f9
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_wcsrchr
xor edi, edi
test rax, rax
je 0x140010203
mov word [rax], di
jmp 0x14001020d
mov dword [rbp + 0x90], 0x2e
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], di
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140010232
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x68]
call fcn.140009ca0
nop
mov r8d, 0xd
lea rdx, str.VEHelper.exe
lea rcx, [rbp + 0x68]
call fcn.14000f120
cmp qword [rbx + 0x18], 8
jb 0x14001026e
mov rbx, qword [rbx]
test rbx, rbx
je 0x140010279
cmp word [rbx], 0
jne 0x140010280
lea rbx, str.CapCut_except_enhance
call fcn.14001efa0
mov r14, qword [rax + 8]
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
call fcn.14001efa0
lea rdx, [rax + 0x58]
lea rax, [rbp + 0x10]
cmp rax, rdx
je 0x1400102c6
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400102bd
mov rdx, qword [rdx]
lea rcx, [rbp + 0x10]
call fcn.140005d20
mov qword [rbp - 0x10], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.14000a1a0
xor edx, edx
mov r8d, 0x402
lea rcx, [rbp + 0x2a0]
call sub.VCRUNTIME140.dll_memset
cmp qword [rsi + 0x18], 8
jb 0x140010305
mov rsi, qword [rsi]
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
lea r9, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae r9, qword [rbp + 0x68]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 0x57b79
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
lea rax, str.except_enhance_usr
mov qword [rsp + 0x28], rax
lea rax, str._slardar_updmp
mov qword [rsp + 0x20], rax
lea r8, str.__s___s__s__lld__s__d__s___s_
mov edx, 0x200
lea rcx, [rbp + 0x2a0]
call fcn.140002620
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x80], 0x68
mov word [rbp - 0x40], di
mov dword [rbp - 0x44], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400105db
lea edx, [rax + 0x5c]
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdcmd_dump_upload.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
je 0x14001041a
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
lea rbx, [rax + 2]
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
mov r9d, 0x83
lea r8, str.LVCmdDumpUpload::_inner_upload_dump
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_create_process_failed:__s_
call fcn.140013a20
lea rcx, [rbp + 0x30]
call fcn.140004c70
nop
lea rax, vtable.et_event_crash_handle.0
mov qword [rbp + 0x30], rax
mov r8d, 0x12
lea rdx, str.crash_handle_event
lea rcx, [rbp + 0x38]
call fcn.140005d20
nop
lea rdx, [0x1400be778]
lea rcx, [rbp + 0x30]
call fcn.14000ff60
lea rcx, [rbp + 0x30]
call fcn.140007c60
nop
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.140006490
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400104d4
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400104ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a1d8
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140010514
mov rcx, qword [rbp - 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001050f
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010942
call fcn.14007a1d8
mov word [rbp - 0x10], di
mov qword [rbp + 8], 7
mov qword [rbp], rdi
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14001055f
inc rdx
mov rcx, qword [rbp + 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14001055a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010990
call fcn.14007a1d8
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x1400105b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400105ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400109e6
call fcn.14007a1d8
xor al, al
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.14007a540
lea r11, [rsp + 0x7c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov edx, 0xea60
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400106f2
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdcmd_dump_upload.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
je 0x140010620
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
lea rbx, [rax + 2]
mov dword [rsp + 0x20], 0xea60
mov r9d, 0x8d
lea r8, str.LVCmdDumpUpload::_inner_upload_dump
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_wait_process_timeout___dms___not_handled_
call fcn.140013a20
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x30]
call fcn.140004c70
nop
lea rax, vtable.et_event_crash_handle.0
mov qword [rbp + 0x30], rax
mov r8d, 0x12
lea rdx, str.crash_handle_event
lea rcx, [rbp + 0x38]
call fcn.140005d20
nop
lea rdx, str.et_event_crash_handle::dump_upload_timeout
lea rcx, [rbp + 0x30]
call fcn.14000ff60
lea rcx, [rbp + 0x30]
call fcn.140007c60
nop
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.140006490
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400104d4
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400104ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x60], 0
jne 0x140010811
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdcmd_dump_upload.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
je 0x14001073b
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
lea rbx, [rax + 2]
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
mov r9d, 0x99
lea r8, str.LVCmdDumpUpload::_inner_upload_dump
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_upload_dump_failed:__s_
call fcn.140013a20
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x30]
call fcn.140004c70
nop
lea rax, vtable.et_event_crash_handle.0
mov qword [rbp + 0x30], rax
mov r8d, 0x12
lea rdx, str.crash_handle_event
lea rcx, [rbp + 0x38]
call fcn.140005d20
nop
lea rdx, [0x1400be778]
lea rcx, [rbp + 0x30]
call fcn.14000ff60
lea rcx, [rbp + 0x30]
call fcn.140007c60
nop
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.140006490
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400104d4
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400104ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECrashHandlerwincmdcmd_dump_upload.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
je 0x140010851
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
lea rbx, [rax + 2]
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
mov r9d, 0xa3
lea r8, str.LVCmdDumpUpload::_inner_upload_dump
mov rdx, rbx
lea rcx, str._lv_crash_handler___s:_s:_d_:_run_upload_dump_success:__s_
call fcn.140013a20
lea rcx, [rbp + 0x30]
call fcn.140004c70
nop
lea rax, vtable.et_event_crash_handle.0
mov qword [rbp + 0x30], rax
mov r8d, 0x12
lea rdx, str.crash_handle_event
lea rcx, [rbp + 0x38]
call fcn.140005d20
nop
lea rdx, str.et_event_crash_handle::dump_upload_success
lea rcx, [rbp + 0x30]
call fcn.14000ff60
lea rcx, [rbp + 0x30]
call fcn.140007c60
nop
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.140006490
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14001090b
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010905
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010905
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a1d8
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14001094e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010949
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010949
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a1d8
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14001099c
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010997
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a1d8
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x1400109f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400109ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400109ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a1d8
mov al, 1
jmp 0x1400105b4
lea rcx, [rbp + 0x30]
call fcn.140004c70
nop
lea rax, vtable.et_event_crash_handle.0
mov qword [rbp + 0x30], rax
mov r8d, 0x12
lea rdx, str.crash_handle_event
lea rcx, [rbp + 0x38]
call fcn.140005d20
nop
lea rdx, [0x1400be778]
lea rcx, [rbp + 0x30]
call fcn.14000ff60
lea rcx, [rbp + 0x30]
call fcn.140007c60
nop
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.140006490
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400105b2
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400105ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400105ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3