joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401526c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x40
xor ebx, ebx
test byte [0x1402c5c10], 1
mov qword [rsp + 0x58], rbx
jne 0x140152805
lock bts qword [0x1402c5c10], 0x1f
setb al
test al, al
je 0x14015270f
test byte [0x1402c5c10], 1
jne 0x140152805
xor edx, edx
lea rcx, [0x1402c5c10]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152805
lea r8, str.kernel32.dll
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140152746
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140152742
mov edx, ecx
shr rdx, 1
jmp 0x140152783
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152775
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152760
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rax, [rdx + rdx]
mov qword [rsp + 0x38], r8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.14017e120
mov rcx, rax
test rax, rax
je 0x1401527f2
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401527f2
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401527f2
cmp dword [rdx + rcx], 0x4550
jne 0x1401527f2
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401527f2
cmp dword [rdx + 4], ebx
je 0x1401527f2
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.GetPhysicallyInstalledSystemMemory
call fcn.14017e4c0
mov rbx, rax
lea rcx, [0x1402c5c10]
mov qword [0x1402cdb98], rbx
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb98]
test rax, rax
je 0x140152857
lea rcx, [rsp + 0x58]
call qword [case.0x14013d84a.0]
nop dword [rax]
test eax, eax
je 0x140152857
mov rcx, qword [rsp + 0x58]
mov rax, rcx
shl rax, 0xa
mov qword [0x1402cd8e8], rax
mov eax, dword [0x1402caafc]
shl rax, 2
sub rcx, rax
mov al, 1
shl rcx, 0xa
mov qword [0x1402cd990], rcx
add rsp, 0x40
pop rbx
ret
xor al, al
add rsp, 0x40
pop rbx
ret
Function at 0x140152860
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c5b50], 1
mov rbx, rdx
mov rdi, rcx
jne 0x1401529a9
lock bts qword [0x1402c5b50], 0x1f
setb al
test al, al
je 0x1401528ae
test byte [0x1402c5b50], 1
jne 0x1401529a9
xor edx, edx
lea rcx, [0x1402c5b50]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401529a9
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401528e6
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401528e2
mov edx, ecx
shr rdx, 1
jmp 0x140152923
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152915
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152900
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rax, [rdx + rdx]
mov qword [rsp + 0x38], r8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.14017e120
mov rcx, rax
test rax, rax
je 0x140152994
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152994
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140152994
cmp dword [rdx + rcx], 0x4550
jne 0x140152994
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152994
cmp dword [rdx + 4], 0
je 0x140152994
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.GetSendMessageReceiver
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x140152996
xor eax, eax
lea rcx, [0x1402c5b50]
mov qword [0x1402cdbd8], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdbd8]
test rax, rax
je 0x1401529d5
mov rcx, rdi
call qword [case.0x14013d84a.0]
nop
test rax, rax
je 0x1401529d5
mov qword [rbx], rax
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x40
pop rdi
ret
Function at 0x140152a00
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rbx, r8
test byte [0x1402c5bd0], 1
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x30], rbp
jne 0x140152b67
lock bts qword [0x1402c5bd0], 0x1f
setb al
test al, al
je 0x140152a6a
test byte [0x1402c5bd0], 1
jne 0x140152b67
xor edx, edx
lea rcx, [0x1402c5bd0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152b67
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140152aa2
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140152a9e
mov edx, ecx
shr rdx, 1
jmp 0x140152ae3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152ad5
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152ac0
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rax, [rdx + rdx]
mov qword [rsp + 0x40], r8
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call fcn.14017e120
mov rcx, rax
test rax, rax
je 0x140152b51
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152b51
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140152b51
cmp dword [rdx + rcx], 0x4550
jne 0x140152b51
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152b51
cmp dword [rdx + 4], ebp
je 0x140152b51
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.PrivateExtractIconExW
call fcn.14017e4c0
jmp 0x140152b54
mov rax, rbp
lea rcx, [0x1402c5bd0]
mov qword [0x1402cdb70], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb70]
test rax, rax
je 0x140152be6
test rbx, rbx
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x30]
mov rcx, rsi
cmove r9, rbp
lea r8, [rsp + 0x78]
test rdi, rdi
cmove r8, rbp
xor edx, edx
call qword [case.0x14013d84a.0]
nop
test eax, eax
jle 0x140152bc2
test rdi, rdi
je 0x140152bb1
mov rax, qword [rsp + 0x78]
mov qword [rdi], rax
test rbx, rbx
je 0x140152bbe
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
mov al, 1
jmp 0x140152be8
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140152bd2
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140152be6
nop dword [rax]
call qword [sym.imp.USER32.dll_DestroyIcon]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140153840
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x38
xor r9d, r9d
test cl, 1
je 0x140153855
lfence
mov r9d, 4
test cl, 2
je 0x140153861
lfence
or r9d, 8
test cl, 4
je 0x14015386d
lfence
or r9d, 0x40
test cl, 8
je 0x14015387a
lfence
bts r9d, 9
test cl, 0x10
je 0x140153887
lfence
bts r9d, 0xa
test cl, cl
jns 0x140153893
lfence
bts r9d, 0x13
or r9d, 1
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
add rsp, 0x38
ret
Function at 0x1401538c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0xf], rax
movaps xmm0, xmmword [rdx]
mov r14d, r8d
mov r15, qword [rbp + 0x7f]
mov rsi, rcx
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
test r9, r9
je 0x140153918
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [r9]
jmp 0x14015395b
cmp qword [0x1402cdba8], 0
jne 0x140153949
xor r9d, r9d
lea rdx, [rbp - 0x21]
mov r8d, 0x30
mov ecx, 3
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140153949
mov rax, qword [rbp - 0x21]
mov qword [0x1402cdba8], rax
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [0x1402cdba8]
sub rbx, qword [r15]
xorps xmm1, xmm1
movss xmm6, dword [0x140290858]
xorps xmm0, xmm0
cvtsi2ss xmm0, rdi
cvtsi2ss xmm1, rbx
divss xmm1, xmm0
movss xmm0, dword [0x1402907b4]
mulss xmm1, dword [0x140290858]
minss xmm6, xmm1
comiss xmm0, xmm6
jbe 0x140153996
xorps xmm6, xmm6
and r14d, 2
je 0x1401539a5
mov r8, qword [0x1402cab20]
jmp 0x1401539b3
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov r8, rax
lea rdx, ds:[rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
inc dword [rbp - 0x41]
inc dword [rbp - 0x3d]
dec dword [rbp - 0x39]
inc dword [rbp - 0x31]
inc dword [rbp - 0x2d]
dec dword [rbp - 0x29]
test r14d, r14d
je 0x140153a05
mov r8, qword [0x1402cab20]
lea rdx, [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rsi
mov edx, 0x808080
cmp rbx, rdi
jg 0x140153a38
mov edx, 0x878200
jmp 0x140153a38
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColorBrush]
lea rdx, ds:[rbp - 0x41]
mov rcx, rsi
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rsi
mov edx, 0x808080
cmp rbx, rdi
jg 0x140153a38
mov edx, 0x9eca9e
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r9d, dword [rbp - 0x39]
mov rcx, rsi
mov eax, dword [rbp - 0x41]
divss xmm6, dword [0x140290858]
mov r8d, dword [rbp - 0x3d]
sub eax, r9d
mov dword [rsp + 0x28], 0xf00021
movd xmm1, eax
mov eax, dword [rbp - 0x35]
cvtdq2ps xmm1, xmm1
movd xmm0, r9d
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, dword [rbp - 0x31]
cmovl edx, dword [rbp - 0x31]
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x20], eax
mov dword [rbp - 0x41], edx
call qword [sym.imp.GDI32.dll_PatBlt]
mov ecx, 2
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, [rbp - 0x31]
mov rcx, rsi
mov r8, rax
call qword [sym.imp.USER32.dll_FrameRect]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401e4a20
mov rbx, qword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140153ba0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x48
test byte [0x1402c5c40], 1
jne 0x140153e4a
lock bts qword [0x1402c5c40], 0x1f
setb al
test al, al
je 0x140153beb
test byte [0x1402c5c40], 1
jne 0x140153e4a
xor edx, edx
lea rcx, [0x1402c5c40]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402cdc30]
add rsp, 0x48
ret
cmp dword [0x1402bff40], 0x3e
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
lea rbx, str.windowscodecs.dll
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0x22
jb 0x140153d05
call fcn.14017e120
mov rcx, rax
test rax, rax
jne 0x140153c89
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140153c89
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140153c89
cmp dword [0x1402bff40], 0x3e
nop
jae 0x140153e38
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140153e38
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140153e38
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140153e38
cmp dword [rdx + rcx], 0x4550
jne 0x140153e38
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140153e38
cmp dword [rdx + 4], 0
je 0x140153e38
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017e4c0
test rax, rax
je 0x140153e38
lea rcx, [0x140288e48]
nop dword [rax]
jmp 0x140153dec
call fcn.14017e120
mov rcx, rax
test rax, rax
jne 0x140153d72
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140153d72
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140153d72
cmp dword [0x1402bff40], 0x3e
jae 0x140153e38
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140153e38
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140153e38
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140153e38
cmp dword [rdx + rcx], 0x4550
jne 0x140153e38
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140153e38
cmp dword ds:[rdx + 4], 0
je 0x140153e38
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017e4c0
nop dword [rax]
test rax, rax
je 0x140153e38
lea rcx, [0x140288e68]
lea r8, [rsp + 0x50]
lea rdx, [0x14020fc00]
call qword [case.0x14013d84a.0]
nop
test eax, eax
js 0x140153e38
mov rcx, qword [rsp + 0x50]
lea r9, [0x1402cdc30]
lea r8, [0x14020fb20]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d84a.0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d84a.0]
lea rcx, [0x1402c5c40]
nop
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x40]
mov rax, qword [0x1402cdc30]
add rsp, 0x48
ret
Function at 0x140154660
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c5bc0], 1
mov rbx, rdx
mov rdi, rcx
jne 0x1401547a9
lock bts qword [0x1402c5bc0], 0x1f
setb al
test al, al
je 0x1401546ae
test byte [0x1402c5bc0], 1
jne 0x1401547a9
xor edx, edx
lea rcx, [0x1402c5bc0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401547a9
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401546e6
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401546e2
mov edx, ecx
shr rdx, 1
jmp 0x140154723
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140154715
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140154700
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rax, [rdx + rdx]
mov qword [rsp + 0x38], r8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.14017e120
mov rcx, rax
test rax, rax
je 0x140154794
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140154794
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154794
cmp dword [rdx + rcx], 0x4550
jne 0x140154794
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154794
cmp dword [rdx + 4], 0
je 0x140154794
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.SetWindowCompositionAttribute
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x140154796
xor eax, eax
lea rcx, [0x1402c5bc0]
mov qword [0x1402cdb78], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb78]
test rax, rax
je 0x1401547d6
mov rdx, rbx
mov rcx, rdi
call qword [case.0x14013d84a.0]
test eax, eax
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1401550c0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x70
mov esi, dword [rsp + 0xa8]
mov r14, rcx
xor ebp, ebp
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rbp
lea eax, [rsi*8]
not eax
and eax, 0x20
or eax, 0x40
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [rsp + 0x20], 0x80
call sym.SystemInformer.exe_PhCreateFileWin32Ex
test eax, eax
jns 0x140155133
lfence
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
test byte [0x1402c5c50], 1
jne 0x140155168
lock bts qword [0x1402c5c50], 0x1f
setb al
test al, al
je 0x14015523d
test byte [0x1402c5c50], 1
jne 0x140155168
xor edx, edx
lea rcx, [0x1402c5c50]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rdx, qword [0x1402cab40]
mov ecx, 0x30
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword ds:[rsp + 0x50]
mov rbx, rax
mov qword [rax], rcx
mov ecx, esi
shl ecx, 0xb
mov dword [rax + 8], esi
not ecx
and ecx, 0x1000
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], ecx
mov qword [rax + 0x24], rbp
mov dword [rax + 0x2c], ebp
bt esi, 0x10
jae 0x1401552d1
mov rcx, qword [rax]
lea rdx, [rax + 0x10]
call sym.SystemInformer.exe_PhGetFileSize
test eax, eax
js 0x140155219
test byte [rbx + 8], 8
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x10], rax
jne 0x1401552d1
lfence
mov rcx, qword [rbx]
lea r8, [rsp + 0x50]
mov r9d, 8
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x1401552d1
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401552d7
call fcn.140141ea0
jmp 0x1401552d7
mov rdx, qword [0x1402ca978]
mov ecx, 0x40
call sym.SystemInformer.exe_PhCreateObject
mov ecx, 1
mov r8, rax
mov word [rax], cx
lock xadd dword [0x1402ca970], ecx
mov dword [rax + 4], ebp
movzx ecx, cl
mov byte [rax + 2], cl
lea rax, [0x140155440]
mov qword [r8 + 8], rax
lea rax, [0x140288e88]
mov qword [r8 + 0x10], rax
lea rax, [0x1402ced00]
mov qword [rax + rcx*8], r8
lea rax, [r8 + 0x20]
test al, 0xf
jne 0x1401552c5
xorps xmm0, xmm0
mov qword [0x1402cab40], r8
movaps xmmword [rax], xmm0
lea rcx, [0x1402c5c50]
mov dword [rax + 0x10], ebp
mov dword [rax + 0x14], 0x10
mov qword [rax + 0x18], 0x40
call sym.SystemInformer.exe_PhfSetEvent
nop
jmp 0x140155168
mov ecx, 0x80000002
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
lfence
mov qword [r14], rbx
mov rbx, qword [rsp + 0x80]
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x20]
xor eax, eax
mov rsi, qword [r11 + 0x28]
mov rdi, qword [rsp + 0x88]
mov rsp, r11
pop r14
ret
Function at 0x1401554e0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
test byte [rcx + 8], 0xc
mov rbx, rcx
jne 0x140155537
mov rcx, qword [rcx]
lea r8, [rsp + 0x50]
mov r9d, 8
mov dword [rsp + 0x20], 0xe
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x140155520
lfence
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rax, qword [rsp + 0x50]
cmp qword [rbx + 0x10], rax
je 0x140155537
mov ecx, 0xc00000e5
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140155540
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0x20]
lea r9, [rsp + 0x48]
mov rbx, rcx
mov dword [rsp + 0x28], 4
xor edi, edi
mov qword [rsp + 0x48], rax
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
mov eax, 0xc0000017
js 0x1401555a9
mov rcx, qword [rsp + 0x40]
test rcx, rcx
mov qword [rbx + 0x18], rcx
cmovne eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rbx + 0x18], rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1401555c0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
test byte [rcx + 8], 8
lea rax, [rcx + 0x10]
mov rsi, rcx
mov rdi, r9
mov ecx, 0
cmove rax, rcx
mov qword [r11 - 0x28], rcx
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov rcx, qword [rsi]
lea rax, [r11 - 0x18]
mov dword [r11 - 0x38], r8d
xor r8d, r8d
mov qword [r11 - 0x40], rdx
xor edx, edx
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14015562e
mov rcx, qword ds:[rsi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
js 0x140155647
mov eax, dword [rsp + 0x50]
test eax, eax
js 0x140155647
mov rcx, qword ds:[rsp + 0x58]
add qword [rsi + 0x10], rcx
test rdi, rdi
je 0x140155647
mov dword [rdi], ecx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140155660
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor r12d, r12d
mov r14, r9
test byte [rcx + 8], 2
mov r15d, r8d
mov r13, rdx
mov rbx, rcx
mov edi, r12d
je 0x140155694
call fcn.1401555c0
jmp 0x1401558a4
mov eax, dword [rcx + 0x24]
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rsi
mov esi, dword [rcx + 0x28]
sub esi, eax
jne 0x1401557ca
mov r8d, dword [rcx + 0x2c]
test r8d, r8d
je 0x1401556cd
mov rdx, qword ds:[rcx + 0x18]
call fcn.1401558c0
test eax, eax
js 0x140155717
mov dword [rbx + 0x2c], r12d
mov ebp, 8
mov rax, rbx
mov ecx, ebp
lea r8, [rbx + rcx]
cmp r15d, dword [rbx + 0x20]
jb 0x140155705
lfence
mov r9, r14
mov qword [rbx + 0x24], r12
mov r8d, r15d
mov rdx, r13
mov rcx, rbx
call fcn.1401555c0
nop
jmp 0x140155894
cmp qword [rbx + 0x18], rdi
jne 0x140155723
mov rcx, rbx
call fcn.140155540
test eax, eax
jns 0x14015571f
lfence
jmp 0x140155894
lea r8, [rbx + 8]
test byte ds:[r8], 8
lea rax, [rbx + 0x10]
mov ecx, dword [rbx + 0x20]
mov r8, rdi
mov rdx, qword [rbx + 0x18]
cmove rax, rdi
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov edi, eax
cmp eax, 0x103
jne 0x140155788
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov edi, eax
test eax, eax
js 0x1401557c2
mov edi, dword [rsp + 0x50]
test edi, edi
js 0x1401557c2
mov rsi, qword [rsp + 0x58]
add qword [rbx + 0x10], rsi
test esi, esi
jne 0x1401557b3
lfence
test r14, r14
je 0x140155892
xor eax, eax
mov dword [r14], eax
jmp 0x140155892
xor eax, eax
mov dword [rbx + 0x28], esi
mov dword [rbx + 0x24], eax
mov rcx, rbx
jmp 0x1401557cf
lfence
jmp 0x140155892
mov ebp, 8
add rcx, rbp
mov edx, eax
mov qword [rsp + 0x90], rcx
cmp esi, r15d
mov rcx, r13
cmova esi, r15d
add rdx, qword [rbx + 0x18]
mov r8d, esi
call fcn.14020af00
add dword [rbx + 0x24], esi
cmp esi, r15d
jae 0x14015588a
mov eax, dword [rbx + 0x20]
cmp dword [rbx + 0x28], eax
jne 0x14015588a
lfence
mov rax, qword [rsp + 0x90]
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x40], r12
test byte [rax], 8
lea rax, [rsi + r13]
cmove rcx, r12
sub r15d, esi
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov rcx, qword [rbx]
xor r8d, r8d
mov dword [rsp + 0x30], r15d
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov edi, eax
cmp eax, 0x103
jne 0x140155877
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov edi, eax
test eax, eax
js 0x140155892
mov edi, dword [rsp + 0x50]
test edi, edi
js 0x140155892
mov rax, qword [rsp + 0x58]
add qword [rbx + 0x10], rax
add esi, eax
mov qword [rbx + 0x24], r12
test r14, r14
je 0x140155892
mov dword [r14], esi
mov eax, edi
mov rbp, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
ret