Function at 0x180056490
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 [0x180175010]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rax, qword [0x180175fd0]
movabs r12, 0x44ccc44ab0c6680c
movabs r15, 0x4f3145f5084d8105
movabs r14, 0x6fda61f061f8fbc2
movabs r13, 0x793650e73e742ec7
lea rsi, [rax*8]
mov rax, qword [0x180175fd8]
mov rdi, qword [rsi + rax]
movabs rax, 0x4f50459308288161
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x6ff461846194fbb7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0x793650893e1d2ea5
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]
pxor xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x70]
pxor xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmmword [rbp - 0x70], xmm0
test rdi, rdi
je 0x1800567f0
lea rcx, [rbp - 0x70]
mov r8, rdi
sub r8, rcx
nop dword [rax]
movsx ecx, word [r8 + rax]
movsx edx, word [rax]
lea rax, [rax + 2]
test cx, cx
je 0x1800565e6
cmp cx, dx
je 0x1800565d0
sub ecx, edx
jne 0x1800567f0
mov dl, 2
call fcn.180071aa0
mov rsi, rax
lea r8, [rbp - 0x50]
movabs rax, 0x3b1120996a2cef70
mov edx, r8d
mov qword [rsp + 0x30], rax
movabs rax, 0xaac0e9d048adbad
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xd5a258658114ae7
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x31abad2cdea90b2c
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, 0x707d136ef653b4bb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
movabs rax, 0x7fb1feacbb0fbe6f
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, 0x165d7d019f27d5c9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
movabs rax, 0x7fb1dc8c816ad206
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp - 0x50]
pxor xmm2, xmmword [rbp + 0x20]
movdqa xmm0, xmmword [rbp - 0x40]
movdqa xmm1, xmmword [rbp - 0x30]
pxor xmm0, xmmword [rbp + 0x30]
mov qword [rbp + 0x48], rax
movq rax, xmm2
pxor xmm1, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x50], xmm2
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm1
test al, al
je 0x18005673c
inc rcx
mov rdx, rcx
cmp byte [rcx], 0
jne 0x180056731
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
xor ebx, ebx
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
mov rcx, rsi
call fcn.180071c10
movabs rax, 0x4f3145f5084d8127
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov edx, r8d
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
pxor xmm0, xmmword [rsp + 0x40]
movq rax, xmm0
movdqa xmmword [rsp + 0x50], xmm0
test al, al
je 0x1800567e0
inc rcx
mov rdx, rcx
cmp byte [rcx], bl
jne 0x1800567d6
sub edx, r8d
mov r8d, edx
lea rdx, [rsp + 0x50]
jmp 0x180056a25
movzx ecx, word [0x180177490]
lea rax, [rbp + 0x50]
test cx, cx
je 0x180056820
lea rdx, [0x180177490]
lea r8, [rbp + 0x50]
sub rdx, r8
nop
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x180056810
xor ebx, ebx
mov word [rax], bx
movzx ecx, word [rdi]
test cx, cx
je 0x180056850
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 0x180056840
lea rcx, [rbp + 0x50]
mov word [rax], bx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x180056a3a
mov rcx, qword [0x180175fd8]
mov r8, qword [0x180175fe0]
add rcx, rsi
lea rdx, [rcx + 8]
sub r8, rdx
call fcn.1800d8150
sub qword [0x180175fe0], 8
mov dl, 1
call fcn.180071aa0
mov rsi, rax
lea r8, [rsp + 0x70]
movabs rax, 0x6f5520836720e477
mov edx, r8d
mov qword [rsp + 0x30], rax
movabs rax, 0x1daf0699079694a1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x10507089511d5aa6
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x44ccc46890fc0d60
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]
pxor xmm1, xmmword [rbp]
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rbp + 0x18], rax
movq rax, xmm1
pxor xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmmword [rbp - 0x80], xmm0
test al, al
je 0x18005696e
inc rcx
mov rdx, rcx
cmp byte [rcx], bl
jne 0x180056964
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x70]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
mov rcx, rsi
call fcn.180071c10
movabs rax, 0x4f3145f5084d8127
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x30]
mov edx, r8d
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
pxor xmm0, xmmword [rsp + 0x40]
movq rax, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test al, al
je 0x180056a1a
nop word [rax + rax]
inc rcx
mov rdx, rcx
cmp byte [rcx], bl
jne 0x180056a10
sub edx, r8d
mov r8d, edx
lea rdx, [rsp + 0x60]
mov rcx, qword [0x180175e68]
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.1800d6d50
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