joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006ee0
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140043468]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor eax, eax
xor edi, edi
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.AtherosSvc
mov r8d, 0xf01ff
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x140006f84
lea r8, [rsp + 0x20]
lea edx, [rdi + 1]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a650
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400085d0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140043468]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r9
mov edi, r8d
movzx ebx, cl
mov r9d, 0x50
lea r8, [rsp + 0x100]
test cl, cl
je 0x14000865e
mov edx, 0xbb8
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140008654
lea r8, [rsp + 0x60]
mov r9d, 0x50
mov edx, 0xbb9
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140008654
mov edx, 0xbba
lea r8, [rsp + 0x1a0]
mov r9d, 0x50
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400086a2
mov eax, 2
jmp 0x140008798
mov edx, 0xbbb
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14000867f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 2
jmp 0x140008798
lea r8, [rsp + 0x60]
mov r9d, 0x50
mov edx, 0xbbc
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140008654
mov edx, 0xbbd
jmp 0x14000863a
neg bl
mov r9, rsi
mov r8d, edi
sbb eax, eax
mov edx, 2
xor ecx, ecx
add eax, 2
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [0x140008150]
mov qword [rsp + 0x20], rax
call fcn.140011b40
mov ebx, eax
test eax, eax
jne 0x140008789
lea rcx, str.failcode__EXIT_OK_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rsp + 0x30], ebx
jne 0x140008741
call fcn.14001b0f4
mov edx, 0xebf3
lea rcx, [rax + 0x30]
call fcn.140010fc0
mov dword [0x140046124], 1
jmp 0x140008789
cmp dword [rsp + 0x38], 0
jne 0x14000876c
call fcn.14001b0f4
mov r8d, dword [rsp + 0x30]
mov edx, 0xecbc
lea rcx, [rax + 0x30]
call fcn.140010fc0
mov dword [0x140046124], 0
jmp 0x140008789
call fcn.14001b0f4
mov r8d, dword [rsp + 0x30]
mov edx, 0xecbb
lea rcx, [rax + 0x30]
call fcn.140010fc0
mov ebx, 1
lea rcx, str.cmdDisableEnable_end_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001a650
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret
Function at 0x140008980
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140043468]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x290]
mov ebx, 2
mov dword [rsp + 0x30], 0
test rdx, rdx
je 0x1400089bf
mov eax, 3
jmp 0x140008ade
cmp r9d, ebx
jl 0x1400089b5
mov rcx, qword [rax]
cmp word [rcx], 0
je 0x1400089b5
mov qword [rsp + 0x278], rsi
mov rsi, qword [rax + 8]
cmp word [rsi], 0
jne 0x1400089e9
mov eax, 3
jmp 0x140008ad6
lea r8, [rsp + 0x40]
xor r9d, r9d
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, 0x104
jae 0x140008ad4
test eax, eax
je 0x140008ad4
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140008ad4
lea rcx, str.newdev.dll
mov qword [rsp + 0x280], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140008acc
lea rdx, str.UpdateDriverForPlugAndPlayDevicesW
mov rcx, rax
mov qword [rsp + 0x270], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x140008abb
call fcn.14001b0f4
lea r9, [rsp + 0x40]
mov r8, rsi
lea rcx, [rax + 0x30]
mov edx, 0xeeae
call fcn.140010fc0
lea r11, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 1
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], r11
call rbp
test eax, eax
je 0x140008abb
call fcn.14001b0f4
mov edx, 0xeeb2
lea rcx, [rax + 0x30]
call fcn.140010fc0
xor ebx, ebx
cmp dword [rsp + 0x30], ebx
setne bl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x280]
mov eax, ebx
mov rsi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a650
add rsp, 0x260
pop rbx
ret

Function at 0x14000a220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14000a253
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000a296
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x14000a291
cmp rbx, r11
jae 0x14000a296
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x14000a280
cmp rbx, r11
jb 0x14000a29a
xor eax, eax
jmp 0x14000a2a6
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a360
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x50]
lea rdx, str.SOFTWAREAtherosVistaAddOn
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000a3b4
lea rcx, str.GetCustomerDefineCod_Failed_open_SOFTWAREAtherosVistaAddOn_registry.__r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or eax, 0xffffffff
add rsp, 0x38
ret
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea rdx, [0x1400368a8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000a404
lea rcx, str.GetCustomerDefineCod_Failed_query_Cod.__r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
add rsp, 0x38
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x14000a4e0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140043468]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.14001dd20
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000a5a7
cmp dword [rsp + 0x30], 2
jne 0x14000a5a7
cmp dword [rsp + 0x24], 6
jne 0x14000a5a7
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x14000a559
mov eax, 0xa
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a650
add rsp, 0x158
ret
cmp eax, 1
jne 0x14000a57b
mov eax, 0x14
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a650
add rsp, 0x158
ret
cmp eax, 2
jne 0x14000a59d
mov eax, 0x1e
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a650
add rsp, 0x158
ret
cmp eax, 3
mov eax, 0x28
je 0x14000a5ac
mov eax, 0x29
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001a650
add rsp, 0x158
ret
Function at 0x14000a8b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x140043468]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
movaps xmm0, xmmword [str.SOFTWAREAtherosVistaAddOnSupportedDevice]
movaps xmm1, xmmword [0x140030f60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
xor edx, edx
mov r8d, 0x1b0
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x140030f70]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm1, xmmword [0x140030f80]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [0x140030f90]
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [0x140030fa0]
movsd qword [rbp - 0x30], xmm1
call fcn.14001dd20
xor edi, edi
lea rcx, [rbp + 0x192]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x64], 8
mov word [rbp + 0x190], di
call fcn.14001dd20
lea rax, [rsp + 0x68]
lea r9d, [rdi + 1]
lea rdx, [rbp - 0x80]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a9d9
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14000a9e0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000aaaa
mov qword [rsp + 0x4c8], rbx
mov ebx, edi
cmp dword [rsp + 0x60], ebx
jbe 0x14000aa95
nop word [rax + rax]
lea rcx, [rbp + 0x190]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
lea r9, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
lea r8, [rbp + 0x190]
mov qword [rsp + 0x28], rax
mov edx, ebx
mov dword [rsp + 0x64], 0x104
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14000aa70
lea rcx, [rbp + 0x190]
mov rdx, rsi
call fcn.14001ade0
test rax, rax
jne 0x14000aa7a
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x14000aa00
jmp 0x14000aa95
lea r8, [rbp + 0x190]
lea rcx, str.Find_the_vidpid__the_value_of_the_enum_pidvid_is__s__and_the_value_in_registry_is__s._n
mov rdx, rsi
call fcn.14000f070
mov edi, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x4c8]
mov eax, edi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14001a650
lea r11, [rsp + 0x4b0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000aad0
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 [0x140043468]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetEnumUSB]
movaps xmm1, xmmword [0x140036a20]
mov eax, dword [0x140036a50]
mov qword [r11 + 0x10], rsi
lea rcx, [rbp - 0x3c]
xor edx, edx
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x140036a30]
movaps xmmword [rbp - 0x70], xmm1
mov r8d, 0x1c4
mov qword [r11 + 0x18], r12
mov dword [rbp - 0x40], eax
movaps xmm1, xmmword [0x140036a40]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
call fcn.14001dd20
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.14001dd20
mov edi, r12d
call fcn.14000a420
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 0x14000ac98
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 0x14000ac98
mov qword [rsp + 0x4c0], rbx
mov ebx, r12d
cmp dword [rsp + 0x60], ebx
jbe 0x14000ac90
nop dword [rax]
lea rcx, [rbp + 0x190]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
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 0x14000ac88
lea rcx, [rbp + 0x190]
call fcn.14000a8b0
test eax, eax
je 0x14000ac88
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x190]
mov r9d, esi
call fcn.14000a5d0
mov edi, eax
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x14000ac10
mov rbx, qword [rsp + 0x4c0]
mov rcx, qword [rsp + 0x68]
mov r12, qword [rsp + 0x4d0]
mov rsi, qword [rsp + 0x4c8]
test rcx, rcx
je 0x14000acb8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14001a650
mov rdi, qword [rsp + 0x4d8]
add rsp, 0x4b0
pop rbp
ret
Function at 0x14000ace0
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140043468]
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.14001dd20
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 0x14000ad7f
lea r8, str.AtherosAtherosServiceConfig.ini
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.14001aecc
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 0x14000ad81
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001a650
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x290
mov rax, qword [0x140043468]
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.14001dd20
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 0x14000ae46
or eax, 0xffffffff
jmp 0x14000af30
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000af30
mov qword [rsp + 0x2a8], rbx
mov qword [rsp + 0x2b0], rdi
mov edi, ebp
test eax, eax
je 0x14000af1e
nop dword [rax]
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
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 0x14000af51
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 0x14000af51
mov rcx, qword [rsp + 0x68]
call fcn.14000adb0
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000af12
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 0x14000ae70
xor eax, eax
mov rbx, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14001a650
mov rbp, qword [rsp + 0x2b8]
add rsp, 0x290
pop rsi
ret
or eax, 0xffffffff
jmp 0x14000af20
Function at 0x14000c390
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x10270
call fcn.1400232c0
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x102b8], rbx
mov rax, qword [0x140043468]
xor rax, rsp
mov qword [rsp + 0x10260], rax
mov rbx, r8
mov rdi, rdx
mov r12, rcx
call fcn.14000d400
xor r13d, r13d
mov word [rsp + 0x260], r13w
xor edx, edx
mov r8d, 0xfffc
lea rcx, [rsp + 0x262]
call fcn.14001dd20
mov word [rsp + 0x50], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.14001dd20
lea rsi, [rsp + 0x260]
cmp qword [rbx + 0x18], 8
jb 0x14000c421
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x14000c42b
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 0x14000c4f1
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 0x14000c4dd
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.14000d920
nop
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.14000d310
nop
cmp qword [rsp + 0x40], 8
jb 0x14000c4c7
mov rcx, qword [rsp + 0x28]
call fcn.14001b480
or rdi, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.14001dd20
inc rdi
add rsi, 2
add rbx, 2
dec rbp
jne 0x14000c460
mov rcx, qword [rsp + 0x10260]
xor rcx, rsp
call fcn.14001a650
mov rbx, qword [rsp + 0x102b8]
add rsp, 0x10270
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c6d0
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 [0x140043468]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r13, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.14000d400
xor r14d, r14d
mov word [rbp - 0x30], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x2e]
call fcn.14001dd20
mov dword [rsp + 0x64], 0x104
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x70], r14
cmp qword [rdi + 0x18], 8
jb 0x14000c74d
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 0x14000c8e9
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 0x14000c8e9
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 0x14000c8e9
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.14000d920
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 0x14000c8b5
sub rsi, rbx
nop
movzx ecx, word [rbx]
call fcn.14001c18c
mov word [rsi + rbx], ax
add rbx, 2
cmp rbx, rdi
jne 0x14000c8a0
lea rcx, [rbp - 0x60]
call fcn.14000c250
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.14000d310
nop
cmp qword [rbp - 0x48], 8
jb 0x14000c8db
mov rcx, qword [rbp - 0x60]
call fcn.14001b480
inc r12d
cmp r12d, dword [rsp + 0x60]
jb 0x14000c7f0
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.14001a650
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 0x14000f070
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 [0x140043468]
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.14001dd20
lea r8, [rsp + 0x848]
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14001b5dc
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.14001a650
add rsp, 0x830
pop rbx
ret

Function at 0x14000f100
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
jb 0x14000f114
lea rcx, str.The_waiting_time_is__d_n
mov edx, ebx
call fcn.14000f070
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x14000f140
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 [0x140045ce0]
mov r8, rbx
xor r9d, r9d
mov edx, 0x5e5d
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]