Function at 0x140003060
Capabilities:
Delete file

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 - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rbp + 0xd8], rax
xor r15d, r15d
lea edx, [r15 + 6]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rcx, [0x14000d060]
call fcn.140001e50
call fcn.140002ce0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
movdqa xmm1, xmmword [0x140009a50]
movdqu xmmword [rbp + 0xc8], xmm1
mov word [rbp + 0xb8], r15w
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], r15
lea ecx, [r15 + 0x60]
call fcn.140007450
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r15w
lea rdx, str.__U:T__P:E__Wait_reg_import
lea rcx, [rsp + 0x58]
call fcn.140004850
nop
mov r9, qword [0x14000d0c8]
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x140003144
mov r8, qword [r9]
mov r9, qword [r9 + 0x10]
mov rcx, rax
call fcn.1400058b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rsi, [0x14000d0e8]
mov r9, rsi
cmp qword [0x14000d100], 8
cmovae r9, qword [0x14000d0e8]
mov rdi, qword [0x14000d0f8]
mov r14, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x1400031e6
lea rax, [r14 + rdi]
mov qword [rbp + 0x48], rax
lea rbx, [rbp + 0x38]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x38]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
lea rax, [rbp + 0x38]
jmp 0x1400031f7
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0x38]
call fcn.140005630
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x140003274
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000326f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000326f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
movdqa xmm0, xmmword [0x140009a50]
movdqu xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x38], r15w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400032cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
movdqa xmm0, xmmword [0x140009a50]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r15w
lea rdx, str.:__
lea rcx, [rbp - 0x80]
call fcn.140004850
nop
lea rdx, [0x140009918]
lea rcx, [rbp - 0x60]
call fcn.140004850
nop
lea rdx, [0x14000991c]
lea rcx, [rbp - 0x40]
call fcn.140004850
nop
lea rdx, [0x140009920]
lea rcx, [rbp - 0x20]
call fcn.140004850
nop
lea rdx, [0x140009924]
lea rcx, [rbp]
call fcn.140004850
nop
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x58]
call fcn.140003920
mov rbx, rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140003920
nop
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xb8]
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.140005fd0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140003405
mov rdx, qword [rsp + 0x48]
call fcn.140005100
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
mov qword [rsp + 0x40], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14000345f
mov rdx, qword [rbp + 0x60]
call fcn.140005100
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x58]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000344e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000344e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
mov qword [rbp + 0x58], r15
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
lea r9, [fcn.140004740]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp - 0x40]
call fcn.14000748c
nop
lea r9, [fcn.140004740]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp - 0x80]
call fcn.14000748c
cmp qword [rbp + 0x30], 0
jne 0x14000354b
cmp qword [rbp + 0x88], 0
jne 0x14000354b
lea rdx, [0x1400096e8]
lea rcx, [rbp + 0x58]
call fcn.140004850
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rbp + 0x20], r15d
lea rbx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rbx, qword [rbp + 0x58]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x20]
mov r8d, dword [rbp + 0x68]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x140003696
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003541
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003541
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
jmp 0x140003696
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x28]
lea r8, [rbp + 0xb8]
xor edx, edx
mov rcx, qword [0x14000d0e0]
movzx ecx, byte [rcx]
call fcn.140002130
test eax, eax
je 0x14000367d
lea rdx, str.NSudoCommandLineParser_Error
lea rcx, [rbp + 0x58]
call fcn.140004850
nop
cmp qword [0x14000d100], 8
cmovae rsi, qword [0x14000d0e8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x38]
call fcn.140004850
mov dword [rbp + 0x20], r15d
lea rbx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rbx, qword [rbp + 0x38]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x20]
mov r8d, dword [rbp + 0x48]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x140003633
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000362d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000362d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x140003676
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003671
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003671
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
mov esi, 0xffffffff
jmp 0x140003699
cmp qword [0x14000d100], 8
cmovae rsi, qword [0x14000d0e8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, r15d
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x1400036e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
movdqa xmm0, xmmword [0x140009a50]
movdqu xmmword [rbp + 0xa8], xmm0
mov word [rbp + 0x98], r15w
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x140003740
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000373b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000373b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r15w
mov rcx, qword [rbp + 0x28]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x1400037a7
nop word [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.1400059b0
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140002c20
mov edx, 0x60
mov rcx, rbx
call fcn.1400077ac
cmp byte [rdi + 0x19], 0
je 0x140003770
mov rcx, qword [rbp + 0x28]
mov edx, 0x60
call fcn.1400077ac
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x1400037fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077ac
mov eax, esi
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.140007430
lea r11, [rsp + 0x1e0]
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