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

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 - 0x270]
sub rsp, 0x370
mov rax, qword [0x1801a7040]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rax, qword [0x1801cee50]
movabs r12, 0xcce9c8237d015ba6
movabs r15, 0x3886d3f42c607e87
movabs r14, 0x2254ea8ddf8d494c
movabs r13, 0x69b14a9226940a51
lea rsi, [rax*8]
mov rax, qword [0x1801cee70]
mov rdi, qword [rsi + rax]
movabs rax, 0x38e7d3922c057ee3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x227aeaf9dfe14939
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0x69b14afc26fd0a33
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp - 0x70]
movdqa xmm1, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x70]
xorps xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmmword [rbp - 0x70], xmm0
test rdi, rdi
je 0x18005c9f8
lea rcx, [rbp - 0x70]
mov r8, rdi
sub r8, rcx
nop dword [rax + rax]
movsx ecx, word [r8 + rax]
movsx edx, word [rax]
lea rax, [rax + 2]
test cx, cx
je 0x18005c7f6
cmp cx, dx
je 0x18005c7e0
sub ecx, edx
jne 0x18005c9f8
mov dl, 2
call fcn.18008d420
mov rsi, rax
lea rdx, [rbp - 0x50]
movabs rax, 0x4ca6b6984e0110f2
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x472285e0baff6923
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x1ddd3ff340f16e71
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xb98ea145136e3886
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x1464782f48cc13d9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
movabs rax, 0x5d145899e5e69279
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x7244164021b872ab
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
movabs rax, 0x5d147ab9df83fe10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp - 0x50]
xorps xmm2, xmmword [rbp + 0x20]
movdqa xmm0, xmmword [rbp - 0x40]
movdqa xmm1, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp + 0x30]
mov qword [rbp + 0x48], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x50], xmm2
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm1
test al, al
je 0x18005c94b
nop
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x18005c940
mov rcx, qword [0x1801ceca8]
sub r8d, edx
xor ebx, ebx
lea rdx, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
mov rcx, rsi
call fcn.18008d590
movabs rax, 0x3886d3f42c607ea5
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movq rax, xmm0
movdqa xmmword [rsp + 0x50], xmm0
test al, al
je 0x18005c9eb
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005c9e1
sub r8d, edx
lea rdx, [rsp + 0x50]
jmp 0x18005cc23
movzx ecx, word [0x1801d0d00]
lea rax, [rbp + 0x50]
test cx, cx
je 0x18005ca30
lea rdx, [0x1801d0d00]
lea r8, [rbp + 0x50]
sub rdx, r8
nop word [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x18005ca20
xor ebx, ebx
mov word [rax], bx
movzx ecx, word [rdi]
test cx, cx
je 0x18005ca60
mov rdx, rdi
sub rdx, rax
nop dword [rax]
nop word [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x18005ca50
lea rcx, [rbp + 0x50]
mov word [rax], bx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18005cc38
mov rcx, qword [0x1801cee70]
mov r8, qword [0x1801cee78]
add rcx, rsi
lea rdx, [rcx + 8]
sub r8, rdx
call fcn.180124980
sub qword [0x1801cee78], 8
mov dl, 1
call fcn.18008d420
mov rsi, rax
lea rdx, [rsp + 0x70]
movabs rax, 0x18e2b682430d1bf5
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x50218de4b9e3262f
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xd76afc49fd7e30
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xcce9c8015d3b3eca
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x80], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp]
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rbp + 0x18], rax
movq rax, xmm1
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmmword [rbp - 0x80], xmm0
test al, al
je 0x18005cb7c
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005cb72
mov rcx, qword [0x1801ceca8]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
mov rcx, rsi
call fcn.18008d590
movabs rax, 0x3886d3f42c607ea5
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movq rax, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test al, al
je 0x18005cc1b
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005cc11
sub r8d, edx
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1801ceca8]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1800f39f0
lea r11, [rsp + 0x370]
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