joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b050
Capabilities:
Extract resource via kernel32 functions

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
mov eax, r8d
mov rbp, rdx
mov ebx, r8d
shr eax, 4
mov rsi, rcx
mov r8d, 6
add ax, 1
mov rcx, rbp
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x14000b1b2
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000b1b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x14000b1b2
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x14000b0f6
nop
cmp rdi, r11
jae 0x14000b1b2
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x14000b0e0
cmp rdi, r11
jae 0x14000b1b2
movzx eax, word [rdi]
test ax, ax
je 0x14000b1b2
movzx ebx, ax
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x14000b12c
mov edx, ebx
mov rcx, rsi
call fcn.1400025c0
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x14000b149
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call fcn.1400f9cc0
test eax, eax
je 0x14000b188
cmp eax, 0xc
je 0x14000b182
cmp eax, 0x16
je 0x14000b17c
cmp eax, 0x22
je 0x14000b17c
cmp eax, 0x50
je 0x14000b188
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
call fcn.1400d1d84
int3
test ebx, ebx
js 0x14000b1a7
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x14000b1a7
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
mov word [rdi + rcx], 0
jmp 0x14000b1b4
mov ecx, 0x80070057
call fcn.1400025a0
int3
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

Function at 0x14000b1d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14000b203
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
je 0x14000b247
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x14000b242
cmp rbx, r11
jae 0x14000b247
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x14000b230
cmp rbx, r11
jb 0x14000b24b
xor eax, eax
jmp 0x14000b257
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b270
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x58], edx
test rcx, rcx
jne 0x14000b28d
xor ebx, ebx
mov eax, ebx
add rsp, 0x40
pop rbx
ret
xor ebx, ebx
add rcx, 4
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
jne 0x14000b2de
lea rcx, str.ActiveFrontMic:_CreateFile:_INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov r9d, 4
mov edx, 0x1d6094
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000b336
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.ActiveFrontMic:_DeviceIoControl:_IOCTL_HDAUD_SET_FRONT_MIC_ACTIVE_CTRL_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x60]
mov eax, 1
add rsp, 0x40
pop rbx
ret

Function at 0x14000b350
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x58], edx
test rcx, rcx
jne 0x14000b36d
xor ebx, ebx
mov eax, ebx
add rsp, 0x40
pop rbx
ret
xor ebx, ebx
add rcx, 4
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
jne 0x14000b3be
lea rcx, str.ActiveHeadphone:_CreateFile:_INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov r9d, 4
mov edx, 0x1d6098
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000b416
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.ActiveHeadphone:_DeviceIoControl:_IOCTL_HDAUD_SET_FRONT_HP_ACTIVE_CTRL_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x60]
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x14001dc10
Capabilities:
Print debug messages

Disassembly:
push rdi
mov eax, 0x1170
call fcn.14011c260
sub rsp, rax
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x1160], rax
cmp dword [rcx + 0x19380], 3
mov rdi, rcx
je 0x14001dc44
xor eax, eax
jmp 0x14001dd78
mov qword [rsp + 0x1188], rbx
mov qword [rsp + 0x1190], rbp
lea rax, [rsp + 0x64]
xor ebp, ebp
mov ecx, 0x80
mov dword [rax], ebp
mov dword [rax + 4], ebp
add rax, 8
sub rcx, 1
jne 0x14001dc60
mov ebx, 0x40
lea rax, [rsp + 0x878]
mov rcx, rbx
nop
mov dword [rax - 4], ebp
mov dword [rax], ebp
mov dword [rax + 4], ebp
mov dword [rax + 8], ebp
mov dword [rax + 0xc], ebp
mov dword [rax + 0x10], ebp
mov dword [rax + 0x14], ebp
mov dword [rax + 0x18], ebp
add rax, 0x20
sub rcx, 1
jne 0x14001dc80
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x404
mov qword [rsp + 0x1198], rsi
call fcn.1400fce30
lea rcx, [rsp + 0x870]
lea rdx, [rsp + 0x60]
mov r8d, 0x404
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x64], 0x1f1500
call fcn.1400fd180
mov rcx, qword [rdi + 0x110]
test rcx, rcx
je 0x14001dd5e
lea rax, [rsp + 0x68]
nop
nop
nop
mov dword [rax - 4], ebp
mov dword [rax], ebp
mov dword [rax + 4], ebp
mov dword [rax + 8], ebp
mov dword [rax + 0xc], ebp
mov dword [rax + 0x10], ebp
mov dword [rax + 0x14], ebp
mov dword [rax + 0x18], ebp
add rax, 0x20
sub rbx, 1
jne 0x14001dd00
mov qword [rsp + 0x30], rbp
lea r8d, [rbx + 3]
add rcx, 4
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
jne 0x14001dd91
lea rcx, str.SendHDAudCommand:_CreateFile:_INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov rsi, qword [rsp + 0x1198]
mov rbx, qword [rsp + 0x1188]
mov rbp, qword [rsp + 0x1190]
mov rcx, qword [rsp + 0x1160]
xor rcx, rsp
call fcn.1400f9790
add rsp, 0x1170
pop rdi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x870]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov r9d, 0x404
mov edx, 0x220004
mov rcx, rsi
mov dword [rsp + 0x28], 0x804
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14001ddef
lea rcx, str.SendHDAudCommand:_DeviceIoControl:_IOCTL_AZALIABUS_SENDVERBS_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14001dd5e
mov rcx, qword [rdi + 0x211a8]
test rcx, rcx
je 0x14001de86
test byte [rsp + 0x64], 1
je 0x14001de7f
mov rcx, qword [rcx + 0x40]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea r8, [rsp + 0x1080]
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
sub r9d, dword [rsp + 0x4c]
sub r8d, dword [rsp + 0x48]
mov rcx, qword [rdi + 0x211a8]
add r9d, dword [rsp + 0x1130]
add r8d, dword [rsp + 0x112c]
mov dword [rsp + 0x30], 0x41
lea rdx, [0x1401c9070]
shr r9d, 1
shr r8d, 1
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call fcn.1400dcbc0
mov eax, 1
jmp 0x14001dd60
xor edx, edx
call fcn.1400dc9c4
mov eax, 1
jmp 0x14001dd60
Function at 0x140026e70
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x58], edx
test rcx, rcx
jne 0x140026e8d
xor ebx, ebx
mov eax, ebx
add rsp, 0x40
pop rbx
ret
xor ebx, ebx
add rcx, 4
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
jne 0x140026ede
lea rcx, str.SetSingleCaptureDevice:_CreateFile:_INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov r9d, 4
mov edx, 0x1d6074
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140026f36
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.SetSingleCaptureDevice:_DeviceIoControl:_IOCTL_HDAUD_SET_MUX_CAPTURE_DEV_SELECT_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x60]
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x140026f50
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x2d0
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor ebp, ebp
mov rdi, rcx
add rcx, 0x27770
mov rsi, r9
mov r10, r8
mov rax, rdx
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x5c], ebp
mov dword [rsp + 0x60], ebp
mov dword [rsp + 0x64], ebp
mov dword [rsp + 0x68], ebp
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x74], ebp
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x78], 8
je 0x140026fef
test rdx, rdx
je 0x140026fef
test r8, r8
je 0x140026fef
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0xa0]
lea r8, [0x14012c778]
mov rdx, r10
mov rcx, rax
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [str.___t_n]
lea rcx, [rsp + 0x90]
lea r8, [rsp + 0x30]
mov qword [rcx], rax
movzx eax, word [0x14013c898]
lea rdx, [rsp + 0x90]
mov word [rcx + 8], ax
lea rcx, [rsp + 0xa0]
call fcn.1400fa5e0
test rax, rax
je 0x1400271b1
mov rcx, rax
mov qword [rsp + 0x2c8], rbx
call fcn.1400fa6e0
test eax, eax
jne 0x14002704a
mov qword [rsp + 0x48], rbp
jmp 0x140027061
cmp eax, 1
jne 0x140027061
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x48], rax
mov rbx, rbp
nop
nop
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400271a9
mov rcx, rax
call fcn.1400fa6e0
add rbx, 1
cmp rbx, 0xa
mov dword [rsp + rbx*4 + 0x4c], eax
jl 0x140027070
mov eax, dword [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0x70]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x5c]
cmp eax, 0xffffffff
cmove eax, dword [rsp + 0x74]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x68]
cmp eax, 0xffffffff
cmove eax, ebp
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x6c]
cmp eax, 0xffffffff
cmove eax, ebp
xor ecx, ecx
mov dword [rsp + 0x6c], eax
call fcn.1400fa5e0
test rax, rax
je 0x1400271a9
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
xor ecx, ecx
mov dword [rsp + 0x78], eax
call fcn.1400fa5e0
test rax, rax
je 0x1400271a9
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
xor ecx, ecx
mov dword [rsp + 0x7c], eax
call fcn.1400fa5e0
test rax, rax
je 0x1400271a9
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
xor ecx, ecx
mov dword [rsp + 0x80], eax
call fcn.1400fa5e0
test rax, rax
je 0x1400271a9
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
xor ecx, ecx
mov dword [rsp + 0x84], eax
call fcn.1400fa5e0
test rax, rax
je 0x1400271a9
mov rcx, rax
call fcn.1400fa6e0
mov dword [rsp + 0x88], eax
mov rbx, qword [rsp + 0x2c8]
mov rax, qword [rdi + 0x19488]
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov qword [rsp + 0x40], rax
call fcn.140021450
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400f9790
add rsp, 0x2d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004b1d0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1e60]
mov edx, dword [rbx + 0x1e6c]
add rcx, 0xa88
call fcn.14008dcd0
mov rcx, qword [rbx + 0x2bb0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov dword [rbx + 0x1e5c], eax
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, dword [rbx + 0x1e5c]
cmp ecx, dword [rbx + 0x2698]
je 0x14004b339
cmp eax, ecx
je 0x14004b325
mov r8, rcx
mov rcx, qword [rbx + 0x2bb0]
xor r9d, r9d
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rbx + 0x2698]
mov r8d, dword [rbx + 0x1e5c]
lea ecx, [r11 + 0xd]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 3
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp r8d, ecx
jne 0x14004b286
mov rcx, rbx
call fcn.14004c710
mov eax, dword [rbx + 0x1e5c]
mov dword [rbx + 0x2698], eax
add rsp, 0x20
pop rbx
ret
lea ecx, [r11 + 0xb]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 3
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp r8d, ecx
jne 0x14004b2bb
mov rcx, rbx
call fcn.14004cc40
mov eax, dword [rbx + 0x1e5c]
mov dword [rbx + 0x2698], eax
add rsp, 0x20
pop rbx
ret
lea ecx, [r11 + 0xa]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 3
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp r8d, ecx
jne 0x14004b2f0
mov rcx, rbx
call fcn.14004d140
mov eax, dword [rbx + 0x1e5c]
mov dword [rbx + 0x2698], eax
add rsp, 0x20
pop rbx
ret
lea ecx, [r11 + 0xe]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 3
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp r8d, ecx
jne 0x14004b325
mov rcx, rbx
call fcn.14004d8f0
mov eax, dword [rbx + 0x1e5c]
mov dword [rbx + 0x2698], eax
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call fcn.14004b340
mov eax, dword [rbx + 0x1e5c]
mov dword [rbx + 0x2698], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14005be60
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x2510]
mov rbx, rcx
mov rcx, qword [rcx + 0x14a0]
mov r9d, dword [rbx + 0x2518]
lea rdi, [0x14019cab0]
lea r8, str.bAECMode_On
imul rdx, rdx, 0x208
add rdx, rdi
add rcx, 0x27568
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x251c]
lea r8, str.bPreProcess_On
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x2520]
lea r8, str.bNS_On
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x2524]
lea r8, str.bAGC_On
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x252c]
lea r8, str.unBeamAngleValue
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x2530]
lea r8, str.eMicArrayModeIndex
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x2514]
lea r8, str.bMicArray_On
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x2528]
lea r8, str.bGainBounding_On
add rcx, 0x27568
add rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140085200

Function at 0x14005c010
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x470
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov eax, dword [rcx + 0x18c4]
mov rdi, rcx
mov r9, qword [rdi + 0x14a0]
mov dword [rcx + 0x2510], eax
lea rcx, [0x14019cab0]
imul rax, rax, 0x208
add rax, rcx
add r9, 0x27568
je 0x14005c11b
test rax, rax
je 0x14005c11b
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005c11b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.bMicVoIP_On
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x488], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x488]
jne 0x14005c11b
lea rcx, [rsp + 0x250]
call fcn.1400fa6e0
mov dword [rdi + 0x2514], eax
jmp 0x14005c125
mov dword [rdi + 0x2514], 0
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400f9790
add rsp, 0x470
pop rdi
ret
Function at 0x14005c140
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x2510]
mov rbx, rcx
mov rcx, qword [rcx + 0x14a0]
mov r9d, dword [rbx + 0x2518]
lea rdi, [0x14019cab0]
lea r8, str.bVoIPAEC_On
imul rdx, rdx, 0x208
add rdx, rdi
add rcx, 0x27568
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x2520]
lea r8, str.bVoIPNS_On
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x251c]
lea r8, str.bVoIPBeamDA2_On
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x2528]
lea r8, str.bVoIPBeamDA3_On
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x252c]
lea r8, str.unVoIPBeamAngle
add rcx, 0x27568
add rdx, rdi
call fcn.140085200
mov edx, dword [rbx + 0x2510]
mov rcx, qword [rbx + 0x14a0]
imul rdx, rdx, 0x208
mov r9d, dword [rbx + 0x2514]
lea r8, str.bMicVoIP_On
add rcx, 0x27568
add rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140085200
Function at 0x1400849c0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push rbx
push rbp
sub rsp, 0x468
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x450], rax
test rdx, rdx
mov rbx, rdx
mov rbp, rcx
jne 0x1400849ee
xor eax, eax
jmp 0x140084bc8
lea rdx, [rsp + 0x30]
mov ecx, 0x104
mov qword [rsp + 0x460], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x2e], 0x5c
je 0x140084a1f
mov word [rsp + rcx*2 + 0x30], 0x5c
mov word [rsp + rcx*2 + 0x32], 0
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x240]
mov edx, 0x104
call fcn.1400f9e00
lea rcx, [rsp + 0x240]
mov r8, rbp
mov edx, 0x104
call fcn.1400fb090
lea r8, [0x14013b184]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call fcn.1400fb2c0
test eax, eax
jne 0x140084a79
lea edi, [rax + 1]
jmp 0x140084b84
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov r8, rax
call fcn.1400f9e00
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
movsxd rax, ecx
jle 0x140084ad0
nop
cmp word [rsp + rax*2 + 0x30], 0x5c
je 0x140084ac6
sub rax, 1
sub ecx, 1
test rax, rax
jg 0x140084ab0
jmp 0x140084ad0
movsxd rax, ecx
mov word [rsp + rax*2 + 0x32], 0
movzx edx, word [rsp + 0x30]
cmp dx, 0x22
jne 0x140084b31
mov qword [rsp + 0x490], rsi
nop
nop
nop
nop
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
movsxd rcx, ecx
test rcx, rcx
js 0x140084b23
lea rdi, [rsp + 0x30]
lea rsi, [rsp + 0x32]
add rcx, 1
rep movsw word [rdi], word [rsi]
mov dx, word [rsp + 0x30]
cmp dx, 0x22
je 0x140084af0
mov rsi, qword [rsp + 0x490]
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x240]
mov edx, 0x104
call fcn.1400f9e00
lea rcx, [rsp + 0x240]
mov r8, rbp
mov edx, 0x104
call fcn.1400fb090
lea r8, [0x14013b184]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x20]
call fcn.1400fb2c0
xor ecx, ecx
mov edi, 1
test eax, eax
cmove ecx, edi
mov edi, ecx
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140084b9c
call fcn.1400fb3d0
mov qword [rsp + 0x20], 0
test edi, edi
je 0x140084baa
lea r8, [rsp + 0x240]
jmp 0x140084bb1
lea r8, [0x14012c778]
mov edx, 0x104
mov rcx, rbx
call fcn.1400f9e00
mov eax, edi
mov rdi, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400f9790
add rsp, 0x468
pop rbp
pop rbx
ret
Function at 0x140085200
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x490
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x480], rax
test rcx, rcx
mov eax, r9d
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
je 0x14008532d
test rdx, rdx
je 0x14008532d
test rbx, rbx
je 0x14008532d
lea rdx, [rsp + 0x270]
mov r9d, 0xa
mov r8d, 0x104
mov ecx, eax
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x60]
mov r9, rsi
mov qword [rsp + 0x20], rdi
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
test eax, eax
je 0x1400852ea
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14008532d
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x270]
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete dil
mov eax, edi
jmp 0x14008532f
xor eax, eax
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400f9790
add rsp, 0x490
pop rdi
pop rsi
pop rbx
ret