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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rdi
push rbp
lea rbp, [r11 - 0x3b8]
sub rsp, 0x4b0
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetEnumUSB]
movaps xmm1, xmmword [0x140032bf0]
mov eax, dword [0x140032c20]
mov qword [r11 + 0x10], rsi
lea rcx, [rbp - 0x3c]
xor edx, edx
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x140032c00]
movaps xmmword [rbp - 0x70], xmm1
mov r8d, 0x1c4
mov qword [r11 + 0x18], r12
mov dword [rbp - 0x40], eax
movaps xmm1, xmmword [0x140032c10]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
call fcn.14001be30
xor r12d, r12d
lea rcx, [rbp + 0x192]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x64], 8
mov word [rbp + 0x190], r12w
call fcn.14001be30
mov edi, r12d
call fcn.140009080
mov esi, eax
lea rax, [rsp + 0x68]
lea rdx, [rbp - 0x80]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400098f8
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400098f8
mov qword [rsp + 0x4c0], rbx
mov ebx, r12d
cmp dword [rsp + 0x60], ebx
jbe 0x1400098f0
nop dword [rax]
lea rcx, [rbp + 0x190]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x64]
lea r8, [rbp + 0x190]
mov edx, ebx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x64], 0x104
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400098e8
lea rcx, [rbp + 0x190]
call fcn.140009510
test eax, eax
je 0x1400098e8
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x190]
mov r9d, esi
call fcn.140009230
mov edi, eax
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140009870
mov rbx, qword [rsp + 0x4c0]
mov rcx, qword [rsp + 0x68]
mov r12, qword [rsp + 0x4d0]
mov rsi, qword [rsp + 0x4c8]
test rcx, rcx
je 0x140009918
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400187e0
mov rdi, qword [rsp + 0x4d8]
add rsp, 0x4b0
pop rbp
ret
Function at 0x140009940
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x32]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], di
call fcn.14001be30
lea r8d, [rdi + 0x23]
lea rdx, [rsp + 0x30]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x1400099df
lea r8, str.AtherosAtherosServiceConfig.ini
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140018e24
lea r11, [rsp + 0x30]
lea r8, str.Operation
mov qword [rsp + 0x28], r11
lea rdx, str.operation
lea rcx, str.AthService
mov r9, rbx
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [rdi + 1]
jmp 0x1400099e1
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400187e0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x140009a10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x290
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor ebp, ebp
mov rsi, rcx
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x64], 8
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x60], ebp
mov word [rsp + 0x70], bp
call fcn.14001be30
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140009aa6
or eax, 0xffffffff
jmp 0x140009b90
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140009b90
mov qword [rsp + 0x2a8], rbx
mov qword [rsp + 0x2b0], rdi
mov edi, ebp
test eax, eax
je 0x140009b7e
nop dword [rax]
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x64]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x64], 0x104
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140009bb1
lea rax, [rsp + 0x68]
lea rdx, [rsp + 0x70]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009bb1
mov rcx, qword [rsp + 0x68]
call fcn.140009a10
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140009b72
lea rdx, [rsp + 0x70]
xor r9d, r9d
mov r8d, 0x300
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x140009ad0
xor eax, eax
mov rbx, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400187e0
mov rbp, qword [rsp + 0x2b8]
add rsp, 0x290
pop rsi
ret
or eax, 0xffffffff
jmp 0x140009b80
Function at 0x14000aff0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x10270
call fcn.140021450
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x102b8], rbx
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x10260], rax
mov rbx, r8
mov rdi, rdx
mov r12, rcx
call fcn.14000c060
xor r13d, r13d
mov word [rsp + 0x260], r13w
xor edx, edx
mov r8d, 0xfffc
lea rcx, [rsp + 0x262]
call fcn.14001be30
mov word [rsp + 0x50], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.14001be30
lea rsi, [rsp + 0x260]
cmp qword [rbx + 0x18], 8
jb 0x14000b081
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x14000b08b
mov rdi, qword [rdi]
mov r9, rbx
mov r8d, 0x7fff
lea rdx, [rsp + 0x260]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov rdi, r13
test eax, eax
je 0x14000b151
lea rbx, [rsp + 0x260]
mov ebp, eax
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rsp + rdi*2 + 0x50], ax
cmp word [rsi], 0
jne 0x14000b13d
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14000c580
nop
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.14000bf70
nop
cmp qword [rsp + 0x40], 8
jb 0x14000b127
mov rcx, qword [rsp + 0x28]
call fcn.1400193d8
or rdi, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.14001be30
inc rdi
add rsi, 2
add rbx, 2
dec rbp
jne 0x14000b0c0
mov rcx, qword [rsp + 0x10260]
xor rcx, rsp
call fcn.1400187e0
mov rbx, qword [rsp + 0x102b8]
add rsp, 0x10270
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b330
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x428]
sub rsp, 0x500
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r13, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.14000c060
xor r14d, r14d
mov word [rbp - 0x30], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x2e]
call fcn.14001be30
mov dword [rsp + 0x64], 0x104
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x70], r14
cmp qword [rdi + 0x18], 8
jb 0x14000b3ad
mov rdi, qword [rdi]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b549
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x64]
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x14000b549
mov r12d, r14d
nop dword [rax]
mov dword [rsp + 0x68], 0x104
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x1e0]
mov edx, r12d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000b549
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x1e0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp - 0x60]
call fcn.14000c580
nop
lea rsi, [rbp - 0x60]
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
cmovae rsi, r8
lea rcx, [rbp - 0x60]
cmovae rcx, r8
mov rax, qword [rbp - 0x50]
lea rdi, [rcx + rax*2]
lea rbx, [rbp - 0x60]
cmovae rbx, r8
cmp rbx, rdi
je 0x14000b515
sub rsi, rbx
nop
movzx ecx, word [rbx]
call fcn.14001a31c
mov word [rsi + rbx], ax
add rbx, 2
cmp rbx, rdi
jne 0x14000b500
lea rcx, [rbp - 0x60]
call fcn.14000aeb0
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.14000bf70
nop
cmp qword [rbp - 0x48], 8
jb 0x14000b53b
mov rcx, qword [rbp - 0x60]
call fcn.1400193d8
inc r12d
cmp r12d, dword [rsp + 0x60]
jb 0x14000b450
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400187e0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14000dcd0
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
sub rsp, 0x830
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rbx, rcx
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x20], ax
call fcn.14001be30
lea r8, [rsp + 0x848]
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140019534
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400187e0
add rsp, 0x830
pop rbx
ret

Function at 0x14000dd60
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
jne 0x14000ddb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._WhqlRunning__CreateToolhelp32Snapshot_failed____x
lea ecx, [rbx + 1]
mov r8d, eax
call fcn.1400184c0
xor eax, eax
jmp 0x14000de4a
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000ddf2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._WhqlRunning__Process32First_failed____x
mov ecx, 1
mov r8d, eax
call fcn.1400184c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000de4a
xor edi, edi
lea rdx, str.Mjolnir.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14000de3a
lea rdx, str.Mjolnir_win
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
lea rcx, [rsp + 0x4c]
cmp rax, rcx
je 0x14000de3a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000ddf4
jmp 0x14000de3f
mov edi, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400187e0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret

Function at 0x14000de70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, ebx
jae 0x14000dea7
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, ebx
jb 0x14000de90
lea rcx, str.The_waiting_time_is__d_n
mov edx, ebx
call fcn.14000dcd0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x14000ded0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movsxd rbx, ecx
lea rcx, str.Enter_Function_DisableRadioHandler__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x140041300]
mov r8, rbx
xor r9d, r9d
mov edx, 0x5e5d
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]
Function at 0x14000df10
Capabilities:
Query or enumerate registry value
Query service status
Start service
Stop service

Disassembly:
push rsi
sub rsp, 0x290
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x280], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x14002ef90]
mov esi, ecx
lea rcx, [rsp + 0xa8]
xor edx, edx
mov r8d, 0x1d0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
movups xmm0, xmmword [0x14002efa0]
movsd xmm1, qword [0x14002efb0]
movaps xmmword [rsp + 0x90], xmm0
movsd qword [rsp + 0xa0], xmm1
call fcn.14001be30
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e13b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea rdx, str.ControlBthServ
mov qword [rsp + 0x28], rax
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 0x14000dffa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000e13b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x30], 1
jne 0x14000e13b
lea rdx, str.StartBthService___d___n
mov r8d, esi
mov ecx, 1
mov qword [rsp + 0x2b0], rdi
call fcn.1400184c0
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14000e053
lea rdx, str.Open_Service_manager_error__n
lea ecx, [rax + 1]
call fcn.1400184c0
jmp 0x14000e133
lea rdx, str.BthServ
mov r8d, 0x34
mov rcx, rax
mov qword [rsp + 0x2a8], rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x14000e096
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Open_BthServ_Service_error:__d___n
lea ecx, [rbx + 1]
mov r8d, eax
call fcn.1400184c0
jmp 0x14000e122
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14000e0b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Get_Service_state_error:__d___n
jmp 0x14000e10c
test esi, esi
jne 0x14000e0e6
cmp dword [rsp + 0x4c], 4
jne 0x14000e119
lea r8, [rsp + 0x48]
lea edx, [rsi + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14000e119
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.stop_service_error:__d___n
jmp 0x14000e10c
cmp dword [rsp + 0x4c], 1
jne 0x14000e119
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000e119
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.start_service_error:__d___n
mov r8d, eax
mov ecx, 1
call fcn.1400184c0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400187e0
add rsp, 0x290
pop rsi
ret
Function at 0x14000e160
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [0x14004170c]
mov ebx, ecx
lea rcx, str.The_wakeup_time_is__d_n
call fcn.14000dcd0
lea rcx, str.The_current_time_is__d_n
mov edx, ebx
call fcn.14000dcd0
mov eax, dword [0x14004170c]
mov r11d, ebx
sub r11d, eax
cmp r11d, 0x2710
jbe 0x14000e1b5
lea rcx, str.In_Function_IsResetRadioS3S4TimeOut____dwCurrent___g_dwTimeS3S4___RESETRADIOS3S4TIMEOUT__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
add rsp, 0x20
pop rbx
ret
cmp ebx, eax
jae 0x14000e1d1
lea rcx, str.In_Function_IsResetRadioS3S4TimeOut___gettickcount_is_out_of_date__so_return_TRUE__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000e1e0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.Enter_Function_QueryRadioStatus____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ebx, ebx
lea r8, [rsp + 0x30]
lea edx, [rbx + 1]
mov ecx, 0xfc72
mov dword [0x140041710], ebx
mov dword [0x140041740], ebx
mov byte [rsp + 0x30], 8
call fcn.140018060
lea rcx, str.The_nexe_step_is_check_the_status_of_g_bisReceiveEvent__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x140041710], 0
jne 0x14000e240
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x14000e225
lea rcx, str.Leave_Function_QueryRadioStatus____n
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
Function at 0x14000e5a0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000e1e0
mov r11d, dword [0x140041740]
cmp r11d, 1
jne 0x14000e6c5
xor ebx, ebx
cmp dword [0x140041328], ebx
mov dword [0x140041708], ebx
je case.default.0x14000e5d8
lea rcx, str.radio_off_operator_on_progress__abort____r_n
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, str.begin_trun_radio_off_r_n
mov dword [0x140041328], 1
mov qword [0x140041538], rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 3
call fcn.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 5
call fcn.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 7
call fcn.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], bl
call fcn.140018060
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140041538]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000e6ab
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140041328], ebx
mov rcx, qword [0x140041538]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140041538], rbx
add rsp, 0x20
pop rbx
ret
cmp r11d, 2
jne case.default.0x14000e6df
xor ebx, ebx
lea rcx, str.In_condition__g_RadioStatus__RadioStatus_OFF__radio_on_off_status_updated_r_n
mov dword [0x140041708], ebx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test r11d, r11d
jne 0x14000e735
mov edx, dword [0x140041708]
lea rcx, str.Enter_else_if_g_RadioStatus__RadioStatus_NULL___the_value_of_g_isRecoverfromS3S4_is__d_n
call fcn.14000dcd0
cmp dword [0x140041708], 0
je 0x14000e73d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.14000e160
test eax, eax
je 0x14000e72b
xor ebx, ebx
mov dword [0x14004170c], ebx
mov dword [0x140041708], ebx
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.140001410
xor ebx, ebx
mov dword [0x140041708], ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000e750
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [str..ATHAMPFL]
xor edi, edi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [0x140033d38]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x58], rax
mov rax, qword [0x140033d40]
xor r9d, r9d
mov qword [rsp + 0x60], rax
movzx eax, word [0x140033d48]
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov word [rsp + 0x68], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e7e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ath_l2cap_disconnect_all__INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000e841
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov r9d, 8
mov edx, 0x2a0508
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x48], edi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000e838
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ath_l2cap_disconnect_all__error__x_n
mov edx, eax
call fcn.14000dcd0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400187e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x14000e860
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [str..ATHAMPFL]
xor edi, edi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov rax, qword [0x140033d38]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x50], rax
mov rax, qword [0x140033d40]
xor r9d, r9d
mov qword [rsp + 0x58], rax
movzx eax, word [0x140033d48]
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x40], edi
mov word [rsp + 0x60], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e8f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ath_fake_disconnect_event__INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000e953
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov edx, 0x2a0518
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000e93e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ath_fake_disconnect_event__error__x_n
mov edx, eax
call fcn.14000dcd0
jmp 0x14000e94a
lea rcx, str.ath_fake_disconnect_event_success__n
call fcn.14000dcd0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400187e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret