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

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor edi, edi
mov rbx, rcx
test byte [0x1402c5970], 1
jne 0x14013f751
lock bts qword [0x1402c5970], 0x1f
setb al
test al, al
jne 0x14013f73a
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013f6d1
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013f6d1
cmp dword [0x1402bff40], 0x3e
jae 0x14013f72c
xor r8d, r8d
lea rcx, str.shell32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013f72c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013f722
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013f722
cmp dword [rdx + rcx], 0x4550
jne 0x14013f722
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013f722
cmp dword [rdx + 4], edi
je 0x14013f722
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.CommandLineToArgvW
call fcn.14017e4c0
nop
jmp 0x14013f725
mov rax, rdi
mov qword [0x1402cdab0], rax
lea rcx, [0x1402c5970]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x14013f751
test byte [0x1402c5970], 1
jne 0x14013f751
xor edx, edx
lea rcx, [0x1402c5970]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402cdab0]
nop dword [rax + rax]
test rax, rax
je 0x14013f83b
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov rcx, rbx
call qword [case.0x14013d84a.0]
mov r14, rax
test rax, rax
je 0x14013f82c
mov ecx, dword [rsp + 0x58]
call sym.SystemInformer.exe_PhCreateList
mov rbx, rax
cmp dword [rsp + 0x58], edi
jle 0x14013f814
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rsi
mov rsi, r14
mov rcx, qword [rsi]
call sym.SystemInformer.exe_PhCreateString
mov rbp, rax
mov eax, dword [rbx + 4]
cmp dword [rbx], eax
jne 0x14013f7f2
mov r8, qword [rbx + 8]
add eax, eax
mov rcx, qword [0x1402caaf0]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 4], eax
test r8, r8
jne 0x14013f7e8
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14013f7ee
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rbx + 8], rax
mov edx, dword [rbx]
inc edi
mov rax, qword [rbx + 8]
add rsi, 8
mov qword [rax + rdx*8], rbp
inc dword [rbx]
cmp edi, dword [rsp + 0x58]
jl 0x14013f7a8
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x30]
mov rax, rbx
add rsp, 0x38
pop rdi
pop rbx
ret
mov r14, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x38
pop rdi
pop rbx
ret
mov rax, rdi
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x1401402a0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x128
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x110], rax
test byte [0x1402c5990], 1
jne 0x140140446
lock bts qword [0x1402c5990], 0x1f
setb al
test al, al
jne 0x1401402db
mov al, 1
jmp 0x1401402f4
test byte [0x1402c5990], 1
jne 0x1401402f2
xor edx, edx
lea rcx, [0x1402c5990]
call sym.SystemInformer.exe_PhfWaitForEvent
xor al, al
test al, al
je 0x140140446
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x120], rdi
call fcn.140189960
mov edx, 1
lea rcx, [rsp + 0x60]
mov rdi, rax
movzx ebx, byte [rax + 1]
call qword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
lea edx, ds:[rbx*4 + 0x4c]
mov r8d, 2
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
lea r9, [0x1402450f0]
mov edx, 2
mov r8d, 0xf000f
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
mov r9, rdi
lea rcx, [rsp + 0x88]
mov edx, 2
mov r8d, 0xf000f
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
lea r9, [0x140245100]
mov edx, 2
mov r8d, 7
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
xor r9d, r9d
lea r8, [rsp + 0x88]
mov dl, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
xor r8d, r8d
mov dword [rsp + 0x20], 0x420040
cmp dword [0x1402bff40], 0x64
lea rax, str.BaseNamedObjectsSystemInformer
mov qword [rsp + 0x28], rax
lea rcx, [0x1402cda70]
mov edx, 0x80
mov qword [rsp + 0x38], r8
mov eax, 0x1080
mov qword [rsp + 0x58], r8
cmovb eax, edx
mov dword [rsp + 0x30], 0x30
mov dword [rsp + 0x48], eax
lea r8, [rsp + 0x30]
lea rax, [rsp + 0x20]
mov edx, 0x2000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
call qword [sym.imp.ntdll.dll_NtCreateDirectoryObject]
lea rcx, [0x1402c5990]
call sym.SystemInformer.exe_PhfSetEvent
mov rdi, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x130]
mov rax, qword [0x1402cda70]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x128
ret
Function at 0x140140480
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c5ad0], 1
mov rbx, rcx
jne 0x1401405c9
lock bts qword [0x1402c5ad0], 0x1f
setb al
test al, al
je 0x1401404ca
test byte [0x1402c5ad0], 1
jne 0x1401405c9
xor edx, edx
lea rcx, [0x1402c5ad0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401405c9
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140140502
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401404fe
mov edx, ecx
shr rdx, 1
jmp 0x140140543
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140140535
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140140520
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 0x1401405b4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401405b4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401405b4
cmp dword [rdx + rcx], 0x4550
jne 0x1401405b4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401405b4
cmp dword [rdx + 4], 0
je 0x1401405b4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.HungWindowFromGhostWindow
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x1401405b6
xor eax, eax
lea rcx, [0x1402c5ad0]
mov qword [0x1402cdb10], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb10]
test rax, rax
jne 0x1401405db
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp qword [case.0x14013d84a.0]
Function at 0x140140600
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1070
call fcn.140209e10
sub rsp, rax
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
mov edi, 0x1000
mov rcx, qword [0x1402caaf0]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
xor r8d, r8d
mov rbx, rax
xor edx, edx
xor eax, eax
mov rcx, r15
mov qword [rsp + 0x40], rax
mov r14d, eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov ebp, eax
test eax, eax
js 0x14014073a
lfence
nop word [rax + rax]
mov esi, dword [rsp + 0x58]
test esi, esi
je 0x14014074a
lea ebp, [rsi + r14]
cmp edi, ebp
jae 0x1401406e1
mov rcx, qword [0x1402caaf0]
add edi, edi
mov r9d, edi
mov edx, 4
test rbx, rbx
jne 0x1401406d5
mov r8d, r9d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x1401406de
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rbx, rax
mov ecx, r14d
lea rdx, [rsp + 0x60]
add rcx, rbx
mov r8, rsi
call fcn.14020af00
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], 0x1000
mov qword [rsp + 0x28], rax
mov rcx, r15
lea rax, [rsp + 0x50]
mov r14d, ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov ebp, eax
test eax, eax
jns 0x1401406a0
mov r8, rbx
cmp ebp, 0xc0000011
jne 0x14014077b
xor ebp, ebp
mov esi, r14d
mov eax, edi
lea rcx, [rsi + 1]
cmp rax, rcx
jae 0x1401407af
lea r9d, [rdi + 1]
lfence
mov rcx, qword [0x1402caaf0]
mov edx, 4
test rbx, rbx
jne 0x1401407a3
mov r8d, r9d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x1401407ac
test ebp, ebp
jns 0x14014074a
lfence
mov rcx, qword [0x1402caaf0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [r12], 0
mov dword [r13], 0
jmp 0x1401407bb
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rbx, rax
mov byte [rsi + rbx], 0
mov qword [r12], rbx
mov dword [r13], r14d
mov eax, ebp
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.1401e4a20
mov rbx, qword [rsp + 0x10c8]
add rsp, 0x1070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401409a0
Capabilities:
Parse pe header

Disassembly:
mov qword ss:[rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, 0x5a4d
mov rdi, r9
mov rsi, r8
mov rbx, rdx
cmp word [rcx], ax
jne 0x140140a79
mov r10d, dword [rcx + 0x3c]
lea eax, [r10 - 1]
cmp eax, 0x7ffffffd
ja 0x140140a79
cmp dword [r10 + rcx], 0x4550
jne 0x140140a79
lea rdx, [rcx + 0x88]
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x140140a79
cmp dword ds:[rdx + 4], 0
je 0x140140a79
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017e4c0
test rax, rax
je 0x140140a79
lea r8, [rsp + 0x40]
mov rcx, rbx
lea rdx, [0x14020fc00]
call qword [case.0x14013d84a.0]
mov ebx, eax
test eax, eax
js 0x140140a67
mov rcx, qword [rsp + 0x40]
mov r9, rdi
mov r8, rsi
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d84a.0]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d84a.0]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov eax, 0x8007007f
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140140b40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
lea r8, str.Windows.Management.Deployment.PackageManager
mov dword [rsp + 0x30], 1
mov r10, rcx
mov rdx, r8
and rdx, 0xfffffffffffffff1
mov rcx, r8
mov rdi, r9
xorps xmm1, xmm1
and ecx, 0xf
je 0x140140b93
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140140b8f
mov edx, ecx
shr rdx, 1
jmp 0x140140bd3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140140bc5
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140140bb0
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
mov eax, 0x5a4d
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x40], r8
cmp word [r10], ax
jne 0x140140cda
mov ecx, dword [r10 + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140140cda
cmp dword [rcx + r10], 0x4550
jne 0x140140cda
lea rdx, [r10 + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140140cda
cmp dword [rdx + 4], 0
je 0x140140cda
lea r8, ds:[r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.DllGetActivationFactory
mov word [rsp + 0x20], ax
call fcn.14017e4c0
test rax, rax
je 0x140140cda
lea rdx, ds:[rsp + 0x68]
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x30]
call qword [case.0x14013d84a.0]
mov ebx, eax
test eax, eax
jne 0x140140ccd
mov rcx, qword ds:[rsp + 0x68]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x14013d84a.0]
mov ebx, eax
test eax, eax
jne 0x140140cbb
mov rcx, qword [rsp + 0x70]
lea rdx, [0x14028f2f8]
mov r8, rdi
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14013d84a.0]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d84a.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d84a.0]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov eax, 0x8007007f
add rsp, 0x50
pop rdi
ret
Function at 0x140140d00
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c5a80], 1
mov rbx, rdx
jne 0x140140ddc
lock bts qword [0x1402c5a80], 0x1f
setb al
test al, al
je 0x140140d4a
test byte [0x1402c5a80], 1
jne 0x140140ddc
xor edx, edx
lea rcx, [0x1402c5a80]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140140ddc
lea rax, [0x14023ec90]
mov qword [rsp + 0x30], 0x12
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017e120
mov r10, rax
test rax, rax
je 0x140140dd0
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x140140dc7
mov eax, dword [r10 + 0x3c]
lea ecx, [rax - 1]
cmp ecx, 0x7ffffffd
ja 0x140140dc7
cmp dword [rax + r10], 0x4550
jne 0x140140dc7
lea rdx, [r10 + 0x88]
add rdx, rax
mov eax, dword [rdx]
test eax, eax
je 0x140140dc7
cmp dword [rdx + 4], 0
je 0x140140dc7
lea r8, [r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.RtlDelayExecution
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x140140dc9
xor eax, eax
mov qword [0x1402cdb00], rax
lea rcx, [0x1402c5a80]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb00]
xor ecx, ecx
mov rdx, rbx
test rax, rax
je 0x140140df9
add rsp, 0x40
pop rbx
jmp qword [case.0x14013d84a.0]
add rsp, 0x40
pop rbx
jmp qword [sym.imp.ntdll.dll_NtDelayExecution]
Function at 0x1401414c0
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
test byte [0x1402c5900], 1
mov rbx, r9
mov edi, r8d
mov esi, edx
mov ebp, ecx
jne 0x1401415df
lock bts qword [0x1402c5900], 0x1f
setb al
test al, al
je 0x14014151c
test byte [0x1402c5900], 1
jne 0x1401415df
xor edx, edx
lea rcx, [0x1402c5900]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401415df
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141579
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141579
cmp dword [0x1402bff40], 0x3e
jae 0x1401415d3
xor r8d, r8d
lea rcx, str.cfgmgr32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1401415d3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401415ca
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401415ca
cmp dword [rdx + rcx], 0x4550
jne 0x1401415ca
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401415ca
cmp dword [rdx + 4], 0
je 0x1401415ca
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DevGetObjects
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x1401415cc
xor eax, eax
mov qword [0x1402cdaf8], rax
lea rcx, [0x1402c5900]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdaf8]
test rax, rax
jne 0x1401415f2
mov eax, 0x80004005
jmp 0x140141634
mov rcx, qword [rsp + 0x98]
mov r9, rbx
mov qword [rsp + 0x38], rcx
mov r8d, edi
mov rcx, qword [rsp + 0x90]
mov edx, esi
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x20], ecx
mov ecx, ebp
call qword [case.0x14013d84a.0]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140141660
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402c5aa0], 1
mov rbx, rdx
mov edi, ecx
jne 0x14014177c
lock bts qword [0x1402c5aa0], 0x1f
setb al
test al, al
je 0x1401416ad
test byte [0x1402c5aa0], 1
jne 0x14014177c
xor edx, edx
lea rcx, [0x1402c5aa0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014177c
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141711
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141711
cmp dword [0x1402bff40], 0x3e
jae 0x140141770
xor r8d, r8d
lea rcx, str.cfgmgr32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140141770
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140141767
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140141767
cmp dword [rdx + rcx], 0x4550
jne 0x140141767
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140141767
cmp dword [rdx + 4], 0
je 0x140141767
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.DevFreeObjects
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x140141769
xor eax, eax
mov qword [0x1402cdae8], rax
lea rcx, [0x1402c5aa0]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdae8]
test rax, rax
je 0x140141793
mov rdx, rbx
mov ecx, edi
call qword [case.0x14013d84a.0]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1401417a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rbx, str.explorerframe.dll
mov qword [rsp + 0x30], 0x22
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov rdi, rcx
call fcn.14017e120
mov rcx, rax
test rax, rax
jne 0x140141836
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141836
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141836
cmp dword [0x1402bff40], 0x3e
jae 0x140141826
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141836
mov eax, 0x8007007e
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401418ee
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401418ee
cmp dword [rdx + rcx], 0x4550
jne 0x1401418ee
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401418ee
cmp dword [rdx + 4], 0
je 0x1401418ee
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017e4c0
test rax, rax
je 0x1401418ee
lea r8, [rsp + 0x60]
lea rdx, [0x14020fc00]
lea rcx, [0x14020fbc0]
call qword [case.0x14013d84a.0]
mov ebx, eax
test eax, eax
js 0x1401418f3
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x58]
lea r8, [0x14020fba0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d84a.0]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d84a.0]
jmp 0x1401418f3
mov ebx, 0x8007007f
test ebx, ebx
jne 0x14014193b
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d84a.0]
mov ebx, eax
test eax, eax
je 0x140141933
mov rcx, qword ds:[rsp + 0x58]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14013d84a.0]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140142080
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
cmp dword [0x1402bff40], 0xffffffff
mov dword [rcx], eax
mov qword [rcx + 0x208], rax
mov qword [rcx + 0x210], rax
mov ecx, dword [0x1402cdb18]
jae 0x1401420c8
cmp ecx, 0x40
jae 0x1401420c8
mov rdx, qword gs:[0x30]
mov ecx, dword [0x1402cdb18]
mov rax, qword [rdx + rcx*8 + 0x1480]
jmp 0x1401420d4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1402cdb18]
mov rdx, rbx
mov qword [rbx + 0x218], rax
call fcn.140149740
test eax, eax
jns 0x1401420f5
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140142100
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.SystemInformer.exe_PhDrainAutoPool
cmp dword [0x1402bff40], 0xffffffff
mov ecx, dword [0x1402cdb18]
jae 0x14014213e
nop dword [rax]
cmp ecx, 0x40
jae 0x14014213e
mov rdx, qword gs:[0x30]
mov ecx, dword [0x1402cdb18]
mov rax, qword [rdx + rcx*8 + 0x1480]
jmp 0x14014214c
nop
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1402cdb18]
cmp rax, rbx
jne 0x14014218d
mov rdx, qword [rbx + 0x218]
call fcn.140149740
nop dword [rax]
test eax, eax
js 0x14014218d
mov r8, qword [rbx + 0x210]
test r8, r8
je 0x140142187
mov rcx, qword [0x1402caaf0]
xor edx, edx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntdll.dll_RtlFreeHeap]
add rsp, 0x20
pop rbx
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3

Function at 0x1401422a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1402bff40], 0xffffffff
mov rdi, rcx
mov ecx, dword [0x1402cdb18]
jae 0x1401422db
nop dword [rax]
cmp ecx, 0x40
jae 0x1401422db
lfence
mov rdx, qword gs:[0x30]
mov rbx, qword [rdx + rcx*8 + 0x1480]
jmp 0x1401422e9
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rdi, rdi
jne 0x1401422fb
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, dword ds:[rbx]
cmp eax, 0x40
jae 0x14014231a
mov qword [rbx + rax*8 + 8], rdi
mov rax, rdi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x140142352
mov rcx, qword [0x1402caaf0]
mov edx, 4
mov r8d, 0x200
mov dword [rbx + 0x20c], 0x40
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword ds:[rbx + 0x20c]
cmp dword [rbx + 0x208], eax
jne 0x1401423b1
add eax, eax
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
jne 0x140142397
mov rcx, qword [0x1402caaf0]
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x1401423a7
mov r8, rcx
mov rcx, qword [0x1402caaf0]
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x208]
mov qword [rcx + rax*8], rdi
mov rax, rdi
inc dword [rbx + 0x208]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret