joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401611a0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
test rdx, rdx
je 0x1401611d6
movzx eax, word [rdx]
mov word [rsp + 0x30], ax
add ax, 2
cmp qword [rdx], 0xfffe
mov word [rsp + 0x32], ax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x38], rax
jbe 0x1401611de
mov eax, 0xc0000106
add rsp, 0x48
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
add rsp, 0x48
ret

Function at 0x140161210
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x38
test rdx, rdx
je 0x140161246
movzx eax, word [rdx]
mov word [rsp + 0x20], ax
add ax, 2
cmp qword [rdx], 0xfffe
mov word [rsp + 0x22], ax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x28], rax
jbe 0x14016124e
mov eax, 0xc0000106
add rsp, 0x38
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
add rsp, 0x38
ret

Function at 0x140161260
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12, r8
mov dword [rsp + 0x30], 0x100
mov r14d, edx
mov rbp, rcx
mov rcx, qword [0x1402bfe50]
xor esi, esi
mov r8d, 0x100
mov r15, r9
lea edx, [rsi + 4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, dword [rsp + 0x30]
mov r8d, r14d
mov rdi, rax
mov rcx, rbp
lea rax, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
mov ebx, eax
cmp eax, 0x8000001a
je 0x14016139f
nop dword [rax]
cmp ebx, 0x80000005
je 0x1401612f0
cmp ebx, 0xc0000023
jne 0x140161348
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, r14d
mov edx, esi
mov rdi, rax
mov rcx, rbp
lea rax, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
mov ebx, eax
test ebx, ebx
js 0x1401613a1
lfence
mov r8, r15
mov rdx, rdi
mov rcx, rbp
mov rax, r12
call qword [str.PB__]
test al, al
je 0x1401613a1
lfence
lea rax, [rsp + 0x30]
inc esi
mov qword [rsp + 0x28], rax
mov r9, rdi
mov eax, dword [rsp + 0x30]
mov r8d, r14d
mov edx, esi
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
mov ebx, eax
cmp eax, 0x8000001a
jne 0x1401612e0
xor ebx, ebx
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x1401613e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12, r8
mov dword [rsp + 0x30], 0x100
mov r14d, edx
mov rbp, rcx
mov rcx, qword [0x1402bfe50]
xor esi, esi
mov r8d, 0x100
mov r15, r9
lea edx, [rsi + 4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, dword [rsp + 0x30]
mov r8d, r14d
mov rdi, rax
mov rcx, rbp
lea rax, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.ntdll.dll_NtEnumerateValueKey]
mov ebx, eax
cmp eax, 0x8000001a
je 0x14016151f
nop dword [rax]
cmp ebx, 0x80000005
je 0x140161470
cmp ebx, 0xc0000023
jne 0x1401614c8
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, r14d
mov edx, esi
mov rdi, rax
mov rcx, rbp
lea rax, [rsp + 0x30]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtEnumerateValueKey]
mov ebx, eax
test ebx, ebx
js 0x140161521
lfence
mov r8, r15
mov rdx, rdi
mov rcx, rbp
mov rax, r12
call qword [str.PB__]
test al, al
je 0x140161521
lfence
lea rax, [rsp + 0x30]
inc esi
mov qword [rsp + 0x28], rax
mov r9, rdi
mov eax, dword [rsp + 0x30]
mov r8d, r14d
mov edx, esi
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.ntdll.dll_NtEnumerateValueKey]
mov ebx, eax
cmp eax, 0x8000001a
jne 0x140161460
xor ebx, ebx
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x140164d80
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov rbx, rdx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 0x18
mov r8d, 8
lea rdx, [rsp + 0x38]
mov ecx, 0xe6
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
test eax, eax
js 0x140164df7
mov edx, dword [rsp + 0x30]
xor eax, eax
shr edx, 2
test edx, edx
je 0x140164df2
lea rcx, [rsp + 0x40]
test dword [rcx], 0x80000
jne 0x140164e0b
inc eax
add rcx, 4
cmp eax, edx
jb 0x140164de0
mov eax, 0xc0000225
mov rcx, qword ds:[rsp + 0x58]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x60
pop rbx
ret
movzx eax, word ds:[rsp + rax*4 + 0x40]
mov word [rbx], ax
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x60
pop rbx
ret

Function at 0x140165320
Capabilities:
Get uefi variable

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [0x14023646c]
mov dword [rsp + 0x38], 0x40002
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x30]
xor eax, eax
lea rdx, [rsp + 0x48]
xorps xmm0, xmm0
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
cmp eax, 0xc0000100
sete al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x68
ret
Function at 0x1401653a0
Capabilities:
Get uefi variable

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0xb0]
xor eax, eax
mov dword [rsp + 0x30], eax
mov rsi, r9
mov dword [rsp + 0x34], eax
mov r14, r8
movzx eax, word [rcx]
mov word [rsp + 0x38], ax
add ax, 2
mov word [rsp + 0x3a], ax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
movzx eax, word [rdx]
mov word [rsp + 0x48], ax
add ax, 2
cmp qword [rdx], 0xfffe
mov word [rsp + 0x4a], ax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x50], rax
jbe 0x14016541a
mov eax, 0x80000005
lfence
jmp 0x14016552b
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_RtlGUIDFromString]
test eax, eax
jns 0x140165436
lfence
jmp 0x14016552b
lea rax, [rsp + 0x34]
xor r8d, r8d
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
cmp eax, 0xc0000023
je 0x140165469
mov eax, 0xc0000001
jmp 0x14016552b
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402bfe50]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rbp
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword ds:[rsp + 0x30]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1401dff50
lea rax, [rsp + 0x34]
mov r8, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
mov ebp, eax
test eax, eax
js 0x140165504
test r14, r14
je 0x1401654d7
mov qword [r14], rbx
jmp 0x1401654ec
lfence
mov rcx, qword [0x1402bfe50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test rsi, rsi
je 0x1401654f7
mov eax, dword [rsp + 0x30]
mov dword [rsi], eax
test rdi, rdi
je 0x140165519
mov eax, dword [rsp + 0x34]
mov dword [rdi], eax
jmp 0x140165519
lfence
mov rcx, qword [0x1402bfe50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x90]
mov eax, ebp
mov rbp, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret

Function at 0x140165640
Capabilities:
Get uefi variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov dword [rsp + 0x40], 0x1000
mov esi, ecx
mov r8d, 0x1000
mov rcx, qword [0x1402bfe50]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea r8, [rsp + 0x40]
mov ecx, esi
mov rdx, rax
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtEnumerateSystemEnvironmentValuesEx]
mov ebx, eax
cmp eax, 0xc0000023
je 0x14016569d
cmp eax, 0xc0000004
jne 0x1401656b6
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x40]
jmp 0x140165668
test ebx, ebx
js 0x1401656bf
mov qword [r14], rdi
jmp 0x1401656d3
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140165ae0
Capabilities:
Get system information on windows

Disassembly:
mov dword [rsp + 8], ecx
push rsi
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov r15, rdx
test ecx, ecx
je 0x140165b49
sub ecx, 3
je 0x140165b3a
nop dword [rax]
sub ecx, 1
je 0x140165b2b
cmp ecx, 0xfffb
je 0x140165b1c
mov eax, 0xc0000003
add rsp, 0x40
pop r15
pop r14
pop rsi
ret
mov eax, dword [0x1402bba84]
lea rsi, [0x1402bba84]
jmp 0x140165b56
mov eax, dword [0x1402bba80]
lea rsi, [0x1402bba80]
jmp 0x140165b56
mov eax, dword [0x1402bba7c]
lea rsi, [0x1402bba7c]
jmp 0x140165b56
mov eax, dword [0x1402bba78]
lea rsi, [0x1402bba78]
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov qword [rsp + 0x68], rbx
mov r8d, eax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x78], r8d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov rbp, rax
mov r8d, 4
lea rax, [rsp + 0x78]
mov r9, rbp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea ecx, [r8 + 0x67]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
xor ebx, ebx
mov edi, eax
cmp eax, 0xc0000004
jne 0x140165c1e
cmp ebx, 8
jae 0x140165c24
mov rcx, qword [0x1402bfe50]
mov r8, rbp
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword ds:[rsp + 0x78]
mov edx, 4
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, 4
lea rdx, [rsp + 0x60]
mov rbp, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov r9, rbp
mov eax, dword [rsp + 0x78]
lea ecx, [r8 + 0x67]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
inc ebx
mov edi, eax
cmp eax, 0xc0000004
je 0x140165bb7
nop
test edi, edi
jns 0x140165c3b
lfence
mov rcx, qword [0x1402bfe50]
mov r8, rbp
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140165c51
lfence
mov eax, dword [rsp + 0x78]
cmp eax, 0x100000
ja 0x140165c4b
mov dword [rsi], eax
mov qword [r15], rbp
mov dword [r14], eax
mov rbp, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rsi
ret
Function at 0x140165c80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r13
sub rsp, 0x48
mov eax, dword [0x1402bba84]
mov edx, 4
mov rcx, qword [0x1402bfe50]
mov r8d, eax
mov dword [rsp + 0x78], 0xffff
mov dword [rsp + 0x70], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword ds:[rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rbx, rax
mov r8d, 4
lea rax, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea ecx, [r8 + 0x67]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
xor r13d, r13d
mov esi, eax
mov edi, r13d
cmp eax, 0xc0000004
jne 0x140165d5e
cmp edi, 8
jae 0x140165d64
mov rcx, qword [0x1402bfe50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword ds:[rsp + 0x70]
mov edx, 4
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, 4
lea rdx, [rsp + 0x78]
mov rbx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov r9, rbx
mov eax, dword [rsp + 0x70]
lea ecx, [r8 + 0x67]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
inc edi
mov esi, eax
cmp eax, 0xc0000004
je 0x140165cf5
nop
test esi, esi
jns 0x140165d85
lfence
mov rcx, qword [0x1402bfe50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
add rsp, 0x48
pop r13
pop rdi
pop rsi
pop rbx
ret
mov eax, dword ds:[rsp + 0x70]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r14
cmp eax, 0x100000
ja 0x140165dad
mov dword [0x1402bba84], eax
lfence
lea r14, [rbx + rax]
mov ebp, r13d
mov r11d, r13d
mov r9d, r13d
mov edi, r13d
mov r12, rbx
cmp rbx, r14
jae 0x140165e7f
mov qword [rsp + 0x30], r15
mov r15d, dword [0x1402b5004]
mov ecx, dword [rbx]
test ecx, ecx
je 0x140165df7
nop
sub ecx, 1
je 0x140165df2
cmp ecx, 2
jne 0x140165e6b
inc edi
jmp 0x140165e6b
inc r11d
jmp 0x140165e6b
movzx eax, word ds:[rbx + 0x1e]
inc ebp
cmp r13w, ax
jae 0x140165e6b
mov r10d, r15d
lea rdx, [rbx + 0x20]
and r10d, 4
mov r8d, eax
mov rax, qword [rdx]
test r10d, r10d
je 0x140165e23
popcnt rax, rax
jmp 0x140165e5e
mov rcx, rax
shr rcx, 1
and ecx, 0x55555555
sub rax, rcx
mov rcx, rax
and eax, 0x33333333
shr rcx, 2
and ecx, 0x33333333
add rcx, rax
mov rax, rcx
shr rax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
add r9d, eax
add rdx, 0x10
sub r8, 1
jne 0x140165e14
mov ecx, dword [rbx + 4]
add rbx, rcx
cmp rbx, r14
jb 0x140165dd8
mov r15, qword [rsp + 0x30]
mov rcx, qword [0x1402bfe50]
mov r8, r12
xor edx, edx
mov dword [0x1402c2890], ebp
mov dword [0x1402c2894], r11d
mov dword [0x1402c2898], r9d
mov dword [0x1402c289c], edi
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r14, qword [rsp + 0x38]
mov eax, esi
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x80]
add rsp, 0x48
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x140165f40
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov eax, dword [0x1402bba80]
mov r14, rdx
movzx ebp, cx
mov r8d, eax
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x60], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov rdi, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9, rdi
mov dword [rsp + 0x20], r8d
mov r8d, 4
lea ecx, [r8 + 0x67]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
xor esi, esi
mov ebx, eax
cmp eax, 0xc0000004
jne 0x140166027
nop dword [rax]
cmp esi, 8
jae 0x140166027
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x60]
mov edx, 4
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, 4
lea rdx, [rsp + 0x68]
mov rdi, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9, rdi
mov eax, dword [rsp + 0x60]
lea ecx, [r8 + 0x67]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
inc esi
mov ebx, eax
cmp eax, 0xc0000004
je 0x140165fc0
test ebx, ebx
jns 0x140166030
lfence
jmp 0x140166067
mov eax, dword [rsp + 0x60]
cmp eax, 0x100000
ja 0x140166041
mov dword [0x1402bba80], eax
lfence
cmp bp, word [rdi + 0xa]
jae 0x140166062
lea rax, [rbp*2]
add rax, rbp
add rax, rax
mov rax, qword [rdi + rax*8 + 0x48]
mov qword [r14], rax
jmp 0x140166067
mov ebx, 0xc0000001
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1401675e0
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbdb0], 1
jne 0x140167760
lock bts qword [0x1402bbdb0], 0x1f
nop
jae 0x140167625
test byte [0x1402bbdb0], 1
jne 0x140167760
xor edx, edx
lea rcx, [0x1402bbdb0]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140167760
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, [0x1402379c0]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x1401676b2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401676b2
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401676b2
cmp dword [0x1402b5e88], 0x3e
jae 0x14016774f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14016774f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14016774f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14016774f
cmp dword [rdx + rcx], 0x4550
jne 0x14016774f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14016774f
cmp dword [rdx + 4], edi
je 0x14016774f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.NtQueryInformationEnlistment
call fcn.140174840
mov r9, rax
test rax, rax
je 0x14016774f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c32a0], rax
xor rax, r9
mov qword [0x1402c3280], rax
lea rcx, [0x1402bbdb0]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c3280]
test rax, rax
je 0x140167781
mov rcx, qword [0x1402c32a0]
test rcx, rcx
je 0x140167781
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1401677a0
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbe00], 1
jne 0x140167920
lock bts qword [0x1402bbe00], 0x1f
nop
jae 0x1401677e5
test byte [0x1402bbe00], 1
jne 0x140167920
xor edx, edx
lea rcx, [0x1402bbe00]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140167920
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, [0x1402379c0]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x140167872
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140167872
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140167872
cmp dword [0x1402b5e88], 0x3e
jae 0x14016790f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14016790f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14016790f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14016790f
cmp dword [rdx + rcx], 0x4550
jne 0x14016790f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14016790f
cmp dword [rdx + 4], edi
je 0x14016790f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.NtQueryInformationResourceManager
call fcn.140174840
mov r9, rax
test rax, rax
je 0x14016790f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c3330], rax
xor rax, r9
mov qword [0x1402c33b8], rax
lea rcx, [0x1402bbe00]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c33b8]
test rax, rax
je 0x140167941
mov rcx, qword [0x1402c3330]
test rcx, rcx
je 0x140167941
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140167960
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbde0], 1
jne 0x140167ae0
lock bts qword [0x1402bbde0], 0x1f
nop
jae 0x1401679a5
test byte [0x1402bbde0], 1
jne 0x140167ae0
xor edx, edx
lea rcx, [0x1402bbde0]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140167ae0
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, [0x1402379c0]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x140167a32
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140167a32
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140167a32
cmp dword [0x1402b5e88], 0x3e
jae 0x140167acf
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140167acf
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140167acf
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140167acf
cmp dword [rdx + rcx], 0x4550
jne 0x140167acf
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140167acf
cmp dword [rdx + 4], edi
je 0x140167acf
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.NtQueryInformationTransaction
call fcn.140174840
mov r9, rax
test rax, rax
je 0x140167acf
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c3358], rax
xor rax, r9
mov qword [0x1402c32c0], rax
lea rcx, [0x1402bbde0]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c32c0]
test rax, rax
je 0x140167b01
mov rcx, qword [0x1402c3358]
test rcx, rcx
je 0x140167b01
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140167b20
Capabilities:
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
test byte [0x1402bbe50], 1
jne 0x140167ca0
lock bts qword [0x1402bbe50], 0x1f
nop
jae 0x140167b65
test byte [0x1402bbe50], 1
jne 0x140167ca0
xor edx, edx
lea rcx, [0x1402bbe50]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x140167ca0
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
lea rbx, [0x1402379c0]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], rbx
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x140167bf2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140167bf2
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140167bf2
cmp dword [0x1402b5e88], 0x3e
jae 0x140167c8f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140167c8f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140167c8f
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140167c8f
cmp dword [rdx + rcx], 0x4550
jne 0x140167c8f
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140167c8f
cmp dword [rdx + 4], edi
je 0x140167c8f
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.NtQueryInformationTransactionManager
call fcn.140174840
mov r9, rax
test rax, rax
je 0x140167c8f
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402c3288], rax
xor rax, r9
mov qword [0x1402c33d8], rax
lea rcx, [0x1402bbe50]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
mov rax, qword [0x1402c33d8]
test rax, rax
je 0x140167cc1
mov rcx, qword [0x1402c3288]
test rcx, rcx
je 0x140167cc1
xor rax, rcx
add rsp, 0x40
pop rdi
ret
mov rax, rdi
add rsp, 0x40
pop rdi
ret