Function at 0x180059480
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 [0x18017b040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rax, qword [0x18017c040]
movabs r12, 0x8bf433a1c6f4586a
movabs r15, 0xadf0c4fe52b74d3f
movabs r14, 0x792321f7c1f9c8c8
movabs r13, 0x974cd138426754f1
lea rsi, [rax*8]
mov rax, qword [0x18017c048]
mov rdi, qword [rsi + rax]
movabs rax, 0xad91c49852d24d5b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x790d2183c195c8bd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x974cd156420e5493
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]
movdqa xmm0, xmmword [rbp - 0x80]
movdqa xmm1, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x80]
xorps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
test rdi, rdi
je 0x1800597e2
lea rcx, [rbp - 0x80]
mov r8, rdi
sub r8, rcx
movsx ecx, word [r8 + rax]
movsx edx, word [rax]
lea rax, [rax + 2]
test cx, cx
je 0x1800595d7
cmp cx, dx
je 0x1800595c1
sub ecx, edx
jne 0x1800597e2
mov dl, 2
call fcn.180076590
mov rsi, rax
lea rdx, [rsp + 0x50]
movabs rax, 0xd9d0a19230d6234a
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x1c554e9aa48be8a7
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xe320a459240230d1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xfe935ac7a89b3b4a
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, 0x21cd57cd6e415cc1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xf5fab2eb561e6d15
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, 0x47ed39a207353db3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0xf5fa90cb6c7b017c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rsp + 0x50]
xorps xmm2, xmmword [rbp - 0x60]
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp - 0x50]
mov qword [rbp - 0x38], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x50], xmm2
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x70], xmm1
test al, al
je 0x18005973b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x180059730
mov rcx, qword [0x18017bed8]
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.180076700
movabs rax, 0xadf0c4fe52b74d1d
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]
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rbp - 0x58], rax
xorps xmm0, xmmword [rbp - 0x60]
movq rax, xmm0
movdqa xmmword [rsp + 0x40], xmm0
test al, al
je 0x1800599fc
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x1800597d3
jmp 0x1800599fc
movzx ecx, word [0x18017d420]
lea rax, [rbp - 0x30]
test cx, cx
je 0x180059810
lea rdx, [0x18017d420]
lea r8, [rbp - 0x30]
sub rdx, r8
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x180059800
xor ebx, ebx
mov word [rax], bx
movzx ecx, word [rdi]
test cx, cx
je 0x180059840
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 0x180059830
lea rcx, [rbp - 0x30]
mov word [rax], bx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x180059a19
mov rcx, qword [0x18017c048]
mov r8, qword [0x18017c050]
add rcx, rsi
lea rdx, [rcx + 8]
sub r8, rdx
call fcn.180100590
sub qword [0x18017c050], 8
mov dl, 1
call fcn.180076590
mov rsi, rax
lea rdx, [rsp + 0x50]
movabs rax, 0x8d94a1883dda284d
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0xb56469ea797a7ab
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xfe2af1562d0e2090
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x8bf43383e6ce3d06
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]
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rbp - 0x60]
movdqa xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x48], rax
movq rax, xmm1
xorps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmmword [rsp + 0x60], xmm0
test al, al
je 0x180059960
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180059956
mov rcx, qword [0x18017bed8]
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.180076700
movabs rax, 0xadf0c4fe52b74d1d
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]
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rbp - 0x58], rax
xorps xmm0, xmmword [rbp - 0x60]
movq rax, xmm0
movdqa xmmword [rsp + 0x40], xmm0
test al, al
je 0x1800599fc
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x1800599f2
mov rcx, qword [0x18017bed8]
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.1800db5c0
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