Function at 0x140021528
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
mov rbp, rsp
sub rsp, 0x68
and qword [rbp + 0x40], 0
lea rcx, [rbp + 0x40]
call fcn.14000d798
mov r13d, eax
test eax, eax
jns 0x140021592
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x14002157e
test byte [rcx + 0x1c], 1
je 0x14002157e
mov edx, 0xa
mov r9d, r13d
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov edx, r13d
lea rcx, str.ERROR:_GetSupportDir___failed___X__n
call fcn.140006cb0
jmp 0x140021a6f
and qword [rbp + 0x50], 0
lea rbx, str.FltmcInfo.txt
mov r9, rbx
mov r8, qword [rbp + 0x40]
lea rdx, [0x1400551f0]
lea rcx, [rbp + 0x50]
call fcn.14003b888
mov r13d, eax
mov rsi, qword [rbp + 0x50]
test eax, eax
jns 0x140021617
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x1400215fc
test byte [rcx + 0x1c], 1
je 0x1400215fc
mov edx, 0xb
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp + 0x40]
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.14000d5f0
mov r9d, r13d
mov r8, rbx
mov rdx, qword [rbp + 0x40]
lea rcx, str.ERROR:_NewSprintfW__ls___ls__failed___X__n
call fcn.140006cb0
jmp 0x140021a61
and qword [rbp - 0x18], 0
lea rbx, str.Cmd.exe
mov r8, rbx
lea rdx, [rbp - 0x18]
mov rcx, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.14003aec0
mov r13d, eax
mov r14, qword [rbp - 0x18]
test eax, eax
jns 0x140021683
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x140021677
test byte [rcx + 0x1c], 1
je 0x140021677
mov edx, 0xc
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002410
mov rdx, rbx
lea rcx, str.ERROR:_UtilGetSystemPath__ls__Failed___X__n
jmp 0x1400216d2
mov rcx, r14
call fcn.14002ff98
mov r13d, eax
test eax, eax
jns 0x1400216df
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x1400216c8
test byte [rcx + 0x1c], 1
je 0x1400216c8
mov edx, 0xd
mov dword [rsp + 0x20], r13d
mov r9, r14
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002410
mov rdx, r14
lea rcx, str.ERROR:_MpUtilMicrosoftCertCheck__ls__Failed___X__n
mov r8d, r13d
call fcn.140006cb0
jmp 0x140021a53
and qword [rbp - 0x10], 0
lea rbx, str.fltmc.exe
mov r8, rbx
lea rdx, [rbp - 0x10]
mov rcx, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.14003aec0
mov r13d, eax
mov rdi, qword [rbp - 0x10]
test eax, eax
jns 0x14002174e
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x14002173f
test byte [rcx + 0x1c], 1
je 0x14002173f
mov edx, 0xe
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002410
mov rdx, rbx
lea rcx, str.ERROR:_UtilGetSystemPath__ls__Failed___X__n
jmp 0x140021a3c
mov rcx, rdi
call fcn.14002ff98
mov r13d, eax
test eax, eax
jns 0x1400217a2
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x140021793
test byte [rcx + 0x1c], 1
je 0x140021793
mov edx, 0xf
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002410
mov rdx, rdi
lea rcx, str.ERROR:_MpUtilMicrosoftCertCheck__ls__Failed___X__n
jmp 0x140021a3c
mov rcx, rsi
call fcn.140012ff0
mov r13d, eax
cmp eax, 0x80070001
jle 0x1400219fc
add eax, 0x7ff8fffc
cmp eax, 0x7ff8fffb
jbe 0x1400219fc
and qword [rbp + 0x50], 0
mov r9, rsi
mov r8, rdi
lea rdx, str._C__ls_____ls_
lea rcx, [rbp + 0x50]
call fcn.14003b888
mov r13d, eax
mov rbx, qword [rbp + 0x50]
test eax, eax
jns 0x140021843
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x140021829
test byte [rcx + 0x1c], 1
je 0x140021829
mov edx, 0x11
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov r9, rdi
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.14000d5f0
mov r9d, r13d
mov r8, rsi
mov rdx, rdi
lea rcx, str.ERROR:_NewSprintfW__ls___ls__Failed___X__n
call fcn.140006cb0
jmp 0x1400219ed
and qword [rbp + 0x48], 0
mov qword [rsp + 0x20], r14
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.14003f9a4
mov r13d, eax
test eax, eax
jns 0x1400218ad
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x140021896
test byte [rcx + 0x1c], 1
je 0x140021896
mov edx, 0x12
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002410
mov r8d, r13d
mov rdx, rbx
lea rcx, str.ERROR:_UtilCreateProcess__ls__failed___X__n
call fcn.140006cb0
jmp 0x1400219de
mov edx, 0x124f80
mov rcx, qword [rbp + 0x48]
call fcn.14003bc2c
test al, al
je 0x140021921
lea rax, str.___a_
mov r13d, 0x800705b4
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x1400218fb
test byte [rcx + 0x1c], 1
je 0x1400218fb
mov edx, 0x13
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002410
mov r8d, r13d
mov rdx, rbx
lea rcx, str.ERROR:_UtilCreateProcess__ls__time_out___X__n
call fcn.140006cb0
mov edx, 0x5b4
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400219de
and dword [rbp + 0x38], 0
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140021981
call fcn.140038cd4
mov r13d, eax
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x140021970
test byte [rcx + 0x1c], 1
je 0x140021970
mov edx, 0x14
mov r9d, r13d
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov edx, r13d
lea rcx, str.ERROR:_GetExitCodeProcess_failed___X__n
call fcn.140006cb0
jmp 0x1400219de
mov r8d, dword [rbp + 0x38]
test r8d, r8d
je 0x1400219db
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x1400219c4
test byte [rcx + 0x1c], 1
je 0x1400219c4
mov edx, 0x15
mov dword [rsp + 0x20], r8d
mov r9, rbx
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.14000230c
mov r8d, dword [rbp + 0x38]
mov rdx, rbx
lea rcx, str.ERROR:_UtilCreateProcess__ls__exits_with_code__u__n
call fcn.140006cb0
mov r13d, 0x80004005
jmp 0x1400219de
xor r13d, r13d
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400219ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140021a45
mov rcx, rbx
call fcn.140040784
jmp 0x140021a45
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x140021a32
test byte [rcx + 0x1c], 1
je 0x140021a32
mov edx, 0x10
mov dword [rsp + 0x20], r13d
mov r9, rsi
lea r8, [0x140061d78]
mov rcx, qword [rcx + 0x10]
call fcn.140002410
mov rdx, rsi
lea rcx, str.ERROR:_UtilDeletePathSafe__ls__failed___X__n
mov r8d, r13d
call fcn.140006cb0
nop
test rdi, rdi
je 0x140021a53
mov rcx, rdi
call fcn.140040784
nop
test r14, r14
je 0x140021a61
mov rcx, r14
call fcn.140040784
nop
test rsi, rsi
je 0x140021a6f
mov rcx, rsi
call fcn.140040784
nop
cmp qword [rbp + 0x40], 0
je 0x140021a7f
mov rcx, qword [rbp + 0x40]
call fcn.140040784
mov eax, r13d
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret