Function at 0x140050fe0
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 [0x1401c3040]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r12d, r12d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
lea r8d, [r12 + 4]
lea rdx, str..sys
lea rcx, [rbp - 0x80]
call fcn.140053610
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140050900
nop
lea rcx, [rbp]
call fcn.140050820
nop
lea r8, str.kdu.exe
lea rdx, [rbp]
lea rcx, [rbp - 0x40]
call fcn.140052e30
nop
lea r8, str.drv64.dll
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.140052e30
nop
mov r15, qword [rbp - 0x50]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0xc
jb 0x140051526
lea r14, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r14, qword [rbp - 0x60]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x80], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x70], xmm1
lea rsi, [r15 + 0xc]
mov ebx, 7
lea rdi, [rbp - 0x80]
cmp rsi, rbx
jbe 0x140051162
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x1400510f1
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140051120
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140051520
add rcx, rcx
cmp rcx, 0x1000
jb 0x14005114c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051520
mov rcx, rax
call fcn.1400556ac
test rax, rax
je 0x14005139d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14005115e
test rcx, rcx
je 0x14005115b
call fcn.1400556ac
mov rdi, rax
jmp 0x14005115e
mov rdi, r12
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rbx
vmovups xmm0, xmmword [str._prv_1__map]
vmovups xmmword [rdi], xmm0
vmovsd xmm0, qword [0x1401b9368]
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 - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.140051f80
mov rcx, rax
call fcn.140050cc0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.140051f80
mov rcx, rax
call fcn.140050b30
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.140051f80
mov rcx, rax
call fcn.140050e50
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140051f80
mov rdi, rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140051f80
mov rbx, rax
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14005125a
mov r9, qword [rdi]
mov r8, rbx
cmp qword [rax + 0x18], 7
jbe 0x140051267
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, 7
jbe 0x1400512bf
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400512ba
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400513a4
mov rcx, r8
call fcn.1400550e0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14005130e
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140051309
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400513a4
mov rcx, r8
call fcn.1400550e0
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 - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x1400513b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400513ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400513ab
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.1400550e0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x1400513f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400513ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400513ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400550e0
vmovdqu xmm0, xmmword [0x1401b9c40]
vmovdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140051449
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051444
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051444
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400550e0
vmovdqu xmm0, xmmword [0x1401b9c40]
vmovdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14005149e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051499
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051499
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400550e0
vmovdqu xmm0, xmmword [0x1401b9c40]
vmovdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r12w
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400514f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400514ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400514ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400550e0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140054ff0
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.140042a70
nop
call fcn.140042b10
int3