joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14029f9c4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x500
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rsi, qword [rsp + 0x550]
xor edx, edx
mov r14, r8
mov rbp, rcx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor r15d, r15d
mov dword [rsp + 0x70], Ordinal_109
test rsi, rsi
lea rdi, [rsp + 0x50]
xorps xmm0, xmm0
lea rcx, [rsp + 0xe0]
cmovne rdi, rsi
mov r8, rbp
xor eax, eax
mov edx, 0x102
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
call fcn.14003dd20
mov ebx, eax
test eax, eax
js 0x14029fb96
lea rcx, [rsp + 0xe0]
call sub.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathQuoteSpacesW
mov r10d, 0x208
lea rax, [rsp + 0xe0]
mov ecx, r10d
cmp word [rax], r15w
je 0x14029fa77
add rax, 2
sub rcx, 1
jne 0x14029fa67
mov rax, rcx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rcx, rcx
je 0x14029fa94
mov rax, r10
sub rax, rcx
jmp 0x14029fa97
mov rax, r15
test rcx, rcx
je 0x14029fb01
mov rcx, r10
lea rdx, [rsp + 0xe0]
lea rdx, [rdx + rax*2]
sub rcx, rax
je 0x14029fae5
lea r8, [rax + 0x7ffffdf6]
add r8, rcx
lea rax, [0x140307e30]
sub rax, rdx
test r8, r8
je 0x14029fae5
movzx r9d, word [rax + rdx]
test r9w, r9w
je 0x14029fae5
mov word [rdx], r9w
dec r8
add rdx, 2
sub rcx, 1
jne 0x14029fac4
test rcx, rcx
lea rax, [rdx - 2]
cmovne rax, rdx
neg rcx
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
mov word [rax], r15w
test ebx, ebx
js 0x14029fb96
lea r8, str._Run6432
mov rdx, r10
lea rcx, [rsp + 0xe0]
call fcn.1400589ec
mov ebx, eax
test eax, eax
js 0x14029fb96
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov rcx, rbp
mov dword [rsp + 0x20], r15d
call sub.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW
test eax, eax
jne 0x14029fb80
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14029fb96
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14029fb96
test rsi, rsi
jne 0x14029fb96
mov rcx, qword [rdi + 8]
call sub.api_ms_win_core_handle_l1_1_0.dll_CloseHandle
mov rcx, qword [rdi]
call sub.api_ms_win_core_handle_l1_1_0.dll_CloseHandle
mov eax, ebx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x538]
add rsp, 0x500
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402a099c
Capabilities:
Bypass uac via rpc

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
and qword [rbp + 0x38], 0
lea rdx, str.ncalrpc
and qword [rbp + 0x20], 0
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov rsi, r8
lea rax, [rbp + 0x38]
xor edi, edi
mov qword [r11 - 0x60], rax
xor r9d, r9d
and qword [r11 - 0x68], rdi
xor r8d, r8d
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1402a0ad3
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x20]
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
nop dword [rax + rax]
lea rcx, [rbp + 0x38]
mov ebx, eax
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
test ebx, ebx
jne 0x1402a0ad3
lea edx, [rdi + 0x44]
lea ecx, [rdi + 0x40]
mov dword [rbp + 0x28], edx
call sub.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc
mov rdi, rax
test rax, rax
jne 0x1402a0a54
lea ebx, [rax + 8]
jmp 0x1402a0ad3
xor edx, edx
lea r9, [rbp + 0x28]
mov r8, rdi
lea ecx, [rdx + 0x16]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CreateWellKnownSid]
nop dword [rax + rax]
test eax, eax
jne 0x1402a0a79
call sub.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError
mov ebx, eax
jmp 0x1402a0ad3
mov rcx, qword [rbp + 0x20]
mov eax, 3
and dword [rbp - 0x28], 0
xor edx, edx
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x24], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
lea r9d, [rdx + 0xa]
and qword [rsp + 0x20], 0
lea r8d, [rdx + 6]
mov dword [rbp - 0x2c], 1
mov qword [rbp - 0x10], rdi
call qword [sym.imp.RPCRT4.dll_RpcBindingSetAuthInfoExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1402a0ad3
mov rax, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov qword [rsi], rax
mov rcx, rdi
call sub.api_ms_win_core_heap_l2_1_0.dll_LocalFree
cmp qword [rbp + 0x20], 0
je 0x1402a0af2
lea rcx, [rbp + 0x20]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402a4054
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r15d, r15d
mov r14, rdx
mov qword [rcx], r15
mov rdi, rcx
mov qword [rcx + 8], r15
mov qword [rcx + 0x18], r15
jmp 0x1402a4084
add r8, 2
mov qword [rcx + 0x10], r8
cmp word [r8], r15w
jne 0x1402a4080
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
cmp word [rax], r15w
jne 0x1402a40b2
neg r9d
sbb ebx, ebx
and ebx, 0xfffffe47
add ebx, 0xc0000273
jmp 0x1402a4253
test r9d, r9d
jne 0x1402a40c1
mov ebx, 0xc0000103
jmp 0x1402a4257
movzx ecx, word [rdx]
lea r8, [rbp + 0x20]
movzx edx, word [rbp + 0x48]
mov word [rbp + 0x20], cx
call fcn.1402a4804
mov ebx, eax
test eax, eax
jns 0x1402a40ed
lea r9, str.RtlUShortAdd_failed___x_
mov r8d, 0xb26
jmp 0x1402a423e
movzx ecx, word [rbp + 0x20]
lea r8, [rbp + 0x20]
mov edx, 4
call fcn.1402a4804
mov ebx, eax
test eax, eax
jns 0x1402a4117
lea r9, str.RtlUShortAdd_failed___x_
mov r8d, 0xb2c
jmp 0x1402a423e
movzx eax, word [rbp + 0x20]
mov edx, 8
mov word [rdi + 2], ax
mov word [rdi], r15w
mov rax, qword gs:[0x60]
movzx r8d, word [rbp + 0x20]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rdi + 8], rax
test rax, rax
jne 0x1402a4159
mov ebx, 0xc0000017
jmp 0x1402a4257
mov rdx, r14
mov rcx, rdi
call fcn.1402a4944
mov ebx, eax
test eax, eax
jns 0x1402a417c
lea r9, str.RtlUnicodeStringCopy_failed___x_
mov r8d, 0xb3b
jmp 0x1402a423e
movzx ecx, word [rdi]
mov rax, qword [rdi + 8]
shr rcx, 1
cmp word [rax + rcx*2 - 2], 0x5c
je 0x1402a41ae
mov rcx, rdi
call fcn.1402a482c
mov ebx, eax
test eax, eax
jns 0x1402a41ae
lea r9, str.RtlUnicodeStringCatString_failed___x_
mov r8d, 0xb4b
jmp 0x1402a423e
mov rdx, qword [rbp + 0x40]
test rdx, rdx
je 0x1402a41e0
cmp word [rbp + 0x48], r15w
jbe 0x1402a41e0
movzx r8d, word [rbp + 0x48]
mov rcx, rdi
call fcn.1402a48a8
mov ebx, eax
test eax, eax
jns 0x1402a41e0
lea r9, str.RtlUnicodeStringCbCatStringN_failed___x_
mov r8d, 0xb53
jmp 0x1402a423e
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x21
lea rcx, [rdi + 0x18]
mov dword [rbp - Ordinal_54], 0x30
lea r9, [rbp - 0x40]
mov qword [rbp - 0x28], r15
lea r8, [rbp - 0x30]
mov dword [rbp - 0x18], Shell_MergeMenus
mov edx, 0x100001
mov qword [rbp - 0x20], rdi
movdqu xmmword [rbp - 0x10], xmm0
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntdll.dll_ZwOpenFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x1402a425f
lea r9, str.Failed_to_open_dir___x_
mov r8d, 0xb61
lea rdx, str.AslpPathWildcardAllocMatchNode
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.140013f14
test ebx, ebx
jns 0x1402a425f
mov rcx, rdi
call fcn.1402a4380
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1402a4b1c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9d, ecx
mov r10, rdx
not r9d
test r8d, r8d
je 0x1402a4b57
mov r11d, r8d
movzx eax, byte [r10]
mov edx, r9d
xor rdx, rax
inc r10
mov eax, r9d
movzx ecx, dl
shr eax, 8
lea rdx, [0x14033c3c0]
mov r9d, dword [rdx + rcx*4]
xor r9d, eax
sub r11, 1
jne 0x1402a4b2d
not r9d
mov eax, r9d
ret

Function at 0x1402a4d98
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
xorps xmm0, xmm0
lea rdx, str.RegistryMachine
lea rcx, [rax - 0x18]
movups xmmword [rax - 0x18], xmm0
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
xor edi, edi
mov word [rbx], di
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1402a4dd9
mov ebp, 1
add ax, bp
add ax, ax
add ax, word [rsp + 0x30]
movzx r8d, ax
lea edx, [rbp + 7]
mov word [rbx + 2], r8w
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbx + 8], rax
test rax, rax
jne 0x1402a4e4a
movzx eax, word [rbx + 2]
lea r9, str.Failed_to_allocate__d_bytes_for_user_key_buffer
mov r8d, 0x58c
mov dword [rsp + 0x20], eax
lea rdx, str.AslRegistryBuildMachinePath
mov ecx, ebp
mov edi, 0xc0000017
call fcn.140013f14
jmp 0x1402a4e91
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
nop dword [rax + rax]
test rsi, rsi
je 0x1402a4e7f
cmp word [rsi], 0x5c
je 0x1402a4e7f
lea rdx, [0x1402fda84]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
nop dword [rax + rax]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1402a4eb0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rax - 0x18]
mov rbp, rdx
movups xmmword [rax - 0x18], xmm0
call qword [sym.imp.ntdll.dll_RtlFormatCurrentUserKeyPath]
nop dword [rax + rax]
xor r14d, r14d
mov ebx, eax
test eax, eax
jns 0x1402a4f15
lea r9, str.RtlFormatCurrentUserKeyPath_failed___x_
mov dword [rsp + 0x20], eax
mov r8d, 0x5c4
lea rdx, str.AslRegistryBuildUserPath
lea ecx, [r14 + 1]
call fcn.140013f14
jmp 0x1402a4fb1
mov word [rdi], r14w
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], r14w
jne 0x1402a4f1d
mov esi, 1
add ax, si
add ax, ax
add ax, word [rsp + 0x30]
movzx r8d, ax
lea edx, [rsi + 7]
mov word [rdi + 2], r8w
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rdi + 8], rax
test rax, rax
jne 0x1402a4f88
lea r9, str.Out_of_memory
mov r8d, 0x5d0
lea rdx, str.AslRegistryBuildUserPath
mov ecx, esi
mov ebx, 0xc0000017
call fcn.140013f14
jmp 0x1402a4fb1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
nop dword [rax + rax]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
nop dword [rax + rax]
mov ebx, r14d
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1402a5258
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x50], rax
and dword [rcx], 0
lea r9, [r11 - 0x30]
and dword [rsp + 0x30], 0
mov rdi, rcx
lea rcx, [r11 - 0x38]
mov r10, r8
mov rax, rdx
mov qword [r11 - 0x40], rcx
mov rcx, rax
mov dword [rsp + 0x20], SafeArrayUnaccessData
mov r8d, 2
mov rdx, r10
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x1402a52e1
cmp eax, 0xc0000034
je 0x1402a531c
lea r9, str.Failed_to_query_key_value___x_
mov dword [rsp + 0x20], eax
mov r8d, 0x3a1
lea rdx, str.AslRegistryGetUInt32_UStr
mov ecx, 1
call fcn.140013f14
jmp 0x1402a531c
cmp dword [rsp + 0x3c], 4
jne 0x1402a52f9
cmp dword [rsp + 0x40], 4
jne 0x1402a52f9
mov eax, dword [rsp + 0x44]
xor ebx, ebx
mov dword [rdi], eax
jmp 0x1402a531c
lea r9, str.Invalid_value_type
mov r8d, 0x3a8
lea rdx, str.AslRegistryGetUInt32_UStr
mov ecx, 1
call fcn.140013f14
mov ebx, 0xc0000024
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x1402a54cc
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x70
mov dword [rcx], 0x4e004c
mov r8d, 0x4e
mov rax, qword gs:[0x60]
mov r12, rdx
mov r15, rcx
lea edx, [r8 - 0x46]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x1402a5546
lea r9, str.Out_of_memory
mov r8d, 0xed
lea rdx, str.AslGuidToString_UStr
lea ecx, [rax + 1]
call fcn.140013f14
mov ebx, 0xc0000017
jmp 0x1402a561f
movzx ecx, byte [r12 + 0xe]
movzx r8d, byte [r12 + 0xd]
movzx r9d, byte [r12 + 0xc]
movzx eax, byte [r12 + 0xf]
movzx r10d, byte [r12 + 0xb]
movzx r11d, byte [r12 + 0xa]
movzx ebx, byte [r12 + 9]
movzx edi, byte [r12 + 8]
movzx esi, word [r12 + 6]
movzx edx, word [r15 + 2]
movzx ebp, word [r12 + 4]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], ecx
mov rcx, r14
mov dword [rsp + 0x58], r8d
lea r8, str._08lx__04hx__04hx__02hx_02hx__02hx_02hx_02hx_02hx_02hx_02hx
mov dword [rsp + 0x50], r9d
mov r9d, dword [r12]
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], esi
shr rdx, 1
mov dword [rsp + 0x20], ebp
call fcn.14023abb0
mov ebx, eax
test eax, eax
jns 0x1402a55f3
lea r9, str.RtlStringCchPrintfW_failed___x_
mov dword [rsp + 0x20], eax
mov r8d, 0x101
lea rdx, str.AslGuidToString_UStr
mov ecx, 1
call fcn.140013f14
jmp 0x1402a55fc
mov qword [r15 + 8], r14
xor r14d, r14d
xor ebx, ebx
test r14, r14
je 0x1402a561f
mov rcx, qword gs:[0x60]
mov r8, r14
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1402a8e58
Capabilities:
Enumerate pe sections

Disassembly:
cmp byte [rdx + 0x2b], 0
mov r9, rdx
je 0x1402a8e73
mov ecx, r8d
cmp rcx, qword [rdx + 0x20]
jae 0x1402a8ec3
mov rax, qword [rdx + 0x18]
add rax, rcx
ret
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
movzx r11d, word [rcx + 6]
add rdx, rax
xor r10d, r10d
test r11d, r11d
je 0x1402a8ea7
mov ecx, dword [rdx + 0xc]
cmp r8d, ecx
jb 0x1402a8e9b
add ecx, dword [rdx + 0x10]
cmp r8d, ecx
jb 0x1402a8ea9
add rdx, 0x28
inc r10d
cmp r10d, r11d
jb 0x1402a8e8b
xor edx, edx
test rdx, rdx
je 0x1402a8ec3
mov ecx, dword [rdx + 0x14]
sub ecx, dword [rdx + 0xc]
add ecx, r8d
cmp rcx, qword [r9 + 0x10]
jae 0x1402a8ec3
mov rax, qword [r9 + 0x18]
jmp 0x1402a8e6e
xor eax, eax
ret
Function at 0x1402a9474
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
xor ebp, ebp
mov rsi, rdx
mov dword [rsp + 0x54], ebp
mov r15, rcx
mov dword [rsp + 0x6c], ebp
mov rax, qword gs:[0x60]
lea edx, [rbp + 8]
lea r8d, [rbp + 0x40]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0xd0], rax
mov rbx, rax
test rax, rax
jne 0x1402a94d5
mov edi, 0xc0000017
jmp 0x1402a967f
lea r14, [rax + 8]
mov dword [rsp + 0x50], Ordinal_54
mov rax, qword [rsi]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
mov r12d, 2
mov dword [rsp + 0x28], 0x8000000
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov edx, 0xf0005
mov qword [rsp + 0x58], rbp
mov rcx, r14
mov dword [rsp + 0x68], ebp
mov qword [rsp + 0x60], rbp
movdqu xmmword [rsp + 0x70], xmm0
call qword [sym.imp.ntdll.dll_ZwCreateSection]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x1402a955c
lea r9, str.ZwCreateSection_failed___x_
mov r8d, 0x159
lea rdx, str.AslpFileLargeMapCreate
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.140013f14
jmp 0x1402a966d
mov rax, qword [rsi + 0x10]
lea rcx, [rbx + 0x38]
mov dword [rsp + 0x48], r12d
lea r8, [rbx + 0x28]
mov dword [rsp + 0x40], 0x500000
sub rax, 0x1000
and rax, 0xffffffffffff0000
mov dword [rsp + 0x38], r12d
mov qword [rcx], rax
xor r9d, r9d
lea rax, [rbx + 0x30]
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rcx, qword [r14]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntdll.dll_ZwMapViewOfSection]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x1402a95ca
lea r9, str.ZwMapViewOfSection_failed_to_map_the_end_of_the_file___x_
mov r8d, 0x175
jmp 0x1402a9542
lea rax, [rbx + 0x10]
mov ebp, 0x20000000
lea r12, [rbx + 0x18]
lea r13, [rbx + 0x20]
mov rbx, rax
mov eax, 2
mov qword [r12], rbp
and qword [r13], 0
xor r9d, r9d
mov rcx, qword [r14]
mov r8, rbx
mov dword [rsp + 0x48], eax
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], 0x500000
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
and qword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_ZwMapViewOfSection]
nop dword [rax + rax]
shr rbp, 1
mov edi, eax
cmp eax, 0xc0000017
jne 0x1402a963a
cmp rbp, 0x100000
jae 0x1402a95de
mov rbx, qword [rsp + 0xd0]
xor ebp, ebp
test eax, eax
jns 0x1402a965a
lea r9, str.ZwMapViewOfSection_failed_to_map_the_start_of_the_file___x_
mov r8d, 0x19f
jmp 0x1402a9542
mov qword [rbx], rsi
mov edi, ebp
mov qword [r15], rbx
mov rbx, rbp
mov qword [rsp + 0xd0], rbx
test rbx, rbx
je 0x1402a967f
lea rcx, [rsp + 0xd0]
call fcn.1402a96a4
mov rbx, qword [rsp + 0xc0]
mov eax, edi
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402aeed8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1402aef1b
lea rdx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
je 0x1402aef1b
cmp dword [rsp + 0x30], 0x103
jne 0x1402aef1b
mov rcx, qword [rbx + 0x18]
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
add rsp, 0x20
pop rbx
ret

Function at 0x1402af2ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
xor r9d, r9d
mov dword [rsp + 0x68], 4
lea rax, [r11 + 0x20]
mov dword [r11 + 0x18], r9d
mov qword [r11 - 0x18], rax
test r8b, r8b
lea rax, [r11 + 0x18]
mov r8, rdx
mov qword [r11 - 0x20], rax
mov rdx, rcx
mov qword [r11 - 0x28], r9
mov rcx, 0xffffffff80000001
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
jne 0x1402af2f5
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov eax, dword [rsp + 0x60]
add rsp, 0x48
ret
Function at 0x1402ba3c8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.LockScreenImage
xor ebx, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwarePoliciesMicrosoftWindowsPersonalization
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x1402ba439
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1402ba454
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1402ba444
test rax, rax
je 0x1402ba454
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x270
pop rbx
ret

Function at 0x1402ba500
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.LockScreenImagePath
xor ebx, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPersonalizationCSP
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1402ba59a
cmp dword [rsp + 0x40], ebx
je 0x1402ba59a
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1402ba588
test rax, rax
je 0x1402ba59a
mov bl, 1
jmp 0x1402ba5df
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
lea rdx, str.EnforceLockScreenAndLogonImage
lea rcx, str.DeviceLock
call qword [0x14039e3d8]
nop dword [rax + rax]
test eax, eax
js 0x1402ba5df
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402ba5d3
cmp word [rcx], bx
je 0x1402ba5d3
mov bl, 1
call qword [0x14039e3c0]
nop dword [rax + rax]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x270
pop rbx
ret
Function at 0x1402bc940
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
and dword [rdx], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
lea rcx, [rbp - 0x18]
call fcn.140082024
or rax, 0xffffffffffffffff
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, rsi
call fcn.14006f19c
mov ebx, eax
test eax, eax
js 0x1402bcac4
mov rdx, qword [rbp - 0x18]
mov rcx, 0xfffffffffffffffa
call qword [0x14039e1c8]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1402bc9ca
call fcn.14002154c
mov ebx, eax
test eax, eax
js 0x1402bcac4
and qword [rbp - 0x28], 0
lea r9, [rbp - 0x28]
mov rcx, rdi
call fcn.1402bcae4
mov ebx, eax
test eax, eax
js 0x1402bca99
and qword [rbp - 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
mov esi, 0x80070000
test eax, eax
jle 0x1402bca1f
movzx ebx, ax
or ebx, esi
test ebx, ebx
js 0x1402bca7e
mov dword [rbp + 0x38], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
lea rdx, str.Orientation
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1402bca65
movzx ebx, ax
or ebx, esi
test ebx, ebx
js 0x1402bca7e
cmp dword [rbp + 0x40], 4
jne 0x1402bca79
xor ebx, ebx
mov eax, dword [rbp + 0x48]
mov dword [r14], eax
jmp 0x1402bca7e
mov ebx, 0x80004005
mov rcx, qword [rbp - 0x30]
and qword [rbp - 0x30], 0
test rcx, rcx
je 0x1402bca99
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rcx, rdi
call qword [0x14039e1e0]
nop dword [rax + rax]
nop
mov rcx, qword [rbp - 0x28]
and qword [rbp - 0x28], 0
test rcx, rcx
je 0x1402bcac4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x18]
call fcn.140082024
mov eax, ebx
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret