Function at 0x140171ab0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov r14, r8
mov dword [rsp + 0x30], edx
mov r12, rcx
lea r10, [rbp + 0x6d]
mov r9d, edx
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r9b, cl
add r9b, 0x30
mov byte [r10], r9b
mov r9d, edx
test edx, edx
jne 0x140171af0
xor esi, esi
mov qword [rbp - 0x78], rsi
mov r8d, esi
mov qword [rbp - 0x68], rsi
mov ebx, SafeArrayGetLBound
mov ecx, ebx
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], sil
lea rax, [rbp + 0x6d]
cmp r10, rax
je 0x140171b5a
lea r8, [rbp + 0x6d]
sub r8, r10
mov rdx, r10
lea rcx, [rbp - 0x78]
call fcn.1400f8840
mov rcx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov rax, rcx
sub rax, r8
mov r15d, 0x2b
cmp rax, r15
jb 0x140171be7
lea rax, [r8 + 0x2b]
mov qword [rbp - 0x68], rax
lea rdi, [rbp - 0x78]
cmp rcx, 0x10
cmovae rdi, qword [rbp - 0x78]
lea rax, [0x1402d9a2b]
lea r13, str._AsusSystemAnalysisService__OnPowerEvent_:
cmp rax, rdi
jbe 0x140171ba9
lea rax, [rdi + r8]
cmp r13, rax
ja 0x140171ba9
cmp rdi, r13
jbe 0x140171bac
mov rsi, rdi
sub rsi, r13
jmp 0x140171bac
mov rsi, r15
lea rcx, [rdi + 0x2b]
inc r8
mov rdx, rdi
call fcn.140244220
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call fcn.140244220
lea rcx, [rdi + rsi]
sub r15, rsi
lea rdx, [r13 + 0x2b]
add rdx, rsi
mov r8, r15
call fcn.140244220
lea rax, [rbp - 0x78]
xor esi, esi
jmp 0x140171c0a
mov qword [rsp + 0x28], r15
lea rax, str._AsusSystemAnalysisService__OnPowerEvent_:
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x78]
call fcn.1400e31f0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [0x1402d99f0]
lea rcx, [rsp + 0x68]
call fcn.1400f8490
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140171ca1
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140171c9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140172a41
call fcn.14020be84
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140171cea
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140171ce5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140172a47
call fcn.14020be84
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], 0
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], rsi
lea r15, [rbp - 0x18]
mov rsi, qword [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae r15, rsi
movabs rax, 0x7fffffffffffffff
mov r13, qword [rbp - 8]
cmp r13, 0x10
jae 0x140171d34
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x58], xmm0
mov rdi, rbx
jmp 0x140171d5e
mov rdi, r13
or rdi, 0xf
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.1400e1b00
mov qword [rbp + 0x58], rax
lea r8, [r13 + 1]
mov rdx, r15
mov rcx, rax
call fcn.140244220
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], rdi
lea rcx, [rbp + 0x58]
call fcn.140195010
call fcn.140153850
mov r13, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
lea r8d, [r15 + 0x11]
lea rdx, str.SKIP_ONPOWEREVENT
lea rcx, [rbp - 0x58]
call fcn.1400f8950
nop
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
lea r8d, [r15 + 0x3e]
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x28]
call fcn.1400f8950
nop
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x38]
call fcn.1401ddda0
nop
lea rax, [rbp - 0x78]
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
lea r8d, [r15 + 9]
lea rdx, str.ISPOWERON
lea rcx, [rbp - 0x78]
call fcn.1400f8950
nop
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
lea r8d, [r15 + 0x3e]
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rsp + 0x48]
call fcn.1400f8950
nop
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x48]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 8]
call fcn.1401ddda0
nop
mov eax, dword [rsp + 0x30]
cmp eax, 4
jne 0x140171f1a
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], SafeArrayLock
movsd xmm0, qword [str.PBT_APMSUSPEND]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x1402d9a38]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1402d9a3c]
mov word [rsp + 0x74], ax
mov byte [rsp + 0x76], r15b
lea rcx, [rsp + 0x68]
call fcn.140195010
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
lea r8d, [r15 + 0x17]
lea rdx, str.jobDisableTaskScheduler
lea rcx, [rbp + 0x28]
call fcn.1400f8950
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014dcf0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
lea r8d, [r15 + 0xe]
lea rdx, str.suspend_resume
lea rcx, [rbp + 0x28]
call fcn.1400f8950
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0xc]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014cd50
jmp 0x1401727d7
cmp eax, 7
jne 0x140171f8f
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rax + 0x19]
call fcn.1400e1b00
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayLock
mov qword [rbp - 0x80], 0x1f
movups xmm0, xmmword [str.PBT_APMRESUMESUSPEND]
movups xmmword [rax], xmm0
mov edx, dword [0x1402d9a50]
mov dword [rax + 0x10], edx
mov byte [rax + 0x14], 0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.140195010
cmp byte [r12 + 0xf1], 0
jne 0x1401727d7
xor edx, edx
mov rcx, r12
call fcn.14016fc80
call fcn.1401e3cd0
jmp 0x140172757
cmp eax, 0x8013
jne 0x1401727d7
test r14, r14
je 0x1401727d7
mov rax, qword [r14]
cmp rax, qword [0x1402eb700]
jne 0x140172229
mov rax, qword [r14 + 8]
cmp rax, qword [0x1402eb708]
jne 0x140172229
lea r9, [rbp + 0x52]
mov edi, 1
mov r8d, edi
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140171fd0
mov r10, r15
mov qword [rsp + 0x68], r15
mov r11, r15
mov qword [rsp + 0x78], r15
mov r15d, 7
mov qword [rbp - 0x80], r15
lea rax, [rbp + 0x52]
cmp r9, rax
je 0x140172048
lea r8, [rbp + 0x52]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1400f8950
mov r15, qword [rbp - 0x80]
mov r11, qword [rsp + 0x78]
mov r10, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
cmp r15, 8
cmovae rax, r10
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae r9, qword [rbp - 0x38]
mov r12, qword [rbp - 0x28]
mov rcx, r12
cmp r11, r12
cmovb rcx, r11
test rcx, rcx
je 0x140172093
sub r9, rax
nop dword [rax]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14017209f
add rax, 2
sub rcx, rdi
jne 0x140172080
cmp r12, r11
jae 0x1401720a9
mov edi, 0xffffffff
jmp 0x1401720b2
mov eax, 0xffffffff
cmovb edi, eax
jmp 0x1401720b2
xor edi, edi
cmp r12, r11
seta dil
cmp r15, 8
jb 0x1401720ed
lea rdx, [r15*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x1401720e5
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140172a4d
mov rcx, r10
call fcn.14020be84
test edi, edi
jne 0x140172169
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rdi + 0x50]
call fcn.1400e1b00
mov qword [rsp + 0x78], 0x42
mov qword [rbp - 0x80], 0x4f
movaps xmm0, xmmword [str.Get_power_on_event___skip_OnPowerEvent_GUID_LIDSWITCH_STATE_CHANGE]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1402d9a70]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1402d9a80]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1402d9a90]
movups xmmword [rax + 0x30], xmm1
movzx ecx, word [0x1402d9aa0]
mov word [rax + 0x40], cx
mov byte [rax + 0x42], r15b
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.140195010
jmp 0x14017293b
mov eax, dword [r14 + 0x14]
cmp eax, 1
jne 0x1401721dd
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x38], 8
movabs rax, 0x6e65704f2064694c
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x30], 0
lea rcx, [rbp + 0x28]
call fcn.140195010
xor r15d, r15d
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
lea r8d, [r15 + 0xe]
lea rdx, str.lid_open_close
lea rcx, [rbp + 0x28]
call fcn.1400f8950
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0x10]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014cd50
jmp 0x1401727d7
xor r15d, r15d
test eax, eax
jne 0x1401727d7
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
lea r8d, [r15 + 0xe]
lea rdx, str.lid_open_close
lea rcx, [rbp + 0x28]
call fcn.1400f8950
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0x11]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014cd50
jmp 0x1401727d7
mov rax, qword [r14]
cmp rax, qword [0x1402eaf20]
jne 0x1401724f2
mov rax, qword [r14 + 8]
cmp rax, qword [0x1402eaf28]
jne 0x1401724f2
lea r9, [rbp + 0x52]
mov edi, 1
mov r8d, edi
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140172260
mov r10, r15
mov qword [rsp + 0x68], r15
mov r11, r15
mov qword [rsp + 0x78], r15
mov r15d, 7
mov qword [rbp - 0x80], r15
lea rax, [rbp + 0x52]
cmp r9, rax
je 0x1401722d8
lea r8, [rbp + 0x52]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1400f8950
mov r15, qword [rbp - 0x80]
mov r11, qword [rsp + 0x78]
mov r10, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
cmp r15, 8
cmovae rax, r10
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae r9, qword [rbp - 0x38]
mov r12, qword [rbp - 0x28]
mov rcx, r12
cmp r11, r12
cmovb rcx, r11
test rcx, rcx
je 0x140172323
sub r9, rax
nop dword [rax]
movzx edx, word [rax + r9]
cmp dx, word [rax]
jne 0x14017232f
add rax, 2
sub rcx, rdi
jne 0x140172310
cmp r12, r11
jae 0x140172339
mov edi, 0xffffffff
jmp 0x140172342
mov eax, 0xffffffff
cmovb edi, eax
jmp 0x140172342
xor edi, edi
cmp r12, r11
seta dil
cmp r15, 8
jb 0x14017237d
lea rdx, [r15*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140172375
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140172a4d
mov rcx, r10
call fcn.14020be84
xor r15d, r15d
test edi, edi
jne 0x14017240a
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rdi + 0x40]
call fcn.1400e1b00
mov rdx, rax
mov qword [rsp + 0x78], 0x3d
mov qword [rbp - 0x80], 0x3f
movups xmm0, xmmword [str.Get_power_on_event___skip_OnPowerEvent_GUID_ACDC_POWER_SOURCE]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402d9ab8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1402d9ac8]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x1402d9ad8]
movsd qword [rax + 0x30], xmm1
mov ecx, dword [0x1402d9ae0]
mov dword [rax + 0x38], ecx
movzx eax, byte [0x1402d9ae4]
mov byte [rdx + 0x3c], al
mov byte [rdx + 0x3d], r15b
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x68]
call fcn.140195010
jmp 0x14017293b
mov eax, dword [r14 + 0x14]
test eax, eax
jne 0x14017247e
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], rbx
lea r8d, [rax + 6]
lea rdx, str.AC_in
lea rcx, [rbp + 0x28]
call fcn.1400f8840
lea rcx, [rbp + 0x28]
call fcn.140195010
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov r8d, 5
lea rdx, str.ac_dc
lea rcx, [rbp + 0x28]
call fcn.1400f8950
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r9 + 0xe]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014cd50
jmp 0x1401727d7
cmp eax, 1
jne 0x1401727d7
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], rbx
lea r8d, [rax + 5]
lea rdx, str.AC_out
lea rcx, [rbp + 0x28]
call fcn.1400f8840
lea rcx, [rbp + 0x28]
call fcn.140195010
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov r8d, 5
lea rdx, str.ac_dc
lea rcx, [rbp + 0x28]
call fcn.1400f8950
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, ebx
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014cd50
jmp 0x1401727d7
mov rax, qword [r14]
cmp rax, qword [0x1402eba10]
jne 0x1401726e7
mov rax, qword [r14 + 8]
cmp rax, qword [0x1402eba18]
jne 0x1401726e7
mov eax, dword [r14 + 0x14]
test eax, eax
jne 0x14017252b
lea r8d, [rax + 0xb]
lea rdx, str.Display_Off
jmp 0x1401726c4
cmp eax, 1
jne 0x1401726b0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], rbx
lea r8d, [rax + 9]
lea rdx, str.Display_On
lea rcx, [rbp + 0x28]
call fcn.1400f8840
lea rcx, [rbp + 0x28]
call fcn.140195010
cmp byte [0x1403e29e8], 0
je 0x14017259f
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov r8d, 0x1f
lea rdx, str.jobRestoreQuietFanBatteryHealth
lea rcx, [rbp + 0x28]
call fcn.1400f8950
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014dcf0
mov edx, 1
lea rcx, [rbp + 0x28]
call fcn.140103f30
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140128330
mov edi, eax
mov r8, qword [rbp + 0x40]
cmp r8, 8
jb 0x1401725d5
inc r8
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.1400f9f90
test edi, edi
jne 0x1401727d7
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], rbx
lea r8d, [rdi + 0x4c]
lea rdx, str.ISPOWERON__true__job__DoCollectJob_POWERONOFF__JOB_TRIGGER_POWER_ON__false_
lea rcx, [rbp + 0x28]
call fcn.1400f8840
lea rcx, [rbp + 0x28]
call fcn.140195010
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
lea r8d, [rdi + 0xa]
lea rdx, str.poweronoff
lea rcx, [rbp + 0x28]
call fcn.1400f8950
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [rdi + 0xa]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014cd50
lea rax, [rbp + 0x28]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
lea r8d, [rdi + 9]
lea rdx, str.ISPOWERON
lea rcx, [rbp + 0x28]
call fcn.1400f8950
nop
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
lea r8d, [rdi + 0x3e]
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp - 0x58]
call fcn.1400f8950
nop
xor r9d, r9d
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x58]
mov rcx, 0xffffffff80000002
call fcn.1401de6e0
jmp 0x1401727d7
cmp eax, 2
jne 0x1401727d7
lea r8d, [rax + 0xc]
lea rdx, str.Display_Dimmed
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x28], r15
lea rcx, [rbp + 0x28]
call fcn.1400f8840
lea rcx, [rbp + 0x28]
call fcn.140195010
jmp 0x1401727d7
mov rax, qword [r14]
cmp rax, qword [0x1402eb070]
jne 0x1401727d7
mov rax, qword [r14 + 8]
cmp rax, qword [0x1402eb078]
jne 0x1401727d7
cmp byte [r12 + 0xf1], 0
je 0x1401727d7
cmp dword [r14 + 0x14], 1
jne 0x1401727d7
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], rbx
mov r8d, SafeArrayPutElement
lea rdx, str.Modern_Standby_Resume
lea rcx, [rbp + 0x28]
call fcn.1400f8840
lea rcx, [rbp + 0x28]
call fcn.140195010
xor edx, edx
mov rcx, r12
call fcn.14016fc80
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov r8d, SafeArrayGetLBound
lea rdx, str.suspend_resume
lea rcx, [rbp + 0x28]
call fcn.1400f8950
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014cd50
cmp byte [0x1403e29e8], 0
jne 0x1401727d7
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov r8d, SafeArrayPutElement
lea rdx, str.jobCheckBatteryTimeout
lea rcx, [rbp + 0x28]
call fcn.1400f8950
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14014dcf0
mov edx, dword [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.14011d870
nop
mov r8, rax
lea rdx, str._AsusSystemAnalysisService__OnPowerEvent_:
lea rcx, [rsp + 0x68]
call fcn.1400e1940
nop
mov r8, rbx
lea rdx, str._______________
mov rcx, rax
call fcn.1400f8490
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rbx
mov byte [rax], 0
mov rax, qword [rbp]
cmp rax, 0x10
jb 0x140172873
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140172862
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140172a53
mov rcx, rsi
call fcn.14020be84
movups xmm0, xmmword [rbp + 0x58]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm1
mov r8, qword [rbp - 0x80]
cmp r8, 0x10
jb 0x140172897
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400f9f50
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], 0
mov r8, qword [rbp - 0x40]
cmp r8, 0x10
jb 0x1401728bf
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.1400f9f50
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rdi, [rbp - 0x18]
cmp qword [rbp + 0x40], 0x10
cmovae rdi, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x38]
cmp rsi, 0x10
jae 0x1401728ef
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x68], xmm0
jmp 0x140172924
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400e1b00
mov qword [rsp + 0x68], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call fcn.140244220
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
lea rcx, [rsp + 0x68]
call fcn.140195010
mov rsi, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14017297b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140172976
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140172a59
call fcn.14020be84
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1401729cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401729c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140172a5f
call fcn.14020be84
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rax, qword [rbp]
cmp rax, 0x10
jb 0x140172a14
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140172a0c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140172a3b
mov rcx, rsi
call fcn.14020be84
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.14020c3e0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3