joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401558c0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x60
test byte [rcx + 8], 8
lea rax, [rcx + 0x10]
mov rbx, rcx
mov ecx, 0
cmove rax, rcx
mov qword [r11 - 0x28], rcx
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov dword [r11 - 0x38], r8d
lea rax, [r11 - 0x18]
mov rcx, qword [rbx]
xor r8d, r8d
mov qword [r11 - 0x40], rdx
xor edx, edx
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov ecx, eax
cmp eax, 0x103
jne 0x14015592e
mov rcx, qword ds:[rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
js 0x140155944
mov ecx, dword [rsp + 0x50]
test ecx, ecx
js 0x140155942
mov rax, qword [rsp + 0x58]
add qword [rbx + 0x10], rax
or dword [rbx + 8], 0x80000000
mov eax, ecx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140155960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r15
sub rsp, 0x20
xor ebx, ebx
mov esi, r8d
test byte [rcx + 8], 2
mov r15, rdx
mov rdi, rcx
je 0x140155990
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rdi
pop rsi
jmp fcn.1401558c0
mov qword ss:[rsp + 0x50], r14
lea r14, [rcx + 0x2c]
mov rax, r14
cmp dword [r14], ebx
jne 0x1401559bc
call fcn.140155ac0
mov ebx, eax
test eax, eax
jns 0x1401559b8
lfence
jmp 0x140155a94
lea rax, [rdi + 0x2c]
mov r8d, dword [r14]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r12
test r8d, r8d
je 0x140155a2d
mov ebp, dword [rdi + 0x20]
sub ebp, r8d
je 0x140155a0f
cmp ebp, esi
jbe 0x1401559df
mov ebp, esi
mov r14, rax
mov rcx, r8
mov r12d, ebp
add rcx, qword [rdi + 0x18]
mov rdx, r15
mov r8d, ebp
call fcn.14020af00
mov r8d, dword ds:[r14]
add r8d, ebp
mov dword [r14], r8d
cmp ebp, esi
je 0x140155a88
add r15, r12
sub esi, ebp
jmp 0x140155a12
mov r14, rax
mov rdx, qword [rdi + 0x18]
mov rcx, rdi
call fcn.1401558c0
mov ebx, eax
test eax, eax
js 0x140155a4c
mov dword [r14], 0
jmp 0x140155a30
mov r14, rax
cmp esi, dword [rdi + 0x20]
jb 0x140155a51
lfence
mov r8d, esi
mov rdx, r15
mov rcx, rdi
call fcn.1401558c0
mov ebx, eax
test eax, eax
jns 0x140155a88
lfence
jmp 0x140155a8a
test esi, esi
je 0x140155a88
cmp qword [rdi + 0x18], 0
jne 0x140155a6f
mov rcx, rdi
call fcn.140155540
mov ebx, eax
test eax, eax
js 0x140155a4c
lea r14, [rdi + 0x2c]
lfence
mov rcx, qword [rdi + 0x18]
mov rdx, r15
mov r8d, esi
call fcn.14020af00
mov dword [r14], esi
mov eax, ebx
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x140155ac0
Capabilities:
Set file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
xor ecx, ecx
mov r8d, dword [rbx + 0x28]
mov edx, dword [rbx + 0x24]
cmp r8d, edx
je 0x140155b22
sub edx, r8d
movsxd rax, edx
add rax, qword [rbx + 0x10]
test byte [rbx + 8], 8
mov qword [rbx + 0x10], rax
jne 0x140155b13
mov rcx, qword [rbx]
lea r8, [rsp + 0x50]
mov r9d, 8
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov ecx, eax
test ecx, ecx
jns 0x140155b22
lfence
mov eax, ecx
add rsp, 0x40
pop rbx
ret
mov qword [rbx + 0x24], 0
mov eax, ecx
add rsp, 0x40
pop rbx
ret

Function at 0x140155c00
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor r9d, r9d
mov rdi, rdx
mov rbx, rcx
test r8d, r8d
je 0x140155c64
nop dword [rax]
sub r8d, 1
je 0x140155c5b
cmp r8d, 1
jne 0x140155c6b
lea rdx, [rcx + 0x10]
mov rcx, qword [rcx]
call sym.SystemInformer.exe_PhGetFileSize
mov r9d, eax
test eax, eax
jns 0x140155c52
lfence
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rax, qword [rdi]
add qword [rbx + 0x10], rax
jmp 0x140155c6b
mov rax, qword [rdx]
add qword [rcx + 0x10], rax
jmp 0x140155c6b
mov rax, qword [rdx]
mov qword [rcx + 0x10], rax
test byte [rbx + 8], 8
jne 0x140155ca4
mov rax, qword [rbx + 0x10]
lea r8, [rsp + 0x68]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
mov r9d, 8
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov r9d, eax
test eax, eax
js 0x140155c3f
mov rbx, qword [rsp + 0x50]
mov eax, r9d
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14015b2a0
Capabilities:
Access peb ldr_data

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov qword [r11 + 0x20], rcx
mov ebx, 2
mov qword [rsp + 0xa0], rbx
mov rax, rdx
mov rbp, rcx
test rdx, rdx
je 0x14015b2f7
test byte [rcx + 0x20], 1
je 0x14015b2f7
mov rdx, qword [rbp + 0x18]
lea rcx, [r11 + 0x20]
mov qword [r11 - 0x68], rcx
lea r9, [0x14015b260]
mov rcx, rax
mov r8d, ebx
call sym.SystemInformer.exe_PhEnumGenericModules
lea rax, [rsp + 0xa8]
xor r8d, r8d
lea r9, [0x14015b260]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 4
call sym.SystemInformer.exe_PhEnumGenericModules
lea r12, [0x1402c5d40]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r13, qword [rcx + 0x18]
add r13, 0x10
mov r15, qword [r13]
cmp r15, r13
je 0x14015b4fb
nop dword [rax]
movzx eax, word [r15 + 0x58]
mov rbx, qword [r15 + 0x60]
test r12, r12
je 0x14015b406
mov rcx, qword [r12]
cmp rax, rcx
jb 0x14015b4cb
mov r14, qword [r12 + 8]
mov rsi, rcx
shr rsi, 4
test rsi, rsi
je 0x14015b3ba
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [r14]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14015b4b9
add rbx, 0x10
add r14, 0x10
sub rsi, 1
jne 0x14015b390
mov rsi, rcx
shr rsi, 1
and esi, 7
test rsi, rsi
je 0x14015b406
sub r14, rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
movzx ebp, word [r14 + rbx]
cmp cx, bp
je 0x14015b3fb
nop dword [rax]
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx ecx, bp
movzx edi, ax
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
cmp di, ax
jne 0x14015b4cb
add rbx, 2
sub rsi, 1
jne 0x14015b3d0
test r15, r15
je 0x14015b4f3
movzx eax, word [r15 + 0x48]
lea rcx, [rsp + 0x30]
mov rdi, qword [r15 + 0x30]
mov esi, dword [r15 + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x38], rax
call sym.SystemInformer.exe_PhDosPathNameToNtPathName
mov rcx, qword gs:[0x30]
mov rbx, rax
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x110]
test rax, rax
je 0x14015b4eb
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov rcx, qword [rsp + 0x90]
mov r9d, esi
mov r8, rdi
mov rdx, rbx
call sym.SystemInformer.exe_PhLoadModuleSymbolProvider
lea rcx, ds:[rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14015b48a
call fcn.140141ea0
mov rbx, qword [rsp + 0xa0]
add r12, 0x10
sub rbx, 1
mov qword [rsp + 0xa0], rbx
jne 0x14015b321
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
shl rsi, 4
and ecx, 0xf
add rsi, rcx
shr rsi, 1
jmp 0x14015b3c3
mov r15, qword [r15]
cmp r15, r13
jne 0x14015b360
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x14015b48a
mov rbx, qword [rsp + 0xa0]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x14015b492
Function at 0x14015df40
Capabilities:
Terminate process

Disassembly:
mov qword ss:[rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [0x1402cddd8], 5
mov ebp, edx
mov r14, rcx
jne 0x14015e06f
mov qword [rsp + 0x30], rbx
lea rcx, [0x1402ce160]
mov qword [rsp + 0x38], rsi
call qword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov rsi, rax
mov edi, 4
test rax, rax
je 0x14015df93
lock dec dword [0x1402ce170]
jmp 0x14015dfb0
mov r8, qword [0x1402ce178]
mov edx, edi
mov rcx, qword [0x1402caaf0]
add r8, 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
lea rcx, ds:[rsi + 0x12]
xor edx, edx
mov r8d, 0x162
call fcn.14020ab40
mov ecx, 0x7ffe0018
mov dword [rsi + 0x10], 0x1640004
mov edx, 0x7ffe0014
mov dword [rsi + 0x14], 6
mov r8d, 0x7ffe001c
mov eax, dword [rcx]
mov dword [rsi + 0x1c], eax
mov eax, dword [rdx]
mov dword [rsi + 0x18], eax
mov eax, dword [r8]
cmp dword [rsi + 0x1c], eax
jne 0x14015dfe3
lea rcx, [rsi + 0x10]
mov qword [rsi + 0x28], r14
mov dword [rsi + 0x30], ebp
call fcn.140195d80
mov edi, eax
test eax, eax
js 0x14015e011
lfence
mov edi, dword [rsi + 0x20]
mov eax, dword [0x1402ce174]
cmp dword [0x1402ce170], eax
mov rbx, qword [rsp + 0x30]
jae 0x14015e03d
mov rdx, rsi
lea rcx, [0x1402ce160]
call qword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x1402ce170]
jmp 0x14015e04f
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, qword [rsp + 0x38]
cmp edi, 0xc00000bb
je 0x14015e06f
mov eax, edi
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov edx, ebp
mov rcx, r14
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.ntdll.dll_NtTerminateProcess]
Function at 0x14015e400
Capabilities:
Get system information on windows

Disassembly:
push r14
sub rsp, 0x60
mov r14, r8
test r8, r8
jne 0x14015e41a
mov eax, 0xc0000030
add rsp, 0x60
pop r14
ret
mov qword [rsp + 0x50], r15
mov eax, 0x100
xor r15d, r15d
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x38], 0x1000000
nop dword [rax]
mov rcx, qword [0x1402caaf0]
xor edx, edx
movzx r8d, ax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword ds:[rsp + 0x40], rax
test rax, rax
je 0x14015e5b5
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov r8d, 0x18
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
jns 0x14015e4a6
mov r8, qword ds:[rsp + 0x40]
xor edx, edx
mov rcx, qword [0x1402caaf0]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp ebx, 0xc0000004
jne 0x14015e4b5
movzx eax, word [rsp + 0x3a]
jmp 0x14015e440
lfence
test ebx, ebx
jns 0x14015e4cf
mov r15, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop r14
ret
mov qword [rsp + 0x78], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x80], rsi
mov edx, 0x5c
movzx esi, word [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
call sym.SystemInformer.exe_PhFindLastCharInStringRef
cmp rax, 0xffffffffffffffff
jne 0x14015e524
movzx eax, word [rsp + 0x38]
test ax, ax
je 0x14015e537
mov rbp, qword [rsp + 0x40]
lea rcx, [rax + 0x12]
mov esi, eax
jmp 0x14015e546
add rax, rax
lea rbp, [rdi + 2]
add rbp, rax
sub rsi, rax
add rsi, 0xfffffffffffffffe
jne 0x14015e542
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rdi, rax
jmp 0x14015e579
lea rcx, [rsi + 0x12]
mov rdx, qword [0x1402ca998]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rsi
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rax + rsi], r15w
test rbp, rbp
je 0x14015e579
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, rbp
call fcn.14020af00
mov qword [r14], rdi
xor edx, edx
mov r8, qword [rsp + 0x40]
mov rcx, qword [0x1402caaf0]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov r15, qword [rsp + 0x50]
add rsp, 0x60
pop r14
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xc0000017
mov r15, qword [rsp + 0x50]
add rsp, 0x60
pop r14
ret
Function at 0x14015e5e0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x40
mov r15, rdx
mov rbx, rcx
mov rcx, qword [0x1402caaf0]
mov edx, 4
mov r8d, 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x1000000
mov ecx, 0x58
mov rdi, rax
xor r12d, r12d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x14015e6a1
mov rcx, qword [0x1402caaf0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx r8d, word [rsp + 0x2a]
mov edx, 4
mov rcx, qword [0x1402caaf0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, 0x18
mov qword [rsp + 0x30], rax
mov ecx, 0x58
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
test esi, esi
jns 0x14015e6bf
lfence
mov rcx, qword [0x1402caaf0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14015e753
nop
cmp word [rsp + 0x28], r12w
jne 0x14015e6e2
mov rcx, qword [0x1402caaf0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc0000001
jmp 0x14015e755
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r14
lfence
movzx ebp, word [rsp + 0x28]
mov rdx, qword [0x1402ca998]
mov r14, qword [rsp + 0x30]
lea rcx, [rbp + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
mov qword [rax], rbp
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbp], r12w
test r14, r14
je 0x14015e734
mov rcx, qword [rax + 8]
mov r8d, ebp
mov rdx, r14
call fcn.14020af00
mov rcx, qword [0x1402caaf0]
mov r8, rdi
xor edx, edx
mov qword [r15], rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov eax, esi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r12
pop rdi
ret

Function at 0x14015e780
Capabilities:
Check processdebugport

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov qword [rsp + 0x20], 0
mov edx, 7
lea r8, [rsp + 0x58]
mov r9d, 8
mov rdi, rcx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov r8d, eax
lfence
test eax, eax
js 0x14015e7cf
cmp qword [rsp + 0x58], 0
setne cl
mov byte [rbx], cl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp dword [0x1402cddd8], 2
jl 0x14015e804
mov r9d, 4
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, rdi
call fcn.140178480
mov r8d, eax
test eax, eax
js 0x14015e804
mov eax, dword [rsp + 0x50]
shr eax, 8
not al
and al, 1
mov byte [rbx], al
mov rbx, qword [rsp + 0x40]
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x1401618b0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0x22
lea rdx, [rsp + 0x30]
mov r9d, 0x38
lea r8, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x140161912
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
movsd xmm1, qword [rsp + 0x70]
movups xmmword [rbx + 0x20], xmm0
movsd qword [rbx + 0x30], xmm1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x80
pop rbx
ret

Function at 0x140161930
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x30]
mov r9d, 0x18
lea r8, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x14016197c
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x30], xmm0
mov rcx, qword [rsp + 0x38]
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x70
pop rbx
ret

Function at 0x140161990
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rax, qword [rdx]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov r9d, 8
mov dword [rsp + 0x20], 0x14
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
add rsp, 0x48
ret

Function at 0x1401619c0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rdx
mov dword [rsp + 0x20], 0xe
lea rdx, [rsp + 0x30]
mov r9d, 8
lea r8, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
lfence
test eax, eax
js 0x1401619fa
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov eax, ecx
add rsp, 0x40
pop rbx
ret

Function at 0x140161a20
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
test rdx, rdx
je 0x140161a2e
mov rax, qword [rdx]
jmp 0x140161a30
xor eax, eax
mov r9d, 8
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], 0xe
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
add rsp, 0x48
ret

Function at 0x140161a60
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rax, qword [rdx]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov r9d, 8
mov dword [rsp + 0x20], 0x13
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
add rsp, 0x48
ret
Function at 0x140161aa0
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x40
cmp dword [0x1402bff40], 0x6a
mov rdi, rcx
jb 0x140161adc
mov r9d, 4
mov dword [rsp + 0x58], 0x13
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], 0x40
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x140161b5a
mov qword [rsp + 0x50], rbx
lfence
mov r9d, 1
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], 0xd
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov ebx, eax
test eax, eax
jns 0x140161b55
lfence
mov r9d, 4
mov dword [rsp + 0x20], 0x1000
mov r8d, 0x10000
lea rcx, [rsp + 0x58]
mov rdx, rdi
call fcn.14016a2e0
test eax, eax
js 0x140161b53
mov rcx, qword ds:[rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140161b80
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x50
mov r14, r8
mov rbp, rcx
mov edi, 0x100
call fcn.140171140
test rax, rax
jne 0x140161bac
mov eax, 0xc00000bb
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x1402caaf0]
mov r8, rdi
mov qword [rsp + 0x70], rbx
mov edx, 4
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r15
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r12d, r12d
lea r15, [0x14023ec90]
mov r13d, 0x5a4d
test byte [0x1402c6260], 1
mov rsi, rax
jne 0x140161d4c
lock bts qword [0x1402c6260], 0x1f
setb al
test al, al
jne 0x140161d35
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], r15
call fcn.14017e120
test rax, rax
jne 0x140161c8f
xor edx, edx
mov r8d, 0x800
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x140161c8f
xor edx, edx
mov r8d, 0x200
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax]
test rax, rax
jne 0x140161c8f
cmp dword [0x1402bff40], 0x3e
jae 0x140161d27
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140161d27
cmp word [rax], r13w
jne 0x140161d27
mov edx, dword ds:[rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x140161d27
cmp dword [rdx + rax], 0x4550
jne 0x140161d27
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x140161d27
cmp dword [rdx + 4], r12d
je 0x140161d27
lea r8, ds:[rax + rcx]
mov word [rsp + 0x20], r12w
mov rcx, rax
lea r9, str.NtQueryInformationTransactionManager
call fcn.14017e4c0
mov r9, rax
test rax, rax
je 0x140161d27
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 [0x1402cdfc8], rax
xor rax, r9
mov qword [0x1402ce108], rax
lea rcx, [0x1402c6260]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x140161d4c
test byte [0x1402c6260], 1
jne 0x140161d4c
xor edx, edx
lea rcx, [0x1402c6260]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402ce108]
test rax, rax
je 0x140161d6a
mov rcx, qword [0x1402cdfc8]
nop
test rcx, rcx
je 0x140161d6a
xor rax, rcx
jmp 0x140161d6d
mov rax, r12
mov r9d, edi
mov qword [rsp + 0x20], r12
mov r8, rsi
mov edx, 2
mov rcx, rbp
call qword [case.0x14013d84a.0]
mov ebx, eax
cmp eax, 0x80000005
jne 0x140161dd6
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x140161dcf
lfence
mov rcx, qword [0x1402caaf0]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140161bed
mov eax, 0xc000009a
jmp 0x140161df3
test ebx, ebx
js 0x140161ddf
mov qword [r14], rsi
jmp 0x140161df1
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
Function at 0x140161e20
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x50
mov r14, r8
mov rbp, rcx
mov edi, 0x100
call fcn.140170f80
test rax, rax
jne 0x140161e4c
mov eax, 0xc00000bb
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x1402caaf0]
mov r8, rdi
mov qword [rsp + 0x70], rbx
mov edx, 4
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r15
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r12d, r12d
lea r15, [0x14023ec90]
mov r13d, 0x5a4d
test byte [0x1402c61f0], 1
mov rsi, rax
jne 0x140161fec
lock bts qword [0x1402c61f0], 0x1f
setb al
test al, al
jne 0x140161fd5
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], r15
call fcn.14017e120
test rax, rax
jne 0x140161f2f
xor edx, edx
mov r8d, 0x800
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x140161f2f
xor edx, edx
mov r8d, 0x200
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax]
test rax, rax
jne 0x140161f2f
cmp dword [0x1402bff40], 0x3e
jae 0x140161fc7
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140161fc7
cmp word [rax], r13w
jne 0x140161fc7
mov edx, dword ds:[rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x140161fc7
cmp dword [rdx + rax], 0x4550
jne 0x140161fc7
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x140161fc7
cmp dword [rdx + 4], r12d
je 0x140161fc7
lea r8, ds:[rax + rcx]
mov word [rsp + 0x20], r12w
mov rcx, rax
lea r9, str.NtQueryInformationTransaction
call fcn.14017e4c0
mov r9, rax
test rax, rax
je 0x140161fc7
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 [0x1402ce098], rax
xor rax, r9
mov qword [0x1402ce000], rax
lea rcx, [0x1402c61f0]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x140161fec
test byte [0x1402c61f0], 1
jne 0x140161fec
xor edx, edx
lea rcx, [0x1402c61f0]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402ce000]
test rax, rax
je 0x14016200a
mov rcx, qword [0x1402ce098]
nop
test rcx, rcx
je 0x14016200a
xor rax, rcx
jmp 0x14016200d
mov rax, r12
mov r9d, edi
mov qword [rsp + 0x20], r12
mov r8, rsi
mov edx, 1
mov rcx, rbp
call qword [case.0x14013d84a.0]
mov ebx, eax
cmp eax, 0x80000005
jne 0x140162076
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x14016206f
lfence
mov rcx, qword [0x1402caaf0]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140161e8d
mov eax, 0xc000009a
jmp 0x140162093
test ebx, ebx
js 0x14016207f
mov qword [r14], rsi
jmp 0x140162091
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret