Function at 0x140051a20
Capabilities:
Create process on windows
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1403ca010]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r12d, r12d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
lea r8d, [r12 + 4]
lea rdx, str..sys
lea rcx, [rsp + 0x38]
call fcn.140053d90
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.140051340
nop
lea rcx, [rbp]
call fcn.140051260
nop
lea r8, str.kdu.exe
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.140053610
nop
lea r8, str.drv64.dll
lea rdx, [rbp]
lea rcx, [rbp - 0x40]
call fcn.140053610
nop
mov r15, qword [rbp - 0x70]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0xc
jb 0x140051f6b
lea r14, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r14, qword [rbp - 0x80]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x20], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x10], xmm1
lea rsi, [r15 + 0xc]
mov ebx, 7
lea rdi, [rbp - 0x20]
cmp rsi, rbx
jbe 0x140051ba7
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x140051b36
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140051b65
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140051f65
add rcx, rcx
cmp rcx, 0x1000
jb 0x140051b91
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051f65
mov rcx, rax
call fcn.140055cc4
test rax, rax
je 0x140051de2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140051ba3
test rcx, rcx
je 0x140051ba0
call fcn.140055cc4
mov rdi, rax
jmp 0x140051ba3
mov rdi, r12
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rbx
vmovups xmm0, xmmword [str._prv_1__map]
vmovups xmmword [rdi], xmm0
vmovsd xmm0, qword [0x1403c08d8]
vmovsd qword [rdi + 0x10], xmm0
lea rcx, [rdi + 0x18]
lea r8, [r15 + r15]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rsi*2], r12w
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.1400525d0
mov rcx, rax
call fcn.140051700
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400525d0
mov rcx, rax
call fcn.140051570
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.1400525d0
mov rcx, rax
call fcn.140051890
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400525d0
mov rdi, rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400525d0
mov rbx, rax
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140051c9f
mov r9, qword [rdi]
mov r8, rbx
cmp qword [rax + 0x18], 8
jb 0x140051cac
mov r8, qword [rax]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140051d04
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140051cff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051de9
mov rcx, r8
call fcn.140055710
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140051d53
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140051d4e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051de9
mov rcx, r8
call fcn.140055710
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140051df6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051df0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051df0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140055710
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140051e39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051e34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051e34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055710
vmovdqu xmm0, xmmword [0x1403c0fe0]
vmovdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140051e8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051e89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051e89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055710
vmovdqu xmm0, xmmword [0x1403c0fe0]
vmovdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r12w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140051ee3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051ede
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051ede
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055710
vmovdqu xmm0, xmmword [0x1403c0fe0]
vmovdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140051f38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051f33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051f33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055710
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140055620
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400445a0
nop
call fcn.140044640
int3