Function at 0x14000427c
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r14d, r14d
mov eax, edx
and al, 1
mov dword [rsp + 0x50], r14d
neg al
mov qword [rsp + 0x48], r14
mov r12d, edx
mov esi, r14d
sbb r13d, r13d
lea rdx, [rsp + 0x48]
not r13d
mov ebx, r14d
and r13d, 7
call fcn.140005448
mov rdi, rax
test rax, rax
je 0x14000496d
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x2200000
mov r8d, r13d
mov edx, 0x10180
mov dword [rsp + 0x20], 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400048e8
xorps xmm0, xmm0
mov dword [rsp + 0x40], r14d
xor eax, eax
mov qword [rsp + 0x58], r14
mov dword [rbp - 1], eax
mov qword [rbp - 0x39], rax
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
test r12b, 0x20
je 0x140004370
lea r9, [rsp + 0x58]
mov rdx, rdi
lea r8, [rsp + 0x40]
mov rcx, r15
call fcn.14000943c
mov rsi, qword [rsp + 0x58]
test eax, eax
mov eax, dword [rsp + 0x40]
jns 0x140004375
mov eax, 1
test eax, eax
jne 0x1400043c8
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, str.DeleteFileEx:_Spoofing_detected_deleting___s_______s_
mov edx, 0x3000000
lea rcx, [0x1400356a8]
call fcn.140003040
test rsi, rsi
je 0x1400043be
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov ebx, 0x2a9
jmp 0x1400048d3
lea rdx, [rbp - 0x31]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
nop dword [rax + rax]
test eax, eax
je 0x1400048a6
mov esi, 0x28
lea r8, [rbp - 0x59]
mov r9d, esi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
nop dword [rax + rax]
test eax, eax
je 0x1400048a6
mov r9d, esi
mov dword [rbp - 0x39], 0x2000
lea r8, [rbp - 0x59]
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
nop dword [rax + rax]
test eax, eax
je 0x140004891
movups xmm0, xmmword [str._Volume]
mov rsi, qword [rsp + 0x48]
xor edx, edx
movsd xmm1, qword [0x140029400]
movsd qword [rbp + 0x17], xmm1
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0x44], 1
movups xmmword [rbp + 7], xmm0
test rsi, rsi
je 0x140004484
movzx ecx, word [rsi]
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x140004473
sub cx, 0x41
cmp cx, 0x19
ja 0x140004484
cmp word [rsi + 2], 0x3a
jne 0x140004484
mov dword [rsp + 0x40], 1
jmp 0x1400044d3
or rcx, 0xffffffffffffffff
lea rax, [rbp + 7]
mov r8, rcx
inc r8
cmp word [rax + r8*2], dx
jne 0x14000448f
mov rax, rcx
inc rax
cmp word [rdi + rax*2], dx
jne 0x14000449c
cmp r8, rax
mov ecx, edx
setbe cl
ja 0x1400044cb
lea rdx, [rbp + 7]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
xor edx, edx
test eax, eax
mov ecx, edx
sete cl
test ecx, ecx
je 0x1400046bf
cmp qword [0x140035698], rdx
je 0x1400044e8
mov rax, qword [0x1400356a0]
test rax, rax
jne 0x14000454f
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
xor edx, edx
mov rsi, rax
test rax, rax
je 0x140004543
lea rdx, str.FindFirstFileNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
lea rdx, str.FindNextFileNameW
mov rcx, rsi
mov qword [0x140035698], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x1400356a0], rax
xor edx, edx
jmp 0x14000454a
mov rax, qword [0x1400356a0]
mov rsi, qword [rsp + 0x48]
cmp qword [0x140035698], rdx
je 0x1400046bf
test rax, rax
je 0x1400046bf
cmp dword [rbp - 9], 1
jbe 0x1400046bf
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov edx, 8
mov r8d, 0x10000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x1400046a7
cmp dword [rsp + 0x40], ebx
mov rcx, rdi
mov edx, 0x8000
cmovne rcx, rsi
mov esi, dword [rsp + 0x40]
mov eax, esi
mov qword [rbp - 0x79], rcx
neg eax
mov r8, rcx
mov rcx, r14
sbb r9, r9
and r9, 0xffffffffffffffd2
add r9, 0x30
call fcn.140003a3c
mov eax, esi
lea r8, [rsp + 0x40]
neg eax
mov rcx, rdi
sbb eax, eax
and eax, 0x2e
add eax, 0x7fd0
mov dword [rsp + 0x48], eax
neg esi
mov dword [rsp + 0x40], eax
sbb rax, rax
xor edx, edx
and rax, 0xffffffffffffffa4
add rax, 0x60
add rax, r14
mov qword [rbp - 0x71], rax
mov r9, rax
mov rax, qword [0x140035698]
call qword [0x140028b50]
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x1400046bf
xor esi, esi
mov rdx, qword [rbp - 0x79]
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140004668
mov eax, dword [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov r8, qword [rbp - 0x71]
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x40], eax
mov rax, qword [0x1400356a0]
call qword [0x140028b50]
test eax, eax
je 0x14000466d
jmp 0x140004628
mov esi, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test esi, esi
jne 0x1400046bf
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
xor r14d, r14d
jmp 0x1400046bf
lea r8, str.DeleteFileEx:_Unable_to_allocate_hardlink_path_buffer
mov edx, 0x3000000
lea rcx, [0x1400356a8]
call fcn.140003040
mov r9d, 1
mov dword [rsp + 0x20], 0xd
lea r8, [rsp + 0x44]
mov rcx, r15
lea rdx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jns 0x140004756
mov r9d, 4
mov dword [rsp + 0x48], 1
lea r8, [rsp + 0x48]
mov dword [rsp + 0x20], 0x40
lea rdx, [rbp - 0x69]
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
test eax, eax
jns 0x140004756
cmp eax, 0xc0000003
cmovne esi, eax
mov ecx, esi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov r9, rdi
lea r8, str.DeleteFileEx:_Unable_to_remove___s___GLE__0x_x
lea rcx, [0x1400356a8]
mov dword [rsp + 0x20], eax
mov edx, 0x3000000
mov ebx, eax
call fcn.140003040
jmp 0x14000475e
mov dword [rsp + 0x50], 1
test r14, r14
je 0x1400048d3
xor edx, edx
mov rcx, r14
call fcn.140005448
mov rsi, rax
test r12b, 4
jne 0x1400047b2
mov r12d, 0x4000000
lea r8, str.DeleteFileEx:_hardlink_given_to_us_is:__s
mov edx, r12d
lea rcx, [0x1400356a8]
mov r9, r14
call fcn.140003040
mov r9, rsi
lea r8, str.DeleteFileEx:_Trying_to_set_back_attributes_on:__s
mov edx, r12d
lea rcx, [0x1400356a8]
call fcn.140003040
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x2200000
mov r8d, r13d
mov edx, 0x100
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14000484a
mov eax, dword [rbp - 0x31]
lea r8, [rbp - 0x59]
mov r9d, 0x28
mov dword [rbp - 0x39], eax
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14000483b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9, rsi
lea r8, str.DeleteFileEx:_Unable_to_restore_attributes_on___s___GLE__0x_x
lea rcx, [0x1400356a8]
mov dword [rsp + 0x20], eax
mov edx, 0x3000000
call fcn.140003040
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test rsi, rsi
je 0x14000486f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
jmp 0x1400048d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8, str.DeleteFileEx:_Unable_to_clear_out_attributes_on___s___GLE__0x_x
jmp 0x1400048b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8, str.DeleteFileEx:_Unable_to_get_information_on___s___GLE__0x_x
mov r9, rdi
mov dword [rsp + 0x20], eax
mov edx, 0x3000000
lea rcx, [0x1400356a8]
mov ebx, eax
call fcn.140003040
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov esi, dword [rsp + 0x50]
jmp 0x14000494d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 5
jne 0x14000492e
and r12d, 0x20
test r12b, r12b
jne 0x14000492e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000494d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
lea r8, str.DeleteFileEx:_Unable_to_delete___s___GLE__0x_x
jmp 0x140004935
lea r8, str.DeleteFileEx:_Unable_to_open___s___GLE__0x_x
mov r9, rdi
mov dword [rsp + 0x20], eax
mov edx, 0x3000000
lea rcx, [0x1400356a8]
call fcn.140003040
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140023d70
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret