joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e3fb0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov rbx, rcx
cmp dword [rbx + 0x24], 0xca
jne 0x1000e3fec
mov rcx, rbx
call fcn.1000e8a30
cmp byte [rbx + 0x50], 0
je 0x1000e3fe4
mov dword [rbx + 0x24], 0xcf
mov dil, 1
jmp 0x1000e40af
mov dword [rbx + 0x24], 0xcb
nop
cmp dword [rbx + 0x24], 0xcb
jne 0x1000e408a
mov rax, qword [rbx + 0x208]
cmp byte [rax + 0x20], 0
je 0x1000e407c
nop word [rax + rax]
cmp qword [rbx + 0x10], 0
je 0x1000e4020
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rcx, rbx
mov rax, qword [rbx + 0x208]
call qword [rax]
mov esi, eax
test eax, eax
jne 0x1000e403c
xor dil, dil
jmp 0x1000e40af
cmp esi, 2
je 0x1000e407a
nop dword [rax]
cmp qword [rbx + 0x10], 0
je 0x1000e4010
cmp esi, 3
je 0x1000e4055
cmp esi, 1
jne 0x1000e4010
mov rax, qword [rbx + 0x10]
add dword [rax + 8], 1
mov rax, qword [rbx + 0x10]
mov edx, dword [rax + 8]
cmp edx, dword [rax + 0xc]
jl 0x1000e4010
mov rdx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x16c]
add dword [rdx + 0xc], eax
nop
jmp 0x1000e4010
nop
mov eax, dword [rbx + 0x84]
mov dword [rbx + 0x8c], eax
jmp 0x1000e40a4
cmp dword [rbx + 0x24], 0xcc
je 0x1000e40a4
mov r8d, dword [rbx + 0x24]
mov rcx, rbx
mov edx, 0x14
call fcn.1000e44a0
mov rcx, rbx
call fcn.1000e40c0
mov dil, al
mov al, dil
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret

Function at 0x100100a00
Capabilities:
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x80]
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x48]
call sub.kernel32.dll_GetProcessAffinityMask
test eax, eax
je 0x100100a58
mov dword [rbp - 4], 0
mov dword [rbp - 0x3c], 0xffffffff
add dword [rbp - 0x3c], 1
movsxd rax, dword [rbp - 0x3c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov dword [rbp - 0x54], edx
mov eax, edx
and rax, qword [rbp - 0x48]
je 0x100100a50
add dword [rbp - 4], 1
cmp dword [rbp - 0x3c], 0x1f
jl 0x100100a30
jmp 0x100100a67
lea rcx, [rbp - 0x38]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rbp - 0x18]
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x1001118c0
Capabilities:
Read clipboard data

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov byte [rbp - 0x14], 0
mov rax, qword [rbp - 0x10]
mov ecx, dword [rax - 0x10]
call sub.user32.dll_GetClipboardData
mov rdx, qword [rbp - 0x10]
mov qword [rdx - 0x30], rax
mov rax, qword [rbp - 0x10]
cmp qword [rax - 0x30], 0
jne 0x1001118f6
jmp 0x10011195c
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax - 0x30]
call sub.kernel32.dll_GlobalSize
mov rdx, qword [rbp - 0x10]
mov dword [rdx - 0x3c], eax
mov rax, qword [rbp - 0x10]
cmp dword [rax - 0x3c], 0
jg 0x100111916
jmp 0x10011195c
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax - 0x30]
call sub.kernel32.dll_GlobalLock
mov rdx, qword [rbp - 0x10]
mov qword [rdx - 0x38], rax
nop
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax - 0x38]
mov rax, qword [rbp - 0x10]
mov r8d, dword [rax - 0x3c]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 8]
mov rax, qword [rax]
call qword [rax + 0x108]
nop
mov rcx, rbp
call fcn.100111890
mov byte [rbp - 0x14], 1
nop
mov al, byte [rbp - 0x14]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x100112180
Capabilities:
Write clipboard data

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xf0]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x18], rcx
mov dword [rbp - 8], edx
mov qword [rbp - 0x10], r8
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x38], 0
nop
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x10]
mov rdx, qword [rdx]
mov rcx, rax
call qword [rdx + 0xe0]
mov rdx, rax
mov ecx, 2
call sub.kernel32.dll_GlobalAlloc
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x1001121dd
jmp 0x1001122d8
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0xe0]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x38]
call fcn.1000844c0
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.100084520
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x40], rax
call fcn.100084cd0
mov rbx, rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, str._DataSize
mov r8, qword [rbp - 0x40]
lea rdx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov rcx, rbx
call fcn.100086650
mov rax, qword [rbp - 0x18]
mov byte [rax - 0x24], 0
jmp 0x100112324
mov rcx, qword [rbp - 0x20]
call sub.kernel32.dll_GlobalLock
mov qword [rbp - 0x28], rax
nop
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0xe0]
mov r8, rax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0x100]
nop
mov rcx, rbp
call fcn.100112130
mov rdx, qword [rbp - 0x20]
mov ecx, dword [rbp - 8]
call sub.user32.dll_SetClipboardData
nop
mov rcx, rbp
call fcn.100112150
mov rbx, qword [rbp - 0x50]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100212890
Capabilities:
Get disk information

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xe0]
mov qword [rbp - 8], rcx
mov qword [rbp - 0xb8], 0
mov qword [rbp - 0xb0], 0
mov qword [rbp - 0xa8], 0
nop
mov rax, qword [rbp - 8]
test dword [rax + 0x50], 0x10
jne 0x1002128d1
jmp 0x1002128d8
jmp 0x100212a4b
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x8a0]
call fcn.10018d7b0
nop
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x8a0]
call fcn.10018cb00
lea rdx, [rbp - 0x90]
mov ecx, 0x81
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
je 0x100212915
jmp 0x100212924
mov rcx, rsp
lea rdx, [0x100212a4b]
call fcn.100016b60
cmp dword [rbp - 0xc], 0x81
ja 0x10021292f
jmp 0x100212940
mov rcx, rsp
lea rdx, [0x100212a4b]
call fcn.100016b60
nop
lea rax, [rbp - 0x90]
mov qword [rbp - 0x98], rax
jmp 0x100212a30
mov rdx, qword [rbp - 0x98]
mov r8d, 0
lea rcx, [rbp - 0xb0]
call fcn.10000a000
mov rdx, qword [rbp - 0xb0]
lea rcx, [rbp - 0xa8]
call fcn.1000576d0
mov r8, qword [rbp - 0xa8]
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x8a0]
mov r9, qword [rbp - 0x98]
mov rdx, 0
call fcn.10018cd50
mov qword [rbp - 0xa0], rax
mov rdx, qword [rbp - 0x98]
mov r8d, 0
lea rcx, [rbp - 0xb8]
call fcn.10000a000
mov rdx, qword [rbp - 0xb8]
lea rcx, [rbp - 0xb0]
call fcn.1000576d0
mov rdx, qword [rbp - 0xb0]
mov rax, qword [rbp - 0xa0]
lea rcx, [rax + 0xb0]
call fcn.100009590
mov rax, qword [rbp - 0xa0]
mov dword [rax + 0xa8], 0x16
mov rcx, qword [rbp - 0xa0]
mov rdx, 0
call fcn.1002112b0
mov rcx, qword [rbp - 0xa0]
mov dl, 1
call fcn.10018a1a0
add qword [rbp - 0x98], 4
mov rax, qword [rbp - 0x98]
cmp byte [rax], 0
jne 0x100212958
jmp 0x100212a42
nop
mov rcx, rbp
call fcn.100212820
nop
mov rcx, rbp
call fcn.100212850
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x10023bbf0
Capabilities:
Get file system object information

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x300]
mov qword [rbp - 8], rcx
mov dword [rsp + 0x20], 0x4101
mov rax, qword [rbp - 8]
test rax, rax
jne 0x10023bc18
lea rax, [0x1006f4460]
mov rcx, rax
lea r8, [rbp - 0x2c8]
mov r9d, 0x2b8
mov edx, 0
call sub.shell32.dll_SHGetFileInfoW
mov qword [rbp - 0x2d0], rax
cmp qword [rbp - 0x2d0], 0
jne 0x10023bc45
jmp 0x10023bc76
mov rdx, 1
lea rcx, [0x1005adff8]
lea rax, [0x1005adff8]
call qword [rax + 0x178]
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 0x2c8]
mov rcx, qword [rbp - 0x10]
call fcn.1000cd830
jmp 0x10023bc7e
mov qword [rbp - 0x10], 0
mov rax, qword [rbp - 0x10]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x2fc4daed0
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 0x2fc4db8d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4db96a
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4db94e
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 0x2fc4db942
cmp qword [rbp - 0x10], 0
je 0x2fc4db942
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 0x2fc4db908
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4db96b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dba70
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 0x2fc4dba98
mov eax, 0
jmp 0x2fc4dbae6
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 0x2fc4dbac1
mov eax, 0
jmp 0x2fc4dbae6
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 0x2fc4dbae1
mov eax, 0
jmp 0x2fc4dbae6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dbaec
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 0x2fc4dbb6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dbb61
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 0x2fc4dbb61
mov rax, qword [rbp - 8]
jmp 0x2fc4dbb7f
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 0x2fc4dbb34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140016720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
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
je 0x140016795
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140016795
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140016785
nop
cmp rbx, rcx
jae 0x140016795
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140016770
cmp rbx, rcx
jae 0x140016795
cmp word [rbx], 0
je 0x140016795
mov rax, rbx
jmp 0x140016797
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140023800
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
xor esi, esi
mov rax, qword [rcx + 0xd8]
mov r14, qword [rax + 0x10]
test r14, r14
jne 0x140023835
xor eax, eax
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, [rbp - 0x40]
mov qword [rbp + 0x30], rax
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x1400239b0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rdi, str.PbDefaultVol_Hp
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400168b0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x14002389a
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x140023880
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140016ad0
nop
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
mov r9d, 1
lea r8, str.SOFTWARERealtekRealtekEffectsDriver
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.140024490
test eax, eax
je 0x1400238db
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140023988
jmp 0x140023982
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002397a
cmp dword [rbp + 0x40], 4
jne 0x14002397a
mov eax, dword [rbp + 0x30]
mov dword [rbp + 0x48], eax
test rdi, rdi
je 0x14002392a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140023945
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [0x1403920e0]
movaps xmmword [rbp - 0x30], xmm0
mov rax, qword [r14]
movd xmm1, dword [rbp + 0x48]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1403d2ab0]
lea r8, [rbp - 0x30]
mov rcx, r14
call qword [rax + 0x60]
mov esi, eax
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rdi, rdi
je 0x140023988
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400239a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012800
int3
Function at 0x140029db9
Capabilities:
Create process on windows

Disassembly:
test rdx, rdx
je 0x140029eee
push rbx
mov eax, 0x100f0
call fcn.1402ed7b0
sub rsp, rax
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rsp + 0x100e0], rax
mov rbx, rdx
mov qword [rsp + 0x10100], rdi
mov r8, rdx
lea rcx, [rsp + 0xe0]
xor edi, edi
mov edx, 0x7fff
mov dword [rsp + 0x50], edi
call fcn.1402f386c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x50], edi
je 0x140029e47
lea r8, str.CPLUtl64.exe__x
mov edx, 0x7fff
lea rcx, [rsp + 0xe0]
call fcn.1402f386c
mov r8, rbx
lea rcx, [rsp + 0xe0]
mov edx, 0x7fff
call fcn.1402f38d4
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.1402ef020
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov qword [rsp + 0x68], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rdi, qword [rsp + 0x10100]
test eax, eax
jne 0x140029ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140029ed6
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x100e0]
xor rcx, rsp
call fcn.1402ecc20
add rsp, 0x100f0
pop rbx
ret
Function at 0x14002cd20
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
xor edi, edi
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov ebx, edx
mov qword [rsp + 0x40], rdi
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x48], edi
mov r9d, 0x2001f
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x40]
call fcn.140024490
test ebx, ebx
je 0x14002ce29
test eax, eax
jne 0x14002cd9b
mov rbx, qword [rsp + 0x40]
lea rax, [0x140393240]
mov rcx, rbx
mov dword [rsp + 0x28], 2
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.RTSnMg64.cpl
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14002cee7
mov qword [rsp + 0x38], rdi
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x20006
xor r9d, r9d
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], edi
call fcn.14002e590
mov r9d, 0x2001f
lea r8, str.Control_Paneldont_load
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x40]
call fcn.140024490
test eax, eax
jne 0x14002ceb1
mov rbx, qword [rsp + 0x40]
lea rax, [0x140393240]
mov rcx, rbx
mov dword [rsp + 0x28], 2
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.RTSnMg64.cpl
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14002cee7
test eax, eax
jne 0x14002ce47
mov rbx, qword [rsp + 0x40]
lea rdx, str.RTSnMg64.cpl
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x14002cee7
mov qword [rsp + 0x38], rdi
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Paneldont_load
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x20006
xor r9d, r9d
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], edi
call fcn.14002e590
mov r9d, 0x2001f
lea r8, str.Control_Paneldont_load
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x40]
call fcn.140024490
test eax, eax
jne 0x14002ceb1
mov rbx, qword [rsp + 0x40]
lea rdx, str.RTSnMg64.cpl
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x14002cee7
mov qword [rsp + 0x38], rdi
lea r8, str.Control_Paneldont_load
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x20006
xor r9d, r9d
mov rdx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
call fcn.14002e590
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14002cef5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x60
pop rdi
ret
Function at 0x14002e700
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x40], eax
xor esi, esi
mov dword [r9], esi
lea rax, [rsp + 0x40]
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002e775
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x14002e770
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x14002e788
test ecx, ecx
je 0x14002e785
test cl, 1
jne 0x14002e770
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x14002e788
mov eax, SafeArrayDestroy
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400329f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
cmp dword [0x1404659fc], 7
jne 0x140032b45
cmp dword [0x14046e80c], 0
mov edi, 1
jne 0x140032b38
lea rax, [rsp + 0x38]
mov dword [0x14046e80c], edi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftPlus_ThemesCurrent
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140032b38
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x34], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140032b2d
movups xmm0, xmmword [str.Windows_Classic.theme]
mov eax, dword [0x14039a468]
lea rcx, [rsp + 0x70]
movups xmm1, xmmword [0x14039a450]
mov qword [rsp + 0x2b0], rbx
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x68], eax
movsd xmm0, qword [0x14039a460]
movsd qword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jl 0x140032b25
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub ebx, eax
lea rcx, [rsp + 0x70]
movsxd rax, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [0x14046e808]
test eax, eax
cmove ecx, edi
mov dword [0x14046e808], ecx
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x14046e808], 0
jne 0x140032b45
mov eax, edi
jmp 0x140032b47
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1402ecc20
add rsp, 0x2a0
pop rdi
ret
Function at 0x14003da10
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
mov rbx, rcx
test rcx, rcx
je 0x14003da8d
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.1402ef020
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14003da98
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
add rsp, 0xe0
pop rbx
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0xe0
pop rbx
ret