joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008fa70
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov ebp, r9d
mov r12d, r8d
mov rsi, rdx
mov r13, rcx
call fcn.14013d07c
mov rcx, rax
xor r10d, r10d
test rax, rax
setne r10b
test r10d, r10d
jne 0x14008fac3
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rbx, qword [rsi]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x14008faf9
cmp rax, qword [rbx - 0x18]
jne 0x14008faf9
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x14008fb37
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x14008fb15
call fcn.1400c5210
int3
mov eax, dword [rbx - 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rbx - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.14015cd30
lea rax, [rdi + 0x18]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.14008f730
nop
lea rdx, [0x1401b05c8]
lea rcx, str.failed
test r12d, r12d
cmovne rcx, rdx
lea rdx, str.put_Property
lea r8, str.put_Value
cmp dword [rsp + 0x90], 0
cmovne r8, rdx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
lea rdx, str._RTK___s__s__s___val_d_r_n
lea rcx, [rsp + 0x30]
call fcn.140001f50
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008fbc2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008fbed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14008fc09
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14008feb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test edx, edx
mov rbx, rcx
mov edi, edx
lea rcx, str._RTK__DTS_set_enable_true_r_n
jne 0x14008fed1
lea rcx, str._RTK__DTS_set_enable_false_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbx + 0xc0], 0
jne 0x14008feed
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x100]
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x38]
lea rcx, str._RTK__pSRSOperatingModeCurr__put_APOEnable_OK_r_n
test eax, eax
je 0x14008ff0e
lea rcx, str._RTK__pSRSOperatingModeCurr__put_APOEnable_FAIL_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rbx + 0x38], 0
je 0x14008ff76
mov rcx, qword [rbx + 0xc8]
mov rdx, qword [rbx + 0x100]
xor r9d, r9d
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x30]
lea rcx, [0x1401b07d0]
test eax, eax
je 0x14008ff46
lea rcx, [0x1401b0850]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbx + 0xc8]
xor r8d, r8d
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x38]
lea rcx, str._RTK__controller__put_APOEnable_OK_r_n
test eax, eax
je 0x14008ff70
lea rcx, str._RTK__controller__put_APOEnable_FAIL_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140092950
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x48], 0
mov rbx, rcx
mov dword [rsp + 0x30], 0
je 0x140092979
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140092979
cmp dword [rax + 0x178], 1
jne 0x1400929a9
cmp dword [rcx + 0x44], 0
je 0x140092993
call fcn.140093020
mov rcx, rbx
mov edx, eax
add rsp, 0x20
pop rbx
jmp fcn.140093200
lea rdx, [rsp + 0x30]
call fcn.14008ff90
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call fcn.1400901c0
add rsp, 0x20
pop rbx
ret

Function at 0x140093020
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, rcx
mov rcx, qword [rcx + 0xe8]
test rcx, rcx
jne 0x14009304c
xor eax, eax
jmp 0x1400931b2
lea rdi, [rax + 0x100]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x48]
test eax, eax
jne 0x1400931b0
call fcn.14013d07c
mov rdx, rax
xor esi, esi
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140093085
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + 0x20]
or rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x1400930b7
mov ecx, esi
jmp 0x1400930c9
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8d, ecx
lea rcx, [rsp + 0x50]
call fcn.140002390
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x50]
cmp dword [rdi - 0x10], 0
jge 0x1400930f0
mov eax, ebx
jmp 0x14009310e
lea rdx, [0x14019ee68]
mov rcx, rdi
call fcn.14015c8e0
test rax, rax
jne 0x140093108
mov eax, ebx
jmp 0x14009310e
sub rax, rdi
sar rax, 1
mov ebp, esi
test eax, eax
setns bpl
call fcn.14013d07c
mov r11, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140093135
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r9d, ebp
mov r8, rdi
lea rdx, str._RTK__IsInHPXOffMode:_OpMode__s__bInOffMode___d_r_n
lea rcx, [rsp + 0x60]
call fcn.140001f50
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ebp, ebp
sete sil
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14009318e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x1400931ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
jmp 0x1400931b2
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140093200
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rbx, rcx
cmp dword [rcx + 0x44], 0
je 0x1400933c3
cmp qword [rcx + 0xe0], 0
je 0x1400933c3
test edx, edx
je 0x1400932a8
xor edi, edi
call fcn.140153968
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x140093299
mov rcx, qword [rbx + 0x20]
cmp dword [rcx + 0x1d8], 3
je 0x14009327b
call fcn.1400603a0
test eax, eax
jne 0x14009327b
xor r9d, r9d
lea r8, str.HPX_SPK_Mode
lea rdx, str.Settings
mov rcx, rsi
call fcn.14014ba50
mov edi, eax
jmp 0x140093299
mov r9d, 7
lea r8, str.HPX_HP_Mode
lea rdx, str.Settings
mov rcx, rsi
call fcn.14014ba50
mov edi, eax
mov edx, edi
mov rcx, rbx
call fcn.1400901c0
jmp 0x1400933c3
mov rcx, qword [rcx + 0x20]
call fcn.1400603a0
test eax, eax
jne 0x1400932ca
mov rax, qword [rbx + 0x20]
cmp dword [rax + 0x1d8], 3
je 0x1400932ca
mov esi, dword [rbx + 0xb8]
jmp 0x1400932d0
mov esi, dword [rbx + 0xb4]
test esi, esi
js 0x1400933c3
movsxd rdi, esi
test esi, esi
js 0x1400933bd
cmp rdi, qword [rbx + 0x118]
jge 0x1400933bd
mov rax, qword [rbx + 0x110]
mov rdi, qword [rax + rdi*8]
cmp qword [rbx + 0x100], rdi
je 0x14009332b
test rdi, rdi
je 0x140093312
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbx + 0x100]
test rcx, rcx
je 0x140093324
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x100], rdi
mov rdx, qword [rbx + 0x100]
test rdx, rdx
je 0x1400933c3
mov rcx, qword [rbx + 0xe0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
call fcn.14013d07c
mov rcx, rax
xor edi, edi
test rax, rax
setne dil
test edi, edi
jne 0x14009336a
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov r9d, ebx
mov r8d, esi
lea rdx, str._RTK__pSRSEpInfo__put_OpMode__OpMode__d___:_hr___x_r_n
lea rcx, [rsp + 0x40]
call fcn.140001f50
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400933c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400933c3
call fcn.14013d908
int3
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b2b90
Capabilities:
Check os version

Disassembly:
push r13
push r14
push r15
sub rsp, 0x30
mov r14d, r8d
mov r8, qword [rcx + 0x20]
mov r13, r9
test r8, r8
mov r11d, edx
mov r15, rcx
jne 0x1400b2bbc
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r13
ret
mov r8, qword [r8 + 0x398]
test r8, r8
je 0x1400b2baf
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
xor ebp, ebp
mov qword [rsp + 0x28], rdi
lea rbx, str.SonicFocus3Api.cpp:
mov r10d, ebp
mov r9, rbp
lea rdi, [0x140212620]
nop
test r11d, r11d
je 0x1400b2c2e
mov edx, dword [r8]
mov rcx, rbp
mov rax, rdi
nop
cmp dword [rax], edx
je 0x1400b2c15
add rax, 0x18
add rcx, 1
cmp rax, rbx
jl 0x1400b2c00
mov eax, ebp
jmp 0x1400b2c1d
lea rax, [rcx + rcx*2]
mov eax, dword [rdi + rax*8 + 8]
cmp eax, r11d
jne 0x1400b2c34
test r10d, r10d
jns 0x1400b2c4d
xor eax, eax
jmp 0x1400b2d11
cmp dword [r8 + 4], ebp
jne 0x1400b2c22
add r9, 1
add r10d, 1
add r8, 8
cmp r9, 7
jl 0x1400b2bf0
xor eax, eax
jmp 0x1400b2d11
mov edx, dword [0x14022e714]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x20], r12
movsxd r12, r10d
xor di, di
mov esi, ebp
lea rbx, reloc.OLEAUT32.dll_VariantClear
nop
test edx, edx
jne 0x1400b2c91
lea rcx, [0x14022e710]
mov dword [0x14022e710], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x14022e714]
cmp edx, 6
jne 0x1400b2ca4
cmp dword [0x14022e718], 0
jne 0x1400b2ca4
lea eax, [rdx + 0x12]
jmp 0x1400b2ca9
mov eax, 0x1d
cmp esi, eax
jge 0x1400b2cfc
mov rax, qword [r15 + 0x20]
mov rcx, qword [rax + 0x398]
mov eax, dword [rcx + r12*8 + 4]
test dword [rbx - 8], eax
je 0x1400b2cdf
cmp dword [rbx - 4], r14d
jne 0x1400b2cdf
test di, di
mov ebp, 1
jne 0x1400b2cd5
movzx edi, word [rbx]
movzx eax, word [r13]
cmp word [rbx], ax
je 0x1400b2ce8
add esi, 1
add rbx, 0x14
jmp 0x1400b2c70
movsxd rax, esi
lea rcx, [rax + rax*4]
lea rax, reloc.OLEAUT32.dll_VariantClear
mov di, word [rax + rcx*4]
jmp 0x1400b2d00
test ebp, ebp
je 0x1400b2d05
mov word [r13], di
mov r12, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x60]
mov eax, ebp
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x28]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x1400c4cc0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x140210348]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.14013d07c
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x1400c4d18
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14019cf88]
test rdx, 0xffffffffffff0000
jne 0x1400c4d54
movzx edi, dx
mov ecx, edi
call fcn.14013d654
test rax, rax
je 0x1400c4d70
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.1400020e0
jmp 0x1400c4d70
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.140002390
nop
mov dword [rsp + 0x20], 1
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140002390
cmp dword [0x14022e848], 0
je 0x1400c4dc4
lea rdx, str.MaxxAudioIntelSkylake64.dll
mov rcx, rbx
call fcn.1400c4e50
jmp 0x1400c4dd3
lea rdx, str.MaxxAudioVienna264.dll
mov rcx, rbx
call fcn.1400c4e50
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14015d000
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x1400c5220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov eax, r8d
mov rsi, rdx
mov ebx, r8d
shr eax, 4
mov rbp, rcx
mov r8d, 6
add ax, 1
mov rcx, rsi
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x1400c5389
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c5389
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x1400c5389
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x1400c52ba
cmp rdi, r11
jae 0x1400c5389
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x1400c52a4
cmp rdi, r11
jae 0x1400c5389
movzx eax, word [rdi]
test ax, ax
je 0x1400c5389
mov qword [rsp + 0x60], r13
movzx ebx, ax
call qword [0x140211c30]
xor r13d, r13d
lea r12, [rdi + 2]
mov r9d, ebx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rbp]
mov edx, 1
movsxd rsi, eax
sub edx, dword [rcx - 8]
mov ecx, dword [rcx - 0xc]
sub ecx, esi
or edx, ecx
jge 0x1400c532a
mov edx, esi
mov rcx, rbp
call fcn.1400c53a0
mov rbx, qword [rbp]
movzx edi, word [rdi]
call qword [0x140211c30]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r9d, edi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
mov r13, qword [rsp + 0x60]
js 0x1400c537e
mov rcx, qword [rbp]
cmp esi, dword [rcx - 0xc]
jg 0x1400c537e
mov dword [rcx - 0x10], esi
mov rcx, qword [rbp]
mov eax, 1
mov byte [rsi + rcx], 0
jmp 0x1400c538b
mov ecx, 0x80070057
call fcn.140001c00
int3
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x1400d9340
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp qword [rcx + 0x330], rbp
mov dword [rsp + 0x30], ebp
je 0x1400d93b0
mov rcx, qword [rcx + 0x308]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x330]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x1400d93a3
cmp dword [rsp + 0x30], 0x103
jne 0x1400d93a3
mov rcx, qword [rbx + 0x330]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x330]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x180]
mov qword [rbx + 0x330], rbp
test rcx, rcx
je 0x1400d93d0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x180], rbp
mov rcx, qword [rbx + 0x178]
test rcx, rcx
je 0x1400d93fb
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbx + 0x178]
test rcx, rcx
je 0x1400d93fb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x178], rbp
mov rdi, qword [rbx + 0x310]
test rdi, rdi
je 0x1400d9436
mov rcx, rdi
call fcn.1401286b0
cmp dword [rdi + 0xa4], ebp
jne 0x1400d9427
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400d9427
call fcn.14013d06c
mov qword [rdi], rbp
mov rcx, rdi
call fcn.14013d06c
mov qword [rbx + 0x310], rbp
mov rax, qword [rbx + 0x338]
lea rdi, [0x14019cf88]
mov ecx, 1
mov rsi, rax
repe cmpsw word [rsi], word [rdi]
je 0x1400d945a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [0x14022e6d0]
mov dword [rbx + 0x16c], ebp
test rcx, rcx
je 0x1400d947a
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x21020223
call qword [rax + 0x60]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400e1730
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x40
cmp qword [rcx + 0x40], 0
mov rsi, rcx
jne 0x1400e1758
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x40], rax
cmp qword [rsi + 0x48], 0
jne 0x1400e1773
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x48], rax
lea rcx, [0x1400e1380]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call fcn.14014d1a0
test rax, rax
mov rbp, rax
je 0x1400e1801
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x58]
mov dword [rsp + 0x30], 2
lea r9, [rsi + 0x38]
mov r8, rbx
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov dword [rsi + 0x50], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
Function at 0x1400ec7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbx, r8
mov rdi, rcx
test r8, r8
jne 0x1400ec7f6
xor eax, eax
jmp 0x1400ec932
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call fcn.1400ed630
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400ec90e
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x88], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ec8d8
cmp dword [rsp + 0x30], 4
jne 0x1400ec8d8
mov eax, dword [rsp + 0x80]
mov dword [rbx], eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ec8c1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ec8d1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1400ec932
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ec8fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ec90a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1400ec932
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ec930
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400ec960
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
test rdx, rdx
mov rsi, r9
mov rdi, r8
jne 0x1400ec9a1
mov rdx, qword [r8]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ec994
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
test r9, r9
je 0x1400ec975
mov r9d, dword [rsp + 0x70]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
or r9d, 1
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400ecaa8
mov rdx, qword [rdi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400eca69
cmp dword [rsp + 0x34], 4
jne 0x1400eca69
test rbx, rbx
mov eax, dword [rsp + 0x58]
mov dword [rsi], eax
je 0x1400eca35
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400eca54
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
test rbx, rbx
je 0x1400eca77
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400eca96
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov rdx, qword [rdi]
jmp 0x1400ec978