Function at 0x14013ff70
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 [0x140351248]
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 0x14013ffb0
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 0x14014001a
lea r8, [rbp + 0x6d]
sub r8, r10
mov rdx, r10
lea rcx, [rbp - 0x78]
call fcn.1400cf610
mov rcx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov rax, rcx
sub rax, r8
mov r15d, 0x2b
cmp rax, r15
jb 0x1401400a7
lea rax, [r8 + 0x2b]
mov qword [rbp - 0x68], rax
lea rdi, [rbp - 0x78]
cmp rcx, 0x10
cmovae rdi, qword [rbp - 0x78]
lea rax, [0x14027713b]
lea r13, str._AsusSystemAnalysisService__OnPowerEvent_:
cmp rax, rdi
jbe 0x140140069
lea rax, [rdi + r8]
cmp r13, rax
ja 0x140140069
cmp rdi, r13
jbe 0x14014006c
mov rsi, rdi
sub rsi, r13
jmp 0x14014006c
mov rsi, r15
lea rcx, [rdi + 0x2b]
inc r8
mov rdx, rdi
call fcn.1401f7750
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call fcn.1401f7750
lea rcx, [rdi + rsi]
sub r15, rsi
lea rdx, [r13 + 0x2b]
add rdx, rsi
mov r8, r15
call fcn.1401f7750
lea rax, [rbp - 0x78]
xor esi, esi
jmp 0x1401400ca
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.1400b9fc0
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, [0x140277100]
lea rcx, [rsp + 0x68]
call fcn.1400cf260
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 0x140140161
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14014015c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140140ef1
call fcn.1401bfb10
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1401401aa
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401401a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140140ef7
call fcn.1401bfb10
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 0x1401401f4
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x58], xmm0
mov rdi, rbx
jmp 0x14014021e
mov rdi, r13
or rdi, 0xf
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.1400b88d0
mov qword [rbp + 0x58], rax
lea r8, [r13 + 1]
mov rdx, r15
mov rcx, rax
call fcn.1401f7750
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], rdi
lea rcx, [rbp + 0x58]
call fcn.140162100
call fcn.1401233d0
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.1400cf720
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.1400cf720
nop
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x28]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x38]
call fcn.14019e420
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.1400cf720
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.1400cf720
nop
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x48]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 8]
call fcn.14019e420
nop
mov eax, dword [rsp + 0x30]
cmp eax, 4
jne 0x1401403da
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], SafeArrayLock
movsd xmm0, qword [str.PBT_APMSUSPEND]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x140277148]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14027714c]
mov word [rsp + 0x74], ax
mov byte [rsp + 0x76], r15b
lea rcx, [rsp + 0x68]
call fcn.140162100
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.1400cf720
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011dcc0
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.1400cf720
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0xc]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011d000
jmp 0x140140c87
cmp eax, 7
jne 0x140140440
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rax + 0x19]
call fcn.1400b88d0
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 [0x140277160]
mov dword [rax + 0x10], edx
mov byte [rax + 0x14], 0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.140162100
cmp byte [r12 + 0xa9], 0
jne 0x140140c87
jmp 0x140140bfd
cmp eax, 0x8013
jne 0x140140c87
test r14, r14
je 0x140140c87
mov rax, qword [r14]
cmp rax, qword [0x140286800]
jne 0x1401406d9
mov rax, qword [r14 + 8]
cmp rax, qword [0x140286808]
jne 0x1401406d9
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 0x140140481
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 0x1401404f9
lea r8, [rbp + 0x52]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1400cf720
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 0x140140543
sub r9, rax
nop word [rax + rax]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14014054f
add rax, 2
sub rcx, rdi
jne 0x140140530
cmp r12, r11
jae 0x140140559
mov edi, 0xffffffff
jmp 0x140140562
mov eax, 0xffffffff
cmovb edi, eax
jmp 0x140140562
xor edi, edi
cmp r12, r11
seta dil
cmp r15, 8
jb 0x14014059d
lea rdx, [r15*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140140595
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140140efd
mov rcx, r10
call fcn.1401bfb10
test edi, edi
jne 0x140140619
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rdi + 0x50]
call fcn.1400b88d0
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 [0x140277180]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140277190]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1402771a0]
movups xmmword [rax + 0x30], xmm1
movzx ecx, word [0x1402771b0]
mov word [rax + 0x40], cx
mov byte [rax + 0x42], r15b
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.140162100
jmp 0x140140deb
mov eax, dword [r14 + 0x14]
cmp eax, 1
jne 0x14014068d
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.140162100
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.1400cf720
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0x10]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011d000
jmp 0x140140c87
xor r15d, r15d
test eax, eax
jne 0x140140c87
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.1400cf720
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r15 + 0x11]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011d000
jmp 0x140140c87
mov rax, qword [r14]
cmp rax, qword [0x140286020]
jne 0x1401409a2
mov rax, qword [r14 + 8]
cmp rax, qword [0x140286028]
jne 0x1401409a2
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 0x140140710
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 0x140140788
lea r8, [rbp + 0x52]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1400cf720
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 0x1401407d3
sub r9, rax
nop dword [rax]
movzx edx, word [rax + r9]
cmp dx, word [rax]
jne 0x1401407df
add rax, 2
sub rcx, rdi
jne 0x1401407c0
cmp r12, r11
jae 0x1401407e9
mov edi, 0xffffffff
jmp 0x1401407f2
mov eax, 0xffffffff
cmovb edi, eax
jmp 0x1401407f2
xor edi, edi
cmp r12, r11
seta dil
cmp r15, 8
jb 0x14014082d
lea rdx, [r15*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140140825
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140140efd
mov rcx, r10
call fcn.1401bfb10
xor r15d, r15d
test edi, edi
jne 0x1401408ba
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea ecx, [rdi + 0x40]
call fcn.1400b88d0
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 [0x1402771c8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1402771d8]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x1402771e8]
movsd qword [rax + 0x30], xmm1
mov ecx, dword [0x1402771f0]
mov dword [rax + 0x38], ecx
movzx eax, byte [0x1402771f4]
mov byte [rdx + 0x3c], al
mov byte [rdx + 0x3d], r15b
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x68]
call fcn.140162100
jmp 0x140140deb
mov eax, dword [r14 + 0x14]
test eax, eax
jne 0x14014092e
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.1400cf610
lea rcx, [rbp + 0x28]
call fcn.140162100
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.1400cf720
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r9 + 0xe]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011d000
jmp 0x140140c87
cmp eax, 1
jne 0x140140c87
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.1400cf610
lea rcx, [rbp + 0x28]
call fcn.140162100
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.1400cf720
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, ebx
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011d000
jmp 0x140140c87
mov rax, qword [r14]
cmp rax, qword [0x140286b10]
jne 0x140140b97
mov rax, qword [r14 + 8]
cmp rax, qword [0x140286b18]
jne 0x140140b97
mov eax, dword [r14 + 0x14]
test eax, eax
jne 0x1401409db
lea r8d, [rax + 0xb]
lea rdx, str.Display_Off
jmp 0x140140b74
cmp eax, 1
jne 0x140140b60
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.1400cf610
lea rcx, [rbp + 0x28]
call fcn.140162100
cmp byte [0x140354bd0], 0
je 0x140140a4f
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.1400cf720
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011dcc0
mov edx, 1
lea rcx, [rbp + 0x28]
call fcn.1400dad00
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400f84d0
mov edi, eax
mov r8, qword [rbp + 0x40]
cmp r8, 8
jb 0x140140a85
inc r8
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.1400d0d60
test edi, edi
jne 0x140140c87
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.1400cf610
lea rcx, [rbp + 0x28]
call fcn.140162100
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.1400cf720
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [rdi + 0xa]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011d000
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.1400cf720
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.1400cf720
nop
xor r9d, r9d
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x58]
mov rcx, 0xffffffff80000002
call fcn.14019eaf0
jmp 0x140140c87
cmp eax, 2
jne 0x140140c87
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.1400cf610
lea rcx, [rbp + 0x28]
call fcn.140162100
jmp 0x140140c87
mov rax, qword [r14]
cmp rax, qword [0x140286170]
jne 0x140140c87
mov rax, qword [r14 + 8]
cmp rax, qword [0x140286178]
jne 0x140140c87
cmp byte [r12 + 0xa9], 0
je 0x140140c87
cmp dword [r14 + 0x14], 1
jne 0x140140c87
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.1400cf610
lea rcx, [rbp + 0x28]
call fcn.140162100
xor edx, edx
mov rcx, r12
call fcn.14013f420
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.1400cf720
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011d000
cmp byte [0x140354bd0], 0
jne 0x140140c87
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.1400cf720
xor r9d, r9d
lea r8d, [r9 + 0xd]
lea rdx, [rbp + 0x28]
mov rcx, r13
call fcn.14011dcc0
mov edx, dword [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.1400f2fc0
nop
mov r8, rax
lea rdx, str._AsusSystemAnalysisService__OnPowerEvent_:
lea rcx, [rsp + 0x68]
call fcn.1400b8710
nop
mov r8, rbx
lea rdx, str._______________
mov rcx, rax
call fcn.1400cf260
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 0x140140d23
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140140d12
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140140f03
mov rcx, rsi
call fcn.1401bfb10
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 0x140140d47
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400d0d20
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x68], 0
mov r8, qword [rbp - 0x40]
cmp r8, 0x10
jb 0x140140d6f
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.1400d0d20
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 0x140140d9f
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x68], xmm0
jmp 0x140140dd4
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400b88d0
mov qword [rsp + 0x68], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call fcn.1401f7750
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
lea rcx, [rsp + 0x68]
call fcn.140162100
mov rsi, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140140e2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140140e26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140140f09
call fcn.1401bfb10
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140140e7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140140e77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140140f0f
call fcn.1401bfb10
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rax, qword [rbp]
cmp rax, 0x10
jb 0x140140ec4
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140140ebc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140140eeb
mov rcx, rsi
call fcn.1401bfb10
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1401c0070
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