Function at 0x14004ed10
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14017ce80]
xor rax, rsp
mov qword [rbp + 0x60], rax
movzx r15d, cl
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea r8, str.systemroot
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
mov rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140002e70
nop
lea r8, str.System32win32k.sys
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14004a9f0
nop
lea rcx, [rsp + 0x30]
call fcn.1400034d0
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x58
lea rcx, [rbp]
call fcn.140004700
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rdx, str.https:__msdl.microsoft.com_download_symbols
lea rcx, [rsp + 0x60]
call fcn.140002e70
mov rbx, rax
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140002e10
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp]
call fcn.14004cf60
nop
lea rcx, [rbp]
call fcn.140051680
test al, al
je 0x14004f0b0
lea rdx, str.NtUserSetGestureConfig
lea rcx, [rsp + 0x30]
call fcn.140002e70
mov rdx, rax
lea rcx, [rbp]
call fcn.140051590
movsxd r14, eax
cmp r14d, 0xffffffff
je 0x14004f0b0
xor ecx, ecx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul ebx, eax
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140184560], xmm0
movups xmmword [0x140184570], xmm0
movups xmmword [0x140184580], xmm0
movups xmmword [0x140184590], xmm0
movups xmmword [0x1401845a0], xmm0
movups xmmword [0x1401845b0], xmm0
mov dword [0x1401845c0], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd rsi, r8d
xor edi, edi
test r8d, r8d
jle 0x14004eef9
mov ebx, edi
movabs r13, 0x4ec4ec4ec4ec4ec5
lea r12, [0x140000000]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r13
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r12 + 0x121740]
mov byte [rbx + r12 + 0x184560], al
inc rbx
cmp rbx, rsi
jl 0x14004eec6
lea rcx, [rbp - 0x50]
call fcn.14004e980
nop
lea rcx, [rbp - 0x50]
call fcn.1400513b0
test al, al
jne 0x14004f09e
lea rcx, [rbp - 0x50]
call fcn.140050960
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x36c8
lea rdx, [0x14011de70]
lea rcx, [rbp - 0x50]
call fcn.140054910
test al, al
je 0x14004f09e
lea rcx, [rbp - 0x50]
call fcn.1400545d0
test al, al
jne 0x14004ef68
lea rcx, [rbp - 0x50]
call fcn.140050960
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x14004f09e
lea rcx, [0x1401845e8]
call fcn.140052d00
test al, al
je 0x14004f092
lea rdx, [0x1401218d8]
lea rcx, [rsp + 0x30]
call fcn.140002e70
nop
lea rcx, [rsp + 0x30]
call fcn.140054c20
mov qword [0x1401845c8], rax
lea rcx, [rsp + 0x30]
call fcn.1400034d0
cmp qword [0x1401845c8], 0
je 0x14004f092
lea rdx, str.win32k.sys
lea rcx, [rsp + 0x30]
call fcn.140002e70
nop
lea rcx, [rsp + 0x30]
call fcn.140054c20
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.1400034d0
mov rcx, 0xffffffffffffffff
test rbx, rbx
je 0x14004f099
lea rdx, [rbx + r14]
lea rax, [0x1401218f4]
mov qword [rsp + 0x20], rax
lea r9, [0x1401218f8]
mov r8d, 0x100
call fcn.14004e640
mov rbx, rax
mov rcx, 0xffffffffffffffff
test rax, rax
je 0x14004f099
mov dword [rbp - 0x58], edi
lea rdx, [rax + 3]
mov r9d, 4
lea r8, [rbp - 0x58]
call fcn.14004fb30
test al, al
je 0x14004f092
movsxd rcx, dword [rbp - 0x58]
add rcx, 7
add rcx, rbx
mov qword [0x1401845d0], rcx
test r15b, r15b
je 0x14004f0a5
mov rcx, 0xffffffffffffffff
call fcn.14004de00
mov rcx, 0xffffffffffffffff
test al, al
je 0x14004f099
call fcn.14004d7f0
test al, al
je 0x14004f092
mov rcx, qword [0x1401845e8]
call fcn.14004db60
mov rcx, 0xffffffffffffffff
test al, al
je 0x14004f099
call fcn.14004e090
test al, al
jne 0x14004f0a5
mov rcx, 0xffffffffffffffff
call fcn.14004fdb0
mov rdi, 0xffffffffffffffff
lea rcx, [rbp - 0x50]
call fcn.14004d1e0
jmp 0x14004f0b7
mov rdi, 0xffffffffffffffff
lea rcx, [rbp]
call fcn.14004d2c0
nop
lea rcx, [rbp - 0x28]
call fcn.1400034d0
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14010dc10
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret