joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400025b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rbp + 0x430], rax
movups xmm0, xmmword [rcx]
lea rcx, [rbp + 0x5c]
mov eax, dword [0x14003e358]
movaps xmm1, xmmword [str.SOFTWAREAtherosVistaAddOnSupported]
xor edx, edx
movaps xmmword [rbp - 0x80], xmm0
mov r8d, 0x1bc
movaps xmm0, xmmword [0x14003e320]
movaps xmmword [rbp + 0x10], xmm1
movaps xmm1, xmmword [0x14003e330]
movaps xmmword [rbp + 0x20], xmm0
movaps xmm0, xmmword [0x14003e340]
movaps xmmword [rbp + 0x30], xmm1
movsd xmm1, qword [0x14003e350]
movaps xmmword [rbp + 0x40], xmm0
movsd qword [rbp + 0x50], xmm1
mov dword [rbp + 0x58], eax
call fcn.14001c4c0
xor edi, edi
mov dword [rsp + 0x64], 8
xor edx, edx
mov dword [rsp + 0x60], edi
mov r8d, 0x208
lea rcx, [rbp + 0x220]
call fcn.14001c4c0
lea r8d, [rdi + 0x40]
mov dword [rsp + 0x70], 4
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x1400026e5
lea rax, [rsp + 0x68]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400026e5
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140002707
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.14001a550
mov rdi, qword [rsp + 0x560]
add rsp, 0x540
pop rbp
ret
mov qword [rsp + 0x558], rbx
mov ebx, edi
cmp dword [rsp + 0x60], ebx
jbe 0x1400027a6
nop dword [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x208
call fcn.14001c4c0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x64]
lea rax, [rsp + 0x74]
mov dword [rsp + 0x64], 0x104
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x220]
lea rax, [rsp + 0x78]
mov edx, ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140002797
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x70]
call fcn.140022254
test eax, eax
jne 0x140002797
cmp dword [rsp + 0x74], 1
je 0x1400027a1
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140002720
jmp 0x1400027a6
mov edi, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x558]
mov eax, edi
jmp 0x1400026e7
Function at 0x140004a30
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x270
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rdx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x208
call fcn.14001c4c0
test rbp, rbp
je 0x140004b59
mov r8d, 0x208
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ebx, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], ebx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x140004b59
mov edx, esi
mov qword [rsp + 0x280], rdi
lea ecx, [rbx + 2]
mov dword [rsp + 0x44], ebx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov r9, rax
mov r8d, esi
mov rbx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea r9, [rsp + 0x44]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [0x14003cf10]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x48]
mov rcx, rbp
mov r9d, dword [rdx + 0x10]
mov r8d, dword [rdx + 0x14]
movzx edx, r8w
mov dword [rsp + 0x30], edx
mov edx, 0x104
shr r8d, 0x10
mov dword [rsp + 0x28], r8d
lea r8, str._d._d._d._d
movzx eax, r9w
shr r9d, 0x10
mov dword [rsp + 0x20], eax
call fcn.140001040
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdi, qword [rsp + 0x280]
mov eax, 1
jmp 0x140004b5b
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001a550
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x140007fd0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, qword [rsp + 0x298]
movzx ebx, cl
lea rcx, str.cmdDisableEnable_Start_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ecx, ecx
lea r8, [rsp + 0x110]
mov r9d, 0x50
test bl, bl
je 0x14000808b
mov edx, 0xbb8
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140008065
mov r9d, 0x50
lea r8, [rsp + 0x70]
mov edx, 0xbb9
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140008065
mov r9d, 0x50
lea r8, [rsp + 0x1b0]
mov edx, 0xbba
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400080dd
mov eax, 2
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a550
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
mov edx, 0xbbb
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400080a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140008065
mov r9d, 0x50
lea r8, [rsp + 0x70]
mov edx, 0xbbc
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140008065
mov r9d, 0x50
lea r8, [rsp + 0x1b0]
mov edx, 0xbbd
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140008065
xor edx, edx
movzx eax, bl
xor eax, 1
mov dword [rsp + 0x48], 0
inc eax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
lea r9d, [rdx + 1]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x50], rax
lea r8d, [rdx + 2]
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [0x140007b30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.140011030
mov ebx, eax
test eax, eax
jne 0x1400081ef
lea rcx, str.failcode__EXIT_OK_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [rbx + 1]
cmp dword [rsp + 0x40], ebx
jne 0x140008197
call fcn.1400227cc
mov rcx, rax
mov edx, 0xebf3
call fcn.140010750
lea rcx, str.cmdDisableEnable_end_n
mov dword [0x1400513ac], 1
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
jmp 0x14000806a
cmp dword [rsp + 0x48], 0
jne 0x1400081d3
call fcn.1400227cc
mov r8d, dword [rsp + 0x40]
mov rcx, rax
mov edx, 0xecbc
call fcn.140010750
lea rcx, str.cmdDisableEnable_end_n
mov dword [0x1400513ac], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
jmp 0x14000806a
call fcn.1400227cc
mov r8d, dword [rsp + 0x40]
mov rcx, rax
mov edx, 0xecbb
call fcn.140010750
mov ebx, 1
lea rcx, str.cmdDisableEnable_end_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
jmp 0x14000806a
Function at 0x1400084b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x260
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x290]
mov ebx, 2
mov dword [rsp + 0x30], 0
test rdx, rdx
jne 0x1400085fe
cmp r9d, ebx
jl 0x1400085fe
mov rcx, qword [rax]
cmp word [rcx], dx
je 0x1400085fe
mov rsi, qword [rax + 8]
cmp word [rsi], dx
je 0x1400085fe
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
dec eax
cmp eax, 0x102
ja 0x1400085fa
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400085fa
lea rcx, str.newdev.dll
mov qword [rsp + 0x278], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1400085ee
lea rdx, str.UpdateDriverForPlugAndPlayDevicesW
mov qword [rsp + 0x270], rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x1400085dd
lea ecx, [rbx - 1]
call fcn.1400227cc
mov rcx, rax
lea r9, [rsp + 0x40]
mov r8, rsi
mov edx, 0xeeae
call fcn.140010750
lea rax, [rsp + 0x30]
mov rdx, rsi
lea r9d, [rbx - 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor ecx, ecx
call rbp
test eax, eax
je 0x1400085dd
lea ecx, [rbx - 1]
call fcn.1400227cc
mov rcx, rax
mov edx, 0xeeb2
call fcn.140010750
xor ebx, ebx
cmp dword [rsp + 0x30], ebx
setne bl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x278]
mov eax, ebx
jmp 0x140008603
mov eax, ebx
jmp 0x140008603
mov eax, 3
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a550
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rsi
ret

Function at 0x140009d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
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
je 0x140009e05
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140009e05
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140009df5
nop
cmp rbx, rcx
jae 0x140009e05
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140009de0
cmp rbx, rcx
jae 0x140009e05
cmp word [rbx], 0
je 0x140009e05
mov rax, rbx
jmp 0x140009e07
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a160
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call fcn.14001c4c0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000a2c4
mov r9d, dword [rsp + 0x2c]
lea rcx, str.OS_version_is__d_.__d_.__d_n
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x24]
call fcn.14000e530
cmp dword [rsp + 0x30], 2
jne 0x14000a2c4
mov eax, dword [rsp + 0x24]
cmp eax, 6
jne 0x14000a263
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x14000a1fd
mov eax, 0xa
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x158
ret
cmp eax, 1
jne 0x14000a21f
mov eax, 0x14
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x158
ret
cmp eax, 2
jne 0x14000a241
mov eax, 0x1e
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x158
ret
cmp eax, 3
jne 0x14000a2c4
mov eax, 0x28
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x158
ret
cmp eax, 0xa
jne 0x14000a2c4
cmp dword [rsp + 0x2c], 0x3fab
jbe 0x14000a29b
lea rcx, str.OS_version_is_OS_WIN10RS4_n
call fcn.14000e530
mov eax, 0x36
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x158
ret
lea rcx, str.OS_version_is_OS_WIN10_n
call fcn.14000e530
mov eax, 0x32
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x158
ret
mov eax, 0x37
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x158
ret
Function at 0x14000a5d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
movaps xmm0, xmmword [str.SOFTWAREAtherosVistaAddOnSupportedDevice]
mov rsi, rcx
movaps xmm1, xmmword [0x140040fa0]
lea rcx, [rbp - 0x28]
movaps xmmword [rbp - 0x80], xmm0
xor edx, edx
movaps xmm0, xmmword [0x140040fb0]
mov r8d, 0x1b0
movaps xmmword [rbp - 0x70], xmm1
movaps xmm1, xmmword [0x140040fc0]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [0x140040fd0]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm1, qword [0x140040fe0]
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
call fcn.14001c4c0
xor edi, edi
mov dword [rsp + 0x64], 8
xor edx, edx
mov dword [rsp + 0x60], edi
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.14001c4c0
lea rax, [rsp + 0x68]
mov dword [rsp + 0x70], 4
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a6f2
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14000a6f9
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000a7ba
mov qword [rsp + 0x4c8], rbx
mov ebx, edi
cmp dword [rsp + 0x60], ebx
jbe 0x14000a7a5
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x208
call fcn.14001c4c0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x64]
lea rax, [rsp + 0x74]
mov dword [rsp + 0x64], 0x104
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x190]
lea rax, [rsp + 0x78]
mov edx, ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14000a780
mov rdx, rsi
lea rcx, [rbp + 0x190]
call fcn.14001bce4
test rax, rax
jne 0x14000a78a
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x14000a710
jmp 0x14000a7a5
lea r8, [rbp + 0x190]
mov rdx, rsi
lea rcx, str.Find_the_vidpid__the_value_of_the_enum_pidvid_is__s__and_the_value_in_registry_is__s._n
call fcn.14000e530
mov edi, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x4c8]
mov eax, edi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14001a550
lea r11, [rsp + 0x4b0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000aaf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor ebp, ebp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rbp
xor r9d, r9d
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov rsi, rcx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x60], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000ac2e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000ac2a
mov edi, ebp
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.14001c4c0
mov qword [rsp + 0x38], rbp
lea r9, [rsp + 0x64]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x64], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000ac2e
lea rax, [rsp + 0x68]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ac2e
mov rcx, qword [rsp + 0x68]
call fcn.14000aaf0
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000ac1e
xor r9d, r9d
lea rdx, [rsp + 0x70]
mov r8d, 0x300
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x14000ab80
xor eax, eax
jmp 0x14000ac33
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14001a550
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000b9d0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, rdx
lea rax, [r11 - 0x18]
xor edx, edx
mov rdi, r9
mov qword [r11 - 0x28], rdx
mov esi, r8d
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov eax, dword [0x14004ecd8]
xor r8d, r8d
mov qword [r11 - 0x38], rdx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, rcx
mov rcx, qword [0x14004ece0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000ba61
test rdi, rdi
je 0x14000ba54
mov eax, dword [rsp + 0x90]
mov r9d, esi
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14000bc00
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x10270
call fcn.140032720
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x10260], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.14000db80
mov rax, qword [rsi]
mov qword [rsi + 8], rax
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x260]
call fcn.14001c4c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14001c4c0
lea r14, [rsp + 0x260]
cmp qword [rdi + 0x18], 8
jb 0x14000bc88
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x14000bc92
mov rbx, qword [rbx]
mov r9, rdi
mov r8d, 0x7fff
lea rdx, [rsp + 0x260]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov r15d, eax
xor r12d, r12d
mov ebp, r12d
test eax, eax
je 0x14000bdc5
mov ebx, r12d
lea rdi, [rsp + 0x260]
nop dword [rax + rax]
movzx eax, word [rdi]
mov word [rsp + rbx*2 + 0x50], ax
cmp word [r14], 0
jne 0x14000bdaf
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r12w
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000bd03
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14000cb10
nop
mov rdx, qword [rsi + 8]
cmp qword [rsi + 0x10], rdx
je 0x14000bd4b
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x28], r12w
add qword [rsi + 8], 0x20
jmp 0x14000bd5d
lea r8, [rsp + 0x28]
mov rcx, rsi
call fcn.14000d450
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14000bd96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bd91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bde7
call fcn.14001a574
mov rbx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.14001c4c0
inc rbx
add r14, 2
inc ebp
add rdi, 2
cmp ebp, r15d
jb 0x14000bcd0
mov rcx, qword [rsp + 0x10260]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x10270
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140023bcc
int3
Function at 0x14000e530
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x848
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call fcn.14001c4c0
lea rdi, [rsp + 0x868]
call fcn.140001030
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x7fffffff
mov rcx, qword [rax]
call fcn.14002219c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x848
pop rdi
pop rbx
ret

Function at 0x14000e5d0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movsxd rbx, ecx
lea rcx, str.Enter_Function_DisableRadioHandler__disable___d_n
mov edx, ebx
call fcn.14000e530
mov r8d, ebx
lea rdx, str.Enter_Function_DisableRadioHandler__disable___d_n
mov ecx, 2
call fcn.14001a030
test ebx, ebx
je case.default.0x14000e647
call fcn.14000a160
cmp eax, 0x32
jl case.default.0x14000e647
lea rcx, str.DisableRadioHandler__dont_send_check_msg__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, str.DisableRadioHandler__dont_send_check_msg_n
mov ecx, 2
call fcn.14001a030
mov dword [0x14004fbb4], 1
mov ecx, dword [0x14004fb90]
mov r8, rbx
xor r9d, r9d
mov edx, 0x5e5d
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]
out dx, eax
sti
sar qword [r14 + 0x2e7b63a1], cl
sbb dword [rsi - 0x23236e9], edi
in eax, dx
lodsd eax, dword [rsi]
popfq
cmpsd dword [rsi], dword [rdi]
mov dl, 0x20
sbb byte [0x109b1f6d9], bl
mov dl, 0x51
pand mm4, qword [rax]
add ah, dl
xor esi, dword [rsi]
invalid
fadd qword [rdi]
push rdx
invalid
sbb edi, dword [rdx]
invalid
mov esi, 0x33569c6f
invalid
Function at 0x14000e650
Capabilities:
Query or enumerate registry value
Query service status
Start service
Stop service

Disassembly:
push rsi
sub rsp, 0x280
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x270], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
mov esi, ecx
xor edx, edx
movups xmm1, xmmword [0x14003d238]
lea rcx, [rsp + 0x98]
mov r8d, 0x1d0
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x14003d248]
movaps xmmword [rsp + 0x70], xmm1
movsd xmm1, qword [0x14003d258]
movaps xmmword [rsp + 0x80], xmm0
movsd qword [rsp + 0x90], xmm1
call fcn.14001c4c0
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], 4
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e878
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.ControlBthServ
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14000e737
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000e878
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x30], 1
jne 0x14000e878
mov r8d, esi
mov qword [rsp + 0x2a0], rdi
lea rdx, str.StartBthService___d___n
mov ecx, 1
call fcn.14001a030
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14000e790
lea rdx, str.Open_Service_manager_error__n
lea ecx, [rax + 1]
call fcn.14001a030
jmp 0x14000e870
mov r8d, 0x34
mov qword [rsp + 0x298], rbx
lea rdx, str.BthServ
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x14000e7d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Open_BthServ_Service_error:__d___n
lea ecx, [rbx + 1]
call fcn.14001a030
jmp 0x14000e85f
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14000e7f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Get_Service_state_error:__d___n
jmp 0x14000e849
test esi, esi
jne 0x14000e823
cmp dword [rsp + 0x44], 4
jne 0x14000e856
lea r8, [rsp + 0x40]
mov rcx, rbx
lea edx, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14000e856
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.stop_service_error:__d___n
jmp 0x14000e849
cmp dword [rsp + 0x44], 1
jne 0x14000e856
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000e856
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.start_service_error:__d___n
mov r8d, eax
mov ecx, 1
call fcn.14001a030
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x298]
mov rdi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x280
pop rsi
ret