joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ba578
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edi, edi
mov rbx, rcx
mov word [rsp + 0x30], di
test r8, r8
je 0x1401ba61d
lea rdx, [rsp + 0x30]
mov rcx, r8
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
nop dword [rax + rax]
test eax, eax
je 0x1401ba61d
cmp word [rsp + 0x30], di
je 0x1401ba608
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathGetDriveNumberW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x1401ba608
mov ecx, eax
call qword [sym.imp.SHCORE.dll_Ordinal_174]
nop dword [rax + rax]
cmp eax, 2
je 0x1401ba5f3
cmp eax, 5
jne 0x1401ba608
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x1401ba61d
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1401ba638
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, rbx
lea r8d, [r9 + 0x10]
call qword [0x1403ad848]
nop dword [rax + rax]
mov rcx, qword [0x140389668]
lea r8, [rsp + 0x240]
mov r9d, 0x100
mov edx, 0x2d2
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
nop dword [rax + rax]
lea r9, [rsp + 0x240]
mov dword [rsp + 0x28], 0x104
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_Ordinal_61]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret

Function at 0x1401c1c5c
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x100
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x1401c1d1d
xor edx, edx
lea rcx, [r11 - 0x68]
lea r8d, [rdx + 0x4e]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.14003bfe8
mov rcx, rax
lea rdx, [rsp + 0xa0]
mov r8d, PathIsExe
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
test eax, eax
jle 0x1401c1d1d
mov ebx, Ordinal_113
lea rcx, [rsp + 0x20]
mov r8d, ebx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
and qword [rsp + 0x28], 0
lea rax, [0x140316430]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, str.ms_settings:notifications
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], 0x100
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x100
pop rbx
ret
Function at 0x1401c213c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rcx + 0x28]
mov edi, r8d
mov rbx, rcx
test rax, rax
je 0x1401c21a9
lea r9, [rax + 0x230]
test rdx, rdx
jne 0x1401c2191
mov eax, dword [rax + 0x530]
mov ecx, eax
and ecx, 0xf
test al, 0x20
lea r8d, [rcx + 3]
cmove r8d, ecx
mov rcx, qword [rbx + 0x10]
jmp 0x1401c2198
mov rcx, qword [rcx + 0x10]
mov r8, rdx
mov edx, 0x421
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x1401c21e3
test byte [rax + 0x530], 0x10
jne 0x1401c21e3
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, edi
cmp eax, 0x1388
jb 0x1401c21e3
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov edi, eax
call fcn.1402aa07c
mov rcx, rbx
call fcn.1401c1d40
mov rcx, qword [rbx + 0x58]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x118]
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [case.0x14006b68f.0]
xor edx, edx
mov dword [rsp + 0x30], 0x48
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x44]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x1401c225c
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x30]
add rax, 0x330
mov qword [rsp + 0x38], rcx
xor r8d, r8d
mov qword [rsp + 0x40], rcx
mov edx, 0x439
mov qword [rsp + 0x60], rax
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov rax, qword [rbx + 0x28]
mov dword [rbx + 0x48], 1
test rax, rax
je 0x1401c235b
xor r9d, r9d
lea r8, [rsp + 0x20]
xor edx, edx
mov ecx, 0x2016
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_SystemParametersInfoW]
nop dword [rax + rax]
test eax, eax
je 0x1401c22ab
imul r8d, dword [rsp + 0x20], 0x3e8
mov dword [rsp + 0x20], r8d
cmp r8d, 0x2328
jb 0x1401c22ab
add r8d, 0xffffe890
jmp 0x1401c22b1
mov r8d, 0xbb8
add r8d, 0x3e8
mov edx, SafeArrayDestroy
mov rcx, rbx
call fcn.1401c20dc
test al, al
je 0x1401c235b
mov byte [rbx + 0x51], 0
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov edx, 0x403
mov r8d, 4
mov dword [rbx + 0x4c], eax
lea r9d, [rdx - 0x1b]
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov edx, 0x403
mov r9d, 0x1388
mov r8d, 5
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x411
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x411
mov r8d, 1
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x1401c2f68
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rax, [0x1402fd248]
mov qword [rcx], rax
lea rax, [0x1402fd2a0]
mov qword [rcx + 8], rax
lea rax, [0x1402fd280]
mov qword [rcx + 0x10], rax
lea rax, [0x1402fd228]
mov qword [rcx + 0x18], rax
add rcx, 0x574
xor edi, edi
cmp word [rcx], di
je 0x1401c2fd6
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
nop
test eax, eax
jne 0x1401c2fd6
mov rcx, qword [rsp + 0x28]
lea r8, str.pcshell_shellexplorer_trayinfotiptoastmanager.cpp
mov edx, 0x91
call fcn.14019dc84
nop
mov rcx, rbx
call fcn.1401c660c
nop
lea rcx, [rbx + 0x7a8]
call fcn.140081b44
nop
lea rcx, [rbx + 0x7a0]
call fcn.14000a6a4
nop
lea rcx, [rbx + 0x798]
call fcn.14000a6a4
nop
lea rcx, [rbx + 0x790]
call fcn.14000a6a4
nop
mov dword [rbx + 0x24], 0xc0000001
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401c5ec8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, rdx
xor esi, esi
mov word [rdx], si
mov ecx, 0x104
lea rdx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetTempPathW]
nop dword [rax + rax]
test eax, eax
jne 0x1401c5f3f
call fcn.140020b4c
mov ebx, eax
test eax, eax
jns 0x1401c5f3f
mov edx, 0x2be
mov rcx, qword [rsp + 0x2b8]
lea r8, str.pcshell_shellexplorer_trayinfotiptoastmanager.cpp
mov r9d, ebx
call fcn.14001e09c
mov eax, ebx
jmp 0x1401c5fcd
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateGuid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x1401c5f5d
mov edx, 0x2c1
jmp 0x1401c5f21
mov r8d, PathIsExe
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
test eax, eax
jg 0x1401c5f89
mov ebx, 0x80004005
mov edx, Ordinal_711
jmp 0x1401c5f21
lea rax, str..png
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x90]
lea rax, [rsp + 0x40]
mov rcx, rdi
lea r8, [0x140337fb0]
mov qword [rsp + 0x20], rax
call fcn.14002d868
mov ebx, eax
test eax, eax
jns 0x1401c5fcb
mov edx, Ordinal_711
jmp 0x1401c5f21
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1401c70ec
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2c0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor ebp, ebp
mov r14, rdx
mov qword [rdx], rbp
mov rsi, rcx
mov bl, bpl
test rcx, rcx
je 0x1401c71cd
lea ebx, [rbp + 0x68]
xor edx, edx
mov r8d, ebx
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
mov dword [rsp + 0x30], ebx
mov r8d, 0x202
lea rcx, [rsp + 0xa0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x50], 0x101
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x48], rax
mov rax, rdi
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401c7171
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, eax
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x1401c71a5
call fcn.140020b4c
test eax, eax
jns 0x1401c71a5
mov bl, bpl
jmp 0x1401c71cd
mov bl, 1
lea rax, [rsp + 0xa0]
inc rdi
cmp word [rax + rdi*2], bp
jne 0x1401c71af
mov r9, rdi
mov qword [rsp + 0x28], r14
lea r8, [rsp + 0xa0]
call fcn.140031f80
mov al, bl
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1401c7f20
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
xor eax, eax
cmp dword [rcx + 0x10], edx
je 0x1401c7fb0
test edx, edx
mov dword [rcx + 0x10], edx
mov r9d, 0x20006
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
setne al
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x48], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
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
jne 0x1401c7fab
mov rcx, qword [rsp + 0x40]
lea r9d, [rax + 4]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.EnableAutoTray
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1401e2ef4
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x98
xor edx, edx
mov dword [rsp + 0x20], Ordinal_113
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, str._SystemRoot__system32msdt.exe
mov dword [rsp + 0x24], 0x200
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
lea rax, str._id_KeyboardDiagnostic__skip_true__ep_IMEContextMenu
mov dword [rsp + 0x50], 5
mov qword [rsp + 0x40], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
test eax, eax
jne 0x1401e2f6b
mov rcx, qword [rsp + 0x98]
lea r8, str.pcshell_shellexplorer_trayindicator.cpp
mov edx, 0xc23
call fcn.140195678
jmp 0x1401e2f6d
xor eax, eax
add rsp, 0x98
ret

Function at 0x1401e61f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x40
and dword [rsp + 0x60], 0
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
lea r8, str.CortanaCurrentAnimationSet
lea rax, [r11 + 0x18]
mov dword [r9], 1
mov rdi, r9
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSearch
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x58], 4
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
jne 0x1401e627a
mov ecx, dword [rsp + 0x60]
call fcn.14009b240
mov dword [rdi], eax
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp eax, 0x490
je 0x1401e626c
cmp eax, 2
je 0x1401e626c
test eax, eax
jle 0x1401e6293
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1401e62b0
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreuapinternal_shellincCortanaRegistrySettings.h
mov r9d, ebx
mov edx, Ordinal_126
call fcn.14001e09c
mov eax, ebx
jmp 0x1401e626e

Function at 0x1401ea470
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rcx], 1
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetUserDefaultLangID]
nop dword [rax + rax]
movzx edx, ax
mov ecx, 0x3ff
and dx, cx
cmp dx, 4
jne 0x1401ea4e4
mov ecx, 0xfc00
and ax, cx
mov ecx, 0x800
cmp ax, cx
jne 0x1401ea4e4
lea r9, [rsp + 0x40]
call fcn.1401e61f4
test eax, eax
jns 0x1401ea4d7
mov rcx, qword [rsp + 0x38]
lea r8, str.onecoreuapinternal_shellincCortanaRegistrySettings.h
mov r9d, eax
mov edx, 0xeb
call fcn.14001e09c
jmp 0x1401ea4e4
cmp dword [rsp + 0x40], 2
jne 0x1401ea4e4
mov dword [rbx], 2
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1401ee738
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
mov dword [rsp + 0x30], SafeArrayUnaccessData
mov rcx, qword [rcx + 0x2a8]
mov rbp, rdx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
mov rcx, rax
lea rdx, [rsp + 0x34]
call qword [0x1403ad600]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x2a8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
mov r9d, 2
lea r8, [rsp + 0x34]
mov rcx, rax
xor edx, edx
call qword [0x1403ad6a0]
nop dword [rax + rax]
mov eax, dword [0x1403887c0]
cmp eax, 0xffffffff
jne 0x1401ee7fb
xor ebx, ebx
mov edi, ebx
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x140389678], ax
test ax, ax
je 0x1401ee7ea
movzx ecx, ax
call fcn.14006b5d0
mov edi, eax
test edi, edi
setne bl
xchg dword [0x1403887c0], ebx
mov eax, dword [0x1403887c0]
cmp eax, 1
mov ecx, 0x8160
mov ebx, 0x160
cmove ebx, ecx
mov rcx, qword [rsi + 0x2a8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
mov r9d, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
mov edx, ebx
mov qword [rsp + 0x28], rcx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_TrackPopupMenuEx]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401f0418
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
sub edx, 0x55c
je 0x1401f046b
cmp edx, 1
jne 0x1401f045f
test r8d, r8d
je 0x1401f045f
mov rcx, qword [rcx + 0x48]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_479]
nop dword [rax + rax]
mov rcx, qword [0x140389688]
call qword [0x1403ad680]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test r8d, r8d
je 0x1401f0437
mov rcx, qword [rcx + 0x2a8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
xor r9d, r9d
mov edx, 0x128
mov rcx, rax
mov r8d, 0x10002
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x2a8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
mov rcx, qword [0x140389688]
mov edx, 0x459
mov r9, rax
mov r8d, 1
call qword [case.0x14004486b.0]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x2a8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
mov rcx, rax
call qword [0x1403ad680]
nop dword [rax + rax]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
nop dword [rax + rax]
test ax, ax
jns 0x1401f052c
mov rcx, qword [rbx + 0x70]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x409
call qword [case.0x14004486b.0]
nop dword [rax + rax]
jmp 0x1401f0537
mov rax, qword [rbx + 0x230]
mov rax, qword [rax + 0x18]
mov rdx, rax
mov rcx, rbx
call fcn.1401f11f0
jmp 0x1401f045f
Function at 0x1401fd274
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
lea rax, str.AppUserModelId
mov rdi, rdx
mov qword [r11 - 0x28], rax
lea rbx, [r11 - 0x28]
lea rax, str.ConfigLevel
mov dword [rsp + 0x38], 1
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x48], 4
mov rdx, qword [rbx]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1401fd300
mov ecx, dword [rbx + 8]
cmp dword [rsp + 0x60], ecx
jne 0x1401fd300
cmp dword [rsp + 0x70], eax
je 0x1401fd300
add rbx, 0x10
lea rcx, [rsp + 0x50]
cmp rbx, rcx
jne 0x1401fd2b1
mov al, 1
jmp 0x1401fd302
xor al, al
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1401fd53c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
mov rbx, rdx
and dword [rbp + 0x30], 0
and dword [rbp + 0x38], 0
mov dword [rbp + 0x20], 4
test rcx, rcx
jne 0x1401fd57f
mov ecx, SHFindFiles
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x1401fd61c
test rbx, rbx
je 0x1401fd5b3
lea rax, [rbp - 0x10]
mov r9d, 0x20019
xor r8d, r8d
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
jne 0x1401fd5af
mov rcx, qword [rbp - 0x10]
test rcx, rcx
jne 0x1401fd5b7
mov ecx, eax
jmp 0x1401fd56c
mov qword [rbp - 0x10], rcx
lea rax, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x30]
lea rdx, str.AuditBoot
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x1401fd5f2
cmp dword [rbp + 0x20], 4
je 0x1401fd5f6
lea edi, [rax + 0xd]
and dword [rbp + 0x30], 0
test rbx, rbx
je 0x1401fd60b
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, dword [rbp + 0x30]
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x1401fd674
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x48]
mov rsi, rdx
call fcn.1401fe624
mov ebx, eax
test eax, eax
js 0x1401fd720
xor edi, edi
mov dword [rsp + 0x40], DAD_DragLeave
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
mov edx, edi
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
jne 0x1401fd709
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1401fffcc
inc edi
mov dword [rsp + 0x40], DAD_DragLeave
jmp 0x1401fd71c
xor eax, eax
cmp ecx, 0x103
jne 0x1401fd717
test edi, edi
jne 0x1401fd720
mov ebx, 0x80004005
test eax, eax
jne 0x1401fd6b5
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1401fe1ec
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x38
ret
Function at 0x1401ff3e4
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, reloc.SHELL32.dll_Ordinal_896
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r14, qword [rbp + 0x2d0]
mov r15, rcx
mov edi, 0x100
lea rcx, [rsp + 0x60]
xor r12d, r12d
mov r8d, edi
xor edx, edx
mov ebx, 0x80004005
mov esi, r12d
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
cmp dword [0x14038c370], r12d
mov dword [rsp + 0x34], edi
mov word [r14], r12w
jne 0x1401ff582
mov edi, 0x104
mov dword [0x14038c370], 1
mov edx, edi
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x1401ff575
mov eax, edi
lea rcx, [rbp + 0x60]
cmp word [rcx], r12w
je 0x1401ff493
add rcx, 2
sub rax, 1
jne 0x1401ff483
test rax, rax
je 0x1401ff4a0
mov rcx, rdi
sub rcx, rax
jmp 0x1401ff4a3
mov rcx, r12
test rax, rax
je 0x1401ff575
sub rdi, rcx
lea rax, [rbp + 0x60]
lea rcx, [rax + rcx*2]
mov rdx, rdi
lea r9, str._tzres.dll
call fcn.1400ed3d8
test eax, eax
js 0x1401ff575
mov edx, 8
lea rcx, [rbp + 0x60]
mov r8d, 0x400
call fcn.1402517cc
mov rdi, rax
test rax, rax
je 0x1401ff575
xor eax, eax
mov dword [0x14038c370], r12d
xorps xmm0, xmm0
mov dword [rsp + 0x58], eax
lea r8, [rsp + 0x38]
mov rcx, r15
movups xmmword [rsp + 0x38], xmm0
lea esi, [rax + 1]
movups xmmword [rsp + 0x48], xmm0
call fcn.1401ffc3c
mov ebx, eax
test eax, eax
js 0x1401ff566
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401fefd0
mov ebx, eax
test eax, eax
js 0x1401ff566
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x60]
mov rcx, rdi
call fcn.1401ffe70
mov ebx, eax
test eax, eax
js 0x1401ff566
lea r8, [rsp + 0x60]
mov rcx, r14
lea edx, [rsi + 0x1f]
call fcn.1401fd62c
test eax, eax
mov esi, r12d
mov ebx, eax
sets sil
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
cmp dword [0x14038c370], r12d
jne 0x1401ff582
test esi, esi
je 0x1401ff5d7
lea rax, [rsp + 0x34]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14033bf38]
lea rax, [rsp + 0x60]
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], rax
mov ebx, 0x80004005
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1401ff5d7
lea r8, [rsp + 0x60]
mov rcx, r14
lea edx, [rax + 0x20]
call fcn.1401fd62c
mov ebx, eax
mov eax, 0x40203
test ebx, ebx
cmovns ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + reloc.SHELL32.dll_Ordinal_896]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret