joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006d740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x14006d905
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.RegCloseKey
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r14, r14
je 0x14006d905
test rsi, rsi
je 0x14006d905
test rax, rax
je 0x14006d905
mov dword [rbp - 0x19], 0x65004b
mov dword [rbp - 0x15], 0x620079
mov dword [rbp - 0x11], 0x61006f
mov dword [rbp - 0xd], 0x640072
mov dword [rbp - 9], 0x4c0020
mov dword [rbp - 5], 0x790061
mov dword [rbp - 1], 0x75006f
mov dword [rbp + 3], 0x5c0074
mov dword [rbp + 7], 0x750053
mov dword [rbp + 0xb], 0x730062
mov dword [rbp + 0xf], 0x690074
mov dword [rbp + 0x13], 0x750074
mov dword [rbp + 0x17], 0x650074
mov dword [rbp + 0x1b], 0x73
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rax
mov edx, 0x20019
lea rcx, [rbp - 0x59]
call fcn.14008aaf0
mov rcx, rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x19]
call r14
test eax, eax
je 0x14006d8f5
lea rcx, [rbp - 0x39]
call fcn.140001fec
nop
mov r8d, ebx
lea rdx, str._08x
lea rcx, [rbp - 0x39]
call fcn.1400069c0
xor eax, eax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov dword [rbp + 0x2f], eax
mov dword [rbp - 0x41], 0x14
lea rcx, [rbp - 0x39]
call fcn.140001c60
mov rdx, rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x49]
call rsi
test eax, eax
jne 0x14006d8e4
xor edx, edx
lea r8d, [rax + 0x10]
lea rcx, [rbp + 0x1f]
call fcn.1400a95e8
mov ebx, eax
mov rcx, qword [rbp - 0x49]
call rdi
nop
lea rcx, [rbp - 0x39]
call fcn.140001c70
nop
cmp qword [rbp - 0x59], 0
je 0x14006d905
lea rcx, [rbp - 0x59]
call fcn.14008ac30
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a08a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14006d930
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], 0x114
mov r8d, 0x110
lea rcx, [rsp + 0x24]
call fcn.1400a2390
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14006d993
cmp dword [rsp + 0x24], 6
jb 0x14006d993
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a08a0
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a08a0
add rsp, 0x158
ret
Function at 0x140070100
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x178], rbx
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x28], 0
mov ecx, 1
call fcn.1400a08c4
mov qword [rsp + 0x28], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x34]
call fcn.1400a2390
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140070182
cmp dword [rsp + 0x34], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.140009700
test al, al
je 0x1400701aa
lea rcx, [rsp + 0x28]
call fcn.140008fe0
test al, al
jne 0x1400701aa
xor bl, bl
jmp 0x140070218
lea rdx, [rbx + 8]
xor ecx, ecx
call fcn.1400100a0
test al, al
jne 0x1400701c2
lea rcx, [rbx + 8]
call fcn.140002db8
lea rdx, [rbx + 0x28]
mov ecx, 0x1a
call fcn.1400100a0
test al, al
jne 0x1400701dd
lea rcx, [rbx + 0x28]
call fcn.140002db8
lea rdx, [rbx + 0x48]
mov ecx, 2
call fcn.1400100a0
test al, al
jne 0x1400701f8
lea rcx, [rbx + 0x48]
call fcn.140002db8
lea rdx, [rbx + 0x68]
mov ecx, 0xb
call fcn.1400100a0
test al, al
jne 0x140070213
lea rcx, [rbx + 0x68]
call fcn.140002db8
mov byte [rbx], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.140008900
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a08a0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
Function at 0x140094360
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x60
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rsi
xor ebx, ebx
cmp qword [rcx + 0x20], 0xffffffffffffffff
mov r14, r9
mov qword [rsp + 0x50], rdi
mov rsi, rdx
mov qword [rsp + 0x40], r15
mov edi, r8d
mov r15, rcx
mov ebp, ebx
jne 0x1400943a5
mov ebx, 1
jmp 0x1400943f6
mov qword [rsp + 0x48], r12
mov r12d, 0x100000
mov rcx, qword [r15 + 0x20]
lea r9, [rsp + 0x30]
mov r8d, edi
mov dword [rsp + 0x30], ebx
cmp edi, r12d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
cmova r8d, r12d
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x30]
add ebp, ecx
test eax, eax
je 0x1400943ec
test ecx, ecx
je 0x1400943f1
add rsi, rcx
sub edi, ecx
jne 0x1400943b0
jmp 0x1400943f1
mov ebx, 1
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov eax, ebx
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
test r14, r14
je 0x14009440f
mov dword [r14], ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a08a0
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret

Function at 0x140094d70
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140094dab
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140094dab
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x20]
call fcn.14009e8c0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14009e8c0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
mov rdi, rdx
cmp rcx, 0xffffffffffffffff
je 0x14009e91e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14009e909
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14009e91e
mov ecx, dword [rsp + 0x20]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov qword [rdi], rcx
jmp 0x14009e920
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a08a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14009ead0
Capabilities:
Get file size
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, r9
mov r12d, r8d
mov r15, rdx
mov rsi, rcx
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x30], rax
xor edi, edi
test rax, rax
je 0x14009eb1e
mov dword [rax], edi
mov dword [r9], edi
cmp qword [rcx], 0xffffffffffffffff
je 0x14009ec7c
mov eax, 0x100000
mov ebp, r12d
cmp r12d, eax
cmova ebp, eax
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, ebp
mov rdx, r15
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x80004005
test eax, eax
cmovne edx, edi
cmp qword [rsi + 0x28], 0
je 0x14009ec49
test edx, edx
je 0x14009ec49
mov ecx, dword [rsp + 0x68]
cmp ecx, ebp
jae 0x14009ec4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rbx, rdi
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
jne 0x14009eb99
xor dil, dil
jmp 0x14009ebcc
mov dword [rsp + 0x6c], edi
lea rdx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14009ebbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14009ebbe
xor dil, dil
jmp 0x14009ebcc
mov ebx, dword [rsp + 0x6c]
shl rbx, 0x20
add rbx, rdi
mov dil, 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x48]
call fcn.140002e64
nop
mov rcx, qword [rsi + 0x28]
mov r10, qword [rcx]
mov r9, r14
xor r8d, r8d
test dil, dil
cmovne r8, rbx
mov rdx, rax
call qword [r10 + 0x30]
mov edx, eax
xor edi, edi
test eax, eax
jne 0x14009ec49
mov dword [rsp + 0x70], edi
mov edx, dword [rsp + 0x68]
add rdx, r15
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
mov r8d, ebp
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x80004005
test eax, eax
cmovne edx, edi
mov ecx, dword [rsp + 0x68]
add ecx, dword [rsp + 0x70]
mov dword [rsp + 0x68], ecx
test eax, eax
je 0x14009eb77
jmp 0x14009ec4d
mov ecx, dword [rsp + 0x68]
add dword [r13], ecx
test edx, edx
jne 0x14009ec70
test ecx, ecx
je 0x14009ec6c
mov eax, ecx
add r15, rax
sub r12d, ecx
mov eax, 0x100000
jne 0x14009eb30
mov al, 1
jmp 0x14009ec7e
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14009ec7c
mov dword [rax], edx
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a08a0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a9c58
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a99bc
Function at 0x1400c7278
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x880
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov rax, qword [rsp + 0x890]
movzx eax, byte [rax + 8]
test eax, eax
je 0x1400c72ac
jmp 0x1400c743e
mov rax, qword [rsp + 0x890]
mov byte [rax + 8], 1
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1400c733d
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400c7311
cmp qword [rsp + 0x20], 0
je 0x1400c730f
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400c733d
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x410
jae 0x1400c732c
jmp 0x1400c7331
call fcn.1400a0a10
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rsp + rcx + 0x40], ax
lea rdx, [0x1400e5508]
lea rcx, [rsp + 0x40]
call fcn.1400a4e40
lea rdx, [0x1400e5510]
lea rcx, [rsp + 0x40]
call fcn.1400a4e40
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c739b
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x410
jae 0x1400c738a
jmp 0x1400c738f
call fcn.1400a0a10
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rsp + rcx + 0x40], ax
lea rax, [rsp + 0x450]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.1400a4b38
test rax, rax
jbe 0x1400c7410
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call fcn.1400a4df8
lea rcx, [rsp + 0x450]
call fcn.1400a4b38
test rax, rax
jbe 0x1400c7410
lea rdx, [0x1400e5508]
lea rcx, [rsp + 0x450]
call fcn.1400a4e40
lea rdx, str.HaoZip.hzv
lea rcx, [rsp + 0x450]
call fcn.1400a4e40
call fcn.140004a50
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x450]
call fcn.1400a4b38
test rax, rax
jbe 0x1400c743e
lea rdx, [rsp + 0x450]
mov rcx, qword [rsp + 0x38]
call fcn.140004b20
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.1400a08a0
add rsp, 0x880
pop rdi
ret

Function at 0x1400c7494
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x48], 0
jne 0x1400c74ae
xor eax, eax
jmp 0x1400c7511
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1400c74cf
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x1400c74d3
xor eax, eax
jmp 0x1400c7511
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1400c7244
movzx eax, al
test eax, eax
jne 0x1400c74fc
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1400c7024
xor eax, eax
jmp 0x1400c7511
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x1400113f7
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d730
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400114f1
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001cae0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001cb00
xor al, al
jmp 0x14001cb81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001cb13
xor al, al
jmp 0x14001cb81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001cb3d
xor al, al
jmp 0x14001cb81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001cb51
xor al, al
jmp 0x14001cb81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001cb63
xor al, al
jmp 0x14001cb81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001cb7f
xor al, al
jmp 0x14001cb81
mov al, 1
add rsp, 0x38
ret
Function at 0x1400011b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x2a0
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor esi, esi
lea rcx, [rsp + 0x82]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x50], esi
mov word [rsp + 0x80], si
call fcn.14001be30
lea rax, [rsp + 0x78]
lea rdx, str.SoftwareAtheros
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140001270
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
lea rdx, str.EnableServiceDebug
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], esi
je 0x1400013f0
lea r8, str.C:AthSvc
lea rcx, [rsp + 0x80]
mov edx, 0x104
mov qword [rsp + 0x2b0], rbx
mov qword [rsp + 0x2b8], rdi
call fcn.140018eac
lea rax, [rsp + 0x7c]
lea rdx, str.SoftwareAtheros
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x58], 0x208
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140001328
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea rdx, str.ServiceLogPath
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14003ff94], eax
mov ebx, eax
je 0x140001365
nop dword [rax + rax]
xor eax, eax
lock cmpxchg dword [0x14003ff94], ebx
cmp dword [0x14003ff94], ebx
je 0x140001365
mov ecx, 0x19
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14003ff94], ebx
jne 0x140001340
lea rcx, [rsp + 0x80]
call fcn.140018400
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lock cmpxchg dword [0x14003ff94], esi
mov edi, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14003ff94], eax
mov ebx, eax
je 0x1400013c5
nop word [rax + rax]
xor eax, eax
lock cmpxchg dword [0x14003ff94], ebx
cmp dword [0x14003ff94], ebx
je 0x1400013c5
mov ecx, 0x19
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14003ff94], ebx
jne 0x1400013a0
mov eax, esi
test edi, edi
cmovg eax, edi
mov dword [0x14003ff90], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lock cmpxchg dword [0x14003ff94], esi
mov rdi, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400187e0
add rsp, 0x2a0
pop rsi
ret
Function at 0x140001410
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x14002ef90]
lea rcx, [rsp + 0x78]
xor edx, edx
mov r8d, 0x1d0
xor ebx, ebx
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x14002efa0]
movsd xmm1, qword [0x14002efb0]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001be30
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000151e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea rdx, str.SwitchRadio
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]
test eax, eax
jne 0x140001513
cmp dword [rsp + 0x30], 2
jne 0x140001513
lea rcx, str.reset_radio_off_status.__r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.Enter_Function_DisableRadioHandler__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x140041300]
mov ebx, 1
mov r8d, ebx
xor r9d, r9d
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.1400187e0
add rsp, 0x260
pop rbx
ret

Function at 0x140001540
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x14002ef90]
lea rcx, [rsp + 0x78]
xor edx, edx
mov r8d, 0x1d0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x14002efa0]
movsd xmm1, qword [0x14002efb0]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001be30
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000160d
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea rdx, str.SwitchRadio
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]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [rsp + 0x30]
lea rcx, str.The_value_of_SwitchRadio_is__d
call fcn.14000dcd0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400187e0
add rsp, 0x268
ret
Function at 0x140001640
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x14002ef90]
lea rcx, [rsp + 0x78]
xor edx, edx
mov r8d, 0x1d0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x14002efa0]
movsd xmm1, qword [0x14002efb0]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001be30
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000170d
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea rdx, str.ReplaceTrayIconDisabled
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]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [rsp + 0x30]
lea rcx, str.The_value_of_ReplaceTrayIconDisabled_is__d
call fcn.14000dcd0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400187e0
add rsp, 0x268
ret

Function at 0x140001740
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 0x140001810
mov qword [rsp + 0x40], rsi
lea rcx, str.Successfully_load_CommApi.dll_n_n
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
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 r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test r12, r12
je 0x1400017f8
test rdi, rdi
je 0x1400017f8
test rax, rax
je 0x1400017f8
call rdi
movups xmm0, xmmword [0x14002edf0]
lea rcx, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
movaps xmmword [rsp + 0x20], xmm0
call r12
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 r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret