joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013bdc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000cdbc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140013c66
cmp byte [rbp - 0x21], r15b
je 0x140013c61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140013c9c
call fcn.1400099dc
test eax, eax
jne 0x140013c88
cmp byte [rbp - 0x21], r15b
je 0x140013c80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140013c9c
cmp byte [rbp - 0x21], r15b
je 0x140013c99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000c398
test eax, eax
jne 0x140013d3c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000cdbc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140013cdb
cmp byte [rbp - 0x21], r15b
je 0x140013d10
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140013d10
call fcn.1400099dc
test eax, eax
jne 0x140013cfc
cmp byte [rbp - 0x21], r15b
je 0x140013cf5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140013d10
cmp byte [rbp - 0x21], r15b
je 0x140013d0d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000c398
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140013d3c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140013d3f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140013d4d
mov rcx, rdi
call fcn.140009788
cmp byte [rbp + 0x3f], r15b
je 0x140013d5c
mov rcx, qword [rbp + 0x27]
call fcn.140009788
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140016330
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016358
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016358
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003f4c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140003b5c
add rsp, 0x28
jmp 0x140003f70
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14001d938], rdi
jne 0x140008848
mov eax, dword [0x14001d930]
cmp eax, 1
je 0x140008868
mov eax, dword [0x14001d930]
cmp eax, ebx
jne 0x14000887f
mov dword [0x14001d930], 1
lea r13, [0x140014218]
lea rdi, [0x140014200]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000401c
cmp eax, ebx
jne 0x14000401c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140004011
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140003ffa
cmp eax, ebx
jne 0x140008875
mov eax, dword [0x14001d930]
cmp eax, 1
jne 0x14000404c
lea rdx, [0x1400141f8]
lea rcx, [0x1400141c0]
call fcn.140171000
mov dword [0x14001d930], 2
cmp r12d, ebx
jne 0x14000405b
mov rax, rbx
xchg qword [0x14001d938], rax
cmp qword [0x14001d950], rbx
jne 0x14000888e
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
je 0x1400088b7
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
jbe 0x14000409f
cmp word [rcx], 0x22
je 0x140008912
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140004084
cmp word [rcx], bx
jne 0x1400088c1
cmp word [rcx], bx
jne 0x1400088ce
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400040e8
nop
jmp 0x1400088e6
cmp rax, rdi
jne 0x140008858
mov r12d, 1
jmp 0x140003fba
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003fa9
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x140004024
mov eax, 0xff
jmp 0x140008951
mov dword [0x14001db2c], 1
jmp 0x140004024
lea rcx, [0x14001d950]
call fcn.140011e1c
cmp eax, ebx
je 0x140004068
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14001d950]
nop
jmp 0x140004068
mov eax, 0xff
jmp 0x140008951
cmp edx, ebx
je 0x1400040a8
jmp 0x14000408a
cmp word [rcx], 0x20
ja 0x1400040b1
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400040a8
mov dword [0x14001db28], eax
cmp dword [0x14001d30c], ebx
jne 0x1400088fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001db2c], ebx
jne 0x140008910
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001db28]
jmp 0x140008951
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
jmp 0x140004094
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
Function at 0x140001000
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x140040468]
xor rax, rsp
mov qword [rsp + 0x450], rax
lea rcx, [rsp + 0x32]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bx
call fcn.14001cc90
lea rcx, [rsp + 0x242]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x240], bx
call fcn.14001cc90
lea rcx, str.DeleteAthService_Enter___n
call fcn.14000e580
lea rdx, [rsp + 0x240]
mov r8d, 0x102
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [0x14002fef8]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140019d1c
lea r8, [rsp + 0x240]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140019c94
lea r8, [0x14002fef8]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140019c94
lea rdx, [rsp + 0x30]
lea rcx, str.DeleteAthService__The_szFilename_is:__s_n
call fcn.14000e580
lea r9, str.uninstall
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400018a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x2a0
mov rax, qword [0x140040468]
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.14001cc90
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 0x140001960
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 0x140001ae0
lea r8, str.C:AthSvc
lea rcx, [rsp + 0x80]
mov edx, 0x104
mov qword [rsp + 0x2b0], rbx
mov qword [rsp + 0x2b8], rdi
call fcn.140019d1c
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 0x140001a18
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 [0x140041f94], eax
mov ebx, eax
je 0x140001a55
nop dword [rax + rax]
xor eax, eax
lock cmpxchg dword [0x140041f94], ebx
cmp dword [0x140041f94], ebx
je 0x140001a55
mov ecx, 0x19
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140041f94], ebx
jne 0x140001a30
lea rcx, [rsp + 0x80]
call fcn.140019270
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lock cmpxchg dword [0x140041f94], esi
mov edi, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140041f94], eax
mov ebx, eax
je 0x140001ab5
nop word [rax + rax]
xor eax, eax
lock cmpxchg dword [0x140041f94], ebx
cmp dword [0x140041f94], ebx
je 0x140001ab5
mov ecx, 0x19
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140041f94], ebx
jne 0x140001a90
mov eax, esi
test edi, edi
cmovg eax, edi
mov dword [0x140041f90], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lock cmpxchg dword [0x140041f94], esi
mov rdi, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140019650
add rsp, 0x2a0
pop rsi
ret
Function at 0x140001b00
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140040468]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x140030990]
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 [0x1400309a0]
movsd xmm1, qword [0x1400309b0]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001cc90
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 0x140001c30
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 0x140001c25
cmp dword [rsp + 0x30], 2
jne 0x140001c25
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.14000e580
call fcn.1400099f0
cmp eax, 0x1e
jne 0x140001c0e
lea rcx, str.DisableRadioHandler__dont_send_check_msg__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140043324], ebx
mov ecx, dword [0x140043300]
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.140019650
add rsp, 0x260
pop rbx
ret

Function at 0x140001c50
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140040468]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x140030990]
lea rcx, [rsp + 0x78]
xor edx, edx
mov r8d, 0x1d0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1400309a0]
movsd xmm1, qword [0x1400309b0]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001cc90
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 0x140001d1d
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.14000e580
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140019650
add rsp, 0x268
ret
Function at 0x140001d50
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140040468]
xor rax, rsp
mov qword [rsp + 0x250], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x140030990]
lea rcx, [rsp + 0x78]
xor edx, edx
mov r8d, 0x1d0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1400309a0]
movsd xmm1, qword [0x1400309b0]
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.14001cc90
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 0x140001e1d
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.14000e580
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140019650
add rsp, 0x268
ret

Function at 0x140001e50
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 0x140001f20
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 0x140001f08
test rdi, rdi
je 0x140001f08
test rax, rax
je 0x140001f08
call rdi
movups xmm0, xmmword [0x14002fe10]
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
Function at 0x140002290
Capabilities:
Create thread
Print debug messages
Resume thread

Disassembly:
sub rsp, 0x38
lea rcx, str.Enter_Function_StartCustomThread____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [0x1400432f8], 0
je case.default.0x1400022b6
lea rcx, str.Enter_condition_pSvc__hWorkEvent___NULL__n
add rsp, 0x38
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]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
mov qword [0x1400432f8], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r8, [0x14000fd90]
xor r9d, r9d
mov qword [0x140043308], rax
lea rax, [0x140043300]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400432f0], rax
test rax, rax
je 0x140002337
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x1400432f0], 0
mov ecx, dword [0x140043300]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5b
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [0x1400432f8]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400023a2
lea rdx, str.Create_Thread_fails__n
mov ecx, 1
call fcn.140019330
mov ecx, dword [0x140043300]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5b
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [0x1400432f8]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140002364
call fcn.1400099f0
cmp eax, 0x14
je 0x1400023c0
call fcn.1400099f0
cmp eax, 0x1e
je 0x1400023c0
call fcn.1400099f0
cmp eax, 0x28
jne 0x1400023fd
cmp qword [0x140043310], 0
jne 0x1400023fd
lea rax, [0x140043318]
lea r9, [0x1400432b0]
lea r8, [0x140001f30]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140043310], rax
add rsp, 0x38
ret
Function at 0x140002410
Capabilities:
Print debug messages
Terminate thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rcx, str.Enter_Function_StopCustomThread____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1400099f0
cmp eax, 0x14
je 0x140002448
call fcn.1400099f0
cmp eax, 0x1e
je 0x140002448
call fcn.1400099f0
cmp eax, 0x28
jne 0x140002487
cmp qword [0x140043310], 0
je 0x140002487
lea rcx, str.TerminateThread_pSvc__hTimerThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
mov rcx, qword [0x140043310]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rcx, qword [0x140043310]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140043310], 0
cmp qword [0x140043720], 0
je 0x1400024c6
lea rcx, str.TerminateThread_g_hS3S4CheckThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
mov rcx, qword [0x140043720]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rcx, qword [0x140043720]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140043720], 0
mov rcx, qword [0x1400432f0]
test rcx, rcx
je 0x140002551
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x40], 0x103
jne 0x140002551
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5c
mov ecx, dword [0x140043300]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov edx, 0x2710
mov rcx, qword [0x1400432f0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140002539
lea rcx, str.TerminateThread_pSvc__hCustomThread__0___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
mov rcx, qword [0x1400432f0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rcx, qword [0x1400432f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400432f0], 0
mov rcx, qword [0x1400432f8]
test rcx, rcx
je 0x14000256e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400432f8], 0
mov rcx, qword [0x140043308]
test rcx, rcx
je 0x14000258b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140043308], 0
add rsp, 0x38
ret
Function at 0x1400027e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x140040468]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rax, qword [rcx]
movaps xmm0, xmmword [str.SOFTWAREAtherosVistaAddOnSupported]
movaps xmm1, xmmword [0x140031510]
mov qword [rbp - 0x80], rax
mov rax, qword [rcx + 8]
lea rcx, [rbp + 0x5c]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [0x140031520]
movaps xmmword [rbp + 0x20], xmm1
mov qword [rbp - 0x78], rax
mov eax, dword [0x140031548]
xor edx, edx
movaps xmm1, xmmword [0x140031530]
movaps xmmword [rbp + 0x30], xmm0
mov r8d, 0x1bc
mov dword [rbp + 0x58], eax
movsd xmm0, qword [0x140031540]
movsd qword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm1
call fcn.14001cc90
xor edi, edi
lea rcx, [rbp + 0x222]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x64], 8
mov word [rbp + 0x220], di
call fcn.14001cc90
lea r8d, [rdi + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x70], 4
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x140002924
lea rax, [rsp + 0x68]
lea r9d, [rdi + 1]
lea rdx, [rbp + 0x10]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002924
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 0x14000292b
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1400029db
mov qword [rsp + 0x558], rbx
mov ebx, edi
cmp dword [rsp + 0x60], ebx
jbe 0x1400029c6
nop
lea rcx, [rbp + 0x220]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
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 + 0x220]
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 0x1400029b7
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x70]
call fcn.140019900
test eax, eax
jne 0x1400029b7
cmp dword [rsp + 0x74], 1
je 0x1400029c1
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140002940
jmp 0x1400029c6
mov edi, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x558]
mov eax, edi
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140019650
mov rdi, qword [rsp + 0x560]
add rsp, 0x540
pop rbp
ret