joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415680
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4158aa
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430560
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4156fb
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41570e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415730
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415744
cmp rbx, 0x1000
jae 0x415705
jmp 0x4157ce
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415756
xor esi, esi
jmp 0x4157c0
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00430560
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x41573a
jmp 0x415722
call fcn.0045dca0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415849
call fcn.00434840
lea rax, [0x004c8af3]
mov ebx, 0x19
call fcn.00435140
mov rax, qword [rsp + 0x68]
call fcn.00434e40
lea rax, [0x004c8611]
mov ebx, 0x19
nop
call fcn.00435140
mov eax, dword [rsp + 0x34]
call fcn.00434e40
call fcn.00434aa0
call fcn.004348c0
lea rax, [0x004c4543]
mov ebx, 0xd
call fcn.004330a0
cmp eax, 0x5af
je 0x4157f3
call fcn.00434840
lea rax, [0x004c8af3]
mov ebx, 0x19
call fcn.00435140
mov rax, qword [rsp + 0x38]
call fcn.00434e40
lea rax, [0x004c8611]
mov ebx, 0x19
nop dword [rax]
call fcn.00435140
mov eax, dword [rsp + 0x34]
call fcn.00434e40
call fcn.00434aa0
call fcn.004348c0
lea rax, [0x004ca5af]
mov ebx, 0x1f
call fcn.004330a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a140
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415680
Function at 0x41d560
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005c65b3], 0
jne 0x41d64f
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41d645
lea rbx, [0x00598a10]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41d627
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045c840
lea rax, [0x004cc72a]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.004330a0
nop
int3
Function at 0x42c7c0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42ca66
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42ca5a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x005c65b3], 0
jne 0x42c822
xor edx, edx
xor ebx, ebx
nop
jmp 0x42c86b
xor edx, edx
jmp 0x42c84e
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041cd80
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42c826
add rax, 0x1260
call fcn.0042c640
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42c9f2
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42c868
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00411920
test rax, rax
jne 0x42c8c2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42c868
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42c905
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42c868
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42ca4d
lea r10, [0x00598a10]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42c98b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42c9c5
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42c868
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42ca45
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42c868
cmp rbx, 0x200
ja 0x42ca37
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.004229a0
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042c640
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.0045c8a0
mov rax, r8
call fcn.0045c820
mov rax, r8
mov ecx, 0x40
call fcn.0045c840
mov edx, 0x200
nop
call fcn.0045c880
nop
mov qword [rsp + 8], rax
call fcn.0045e840
mov rax, qword [rsp + 8]
jmp fcn.0042c7c0
Function at 0x45c260
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40248f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408d80
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a140
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402460
cmp byte [0x005c65b2], 0
je 0x45c275
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x459240
jmp 0x402460

Function at 0x45c280
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c6880]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005c65b2], 0
je 0x45c2b5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c6b40]
aesenc xmm0, xmmword [0x005c6b50]
aesenc xmm0, xmmword [0x005c6b60]
movq rax, xmm0
ret
jmp 0x408f80

Function at 0x45c2c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c6880]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005c65b2], 0
je 0x45c2f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c6b40]
aesenc xmm0, xmmword [0x005c6b50]
aesenc xmm0, xmmword [0x005c6b60]
movq rax, xmm0
ret
jmp 0x408fe0

Function at 0x45dc20
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005c6ac0]
mov qword [rsp + 8], rdx
lea r8d, [0x005c65c8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045c1a0
add rsp, 0x30
ret
Function at 0x140001840
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
xor ebx, ebx
mov rsi, rcx
mov rbp, rbx
test rcx, rcx
je 0x14000191a
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
or rcx, 0xffffffffffffffff
mov rdi, rsi
mov r12d, eax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rdx, [rcx - 1]
lea ecx, [r12 + 1]
add rdx, rcx
lea ecx, [rbx + 0x40]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rbp, rax
test rax, rax
je 0x14000191d
mov edx, r12d
mov rcx, rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
lea ecx, [rax - 1]
cmp word [rbp + rcx*2], 0x5c
je 0x1400018cc
mov ecx, eax
mov edx, 0x5c
inc eax
mov word [rbp + rcx*2], dx
or rcx, 0xffffffffffffffff
movsxd r8, eax
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14000191a
mov rdx, rsi
lea r8, [rbp + r8*2]
nop dword [rax]
movzx eax, word [rdx]
or rcx, 0xffffffffffffffff
inc ebx
mov word [r8], ax
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov eax, ebx
add rdx, 2
not rcx
add r8, 2
dec rcx
cmp rax, rcx
jb 0x1400018f0
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140001b00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
mov ecx, 0x40
mov edx, eax
mov edi, eax
add rdx, rdx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001b62
mov edx, edi
mov rcx, rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
je 0x140001b57
cmp edi, eax
jb 0x140001b57
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002e60
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rax, qword [0x14004c4c0]
xor esi, esi
mov rdi, r8
mov r12, rdx
mov ebp, ecx
test rax, rax
jne 0x140002ea9
lea rcx, str.Setupapi.dll
xor edx, edx
call fcn.1400022f0
mov qword [0x14004c4c0], rax
test rax, rax
je 0x140002f86
cmp qword [0x14004c4c8], rsi
jne 0x140002ed9
lea rdx, str.SetupDiGetClassDevsW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004c4c8], rax
test rax, rax
je 0x140002f86
mov rax, qword [0x14004c4c0]
cmp qword [0x14004c4d0], rsi
jne 0x140002f09
lea rdx, str.SetupDiEnumDeviceInfo
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004c4d0], rax
test rax, rax
je 0x140002f86
mov rax, qword [0x14004c4c0]
cmp qword [0x14004c4e0], rsi
jne 0x140002f35
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004c4e0], rax
test rax, rax
je 0x140002f86
mov rax, qword [0x14004c4c0]
cmp qword [0x14004c4d8], rsi
jne 0x140002f61
lea rdx, str.SetupDiGetDeviceInterfaceDetailW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004c4d8], rax
test rax, rax
je 0x140002f86
mov rax, qword [0x14004c4c0]
cmp qword [0x14004c4f0], rsi
jne 0x140002f8d
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004c4f0], rax
test rax, rax
jne 0x140002f8d
xor eax, eax
jmp 0x14000302d
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
call qword [0x14004c4c8]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003026
xor eax, eax
mov r8, rdi
xor edx, edx
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov rcx, rbx
mov dword [rdi], 0x20
call qword [0x14004c4d0]
test eax, eax
je 0x14000301d
nop word [rax + rax]
mov r8, rdi
mov rdx, rbx
mov ecx, ebp
call fcn.140001ce0
cmp eax, 1
je 0x140003043
xor eax, eax
inc esi
mov r8, rdi
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov edx, esi
mov rcx, rbx
mov dword [rdi], 0x20
call qword [0x14004c4d0]
test eax, eax
jne 0x140002fe0
mov rcx, rbx
call qword [0x14004c4f0]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov qword [r12], rbx
mov eax, 1
jmp 0x140003028
Function at 0x1400086e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], rbx
mov r9d, 0x20019
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceCustomize
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008781
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Gen4ActiveAINSDueToVoIPCalling
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140008776
mov eax, dword [rsp + 0x3c]
cmp eax, 1
ja 0x140008776
mov dword [rdi], eax
mov ebx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140008c50
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x38], rax
test ecx, ecx
je 0x140008d5e
lea r8, str.GlobalASUS_ASLDRSrv_Battery_Health_Charging_Full_Charge_Event
mov qword [rsp + 0x50], rdi
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rdi, rax
test rax, rax
je 0x140008d41
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
xor ebx, ebx
test eax, eax
jne 0x140008cf6
lea r8, [rsp + 0x30]
mov edx, 0x120057
call fcn.140008b00
test eax, eax
je 0x140008cf6
test dword [rsp + 0x30], 0x200
je 0x140008ced
mov qword [rsp + 0x28], rbx
lea r8, [0x140008db0]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140008cf6
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x140008cf6
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
call qword [sym.imp.api_ms_win_oobe_notification_l1_1_0.dll_OOBEComplete]
cmp dword [rsp + 0x30], ebx
je 0x140008d38
cmp qword [0x14004d878], rbx
jne 0x140008d38
mov qword [rsp + 0x28], rbx
lea r8, [0x140008df0]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [0x14004d878], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rdi, qword [rsp + 0x50]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x40
pop rbx
ret
mov rcx, qword [0x14004d878]
test rcx, rcx
je 0x140008d8b
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [0x14004d878]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor ebx, ebx
mov qword [0x14004d878], rbx
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x40
pop rbx
ret
Function at 0x140009100
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edi, edi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call fcn.14000fc40
test eax, eax
je 0x14000917a
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.PromptFullChargeCount
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmove edi, dword [rsp + 0x3c]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
lea rax, str._prompt_fullcharge
lea rbx, str._prompt_force
cmove rbx, rax
cmp dword [0x1400479ec], 1
jne 0x1400091a8
xor r8d, r8d
mov rdx, rbx
lea ecx, [r8 - 3]
call fcn.140016a30
jmp 0x1400091f2
cmp dword [0x14004e76c], 0
je 0x140009215
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14001c070
lea r9, [0x14004e9d0]
mov qword [rsp + 0x20], rbx
lea r8, str.__s___s
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14000afd0
xor r8d, r8d
lea rdx, [rsp + 0x40]
call fcn.140012d90
test eax, eax
je 0x140009215
xor r8d, r8d
mov qword [rsp + 0x28], 0
mov edx, 2
test edi, edi
setne r8b
lea ecx, [rdx + 0xc]
call fcn.14000e470
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14000aa50
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x840
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x830], rax
lea r8, str.GlobalASUS_ASLDRSrv_Splendid_Gdi_Api_Event
xor edx, edx
mov ecx, 0x100000
mov edi, 1
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x14000aad5
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
jne 0x14000aac4
lea r9, [0x14004d890]
mov r8d, edi
lea rdx, str.SupportIntelCUI
lea rcx, str.Main
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test edi, edi
jne 0x14000aad5
xor eax, eax
jmp 0x14000ab41
movzx eax, word [0x14004e780]
cmp ax, word [0x14003cef8]
mov ebx, dword [0x14004da98]
jne 0x14000aaf0
call fcn.140013290
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call fcn.14001c070
lea rcx, [0x14004daa0]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea r9, [0x14004e780]
lea rcx, [rsp + 0x30]
mov edx, 0x400
lea r8, str.__s___GammaRamp___s__0x_x
call fcn.14000afd0
xor r8d, r8d
lea rdx, [rsp + 0x30]
call fcn.140012d90
mov eax, 1
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rdi
ret
Function at 0x14000bc70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rdx
movsxd rbp, ecx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14001c070
xor ebx, ebx
lea rax, [rsp + 0x30]
mov ecx, ebx
mov qword [rsp + 0x30], rbx
test ebp, ebp
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionCapabilityAccessManagerConsentStorewebcam
mov edi, ebx
setne cl
lea r9d, [rbx + 1]
add rcx, 0xffffffff80000001
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000bdf2
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.14001c070
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x250]
mov dword [rsp + 0x38], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Value
mov dword [rsp + 0x3c], 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14000bd5a
lea r8, [rsp + 0x250]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14001f62c
lea edi, [rbx + 1]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14000bdf2
test rsi, rsi
je 0x14000bda1
mov rax, rbx
lea rdx, [rsp + 0x40]
lea r8, str.Deny
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x14000bd9c
cmp rax, 5
jne 0x14000bd81
cmp cx, word [r8 + rax*2 - 2]
setne bl
mov dword [rsi], ebx
imul rcx, rbp, 0x208
lea rax, [0x14004ddb0]
add rcx, rax
lea r11, [rsp + 0x40]
mov r8, rcx
sub r11, rcx
nop dword [rax]
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x14000bdd7
add r8, 2
test r9d, r9d
jne 0x14000bdc0
test r10d, r10d
je 0x14000bdf2
lea r8, [rsp + 0x40]
mov edx, 0x104
call fcn.14001f62c
mov eax, 1
jmp 0x14000bdf4
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c970
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
call fcn.14000fc40
test eax, eax
je 0x14000c9e7
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.CameraScreenXpert
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c9dc
cmp dword [rsp + 0x3c], 1
cmovbe ebx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x50
pop rbx
ret

Function at 0x14000cc30
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test ecx, ecx
je 0x14000ccb4
cmp dword [0x14004e1dc], 0
jne 0x14000cd12
cmp qword [0x14004e3f8], 0
jne 0x14000cd12
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [0x14004e3f8], rax
test rax, rax
je 0x14000cd12
cmp qword [0x14004e3f0], 0
jne 0x14000cd12
mov qword [rsp + 0x28], 0
lea r8, [0x14000cd20]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [0x14004e3f0], rax
add rsp, 0x38
ret
mov rcx, qword [0x14004e3f8]
test rcx, rcx
je 0x14000cd12
cmp qword [0x14004e3f0], 0
je 0x14000cd01
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [0x14004e3f0]
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [0x14004e3f0]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [0x14004e3f8]
mov qword [0x14004e3f0], 0
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [0x14004e3f8], 0
add rsp, 0x38
ret