joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180053210
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800537a0
mov qword [rsp + 0x28], 0
cmp qword [0x180073468], 0
jne 0x180053258
cmp qword [0x180073460], 0
je 0x180053258
mov rax, qword [0x180073460]
mov qword [0x180073468], rax
cmp qword [0x180073468], 0
je 0x1800532fe
mov rax, qword [0x180073468]
cmp qword [rax + 0x10], 0
je 0x1800532fe
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800532fe
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800532fe
mov rax, qword [0x180073468]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800532c4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800532cb
xor eax, eax
jmp 0x180053475
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180053475
mov rax, qword [0x180073460]
mov qword [0x180073468], rax
jmp 0x180053320
mov rax, qword [0x180073468]
mov rax, qword [rax + 8]
mov qword [0x180073468], rax
cmp qword [0x180073468], 0
je 0x18005336d
cmp qword [0x180073468], 0
je 0x18005336b
mov rax, qword [0x180073468]
cmp qword [rax + 0x10], 0
je 0x18005336b
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005336b
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005336b
jmp 0x18005329c
jmp 0x18005330e
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180053480
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180053473
mov rax, qword [rsp + 0x48]
mov qword [0x180073468], rax
mov rax, qword [0x180073468]
mov dword [rax], 0x52727464
mov rax, qword [0x180073468]
mov qword [rax + 0x10], 0
mov rax, qword [0x180073468]
mov rcx, qword [0x180073460]
mov qword [rax + 8], rcx
mov rax, qword [0x180073468]
mov qword [0x180073460], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180073468]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180053424
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18005345e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18005341a
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18005329c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180054190
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800541d7
xor al, al
jmp 0x180054279
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180054201
xor al, al
jmp 0x180054279
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180054271
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180054271
mov al, 1
jmp 0x180054279
jmp 0x180054277
xor al, al
add rsp, 0x78
ret

Function at 0x180054580
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180073460]
mov qword [rsp + 0x28], rax
jmp 0x1800545a0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800545cf
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800545cd
call sub.KERNEL32.dll_GetLastError
jmp 0x1800545d1
jmp 0x180054592
xor eax, eax
add rsp, 0x38
ret
Function at 0x180054c90
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180073478], eax
je 0x180054cbd
mov eax, 0x10dd
jmp 0x180054ed6
cmp dword [0x18007347c], 0
je 0x180054cd1
mov eax, dword [0x18007347c]
jmp 0x180054ed6
cmp qword [rsp + 0x78], 0
jne 0x180054ce3
mov eax, 0x57
jmp 0x180054ed6
cmp qword [rsp + 0x70], 0
jne 0x180054cf5
mov eax, 6
jmp 0x180054ed6
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180054d27
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x18007347c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180073480], rax
mov eax, dword [rsp + 0x20]
jmp 0x180054ed6
mov ecx, 0x30
call fcn.18005717c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180054d99
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x18007347c], eax
cmp qword [rsp + 0x30], 0
je 0x180054d84
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180056a70
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180073480], rax
mov eax, dword [rsp + 0x20]
jmp 0x180054ed6
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.180054c60
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.180054c60
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x180054df6
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180054e13
mov dword [rsp + 0x20], 9
cmp dword [0x180073470], 0
je 0x180054e0e
jmp 0x180054d5a
jmp 0x180054d50
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180054e40
mov dword [rsp + 0x20], 9
cmp dword [0x180073470], 0
je 0x180054e3b
jmp 0x180054d5a
jmp 0x180054d50
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180054e77
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180054d50
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x180073490]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x180073490], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x180054ee0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180073478], eax
je 0x180054efb
mov eax, 0x10dd
jmp 0x180055020
mov rax, qword [0x180073490]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180054fa5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180054f70
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180054f70
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800538e0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180056a70
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180054f07
mov qword [0x180073490], 0
call fcn.180054340
mov rax, qword [0x180073488]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180055009
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180056a70
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180054fc1
mov qword [0x180073488], 0
mov dword [0x180073478], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180055550
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18007347c], 0
je 0x18005556d
mov eax, dword [0x18007347c]
jmp 0x180055633
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180055580
xor eax, eax
jmp 0x180055633
mov ecx, 0x10
call fcn.18005717c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800555ee
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800555d3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180056a70
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18007347c], eax
mov qword [0x180073480], 0
mov eax, dword [rsp + 0x20]
jmp 0x180055633
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180055608
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800555a9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180073488]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180073488], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x180057b2c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180057bb0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18005a950]
cmp byte [rcx + rax], 0
je 0x180057bb0
dec r8
sub rdx, 1
jne 0x180057b96
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x2fc4c5ac0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c64c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e9108]
test eax, eax
je 0x2fc4c655a
lea rax, [0x2fc4e90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e9110]
mov qword [rbp - 8], rax
jmp 0x2fc4c653e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c6532
cmp qword [rbp - 0x10], 0
je 0x2fc4c6532
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c64f8
lea rax, [0x2fc4e90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c655b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c6660
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c6688
mov eax, 0
jmp 0x2fc4c66d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c66b1
mov eax, 0
jmp 0x2fc4c66d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c66d1
mov eax, 0
jmp 0x2fc4c66d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c66dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c675a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c6751
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c6751
mov rax, qword [rbp - 8]
jmp 0x2fc4c676f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c6724
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400010a0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub rsp, 0x468
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14001c4c0
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14001c4c0
lea rcx, str.DeleteAthService_Enter___n
call fcn.14000e530
mov r8d, 0x102
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [0x14003c968]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400223c4
lea r8, [rsp + 0x240]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14002242c
lea r8, [0x14003c968]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14002242c
lea rdx, [rsp + 0x30]
lea rcx, str.DeleteAthService__The_szFilename_is:__s_n
call fcn.14000e530
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 0x140001cb0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
xor edx, edx
mov r8d, 0x1d0
movups xmm1, xmmword [0x14003d238]
lea rcx, [rsp + 0x78]
xor ebx, ebx
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14003d248]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm1, qword [0x14003d258]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001c4c0
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 0x140001da1
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 0x140001d96
cmp dword [rsp + 0x30], 2
jne 0x140001d96
lea rcx, str.reset_radio_off_status.__r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 1
mov ecx, ebx
call fcn.14000e5d0
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.14001a550
add rsp, 0x260
pop rbx
ret

Function at 0x140001dc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
xor edx, edx
mov r8d, 0x1d0
movups xmm1, xmmword [0x14003d238]
lea rcx, [rsp + 0x78]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14003d248]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm1, qword [0x14003d258]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001c4c0
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 0x140001e8d
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.14000e530
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a550
add rsp, 0x268
ret
Function at 0x140001ec0
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 0x140001f90
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 0x140001f78
test rdi, rdi
je 0x140001f78
test rax, rax
je 0x140001f78
call rdi
movups xmm0, xmmword [0x1400408e8]
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 0x140002300
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.14000a160
xor ebx, ebx
cmp eax, 0x14
jl 0x140002358
cmp qword [0x14004fba0], rbx
je 0x140002358
lea rcx, str.TerminateThread_pSvc__hTimerThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x14004fba0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x14004fba0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004fba0], rbx
cmp qword [0x140051390], rbx
je 0x140002391
lea rcx, str.TerminateThread_g_hS3S4CheckThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140051390]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140051390]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140051390], rbx
mov rcx, qword [0x14004fb80]
test rcx, rcx
je 0x140002413
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x30], 0x103
jne 0x140002413
mov ecx, dword [0x14004fb90]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5c
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [0x14004fb80]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400023ff
lea rcx, str.TerminateThread_pSvc__hCustomThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x14004fb80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x14004fb80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004fb80], rbx
mov rcx, qword [0x14004fb88]
test rcx, rcx
je 0x14000242c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004fb88], rbx
mov rcx, qword [0x14004fb98]
test rcx, rcx
je 0x140002445
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004fb98], rbx
add rsp, 0x20
pop rbx
ret