joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bd70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140015030]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000bd9d
xor eax, eax
jmp 0x14000bf09
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000bdd7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000bdd7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000bf09
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000befc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000be1a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000be45
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000bf01
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000beb4
sub eax, 1
je 0x14000beb4
cmp eax, 2
jne 0x14000befc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000bf01
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000bee2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000befc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000bf01
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000e220
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000c6a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140015030]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000c773
cmp byte [rcx + 0x71], 0
je 0x14000c773
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000c76f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000c734
sub eax, 1
je 0x14000c738
cmp eax, 2
jne 0x14000c76f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e220
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000c766
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000c76f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000c71c
xor al, al
jmp 0x14000c71c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e220
add rsp, 0x60
pop rbx
ret

Function at 0x14000ee44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ee8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ee8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ee8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ee8e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ee8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000ee90
xor al, al
add rsp, 0x28
ret
Function at 0x1400015c0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
lea rcx, str.C:download_temp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.140001290
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001970
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001991
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400019be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400019c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001a19
test ecx, ecx
jle 0x1400019f9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001a19
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001a19
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140001a40
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140001a62
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001a71
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001a94
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001a96
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001ad2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140001b6e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001b0d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140001b4e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140001b6e
cmp rbx, rax
ja 0x140001b20
test rbx, rbx
je 0x140001b6e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140001fd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140001ffd
xor eax, eax
jmp 0x140002169
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002037
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002037
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002169
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000215c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000207a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400020a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002161
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002114
sub eax, 1
je 0x140002114
cmp eax, 2
jne 0x14000215c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002161
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002142
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000215c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002161
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002c40
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400025b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002683
cmp byte [rcx + 0x71], 0
je 0x140002683
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000267f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002644
sub eax, 1
je 0x140002648
cmp eax, 2
jne 0x14000267f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002c40
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002676
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000267f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000262c
xor al, al
jmp 0x14000262c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002c40
add rsp, 0x60
pop rbx
ret

Function at 0x1400035c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000360a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000360a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000360a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000360a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000360a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000360c
xor al, al
add rsp, 0x28
ret
Function at 0x1400010a0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub rsp, 0x468
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14001bd50
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14001bd50
lea rcx, str.DeleteAthService_Enter___n
call fcn.14000db70
mov r8d, 0x102
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [0x140041008]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140025408
lea r8, [rsp + 0x240]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140025470
lea r8, [0x140041008]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140025470
lea rdx, [rsp + 0x30]
lea rcx, str.DeleteAthService__The_szFilename_is:__s_n
call fcn.14000db70
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 0x140001c10
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
xor edx, edx
mov r8d, 0x1d0
movups xmm1, xmmword [0x1400418d8]
lea rcx, [rsp + 0x78]
xor ebx, ebx
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1400418e8]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm1, qword [0x1400418f8]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001bd50
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 0x140001d61
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 0x140001d56
cmp dword [rsp + 0x30], 2
jne 0x140001d56
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.14000db70
mov r8d, ebx
lea rdx, str.Enter_Function_DisableRadioHandler__disable___d_n
lea ecx, [rbx + 1]
call fcn.1400194a0
call fcn.140009f30
cmp eax, 0x32
jl 0x140001d3f
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.1400194a0
mov dword [0x140053bd4], ebx
mov ecx, dword [0x140053bb0]
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.1400198d0
add rsp, 0x260
pop rbx
ret
Function at 0x140001d80
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
xor edx, edx
mov r8d, 0x1d0
movups xmm1, xmmword [0x1400418d8]
lea rcx, [rsp + 0x78]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1400418e8]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm1, qword [0x1400418f8]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001bd50
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 0x140001e4d
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.14000db70
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400198d0
add rsp, 0x268
ret

Function at 0x140001e80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbp, rcx
lea rcx, str.CommApi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140001f50
mov qword [rsp + 0x40], rsi
lea rcx, str.Successfully_load_CommApi.dll_n_n
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r14
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 r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test r14, r14
je 0x140001f38
test rdi, rdi
je 0x140001f38
test rax, rax
je 0x140001f38
call rdi
movups xmm0, xmmword [0x140044e18]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov rdx, rbp
movaps xmmword [rsp + 0x20], xmm0
call r14
call rsi
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 r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
Function at 0x1400022c0
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.140009f30
xor ebx, ebx
cmp eax, 0x14
jl 0x140002318
cmp qword [0x140053bc0], rbx
je 0x140002318
lea rcx, str.TerminateThread_pSvc__hTimerThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140053bc0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140053bc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140053bc0], rbx
cmp qword [0x140055380], rbx
je 0x140002351
lea rcx, str.TerminateThread_g_hS3S4CheckThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140055380]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140055380]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140055380], rbx
mov rcx, qword [0x140053ba0]
test rcx, rcx
je 0x1400023d3
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x30], 0x103
jne 0x1400023d3
mov ecx, dword [0x140053bb0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5c
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [0x140053ba0]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400023bf
lea rcx, str.TerminateThread_pSvc__hCustomThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140053ba0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140053ba0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140053ba0], rbx
mov rcx, qword [0x140053ba8]
test rcx, rcx
je 0x1400023ec
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140053ba8], rbx
mov rcx, qword [0x140053bb8]
test rcx, rcx
je 0x140002405
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140053bb8], rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140002570
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rbp + 0x430], rax
movups xmm0, xmmword [rcx]
lea rcx, [rbp + 0x5c]
mov eax, dword [0x1400429a8]
movaps xmm1, xmmword [str.SOFTWAREAtherosVistaAddOnSupported]
xor edx, edx
movaps xmmword [rbp - 0x80], xmm0
mov r8d, 0x1bc
movaps xmm0, xmmword [0x140042970]
movaps xmmword [rbp + 0x10], xmm1
movaps xmm1, xmmword [0x140042980]
movaps xmmword [rbp + 0x20], xmm0
movaps xmm0, xmmword [0x140042990]
movaps xmmword [rbp + 0x30], xmm1
movsd xmm1, qword [0x1400429a0]
movaps xmmword [rbp + 0x40], xmm0
movsd qword [rbp + 0x50], xmm1
mov dword [rbp + 0x58], eax
call fcn.14001bd50
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.14001bd50
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 0x1400026a5
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 0x1400026a5
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 0x1400026c7
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.1400198d0
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 0x140002766
nop dword [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x208
call fcn.14001bd50
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 0x140002757
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x70]
call fcn.140025298
test eax, eax
jne 0x140002757
cmp dword [rsp + 0x74], 1
je 0x140002761
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400026e0
jmp 0x140002766
mov edi, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x558]
mov eax, edi
jmp 0x1400026a7