Function at 0x1400e5be0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1401ce8a8]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r13, r9
mov rsi, r8
mov qword [rsp + 0x48], r8
mov r12, rdx
mov qword [rsp + 0x40], rdx
mov rdi, rcx
movzx r14d, byte [rbp + 0x828]
xor r15d, r15d
mov ebx, r15d
mov byte [r9], bl
mov qword [rcx], 0xffffffffffffffff
mov dword [rsp + 0x28], 0x30c
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea r9d, [r15 - 1]
mov r8, rdx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x1400e5cfd
mov qword [rsp + 0x50], r15
lea rax, str.MultiByteToWideChar___failed._file_name__s__error__d
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x200
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 3
lea rax, str.Shmem
mov qword [rbp - 0x80], rax
xor r8d, r8d
lea rdx, [0x140164ba1]
lea rcx, [rsp + 0x50]
call fcn.1400e9b00
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.1400e8c30
mov rcx, rax
mov edx, ebx
call fcn.1400e8b10
nop
lea rcx, [rsp + 0x50]
call fcn.1400e9e30
nop
lea rcx, [rsp + 0x50]
call fcn.1400e8d90
nop
lea eax, [r15 + 1]
jmp 0x1400e5f5e
mov r15d, 1
test rsi, rsi
je 0x1400e5e92
test r14b, r14b
jne 0x1400e5d1e
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
xor r14d, r15d
shl r14d, 8
mov r12d, dword [rbp + 0x820]
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
jne 0x1400e5e89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test r15b, r12b
jne 0x1400e5e7f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
jne 0x1400e5dc5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
inc esi
cmp esi, 0xa
jb 0x1400e5d30
mov r12, qword [rsp + 0x40]
cmp qword [rdi], 0xffffffffffffffff
jne 0x1400e5f4e
test ebx, ebx
je 0x1400e5f4e
mov qword [rsp + 0x50], 0
lea rax, str.failed_to_open_shared_memory_file__s__error__d
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x200
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x78], 3
lea rax, str.Shmem
mov qword [rbp - 0x80], rax
xor r8d, r8d
lea rdx, [0x140164ba1]
lea rcx, [rsp + 0x50]
call fcn.1400e9b00
nop
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.1400e8c30
mov rcx, rax
mov edx, ebx
call fcn.1400e8b10
nop
lea rcx, [rsp + 0x50]
call fcn.1400e9e30
nop
lea rcx, [rsp + 0x50]
call fcn.1400e8d90
nop
cmp qword [rsp + 0x48], 0
jne 0x1400e5f34
cmp ebx, 2
jne 0x1400e5f34
lea eax, [rbx + 5]
jmp 0x1400e5f5e
mov eax, 8
jmp 0x1400e5f5e
mov byte [r13], r15b
jmp 0x1400e5dc5
test byte [rbp + 0x820], r15b
jne 0x1400e5f52
mov esi, r14d
xor esi, r15d
shl esi, 8
nop dword [rax + rax]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
jne 0x1400e5ef7
lea ecx, [rax + 0x65]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jb 0x1400e5eb0
mov rdx, qword [rdi]
cmp rdx, 0xffffffffffffffff
jne 0x1400e5f0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400e5dca
mov rcx, r12
call fcn.1400e5f90
mov ebx, eax
test eax, eax
je 0x1400e5dca
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
jmp 0x1400e5ddc
cmp ebx, 0x70
jne 0x1400e5f3e
lea eax, [rbx - 0x6a]
jmp 0x1400e5f5e
mov eax, 5
cmp ebx, eax
cmove r15d, eax
mov eax, r15d
jmp 0x1400e5f5e
xor eax, eax
jmp 0x1400e5f5e
mov qword [rdi], 0xffffffffffffffff
mov eax, 3
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140128f20
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret