Function at 0x18006cef0
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 - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x180141040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rax, qword [0x180141480]
movabs r12, 0x73efd1b1808ddeb2
movabs r15, 0x9a14b80673a05043
movabs r14, 0xa6f65830f4bb6f0
movabs r13, 0xc47e02d4d828489d
lea rsi, [rax*8]
mov rax, qword [0x180141488]
mov rdi, qword [rsi + rax]
movabs rax, 0x9a75b86073c55027
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0xa4165f70f27b685
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0xc47e02bad84148ff
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x80]
vmovdqu xmm0, xmmword [rbp - 0x80]
vmovdqu xmm2, xmmword [rbp - 0x70]
vpxor xmm1, xmm0, xmmword [rsp + 0x50]
vpxor xmm0, xmm2, xmmword [rsp + 0x60]
vmovdqu xmmword [rbp - 0x70], xmm0
vmovdqu xmmword [rbp - 0x80], xmm1
test rdi, rdi
je 0x18006d263
lea rcx, [rbp - 0x80]
mov r8, rdi
sub r8, rcx
nop dword [rax]
nop word [rax + rax]
movsx ecx, word [r8 + rax]
movsx edx, word [rax]
lea rax, [rax + 2]
test cx, cx
je 0x18006d056
cmp cx, dx
je 0x18006d040
sub ecx, edx
jne 0x18006d263
mov dl, 2
call fcn.180072d40
mov rsi, rax
lea rdx, [rsp + 0x50]
movabs rax, 0xee34dd6a11c13e36
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x6f190aee6a39969f
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xb01277b5be4d2cbd
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x688b8d7eee2bd92
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x258600159a77e4a5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xf8f811e7500808bd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0x43a66e7af30385d7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0xf8f833c76a6d64d4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x50]
vpxor xmm3, xmm0, xmmword [rbp - 0x60]
vmovdqu xmm0, xmmword [rsp + 0x60]
vmovdqu xmm2, xmmword [rsp + 0x70]
vpxor xmm1, xmm0, xmmword [rbp - 0x50]
mov qword [rbp - 0x38], rax
vpxor xmm0, xmm2, xmmword [rbp - 0x40]
vmovq rax, xmm3
vmovdqu xmmword [rsp + 0x70], xmm0
vmovdqu xmmword [rsp + 0x50], xmm3
vmovdqu xmmword [rsp + 0x60], xmm1
test al, al
je 0x18006d1bb
nop
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x18006d1b0
mov rcx, qword [0x180141318]
sub r8d, edx
xor ebx, ebx
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
mov rcx, rsi
call fcn.180072eb0
movabs rax, 0x9a14b80673a05061
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x40]
mov qword [rbp - 0x58], rax
vpxor xmm1, xmm0, xmmword [rbp - 0x60]
vmovq rax, xmm1
vmovdqu xmmword [rsp + 0x40], xmm1
test al, al
je 0x18006d49a
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18006d254
jmp 0x18006d49a
movzx ecx, word [0x180141b70]
lea rax, [rbp - 0x30]
test cx, cx
je 0x18006d2a0
lea rdx, [0x180141b70]
lea r8, [rbp - 0x30]
sub rdx, r8
nop dword [rax]
nop word [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x18006d290
xor ebx, ebx
mov word [rax], bx
movzx ecx, word [rdi]
test cx, cx
je 0x18006d2d0
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 0x18006d2c0
lea rcx, [rbp - 0x30]
mov word [rax], bx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18006d4b7
mov rcx, qword [0x180141488]
mov r8, qword [0x180141490]
add rcx, rsi
lea rdx, [rcx + 8]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
sub qword [0x180141490], 8
mov dl, 1
call fcn.180072d40
mov rsi, rax
lea rdx, [rsp + 0x50]
movabs rax, 0xba70dd701ccd3531
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x781a02ea6925d993
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xad1822bab7413cfc
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x73efd193a0b7bbde
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x50]
vpxor xmm2, xmm0, xmmword [rbp - 0x60]
vmovdqu xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x48], rax
vpxor xmm1, xmm0, xmmword [rbp - 0x50]
vmovq rax, xmm2
vmovdqu xmmword [rsp + 0x60], xmm1
vmovdqu xmmword [rsp + 0x50], xmm2
test al, al
je 0x18006d3fa
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18006d3f0
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
mov rcx, rsi
call fcn.180072eb0
movabs rax, 0x9a14b80673a05061
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x40]
mov qword [rbp - 0x58], rax
vpxor xmm1, xmm0, xmmword [rbp - 0x60]
vmovq rax, xmm1
vmovdqu xmmword [rsp + 0x40], xmm1
test al, al
je 0x18006d49a
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18006d490
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1800d7380
lea r11, [rsp + 0x2f0]
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