Function at 0x6bf2b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x720875
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x39
xor eax, eax
mov dword [ebp - 0x238], 0
push str.SOFTWAREASUSARMOURY_CRATE_DevicesMOTHERBOARD0B05_22B8
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.006973a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push ecx
cmovae eax, dword [ebp - 0x248]
push 0xf013f
push 0
push eax
push 0x80000002
mov dword [ebp - 0x264], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x264], 0
jne 0x6bf6d4
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x264]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 1
xor eax, eax
mov dword [ebp - 0x270], 0
push 0x735700
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
call fcn.006973a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
push 0x4c
xor eax, eax
mov dword [ebp - 0x220], 0
push str._AacMbHal__MyAacLedDeviceHal::WriteMatrixReg__No_key_found._New_key_created.
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.006973a0
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x298]
call fcn.006a9ba0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x6bf41c
mov esi, dword [esi]
call fcn.006b6c10
push 3
push esi
call fcn.006b6860
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x284]
cmp edx, 8
jb 0x6bf46d
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bf463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbca
push edx
push ecx
call fcn.006e45a1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
cmp edx, 8
jb 0x6bf4ce
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bf4c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbcf
push edx
push ecx
call fcn.006e45a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x6bf52e
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bf524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbd4
push edx
push ecx
call fcn.006e45a1
add esp, 8
cmp dword [ebp - 0x264], 0
jne 0x6bf6d4
push 1
xor eax, eax
mov dword [ebp - 0x270], 0
push 0x735700
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
call fcn.006973a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x230]
push 0x40
xor eax, eax
mov dword [ebp - 0x220], 0
push str._AacMbHal__MyAacLedDeviceHal::WriteMatrixReg__Cannot_access_key.
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.006973a0
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x298]
call fcn.006a9ba0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xe
cmp dword [esi + 0x14], 8
jb 0x6bf5ca
mov esi, dword [esi]
call fcn.006b6c10
push 3
push esi
call fcn.006b6860
mov edx, dword [ebp - 0x284]
cmp edx, 8
jb 0x6bf617
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bf60d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbd9
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
cmp edx, 8
jb 0x6bf674
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bf66a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbde
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x26c]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x6bfb70
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bfb66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbe3
jmp 0x6bfb66
lea ecx, [ebp - 0x260]
call fcn.006b0540
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 4
call fcn.006b0540
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0x10
jb 0x6bf6fc
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6bf701
push 0x104
sub ecx, esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ecx + 1]
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6bf750
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.006973a0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x29c]
cmp edx, 0x10
jb 0x6bf7b0
mov ecx, dword [ebp - 0x2b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6bf7a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbe8
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0xf
mov byte [ebp - 0x2b0], 0
cmp edx, 0x10
jb 0x6bf809
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6bf7ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbed
push edx
push ecx
call fcn.006e45a1
add esp, 8
movzx eax, byte [ebp + 8]
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x21c]
cmp esi, 8
mov dword [ebp - 0x268], eax
cmovae edx, dword [ebp - 0x230]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x6bf830
sub edx, ecx
lea ecx, [ebp - 0x230]
sar edx, 1
cmp esi, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmovae ecx, dword [ebp - 0x230]
lea eax, [edx*2 + 1]
push eax
push ecx
push 1
push 0
push str.Name
push dword [ebp - 0x264]
call esi
push 4
lea eax, [ebp - 0x268]
push eax
push 4
push 0
push str.Plugin
push dword [ebp - 0x264]
call esi
push 0x49
push str.d87130e1_f9ed_4b68_be8b_1dd707a9e01a
push 1
push 0
push str.Type
push dword [ebp - 0x264]
call esi
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
xor eax, eax
mov dword [ebp - 0x264], 0
push 0x735700
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
call fcn.006973a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x260]
mov edx, dword [ebp - 0x268]
call fcn.006a7dc0
mov esi, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x280]
push 0x36
xor eax, eax
mov dword [ebp - 0x270], 0
push str._AacMbHal__MyAacLedDeviceHal::WriteMatrixReg__Plugin:
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
call fcn.006973a0
push esi
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2e0]
call fcn.006a9ba0
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c8]
call fcn.006a9ba0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 8
jb 0x6bf96f
mov esi, dword [esi]
call fcn.006b6c10
push 3
push esi
call fcn.006b6860
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x6bf9bc
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bf9b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbf2
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x2cc]
xor eax, eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
cmp edx, 8
jb 0x6bfa19
mov ecx, dword [ebp - 0x2e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bfa0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbf7
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x26c]
xor eax, eax
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
cmp edx, 8
jb 0x6bfa76
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bfa6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfbfc
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
cmp edx, 8
jb 0x6bfad3
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bfac9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfc01
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x284]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x6bfb30
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bfb26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfc06
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x6bfb70
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bfb66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfc0b
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x6bfbac
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6bfba2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6bfc10
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006e402d
mov esp, ebp
pop ebp
ret 4
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
call fcn.00702432
int3