Function at 0x1000bbabc
Capabilities:
Delete file
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x4c0
mov rax, qword [0x1000de138]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rbx, rcx
mov r12d, r8d
mov rbp, rdx
mov edi, 0x206
lea rcx, [rsp + 0x92]
xor r13d, r13d
mov r8, rdi
xor edx, edx
mov word [rsp + 0x90], r13w
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x2a2]
mov r8, rdi
xor edx, edx
mov word [rsp + 0x2a0], r13w
call sub.msvcrt.dll_memset
xor eax, eax
or rdi, 0xffffffffffffffff
mov word [rsp + 0x70], r13w
mov dword [rsp + 0x80], r13d
mov esi, r13d
mov qword [rsp + 0x72], rax
mov dword [rsp + 0x7a], eax
mov word [rsp + 0x7e], ax
cmp qword [rbx + 0xa0], r13
je 0x1000bbde9
cmp qword [rbx + 0x38], r13
je 0x1000bbde9
cmp qword [rbx + 8], r13
je 0x1000bbde9
cmp dword [rbx + 0x10], 0x78
jb 0x1000bbde9
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov r11, qword [rbx + 0x38]
mov edx, 0x104
mov r8, qword [r11]
lea rcx, [rsp + 0x2a0]
mov r9d, r13d
lea rax, [rdx + 0x7ffffefa]
cmp rax, r13
je 0x1000bbbc1
movzx eax, word [r8]
cmp ax, r13w
je 0x1000bbbc1
mov word [rcx], ax
add r8, 2
add rcx, 2
sub rdx, 1
jne 0x1000bbb9a
cmp rdx, r13
jne 0x1000bbbd0
sub rcx, 2
mov r9d, 0x8007007a
cmp r9d, r13d
mov word [rcx], r13w
jge 0x1000bbc14
mov rcx, qword [0x1000dedd8]
lea rax, [0x1000dedd8]
cmp rcx, rax
je 0x1000bbe2b
test byte [rcx + 0x1c], 2
je 0x1000bbe2b
mov edx, 0x7f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ed8]
call fcn.100020d8c
jmp 0x1000bbe2b
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdi, rax
cmp rax, r13
jne 0x1000bbc65
mov rcx, qword [0x1000dedd8]
lea rax, [0x1000dedd8]
cmp rcx, rax
je 0x1000bbe2b
test byte [rcx + 0x1c], 2
je 0x1000bbe2b
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ed8]
mov edx, 0x80
call fcn.100020584
jmp 0x1000bbe2b
movzx ecx, word [rsp + 0x7c]
movzx r8d, word [rsp + 0x7a]
movzx r9d, word [rsp + 0x78]
movzx edx, word [rsp + 0x70]
movzx eax, word [rsp + 0x7e]
movzx r10d, word [rsp + 0x76]
movzx r11d, word [rsp + 0x72]
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x48], r9d
mov r9, qword [rbx + 0xa0]
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], edx
lea r8, [0x10001b180]
lea rcx, [rsp + 0x90]
mov edx, 0x104
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.100058674
cmp eax, r13d
mov r9d, eax
jge 0x1000bbd0e
mov rcx, qword [0x1000dedd8]
lea rax, [0x1000dedd8]
cmp rcx, rax
je 0x1000bbe2b
test byte [rcx + 0x1c], 2
je 0x1000bbe2b
mov edx, 0x81
jmp 0x1000bbbff
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x90]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1000bbd73
mov rcx, qword [0x1000dedd8]
lea rax, [0x1000dedd8]
cmp rcx, rax
je 0x1000bbe17
test byte [rcx + 0x1c], 2
je 0x1000bbe17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x82
jmp 0x1000bbdcd
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x80]
mov rcx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, r13d
je 0x1000bbda9
mov eax, dword [rbx + 0x10]
cmp dword [rsp + 0x80], eax
jne 0x1000bbda9
mov esi, 1
jmp 0x1000bbe17
mov rcx, qword [0x1000dedd8]
lea rax, [0x1000dedd8]
cmp rcx, rax
je 0x1000bbe17
test byte [rcx + 0x1c], 2
je 0x1000bbe17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x83
mov rcx, qword [0x1000dedd8]
lea r8, [0x100002ed8]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.100020d8c
jmp 0x1000bbe17
mov rcx, qword [0x1000dedd8]
lea rax, [0x1000dedd8]
cmp rcx, rax
je 0x1000bbe2b
test byte [rcx + 0x1c], 2
je 0x1000bbe2b
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ed8]
mov edx, 0x7e
call fcn.100020584
cmp rdi, 0xffffffffffffffff
je 0x1000bbe26
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, r13d
jne 0x1000bbe39
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1000cd7d0
mov rbx, qword [rsp + 0x508]
add rsp, 0x4c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret