joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4cd010
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4ce0f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cda12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cdaaa
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cda8e
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 0x2fc4cda82
cmp qword [rbp - 0x10], 0
je 0x2fc4cda82
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 0x2fc4cda48
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cdaab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cdbb0
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 0x2fc4cdbd8
mov eax, 0
jmp 0x2fc4cdc26
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 0x2fc4cdc01
mov eax, 0
jmp 0x2fc4cdc26
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 0x2fc4cdc21
mov eax, 0
jmp 0x2fc4cdc26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cdc2c
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 0x2fc4cdcaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cdca1
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 0x2fc4cdca1
mov rax, qword [rbp - 8]
jmp 0x2fc4cdcbf
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 0x2fc4cdc74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001294
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x1400012ac
xor eax, eax
jmp 0x1400013b9
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x24]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400024c0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call fcn.140002200
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140001354
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jae 0x1400013b4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x38]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x40]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x50], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.140002200
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x38], rax
jmp 0x14000134a
mov rax, qword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x1400013c0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x60]
call fcn.140001294
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400013e7
xor al, al
jmp 0x1400014c0
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x28]
call fcn.140001668
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140001408
jmp 0x1400014a6
mov rcx, qword [rsp + 0x28]
call fcn.1400014c8
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140001424
jmp 0x1400014a6
mov rcx, qword [rsp + 0x28]
call fcn.140001868
mov rcx, qword [rsp + 0x28]
call sub.ntoskrnl.exe_RtlImageNtHeader
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
xor edx, edx
xor ecx, ecx
mov rax, qword [rsp + 0x48]
call qword [0x1400030c0]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14000148a
mov byte [rsp + 0x20], 0
jmp 0x1400014a6
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400024c0
xor eax, eax
test eax, eax
jne 0x1400013ec
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400014bc
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov al, byte [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x140001ee4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x98], 0x30
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0xb0], 0x40
lea rax, [rsp + 0x78]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x40
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x98]
mov edx, 0x80000000
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x140001ffb
mov eax, dword [rsp + 0x60]
jmp 0x1400020af
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
mov r8, qword [rax]
mov edx, 0x1f01ff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x140002050
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x60]
jmp 0x1400020af
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x4c], 1
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x49], 0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x28]
mov qword [rax], 0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x28]
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add rsp, 0xd0
pop rdi
ret
Function at 0x140001000
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001044
xor eax, eax
jmp 0x1400010d4
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400010c9
mov qword [rsp + 0x288], rbx
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov rdx, rbp
call fcn.1400030b8
test eax, eax
jne 0x1400010af
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400010af
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001070
mov rbx, qword [rsp + 0x288]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002ef0
lea r11, [rsp + 0x270]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140001290
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
mov rdi, rcx
call fcn.140001100
mov rbx, rax
test rax, rax
je 0x1400012fa
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov rcx, rbx
test eax, eax
jne 0x14000130d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
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 rbx, qword [rsp + 0xf0]
mov eax, 1
add rsp, 0xe0
pop rdi
ret
Function at 0x140001380
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x40
mov rbx, r8
lea rax, [rsp + 0x68]
mov rbp, rdx
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rsi, rcx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400013f4
add eax, 0xfffffffe
cmp eax, 1
ja 0x1400013d8
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
or dword [0x140012400], 0xfffffffe
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov ecx, dword [rsp + 0x68]
mov qword [rsp + 0x50], rdi
call fcn.140003180
mov rdi, rax
test rax, rax
je 0x14000144a
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140001458
add eax, 0xfffffffe
mov rcx, rdi
cmp eax, 1
ja 0x140001445
call fcn.140003140
xor eax, eax
jmp 0x14000149f
call fcn.140003140
or dword [0x140012400], 0xfffffffe
mov eax, 0xfffffffe
jmp 0x14000149f
mov eax, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140001489
or dword [0x140012400], 1
lea ebx, [rax + 1]
jmp 0x140001495
or dword [0x140012400], 0xfffffffe
mov ebx, 0xfffffffe
mov rcx, rdi
call fcn.140003140
mov eax, ebx
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
Function at 0x1400014c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea r9, str.SYSTEMCurrentControlSetControlGraphicsDrivers
lea r8, str._sConfiguration
lea rcx, [rsp + 0x50]
mov edx, 0x100
call fcn.140003238
cmp eax, 0x100
jl 0x140001508
mov eax, dword [0x140012400]
jmp 0x1400015fe
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r9d, 8
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001548
add eax, 0xfffffffe
cmp eax, 1
mov eax, dword [0x140012400]
jbe 0x140001607
jmp 0x1400015fe
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x260], rdi
xor edi, edi
mov ebx, edi
nop dword [rax]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov edx, ebx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x48], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400015cb
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x1400015be
add eax, 0xfffffffe
cmp eax, 1
jbe 0x1400015c7
or dword [0x140012400], 0xfffffffe
inc ebx
jmp 0x140001560
or dword [0x140012400], 1
dec ebx
inc ebx
jmp 0x140001560
mov rdi, qword [rsp + 0x260]
mov rbx, qword [rsp + 0x270]
cmp eax, 0x103
je 0x1400015e9
or dword [0x140012400], 0xfffffffe
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [0x140012400]
je 0x140001607
or eax, 0xfffffffe
mov dword [0x140012400], eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x268
ret
Function at 0x140001620
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea r9, str.SYSTEMCurrentControlSetControlGraphicsDrivers
lea r8, str._sConnectivity
lea rcx, [rsp + 0x50]
mov edx, 0x100
call fcn.140003238
cmp eax, 0x100
jl 0x140001668
mov eax, dword [0x140012400]
jmp 0x14000175e
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r9d, 8
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400016a8
add eax, 0xfffffffe
cmp eax, 1
mov eax, dword [0x140012400]
jbe 0x140001767
jmp 0x14000175e
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x260], rdi
xor edi, edi
mov ebx, edi
nop dword [rax]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov edx, ebx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x48], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000172b
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x14000171e
add eax, 0xfffffffe
cmp eax, 1
jbe 0x140001727
or dword [0x140012400], 0xfffffffe
inc ebx
jmp 0x1400016c0
or dword [0x140012400], 1
dec ebx
inc ebx
jmp 0x1400016c0
mov rdi, qword [rsp + 0x260]
mov rbx, qword [rsp + 0x270]
cmp eax, 0x103
je 0x140001749
or dword [0x140012400], 0xfffffffe
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [0x140012400]
je 0x140001767
or eax, 0xfffffffe
mov dword [0x140012400], eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x268
ret
Function at 0x140001780
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x28], r8
mov ebx, ecx
mov qword [rsp + 0x20], rdx
lea r8, str._s_s_sDevice_Parameters
lea rcx, [rsp + 0x40]
lea r9, str.SYSTEMCurrentControlSetEnumDISPLAY
mov edx, 0x100
call fcn.140003238
cmp eax, 0x100
jl 0x1400017d6
mov eax, dword [0x140012400]
jmp 0x1400018cb
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001816
add eax, 0xfffffffe
cmp eax, 1
mov eax, dword [0x140012400]
jbe 0x1400018d4
jmp 0x1400018cb
mov rcx, qword [rsp + 0x30]
test ebx, ebx
je 0x140001858
lea rdx, str.EDID_RECOVERY
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x140001841
add eax, 0xfffffffe
cmp eax, 1
jbe 0x140001848
or dword [0x140012400], 0xfffffffe
jmp 0x1400018b6
or dword [0x140012400], 1
lea r8, str.EDID_RECOVERY
lea rdx, str.EDID_OVERRIDE
jmp 0x14000188f
lea rdx, str.EDID_OVERRIDE
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x14000187a
add eax, 0xfffffffe
cmp eax, 1
jbe 0x140001881
or dword [0x140012400], 0xfffffffe
jmp 0x1400018b6
or dword [0x140012400], 1
lea r8, str.EDID_OVERRIDE
lea rdx, str.EDID_RECOVERY
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegRenameKey]
test eax, eax
je 0x1400018af
add eax, 0xfffffffe
cmp eax, 1
jbe 0x1400018b6
or dword [0x140012400], 0xfffffffe
jmp 0x1400018b6
or dword [0x140012400], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [0x140012400]
je 0x1400018d4
or eax, 0xfffffffe
mov dword [0x140012400], eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x250
pop rbx
ret
Function at 0x1400018f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov esi, ecx
mov rdi, rdx
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x50]
lea r9, str.SYSTEMCurrentControlSetEnumDISPLAY
lea r8, str._s_s
mov edx, 0x100
call fcn.140003238
cmp eax, 0x100
jl 0x140001948
mov eax, dword [0x140012400]
jmp 0x140001a1d
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov r9d, 8
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001988
add eax, 0xfffffffe
cmp eax, 1
mov eax, dword [0x140012400]
jbe 0x140001a26
jmp 0x140001a1d
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x280], rbp
xor ebp, ebp
mov ebx, ebp
nop dword [rax]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov edx, ebx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400019ea
lea r8, [rsp + 0x50]
mov rdx, rdi
mov ecx, esi
call fcn.140001780
inc ebx
jmp 0x1400019a0
mov rbp, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x270]
cmp eax, 0x103
je 0x140001a08
or dword [0x140012400], 0xfffffffe
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [0x140012400]
je 0x140001a26
or eax, 0xfffffffe
mov dword [0x140012400], eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002ef0
mov rsi, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret

Function at 0x140001a50
Capabilities:
Query or enumerate registry key

Disassembly:
push rdi
sub rsp, 0x260
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x48]
mov edi, ecx
lea rdx, str.SYSTEMCurrentControlSetEnumDISPLAY
mov r9d, 8
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001aaf
add eax, 0xfffffffe
cmp eax, 1
mov eax, dword [0x140012400]
jbe 0x140001b53
jmp 0x140001b4a
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x278], rsi
xor esi, esi
mov ebx, esi
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov edx, ebx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140001b17
lea rdx, [rsp + 0x50]
mov ecx, edi
call fcn.1400018f0
inc ebx
jmp 0x140001ad0
mov rsi, qword [rsp + 0x278]
mov rbx, qword [rsp + 0x270]
cmp eax, 0x103
je 0x140001b35
or dword [0x140012400], 0xfffffffe
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [0x140012400]
je 0x140001b53
or eax, 0xfffffffe
mov dword [0x140012400], eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x260
pop rdi
ret
Function at 0x1400020a0
Capabilities:
Query or enumerate registry key

Disassembly:
push rdi
sub rsp, 0x260
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x48]
mov edi, ecx
lea rdx, str.SYSTEMCurrentControlSetControlClass4d36e968_e325_11ce_bfc1_08002be10318
mov r9d, 8
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400020ff
add eax, 0xfffffffe
cmp eax, 1
mov eax, dword [0x140012400]
jbe 0x1400021a3
jmp 0x14000219a
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x278], rsi
xor esi, esi
mov ebx, esi
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov edx, ebx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140002167
lea rdx, [rsp + 0x50]
mov ecx, edi
call fcn.140001b70
inc ebx
jmp 0x140002120
mov rsi, qword [rsp + 0x278]
mov rbx, qword [rsp + 0x270]
cmp eax, 0x103
je 0x140002185
or dword [0x140012400], 0xfffffffe
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [0x140012400]
je 0x1400021a3
or eax, 0xfffffffe
mov dword [0x140012400], eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x260
pop rdi
ret

Function at 0x140002270
Capabilities:
Find taskbar

Disassembly:
sub rsp, 0x28
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14000228f
xor eax, eax
add rsp, 0x28
ret
lea r8, str.TrayNotifyWnd
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x140002288
lea r8, str.SysPager
xor r9d, r9d
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
jne 0x1400022d5
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea r9, str.Notification_Area
lea r8, str.ToolbarWindow32
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1400022fb
mov rcx, rax
call fcn.1400021c0
lea r9, str.User_Promoted_Notification_Area
lea r8, str.ToolbarWindow32
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x140002321
mov rcx, rax
call fcn.1400021c0
lea rcx, str.NotifyIconOverflowWindow
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14000235b
lea r9, str.Overflow_Notification_Area
lea r8, str.ToolbarWindow32
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x14000235b
mov rcx, rax
call fcn.1400021c0
mov eax, 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret