joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008eb50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x40], rax
or rbp, 0xffffffffffffffff
mov qword [rcx + 0x20], rdx
mov rbx, rcx
test rdx, rdx
je 0x14008ec46
xor ebp, ebp
lea rdx, str.DisablePreviewDesktop
xor r8d, r8d
lea rcx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
lea edi, [rbp + 1]
mov r9d, edi
call qword [sym.imp.api_ms_win_core_registryuserspecific_l1_1_0.dll_SHRegGetBoolUSValueW]
nop dword [rax + rax]
mov r8d, 0x1f4
lea rdx, str.DesktopLivePreviewHoverTime
test eax, eax
lea rcx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
sete al
mov byte [rbx + 0x73], al
call fcn.1400555d8
mov rcx, qword [rbx + 0x20]
mov rdx, rbx
mov dword [rbx + 0x58], eax
call qword [case.0x1401b2adb.1]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
lea r9, [rsp + 0x30]
and dword [rsp + 0x30], ebp
mov r8d, edi
and dword [rsp + 0x34], ebp
xor edx, edx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x20], SafeArrayDestroy
call qword [sym.imp.USER32.dll_SetGestureConfig]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14008ec74
mov rsi, qword [rbx + 0x98]
lea rcx, [rbx + 0x90]
mov rdx, qword [rsi]
mov rdi, qword [rdx + 0x78]
call fcn.140081b44
lea rdx, [rbx + 0x90]
mov rcx, rsi
mov rax, rdi
call qword [case.0x14006b68f.0]
mov rax, rbp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140090324
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rdi
mov qword [r11 + 0x10], rdx
push r14
sub rsp, 0x40
and dword [rsp + 0x58], 0
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
lea rbp, [0x140312128]
and qword [r11 - 0x20], 0
lea r14, str.SoftwareMicrosoftWindowsCurrentVersionContentDeliveryManager
and qword [r11 - 0x28], 0
mov rdi, r8
mov byte [r8], 0
mov r9d, 0xffff
mov r8, rbp
mov rdx, r14
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jg 0x14018e4d4
mov ecx, 0x80000000
lea eax, [rbx + rcx]
test ecx, eax
je 0x1400903bf
shr ebx, 0x1f
xor bl, 1
mov byte [rdi], bl
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
cmp ebx, 0x80070002
je 0x14009039e
jmp 0x14018e4e2
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140090392
mov rcx, qword [rsp + 0x48]
lea rax, str.RegKey:__ws__ws
mov qword [rsp + 0x30], rbp
lea r8, str.onecoreuapinternal_shellincContentDeliveryManagerSettings.h
mov qword [rsp + 0x28], r14
mov r9d, ebx
mov edx, Ordinal_254
mov qword [rsp + 0x20], rax
call fcn.1401c78e8
mov eax, ebx
jmp 0x1400903a8
Function at 0x140091dd4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x118]
xor ebx, ebx
inc rax
mov rdi, rcx
test rax, 0xfffffffffffffffe
jne 0x140091e7c
and qword [rsp + 0x28], rbx
lea r8, [0x140012670]
and dword [rsp + 0x20], ebx
mov r9, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov qword [rdi + 0x118], rax
test rax, rax
je 0x140091e8a
test ebx, ebx
js 0x140091e7c
xor r8d, r8d
lea rcx, [0x140271080]
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolWait]
nop dword [rax + rax]
mov qword [rdi + 0x110], rax
test rax, rax
je 0x14018e9d2
xor ebx, ebx
mov rdx, qword [rdi + 0x118]
xor r8d, r8d
mov rcx, qword [rdi + 0x110]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_SetThreadpoolWait]
nop dword [rax + rax]
and qword [rdi + 0x110], 0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call fcn.140020b4c
mov ebx, eax
jmp 0x140091e28
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x140091e7c
jmp 0x140091e57
Function at 0x140092aa8
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rdx, [rbp + 0x10]
mov byte [rbp + 0x10], 0
mov ecx, Ordinal_54
call fcn.140047eb4
cmp byte [rbp + 0x10], 0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
jne 0x14018eb72
and qword [rbp + 0x10], 0
lea rax, [rbp + 0x10]
and qword [rbp - 0x18], 0
mov r9d, 0xf003f
mov qword [rbp - 0x20], rax
xor r8d, r8d
lea rax, [rbp - 0x18]
mov byte [rbp - 0x10], 1
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
sete bl
cmp byte [rbp - 0x10], 0
je 0x140092b2b
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
call fcn.14006e14c
test bl, bl
je 0x140092b4e
mov rcx, qword [rbp + 0x10]
lea rdx, str.SearchboxTaskbarModeForceGlyph
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x14018ec12
mov rcx, qword [rbp + 0x10]
test rcx, rcx
jne 0x140092b66
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140092b57
mov rbx, 0xffffffff80000001
lea r9, [rbp + 0x10]
mov rcx, rbx
lea r8, str.SearchboxTaskbarMode
call fcn.14002c200
cmp eax, 0x80070002
jne 0x140092b57
lea r9, [rbp + 0x10]
mov rcx, rbx
lea r8, str.SearchboxTaskbarModeForceGlyph
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
call fcn.14002c200
cmp eax, 0x80070002
jne 0x140092b57
mov r9d, 4
mov dword [rbp + 0x18], 1
lea rax, [rbp + 0x18]
mov dword [rsp + 0x28], r9d
lea r8, str.SearchboxTaskbarModeForceGlyph
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
mov rcx, rbx
call fcn.14019c1d4
xor r8d, r8d
lea r9, str.TraySettings
mov ecx, 0xffff
lea edx, [r8 + 0x1a]
call qword [0x1403ad6b0]
nop dword [rax + rax]
nop
jmp 0x140092b57
xor r8d, r8d
lea r9, str.TraySettings
mov ecx, 0xffff
lea edx, [r8 + 0x1a]
call qword [0x1403ad6b0]
nop dword [rax + rax]
nop
jmp 0x140092b4e
Function at 0x140092d18
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp qword [0x140386590], 0
lea rax, [0x1401fd320]
mov qword [0x14038b660], rax
jne 0x140092d8f
xor edi, edi
cmp byte [0x140389e01], dil
je 0x140092db8
cmp byte [0x140389e00], 0
lea rdx, [0x140386590]
jne 0x14018ed55
mov rax, qword [0x140386170]
lea rcx, [0x1403123f8]
mov r9, rdx
mov r8, rdx
lea rdx, [0x1400811a0]
call qword [case.0x14006b68f.0]
lea rax, [0x14038b660]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], VarUI4FromDisp
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
jne 0x14018ec6a
jmp 0x14018ec90
cmp dword [rsp + 0x54], 6
setb cl
mov byte [0x140389e00], cl
ja 0x14018ec83
jne 0x14018ec88
cmp dword [rsp + 0x58], 1
jbe 0x14018ec88
mov edi, 1
test cl, cl
jne 0x14018ed49
lea rcx, str.advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14018ecce
test edi, edi
je 0x14018ed42
lea rcx, [0x140319c80]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14018ed42
lea rdx, [0x140319ce0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140389df8], rax
test rax, rax
je 0x14018ed42
lea rdx, [0x140319cf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140386170], rax
test rax, rax
je 0x14018ed34
lea rdx, [0x140319cd0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140389df0], rax
test rax, rax
jne 0x14018ed49
lea rax, [0x1400ed170]
mov qword [0x140386170], rax
mov byte [0x140389e00], 1
mov byte [0x140389e01], 1
jmp 0x140092d5a
and qword [rsp + 0x48], 0
lea rax, [0x1403123f8]
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x40]
and qword [rsp + 0x30], 0
mov r9d, 1
and qword [rsp + 0x28], 0
mov r8, rax
mov qword [rsp + 0x20], rcx
lea rcx, [0x1401fd330]
mov qword [0x140386590], rdx
mov qword [rsp + 0x40], rax
call qword [sym.imp.api_ms_win_eventing_classicprovider_l1_1_0.dll_RegisterTraceGuidsW]
nop dword [rax + rax]
nop
jmp 0x140092d8f
Function at 0x140094080
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
and qword [rsp + 0x30], 0
lea r8, str.Languages
and qword [rsp + 0x28], 0
lea rdx, str.Control_PanelInternationalUser_Profile
and qword [rsp + 0x20], 0
mov r9d, 0x20
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14018f4bc
call fcn.1400940d8
add rsp, 0x48
ret
call qword [0x1403ad198]
nop dword [rax + rax]
nop
jmp 0x1400940c5
Function at 0x140095e6c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rdi
push r14
mov rbp, rsp
sub rsp, 0x38
lea rax, [rbp + 0x30]
mov r14, 0xffffffff80000001
mov qword [rsp + 0x28], rax
lea r8, str.ServerAdminUI
lea rax, [rbp + 0x28]
mov ebx, 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov dword [rbp + 0x30], ebx
mov rcx, r14
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
add eax, 0xfffffffe
lea edi, [rbx - 3]
cmp eax, edi
jbe 0x14018fc28
add rsp, 0x38
pop r14
pop rdi
pop rbx
pop rbp
ret
mov ecx, 0x1d
call qword [sym.imp.api_ms_win_shcore_sysinfo_l1_1_0.dll_IsOS]
nop dword [rax + rax]
test eax, eax
je 0x14018fd30
mov edx, reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_544
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHTestTokenMembership]
nop dword [rax + rax]
test eax, eax
jne 0x14018fcbf
mov edx, 0x225
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHTestTokenMembership]
nop dword [rax + rax]
test eax, eax
jne 0x14018fcbf
mov edx, 0x227
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHTestTokenMembership]
nop dword [rax + rax]
test eax, eax
jne 0x14018fcbf
mov edx, 0x22c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHTestTokenMembership]
nop dword [rax + rax]
test eax, eax
jne 0x14018fcbf
and dword [rbp + 0x28], eax
lea rdx, [rbp + 0x38]
call fcn.14006154c
test eax, eax
jne 0x14018fcc2
mov eax, dword [rbp + 0x28]
test dword [rbp + 0x38], 0xffffffee
cmove eax, edi
mov dword [rbp + 0x28], eax
jmp 0x14018fcc2
mov dword [rbp + 0x28], edi
lea rax, [rbp + 0x30]
mov dword [rbp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r8, str.StartMenuAdminTools
lea rax, [rbp + 0x40]
xor r9d, r9d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
add eax, 0xfffffffe
cmp eax, edi
ja 0x14018fd34
lea rax, [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.StartMenuAdminTools
mov dword [rbp + 0x38], edi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov rcx, r14
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
nop dword [rax + rax]
jmp 0x14018fd34
and dword [rbp + 0x28], 0
lea rax, [rbp + 0x28]
mov dword [rsp + 0x28], ebx
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.ServerAdminUI
mov rcx, r14
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
nop dword [rax + rax]
nop
jmp 0x140095ec8
Function at 0x140095f58
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x140389e90]
test rbx, rbx
je 0x140095f7d
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor edx, edx
lea rcx, [0x14030d800]
mov r8d, 0x800
mov ebx, 0x7ffe0030
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140095fd8
lea rdx, str.RtlGetNtSystemRoot
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140095fc9
call qword [case.0x14006b68f.0]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
mov qword [0x140389e90], rbx
jmp 0x140095f6e

Function at 0x1400968b4
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
mov r11, rsp
sub rsp, 0x58
and qword [r11 - 0x18], 0
lea rax, [r11 + 0x10]
mov rcx, qword [0x14038ab38]
lea rdx, str.Shutdown
mov qword [r11 - 0x20], rax
xor r9d, r9d
and qword [r11 - 0x28], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jg 0x14018feea
js 0x140096949
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 4
lea rdx, str.CleanShutdown
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x58
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x140096906

Function at 0x1400969b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x40
mov rsi, qword [rsp + 0x70]
lea rax, [r11 + 0x30]
mov qword [r11 - 0x18], rax
mov bpl, r9b
lea rax, [r11 + 0x28]
mov dword [rsp + 0x78], 4
mov qword [r11 - 0x20], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
and qword [r11 - 0x28], 0
mov rdi, r8
and dword [rsi], 0
mov r14, rdx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jg 0x14018ff0e
test ebx, ebx
js 0x14018ff1c
mov eax, dword [rsp + 0x70]
mov dword [rsi], eax
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140096a1b
test bpl, bpl
je 0x14018ff2d
cmp ebx, 0x80070002
je 0x140096a29
mov rcx, qword [rsp + 0x48]
lea rax, [0x14030c980]
test rdi, rdi
lea r8, str.onecoreuap_shellcontentdeliverymanagerutilsincContentDeliveryManagerSettings.h
mov r9d, ebx
mov edx, 0x4f
cmove rdi, rax
lea rax, str.RegKey:__ws__ws
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1401c78e8
mov eax, ebx
jmp 0x140096a2b
Function at 0x140096b1c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rdi
sub rsp, 0x38
xor ebx, ebx
lea rax, [r11 + 0x20]
xor r8d, r8d
mov qword [r11 + 0x20], rbx
lea rdx, str.SystemSetup
mov qword [r11 - 0x28], rax
mov rcx, 0xffffffff80000002
lea edi, [rbx + 1]
mov r9d, edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140096bb7
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Upgrade
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x50], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140096bc1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
cmp dword [rsp + 0x50], 4
cmove ebx, edi
jmp 0x140096ba6

Function at 0x140096d70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rcx, rax
mov edx, SHFindFiles
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
lea rax, [rsp + 0x48]
mov ebx, 4
mov qword [rsp + 0x28], rax
lea r8, str.AppliedDPI
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelDesktopWindowMetrics
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140190234
mov ecx, dword [rsp + 0x40]
cmp edi, ecx
jne 0x140190282
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x28], rax
lea r8, str.OriginalDPI
lea rax, [rsp + 0x40]
xor r9d, r9d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Panel
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x40], ecx
jmp 0x140096dff
lea rcx, str.desk.cpl
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140096e07
lea rdx, str.UpdateUIfontsDueToDPIchange
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x1401902c8
mov ecx, dword [rsp + 0x40]
mov edx, edi
call qword [case.0x14006b68f.0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
nop
jmp 0x140096e07
Function at 0x140097bd4
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14038b2e0]
mov ebx, 0x80004005
test rax, rax
jne 0x140097c1b
lea r8, [0x1403129e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
nop dword [rax + rax]
mov rcx, rax
test rax, rax
je 0x140097c1b
xor eax, eax
lock cmpxchg qword [0x14038b2e0], rcx
jne 0x1401903e6
mov rax, qword [0x14038b2e0]
test rax, rax
je 0x140097c47
mov rcx, qword [0x14038b2e0]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
btr eax, 7
neg eax
sbb ecx, ecx
and ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
jmp 0x140097c1b

Function at 0x140098e8c
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov dword [rsp + 0x48], 2
mov qword [r11 - 0x10], rax
lea r8, str.SchemeLangID
lea rax, [r11 + 8]
xor r9d, r9d
lea rdx, str.Control_PanelAppearance
mov qword [r11 - 0x18], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140191134
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
cmp word [rsp + 0x40], ax
jne 0x140191134
add rsp, 0x30
pop rbx
ret
lea rcx, str.desk.cpl
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140098eef
lea rdx, str.UpdateCharsetChanges
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140191174
call qword [case.0x14006b68f.0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
nop
jmp 0x140098eef
Function at 0x140099360
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
lea rax, [rsp + 0xe0]
mov dword [rsp + 0x28], 0x104
mov r9d, 2
mov qword [rsp + 0x20], rax
lea r8, str.Taskman
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
call fcn.14008e8b8
xor ebx, ebx
test eax, eax
jns 0x1401913f0
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x300
pop rbx
ret
cmp word [rsp + 0xe0], bx
je 0x1400993ba
xor edx, edx
mov dword [rsp + 0x70], Ordinal_109
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, 1
lea rdx, [rsp + 0xe0]
mov word [rsp + 0xb0], ax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
je 0x1400993ba
mov rcx, qword [rsp + 0x50]
call fcn.1402a71fc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
jmp 0x1400993ba
Function at 0x14009aeb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdi, rdx
mov dword [rbp + 0x20], 4
lea rax, [rbp + 0x20]
mov rbx, rcx
mov qword [r11 - 0x18], rax
lea r8, str.Delay_Sec
lea rax, [rbp + 0x28]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [r11 - 0x20], rax
xor edx, edx
and qword [r11 - 0x28], 0
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14009af18
mov eax, dword [rbp + 0x28]
cmp eax, 0x418937
jae 0x14009af18
mov dword [rbx + 0x38], eax
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], 4
mov qword [rsp + 0x30], rax
lea r8, str.BoxedPriorityClass
lea rax, [rbp + 0x28]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14009af6a
mov eax, dword [rbp + 0x28]
cmp eax, 0x4000
jne 0x14019288c
mov dword [rbx + 0x4c], eax
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], 4
mov qword [rsp + 0x30], rax
lea r8, str.BoxedIoPriority
lea rax, [rbp + 0x28]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14009afb6
mov eax, dword [rbp + 0x28]
cmp eax, 2
ja 0x14009afb6
mov dword [rbx + 0x50], eax
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], 4
mov qword [rsp + 0x30], rax
lea r8, str.BoxedPagePriority
lea rax, [rbp + 0x28]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14009b002
mov eax, dword [rbp + 0x28]
cmp eax, 5
ja 0x14009b002
mov dword [rbx + 0x54], eax
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
cmp eax, 0x20
je 0x14009af67
cmp eax, 0x40
jne 0x14009af6a
jmp 0x14009af67