joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b690
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14013be68]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14004b6d4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14004b733
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14004b742
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14004b77a
cmp eax, 0x103
je 0x14004b784
test eax, eax
js 0x14004b75f
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14004b77a
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x14013bec8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140044150
mov rcx, rax
call fcn.14003f210
mov ecx, 7
int 0x29
ud2

Function at 0x14004b7f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14013be68]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14004b834
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14004b89a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14004b8d1
test eax, eax
js 0x14004b8ab
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14004b8c4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x14013bec8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140044150
mov rcx, rax
call fcn.14003f210
mov ecx, 7
int 0x29
ud2
Function at 0x14005a140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14005a1ba
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14005a1b0
cmp r11, r10
ja 0x14005a253
cmp r10, rdx
ja 0x14005a267
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14005a1b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14005a190
jmp 0x14005a227
ja 0x14005a1ba
mov r11, r10
cmp rax, r8
jne 0x14005a162
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14005a22b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14005a200
mov r8, r10
sub ecx, r9d
jns 0x14005a21e
jmp 0x14005a22d
cmp r10, rdx
je 0x14005a239
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14005a22d
xor al, 1
cmp r8, rdx
jne 0x14005a1e0
jmp 0x14005a22d
xor eax, eax
jmp 0x14005a22d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14012c320
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14012c8f0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14012c870
ud2
Function at 0x1400ae3b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov ecx, 0x28
call fcn.1400786d0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400ae3f0
mov eax, 7
jmp 0x1400ae4c5
movzx eax, byte [0x1401519e4]
test eax, eax
je 0x1400ae409
mov ecx, 0xc8
call fcn.1400842c0
test eax, eax
je 0x1400ae41d
mov r8d, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
jmp 0x1400ae48a
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, [0x1400c1bf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x1400ae48a
mov r8d, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
jne 0x1400ae4b6
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400f18a0
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x140155758]
mov r8, qword [rsp + 0x48]
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rcx, qword [rsp + 0x40]
call fcn.1400a4e80
cmp dword [rsp + 0x50], 0
jne 0x1400f1906
mov r9, qword [rsp + 0x48]
lea r8, [0x140155810]
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, qword [rsp + 0x40]
call fcn.1400a4e80
add rsp, 0x38
ret
Function at 0x14012afd8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14012b022
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14012b022
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14012b022
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14012b022
cmp dword [rcx + 0x84], 0xe
jbe 0x14012b022
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14012b024
xor al, al
add rsp, 0x28
ret
Function at 0x140012fe8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp - 0x29], 0x1001001
lea rax, [rbp - 0x39]
mov dword [rbp - 0x25], 0x5b04b14
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetControlWMISecurity
lea rax, [rbp - 0x31]
mov dword [rbp - 0x21], 0x50
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], 1
mov dword [rbp - 0x1d], 0x5000000
mov dword [rbp - 0x19], 0xc05c
mov dword [rbp - 0x15], 0x1000000
mov dword [rbp - 0x11], 0x4014
mov dword [rbp - 0xd], 0x3000000
mov qword [rbp - 9], 0x4034
mov dword [rbp - 1], 0x2002002
mov dword [rbp + 3], 0x20
mov dword [rbp + 7], 0x1001
mov dword [rbp + 0xb], 0x1000000
mov dword [rbp + 0xf], 0x1004014
mov dword [rbp + 0x13], 0x8018
mov dword [rbp + 0x17], 0xd00d
mov dword [rbp + 0x1b], 0x2002
mov qword [rbp + 0x1f], 0x20021001
mov dword [rbp + 0x27], ebx
mov dword [rbp + 0x2b], 0x30130100
mov qword [rbp + 0x2f], 0x40040000
mov qword [rbp + 0x37], 0x200200
mov dword [rbp - 0x39], ebx
invalid
invalid
pop rbp
Function at 0x1400342c8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14004c350], eax
call fcn.140034d70
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x14004c350], 0
jne case.default.0x14003431e
mov ecx, 1
call fcn.140034d70
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
test dword [rbp + 0x2d], ebp
invalid
invalid
mov dh, 0x93
and cl, byte [rcx + rdi*2 - 0x20375db6]
pop rsp
in al, 0xb6
in al, dx
outsd dx, dword [rsi]
int 0x2d
push rcx
and cl, cl
leave
sub al, byte [rdi - 0x2833e994]
je 0x140083c9e
jbe 0x140083cd3
jl 0x140083c95
imul dword [rax - 0x11e207e9]
invalid
Function at 0x14000190b
Capabilities:
Terminate process

Disassembly:
jmp 0x140019e80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140001b0e
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001b210
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001b230
xor al, al
jmp 0x14001b2b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001b243
xor al, al
jmp 0x14001b2b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001b26d
xor al, al
jmp 0x14001b2b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001b281
xor al, al
jmp 0x14001b2b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001b293
xor al, al
jmp 0x14001b2b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001b2af
xor al, al
jmp 0x14001b2b1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001e56
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140009ce0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xa8], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140009d6f
mov rcx, qword [rsp + 0xe0]
call fcn.1400016b3
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xe0]
jmp 0x140009e27
lea rcx, [rsp + 0x48]
call fcn.1400016b3
nop
mov dword [rsp + 0x74], 1
jmp 0x140009d8e
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x74], eax
jge 0x140009de7
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x78]
call fcn.140001b40
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x48]
call fcn.1400015be
nop
lea rcx, [rsp + 0x78]
call fcn.140001307
jmp 0x140009d84
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
call fcn.140001f19
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x48]
call fcn.140001f4b
mov rax, qword [rsp + 0xe0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140024890]
call fcn.140001d11
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140001802
add rsp, 0xd0
pop rdi
ret

Function at 0x140001e9c
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000be70
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x40]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, str.AppsUseLightTheme
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x14000bf35
cmp dword [rsp + 0x44], 0
jne 0x14000befb
mov dword [rsp + 0x94], 1
jmp 0x14000bf06
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x84], eax
mov r9d, 4
lea r8, [rsp + 0x84]
mov edx, 0x14
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
mov rcx, rsp
lea rdx, [0x140024ff0]
call fcn.140001d11
add rsp, 0xa0
pop rdi
ret
Function at 0x140009ce0
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140009ce0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xa8], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140009d6f
mov rcx, qword [rsp + 0xe0]
call fcn.1400016b3
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xe0]
jmp 0x140009e27
lea rcx, [rsp + 0x48]
call fcn.1400016b3
nop
mov dword [rsp + 0x74], 1
jmp 0x140009d8e
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x74], eax
jge 0x140009de7
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x78]
call fcn.140001b40
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x48]
call fcn.1400015be
nop
lea rcx, [rsp + 0x78]
call fcn.140001307
jmp 0x140009d84
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
call fcn.140001f19
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x48]
call fcn.140001f4b
mov rax, qword [rsp + 0xe0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140024890]
call fcn.140001d11
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140001802
add rsp, 0xd0
pop rdi
ret

Function at 0x14000be70
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000be70
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x40]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, str.AppsUseLightTheme
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x14000bf35
cmp dword [rsp + 0x44], 0
jne 0x14000befb
mov dword [rsp + 0x94], 1
jmp 0x14000bf06
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x84], eax
mov r9d, 4
lea r8, [rsp + 0x84]
mov edx, 0x14
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
mov rcx, rsp
lea rdx, [0x140024ff0]
call fcn.140001d11
add rsp, 0xa0
pop rdi
ret
Function at 0x140005e40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140005e63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x140005e50
mov byte [rcx + 0x19], 0
mov rax, rcx
ret
Function at 0x1400089d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x1400089f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x1400089e0
mov byte [rcx + 0x10], 0
ret

Function at 0x140008a00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x37], 0
je 0x140008a23
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x36
jb 0x140008a10
mov byte [rcx + 0x37], 0
ret

Function at 0x140008a30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x140008a53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x140008a40
mov byte [rcx + 9], 0
ret

Function at 0x140008a60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3d], 0
je 0x140008a83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3c
jb 0x140008a70
mov byte [rcx + 0x3d], 0
ret

Function at 0x140008a90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x140008ab3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x140008aa0
mov byte [rcx + 8], 0
ret

Function at 0x140008ac0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2c], 0
je 0x140008ae3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2b
jb 0x140008ad0
mov byte [rcx + 0x2c], 0
ret

Function at 0x140008af0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa2], 0
je 0x140008b18
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa1
jb 0x140008b00
mov byte [rcx + 0xa2], 0
ret

Function at 0x140008b20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x46], 0
je 0x140008b43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x45
jb 0x140008b30
mov byte [rcx + 0x46], 0
ret

Function at 0x140008b50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4c], 0
je 0x140008b73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x4b
jb 0x140008b60
mov byte [rcx + 0x4c], 0
ret

Function at 0x140008b80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4d], 0
je 0x140008ba3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x4c
jb 0x140008b90
mov byte [rcx + 0x4d], 0
ret

Function at 0x140008bb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x31], 0
je 0x140008bd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x30
jb 0x140008bc0
mov byte [rcx + 0x31], 0
ret

Function at 0x140008be0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
je 0x140008c03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x24
jb 0x140008bf0
mov byte [rcx + 0x25], 0
ret
Function at 0x140008c10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x140008c33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1b
jb 0x140008c20
mov byte [rcx + 0x1c], 0
ret

Function at 0x140008c40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2e], 0
je 0x140008c63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2d
jb 0x140008c50
mov byte [rcx + 0x2e], 0
ret

Function at 0x140008c70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x28], 0
je 0x140008c93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x27
jb 0x140008c80
mov byte [rcx + 0x28], 0
ret

Function at 0x140008ca0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x22], 0
je 0x140008cc3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x21
jb 0x140008cb0
mov byte [rcx + 0x22], 0
ret

Function at 0x140008cd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2b], 0
je 0x140008cf3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2a
jb 0x140008ce0
mov byte [rcx + 0x2b], 0
ret

Function at 0x140008d00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
je 0x140008d23
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1e
jb 0x140008d10
mov byte [rcx + 0x1f], 0
ret

Function at 0x140008d30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6c], 0
je 0x140008d53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x6b
jb 0x140008d40
mov byte [rcx + 0x6c], 0
ret

Function at 0x140008d60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x34], 0
je 0x140008d83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x33
jb 0x140008d70
mov byte [rcx + 0x34], 0
ret

Function at 0x140008d90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x27], 0
je 0x140008db3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x26
jb 0x140008da0
mov byte [rcx + 0x27], 0
ret

Function at 0x140008dc0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x29], 0
je 0x140008de3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x28
jb 0x140008dd0
mov byte [rcx + 0x29], 0
ret

Function at 0x140008df0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x140008e13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x15
jb 0x140008e00
mov byte [rcx + 0x16], 0
ret

Function at 0x140008e20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140008e43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x140008e30
mov byte [rcx + 5], 0
ret