joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007ca0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14001c820]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x140007d70
cmp qword [rax + 0x60], 0
jne 0x140007d90
lea rcx, [0x14001a298]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x140007da0
cmp qword [rax + 0x1d8], r12
jne 0x140007da0
test byte [rax + 0x40], 0xc
jne 0x140007da0
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x140007da0
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x140007da0
mov rax, qword [rbx]
test rax, rax
je 0x140007e00
cmp qword [rax + 0x60], 0
jne 0x140007e20
lea rcx, [0x14001a298]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x140007e30
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x140007e38
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007ccb
test rax, rax
jne 0x140007d90
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007cd6
mov rax, qword [rbx]
test rax, rax
je 0x140007dd0
cmp qword [rax + 0x60], 0
jne 0x140007df0
lea rcx, [0x14001a298]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x140007daf
test rax, rax
jne 0x140007df0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007dba
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007d3a
test rax, rax
jne 0x140007e20
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007d45
xor eax, eax
jmp 0x140007dc4
mov eax, 0x16
jmp 0x140007dc4
Function at 0x1400010a0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub rsp, 0x468
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14001b960
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14001b960
lea rcx, str.DeleteAthService_Enter___n
call fcn.14000db40
mov r8d, 0x102
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [0x14003bb98]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14002168c
lea r8, [rsp + 0x240]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400216f4
lea r8, [0x14003bb98]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400216f4
lea rdx, [rsp + 0x30]
lea rcx, str.DeleteAthService__The_szFilename_is:__s_n
call fcn.14000db40
xor eax, eax
lea r9, str.uninstall
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140001c00
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
xor edx, edx
mov r8d, 0x1d0
movups xmm1, xmmword [0x14003c468]
lea rcx, [rsp + 0x78]
xor ebx, ebx
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14003c478]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm1, qword [0x14003c488]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001b960
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], ebx
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], 4
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001d51
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.SwitchRadio
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001d46
cmp dword [rsp + 0x30], 2
jne 0x140001d46
lea rcx, str.reset_radio_off_status.__r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 1
lea rcx, str.Enter_Function_DisableRadioHandler__disable___d_n
mov edx, ebx
call fcn.14000db40
mov r8d, ebx
lea rdx, str.Enter_Function_DisableRadioHandler__disable___d_n
lea ecx, [rbx + 1]
call fcn.140019630
call fcn.140009fa0
cmp eax, 0x32
jl 0x140001d2f
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
lea ecx, [rbx + 1]
call fcn.140019630
mov dword [0x14004ebc4], ebx
mov ecx, dword [0x14004eba0]
xor r9d, r9d
mov r8, rbx
mov edx, 0x5e5d
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x260
pop rbx
ret
Function at 0x140001d70
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
xor edx, edx
mov r8d, 0x1d0
movups xmm1, xmmword [0x14003c468]
lea rcx, [rsp + 0x78]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14003c478]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm1, qword [0x14003c488]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001b960
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], 0
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], 4
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001e3d
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.ReplaceTrayIconDisabled
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]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [rsp + 0x30]
lea rcx, str.The_value_of_ReplaceTrayIconDisabled_is__d
call fcn.14000db40
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x268
ret

Function at 0x140001e70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x40
mov r14, rcx
lea rcx, str.CommApi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140001f55
mov qword [rsp + 0x50], rbp
lea rcx, str.Successfully_load_CommApi.dll_n_n
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, str.InitApi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CallApi
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UnInitApi
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rbp, rbp
je 0x140001f3d
test rdi, rdi
je 0x140001f3d
test rax, rax
je 0x140001f3d
mov rax, rdi
call qword [0x140033700]
movups xmm0, xmmword [0x14003f9a8]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
mov rax, rbp
movaps xmmword [rsp + 0x30], xmm0
call qword [0x140033700]
mov rax, rsi
call qword [0x140033700]
lea rcx, str.Successfully_fire_message_to_btvstack_n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400022d0
Capabilities:
Print debug messages
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.Enter_Function_StopCustomThread____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140009fa0
xor ebx, ebx
cmp eax, 0x14
jl 0x140002328
cmp qword [0x14004ebb0], rbx
je 0x140002328
lea rcx, str.TerminateThread_pSvc__hTimerThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x14004ebb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x14004ebb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004ebb0], rbx
cmp qword [0x140050380], rbx
je 0x140002361
lea rcx, str.TerminateThread_g_hS3S4CheckThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140050380]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140050380]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140050380], rbx
mov rcx, qword [0x14004eb90]
test rcx, rcx
je 0x1400023e3
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x30], 0x103
jne 0x1400023e3
mov ecx, dword [0x14004eba0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5c
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [0x14004eb90]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400023cf
lea rcx, str.TerminateThread_pSvc__hCustomThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x14004eb90]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x14004eb90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004eb90], rbx
mov rcx, qword [0x14004eb98]
test rcx, rcx
je 0x1400023fc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004eb98], rbx
mov rcx, qword [0x14004eba8]
test rcx, rcx
je 0x140002415
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004eba8], rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140002580
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rbp + 0x430], rax
movups xmm0, xmmword [rcx]
lea rcx, [rbp + 0x5c]
mov eax, dword [0x14003d538]
movaps xmm1, xmmword [str.SOFTWAREAtherosVistaAddOnSupported]
xor edx, edx
movaps xmmword [rbp - 0x80], xmm0
mov r8d, 0x1bc
movaps xmm0, xmmword [0x14003d500]
movaps xmmword [rbp + 0x10], xmm1
movaps xmm1, xmmword [0x14003d510]
movaps xmmword [rbp + 0x20], xmm0
movaps xmm0, xmmword [0x14003d520]
movaps xmmword [rbp + 0x30], xmm1
movsd xmm1, qword [0x14003d530]
movaps xmmword [rbp + 0x40], xmm0
movsd qword [rbp + 0x50], xmm1
mov dword [rbp + 0x58], eax
call fcn.14001b960
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.14001b960
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 0x1400026b5
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 0x1400026b5
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 0x1400026d7
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.140019b40
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 0x140002776
nop dword [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x208
call fcn.14001b960
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 0x140002767
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x70]
call fcn.14002151c
test eax, eax
jne 0x140002767
cmp dword [rsp + 0x74], 1
je 0x140002771
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400026f0
jmp 0x140002776
mov edi, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x558]
mov eax, edi
jmp 0x1400026b7
Function at 0x140004a80
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x270
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rdx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x208
call fcn.14001b960
test rbp, rbp
je 0x140004ba9
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 0x140004ba9
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, [0x14003c140]
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 0x140004bab
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140019b40
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x140007d50
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14004d010]
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 0x140007e0b
mov edx, 0xbb8
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140007de5
mov r9d, 0x50
lea r8, [rsp + 0x70]
mov edx, 0xbb9
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140007de5
mov r9d, 0x50
lea r8, [rsp + 0x1b0]
mov edx, 0xbba
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140007e5d
mov eax, 2
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140019b40
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 0x140007e22
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140007de5
mov r9d, 0x50
lea r8, [rsp + 0x70]
mov edx, 0xbbc
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140007de5
mov r9d, 0x50
lea r8, [rsp + 0x1b0]
mov edx, 0xbbd
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140007de5
xor edx, edx
mov dword [rsp + 0x48], 0
mov eax, ebx
mov dword [rsp + 0x40], 0
xor eax, 1
inc eax
mov dword [rsp + 0x44], eax
lea r9d, [rdx + 1]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
lea r8d, [rdx + 2]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [0x1400078b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.140010570
mov ebx, eax
test eax, eax
jne 0x140007f6e
lea rcx, str.failcode__EXIT_OK_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [rbx + 1]
cmp dword [rsp + 0x40], ebx
jne 0x140007f16
call fcn.140021e20
mov rcx, rax
mov edx, 0xebf3
call fcn.14000fcc0
lea rcx, str.cmdDisableEnable_end_n
mov dword [0x14005039c], 1
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
jmp 0x140007dea
cmp dword [rsp + 0x48], 0
jne 0x140007f52
call fcn.140021e20
mov r8d, dword [rsp + 0x40]
mov rcx, rax
mov edx, 0xecbc
call fcn.14000fcc0
lea rcx, str.cmdDisableEnable_end_n
mov dword [0x14005039c], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
jmp 0x140007dea
call fcn.140021e20
mov r8d, dword [rsp + 0x40]
mov rcx, rax
mov edx, 0xecbb
call fcn.14000fcc0
mov ebx, 1
lea rcx, str.cmdDisableEnable_end_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
jmp 0x140007dea
Function at 0x140008230
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x260
mov rax, qword [0x14004d010]
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 0x140008385
cmp r9d, ebx
jl 0x140008385
mov rcx, qword [rax]
cmp word [rcx], dx
je 0x140008385
mov rsi, qword [rax + 8]
cmp word [rsi], dx
je 0x140008385
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
dec eax
cmp eax, 0x102
ja 0x140008381
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140008381
lea rcx, str.newdev.dll
mov qword [rsp + 0x278], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140008375
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 0x140008364
lea ecx, [rbx - 1]
call fcn.140021e20
mov rcx, rax
lea r9, [rsp + 0x40]
mov r8, rsi
mov edx, 0xeeae
call fcn.14000fcc0
lea rax, [rsp + 0x30]
mov rdx, rsi
mov qword [rsp + 0x20], rax
lea r9d, [rbx - 1]
mov rax, rbp
lea r8, [rsp + 0x40]
xor ecx, ecx
call qword [0x140033700]
test eax, eax
je 0x140008364
lea ecx, [rbx - 1]
call fcn.140021e20
mov rcx, rax
mov edx, 0xeeb2
call fcn.14000fcc0
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 0x14000838a
mov eax, ebx
jmp 0x14000838a
mov eax, 3
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140019b40
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rsi
ret

Function at 0x140009bb0
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 0x140009c25
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140009c25
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140009c15
nop
cmp rbx, rcx
jae 0x140009c25
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140009c00
cmp rbx, rcx
jae 0x140009c25
cmp word [rbx], 0
je 0x140009c25
mov rax, rbx
jmp 0x140009c27
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 0x140009fa0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call fcn.14001b960
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000a104
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.14000db40
cmp dword [rsp + 0x30], 2
jne 0x14000a104
mov eax, dword [rsp + 0x24]
cmp eax, 6
jne 0x14000a0a3
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x14000a03d
mov eax, 0xa
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x158
ret
cmp eax, 1
jne 0x14000a05f
mov eax, 0x14
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x158
ret
cmp eax, 2
jne 0x14000a081
mov eax, 0x1e
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x158
ret
cmp eax, 3
jne 0x14000a104
mov eax, 0x28
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x158
ret
cmp eax, 0xa
jne 0x14000a104
cmp dword [rsp + 0x2c], 0x3fab
jbe 0x14000a0db
lea rcx, str.OS_version_is_OS_WIN10RS4_n
call fcn.14000db40
mov eax, 0x36
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x158
ret
lea rcx, str.OS_version_is_OS_WIN10_n
call fcn.14000db40
mov eax, 0x32
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x158
ret
mov eax, 0x37
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140019b40
add rsp, 0x158
ret
Function at 0x14000a410
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 [0x14004d010]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
movaps xmm0, xmmword [str.SOFTWAREAtherosVistaAddOnSupportedDevice]
mov rsi, rcx
movaps xmm1, xmmword [0x140040060]
lea rcx, [rbp - 0x28]
movaps xmmword [rbp - 0x80], xmm0
xor edx, edx
movaps xmm0, xmmword [0x140040070]
mov r8d, 0x1b0
movaps xmmword [rbp - 0x70], xmm1
movaps xmm1, xmmword [0x140040080]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [0x140040090]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm1, qword [0x1400400a0]
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
call fcn.14001b960
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.14001b960
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 0x14000a532
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 0x14000a539
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000a5fa
mov qword [rsp + 0x4c8], rbx
mov ebx, edi
cmp dword [rsp + 0x60], ebx
jbe 0x14000a5e5
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x208
call fcn.14001b960
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 0x14000a5c0
mov rdx, rsi
lea rcx, [rbp + 0x190]
call fcn.14001b1ac
test rax, rax
jne 0x14000a5ca
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x14000a550
jmp 0x14000a5e5
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.14000db40
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.140019b40
lea r11, [rsp + 0x4b0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret