Function at 0x140140f30
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 [0x14035cb78]
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 0x140140f70
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 0x140140fda
lea r8, [rbp + 0x6d]
sub r8, r10
mov rdx, r10
lea rcx, [rbp - 0x78]
call fcn.1400d0690
mov rcx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov rax, rcx
sub rax, r8
mov r15d, 0x2b
cmp rax, r15
jb 0x140141067
lea rax, [r8 + 0x2b]
mov qword [rbp - 0x68], rax
lea rdi, [rbp - 0x78]
cmp rcx, 0x10
cmovae rdi, qword [rbp - 0x78]
lea rax, [0x14028041b]
lea r13, str._AsusSystemAnalysisService__OnPowerEvent_:
cmp rax, rdi
jbe 0x140141029
lea rax, [rdi + r8]
cmp r13, rax
ja 0x140141029
cmp rdi, r13
jbe 0x14014102c
mov rsi, rdi
sub rsi, r13
jmp 0x14014102c
mov rsi, r15
lea rcx, [rdi + 0x2b]
inc r8
mov rdx, rdi
call fcn.1401ff6b0
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call fcn.1401ff6b0
lea rcx, [rdi + rsi]
sub r15, rsi
lea rdx, [r13 + 0x2b]
add rdx, rsi
mov r8, r15
call fcn.1401ff6b0
lea rax, [rbp - 0x78]
xor esi, esi
jmp 0x14014108a
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.1400bb040
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, [0x1402803e0]
lea rcx, [rsp + 0x68]
call fcn.1400d02e0
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 0x140141121
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14014111c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141eb1
call fcn.1401c72f8
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14014116a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140141165
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141eb7
call fcn.1401c72f8
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 0x1401411b4
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x58], xmm0
mov rdi, rbx
jmp 0x1401411de
mov rdi, r13
or rdi, 0xf
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.1400b9950
mov qword [rbp + 0x58], rax
lea r8, [r13 + 1]
mov rdx, r15
mov rcx, rax
call fcn.1401ff6b0
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], rdi
lea rcx, [rbp + 0x58]
call fcn.1401630b0
call fcn.140124450
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.1400d07a0
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.1400d07a0
nop
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x38]
call fcn.1401a0550
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.1400d07a0
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.1400d07a0
nop
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x48]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 8]
call fcn.1401a0550
nop
mov eax, dword [rsp + 0x30]
cmp eax, 4
jne 0x14014139a
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], SafeArrayGetLBound
movsd xmm0, qword [str.PBT_APMSUSPEND]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x140280428]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14028042c]
mov word [rsp + 0x74], ax
mov byte [rsp + 0x76], r15b
lea rcx, [rsp + 0x68]
call fcn.1401630b0
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.1400d07a0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011ed40
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.1400d07a0
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0xc]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011e080
jmp 0x140141c47
cmp eax, 7
jne 0x140141400
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rax + 0x19]
call fcn.1400b9950
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 [0x140280440]
mov dword [rax + 0x10], edx
mov byte [rax + 0x14], 0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.1401630b0
cmp byte [r12 + 0xb1], 0
jne 0x140141c47
jmp 0x140141bbd
cmp eax, 0x8013
jne 0x140141c47
test r14, r14
je 0x140141c47
mov rax, qword [r14]
cmp rax, qword [0x140290650]
jne 0x140141699
mov rax, qword [r14 + 8]
cmp rax, qword [0x140290658]
jne 0x140141699
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 0x140141441
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 0x1401414b9
lea r8, [rbp + 0x52]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1400d07a0
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 0x140141503
sub r9, rax
nop word [rax + rax]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14014150f
add rax, 2
sub rcx, rdi
jne 0x1401414f0
cmp r12, r11
jae 0x140141519
mov edi, 0xffffffff
jmp 0x140141522
mov eax, 0xffffffff
cmovb edi, eax
jmp 0x140141522
xor edi, edi
cmp r12, r11
seta dil
cmp r15, 8
jb 0x14014155d
lea rdx, [r15*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140141555
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141ebd
mov rcx, r10
call fcn.1401c72f8
test edi, edi
jne 0x1401415d9
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rdi + 0x50]
call fcn.1400b9950
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 [0x140280460]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140280470]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140280480]
movups xmmword [rax + 0x30], xmm1
movzx ecx, word [0x140280490]
mov word [rax + 0x40], cx
mov byte [rax + 0x42], r15b
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.1401630b0
jmp 0x140141dab
mov eax, dword [r14 + 0x14]
cmp eax, 1
jne 0x14014164d
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.1401630b0
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.1400d07a0
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0x10]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011e080
jmp 0x140141c47
xor r15d, r15d
test eax, eax
jne 0x140141c47
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.1400d07a0
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0x11]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011e080
jmp 0x140141c47
mov rax, qword [r14]
cmp rax, qword [0x14028fe70]
jne 0x140141962
mov rax, qword [r14 + 8]
cmp rax, qword [0x14028fe78]
jne 0x140141962
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 0x1401416d0
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 0x140141748
lea r8, [rbp + 0x52]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1400d07a0
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 0x140141793
sub r9, rax
nop dword [rax]
movzx edx, word [rax + r9]
cmp dx, word [rax]
jne 0x14014179f
add rax, 2
sub rcx, rdi
jne 0x140141780
cmp r12, r11
jae 0x1401417a9
mov edi, 0xffffffff
jmp 0x1401417b2
mov eax, 0xffffffff
cmovb edi, eax
jmp 0x1401417b2
xor edi, edi
cmp r12, r11
seta dil
cmp r15, 8
jb 0x1401417ed
lea rdx, [r15*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x1401417e5
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141ebd
mov rcx, r10
call fcn.1401c72f8
xor r15d, r15d
test edi, edi
jne 0x14014187a
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rdi + 0x40]
call fcn.1400b9950
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 [0x1402804a8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1402804b8]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x1402804c8]
movsd qword [rax + 0x30], xmm1
mov ecx, dword [0x1402804d0]
mov dword [rax + 0x38], ecx
movzx eax, byte [0x1402804d4]
mov byte [rdx + 0x3c], al
mov byte [rdx + 0x3d], r15b
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x68]
call fcn.1401630b0
jmp 0x140141dab
mov eax, dword [r14 + 0x14]
test eax, eax
jne 0x1401418ee
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.1400d0690
lea rcx, [rbp + 0x28]
call fcn.1401630b0
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.1400d07a0
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r9 + 0xe]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011e080
jmp 0x140141c47
cmp eax, 1
jne 0x140141c47
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.1400d0690
lea rcx, [rbp + 0x28]
call fcn.1401630b0
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.1400d07a0
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, ebx
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011e080
jmp 0x140141c47
mov rax, qword [r14]
cmp rax, qword [0x140290960]
jne 0x140141b57
mov rax, qword [r14 + 8]
cmp rax, qword [0x140290968]
jne 0x140141b57
mov eax, dword [r14 + 0x14]
test eax, eax
jne 0x14014199b
lea r8d, [rax + 0xb]
lea rdx, str.Display_Off
jmp 0x140141b34
cmp eax, 1
jne 0x140141b20
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.1400d0690
lea rcx, [rbp + 0x28]
call fcn.1401630b0
cmp byte [0x140360690], 0
je 0x140141a0f
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.1400d07a0
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011ed40
mov edx, 1
lea rcx, [rbp + 0x28]
call fcn.1400dbd80
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400f9550
mov edi, eax
mov r8, qword [rbp + 0x40]
cmp r8, 8
jb 0x140141a45
inc r8
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.1400d1de0
test edi, edi
jne 0x140141c47
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.1400d0690
lea rcx, [rbp + 0x28]
call fcn.1401630b0
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.1400d07a0
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [rdi + 0xa]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011e080
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.1400d07a0
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.1400d07a0
nop
xor r9d, r9d
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x58]
mov rcx, 0xffffffff80000002
call fcn.1401a0c20
jmp 0x140141c47
cmp eax, 2
jne 0x140141c47
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.1400d0690
lea rcx, [rbp + 0x28]
call fcn.1401630b0
jmp 0x140141c47
mov rax, qword [r14]
cmp rax, qword [0x14028ffc0]
jne 0x140141c47
mov rax, qword [r14 + 8]
cmp rax, qword [0x14028ffc8]
jne 0x140141c47
cmp byte [r12 + 0xb1], 0
je 0x140141c47
cmp dword [r14 + 0x14], 1
jne 0x140141c47
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.1400d0690
lea rcx, [rbp + 0x28]
call fcn.1401630b0
xor edx, edx
mov rcx, r12
call fcn.140140370
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.1400d07a0
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011e080
cmp byte [0x140360690], 0
jne 0x140141c47
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.1400d07a0
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011ed40
mov edx, dword [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.1400f4040
nop
mov r8, rax
lea rdx, str._AsusSystemAnalysisService__OnPowerEvent_:
lea rcx, [rsp + 0x68]
call fcn.1400b9790
nop
mov r8, rbx
lea rdx, str._______________
mov rcx, rax
call fcn.1400d02e0
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 0x140141ce3
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140141cd2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141ec3
mov rcx, rsi
call fcn.1401c72f8
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 0x140141d07
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400d1da0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], 0
mov r8, qword [rbp - 0x40]
cmp r8, 0x10
jb 0x140141d2f
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.1400d1da0
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 0x140141d5f
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x68], xmm0
jmp 0x140141d94
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400b9950
mov qword [rsp + 0x68], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call fcn.1401ff6b0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
lea rcx, [rsp + 0x68]
call fcn.1401630b0
mov rsi, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140141deb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140141de6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141ec9
call fcn.1401c72f8
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140141e3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140141e37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141ecf
call fcn.1401c72f8
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rax, qword [rbp]
cmp rax, 0x10
jb 0x140141e84
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140141e7c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141eab
mov rcx, rsi
call fcn.1401c72f8
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1401c7850
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