joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016b740
Capabilities:
Stop service

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x20]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14016b77e
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x58
ret
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x58
ret
Function at 0x1401736e0
Capabilities:
Map section object

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbp
push rdi
sub rsp, 0x60
xor ebp, ebp
mov rdi, r8
mov r8d, 0x100081
test dl, dl
je 0x140173727
mov dword ds:[rax - 0x38], 0x60
mov rdx, rcx
mov dword [rax - 0x40], 1
lea rcx, [rax + 0x20]
mov r9d, 0x80
mov dword [rax - 0x48], 5
call sym.SystemInformer.exe_PhCreateFile
jmp 0x140173765
mov rdx, qword ds:[rcx + 8]
xor r9d, r9d
mov qword [rsp + 0x40], rbp
lea rcx, [rsp + 0x88]
mov dword [rsp + 0x38], 0x60
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 0x80
call sym.SystemInformer.exe_PhCreateFileWin32Ex
test eax, eax
jns 0x14017377a
lfence
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
cmp dword [0x1402b5e88], 0x3e
mov eax, 0x11000000
mov ecx, 0x1000000
mov qword [rsp + 0x70], rbx
cmovb eax, ecx
mov qword [rsp + 0x78], rsi
mov rsi, qword [rsp + 0x88]
lea rcx, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov dword [rsp + 0x20], 2
lea edx, [r9 + 5]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov ebx, eax
test eax, eax
js 0x14017385b
cmp dword [0x1402b5e88], 0x67
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov eax, 0x40000
mov dword [rsp + 0x48], 2
cmovb eax, ebp
mov dword [rsp + 0x40], eax
xor r9d, r9d
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
lea rdx, [r9 - 1]
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rsp + 0x88]
mov ebx, ebp
cmp eax, 0x40000003
cmovne ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14017385b
test rdi, rdi
je 0x14017385b
mov rdx, qword [rsp + 0x50]
or rdx, 2
mov qword [rdi], rdx
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtClose]
mov rsi, qword ss:[rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140173960
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x10000
jae 0x140173974
movzx r8d, dx
xor edx, edx
jmp 0x140174760
xor r8d, r8d
jmp 0x140174760
mov qword ss:[rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, rcx
mov r9, rcx
and rax, 0xfffffffffffffff1
movzx ebx, r8w
mov rdi, rdx
xorps xmm1, xmm1
and ecx, 0xf
je 0x1401747a2
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
je 0x14017479e
mov eax, ecx
shr rax, 1
jmp 0x1401747e3
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x1401747d5
nop dword [rax]
nop word [rax + rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x1401747c0
sub rax, r9
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
mov qword [rsp + 0x28], r9
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140174480
test rax, rax
jne 0x14017480a
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
movzx r8d, bx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1401746e0
Function at 0x140173ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rsp + 0xa0]
mov rdi, r9
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x28]
mov qword [rsp + 0x40], rdx
mov r8d, 3
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x48], 0
mov rsi, rcx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140173d71
lfence
mov rdx, qword [rsp + 0x28]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140173d71
test rdi, rdi
je 0x140173d5c
mov eax, dword [rsp + 0x20]
mov dword [rdi], eax
nop dword [rax]
test rbx, rbx
je 0x140173d6d
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
mov al, 1
jmp 0x140173d73
xor al, al
mov rcx, qword ds:[rsp + 0x50]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret

Function at 0x140173da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
sub rsp, 0x68
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, qword [rsp + 0xa0]
lea r9, [rsp + 0x28]
mov qword [rsp + 0x38], r8
mov rbx, rcx
mov qword [rsp + 0x40], rdx
mov r8d, 3
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x48], 0
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140173e62
lfence
mov rdx, qword [rsp + 0x28]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140173e62
mov qword [rsp + 0x98], rbp
mov rbp, qword [rsp + 0x30]
test rsi, rsi
je 0x140173e56
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov qword [rsp + 0x60], rdi
mov edi, dword [rsp + 0x20]
mov r8d, edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call fcn.1401e3aa0
mov rdi, qword [rsp + 0x60]
mov qword [rsi], rbx
mov rbp, qword [rsp + 0x98]
mov al, 1
jmp 0x140173e64
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x68
pop rsi
pop rbx
ret
Function at 0x140174300
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rbx, rcx
mov r14, rdx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov rax, qword gs:[0x30]
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x10
mov rax, qword [r9]
cmp rax, r9
je 0x14017435e
test rbx, rbx
je 0x140174388
nop
cmp qword [rax + 0x30], rbx
je 0x140174388
mov rax, qword [rax]
cmp rax, r9
jne 0x140174350
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
test rax, rax
je 0x14017435e
movzx ecx, word [rax + 0x48]
xor ebp, ebp
test cx, cx
jne 0x1401743a2
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x1401743ea
mov rdx, qword [0x1402bfcf8]
mov rdi, rcx
add rcx, 0x12
mov qword [rsp + 0x40], rsi
mov rsi, qword [rax + 0x50]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + rdi], bp
test rsi, rsi
je 0x1401743e5
mov rcx, qword ds:[rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.1401e3aa0
mov rsi, qword [rsp + 0x40]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
test rbx, rbx
je 0x140174378
mov rcx, rbx
call sym.SystemInformer.exe_PhGetFileName
mov rdi, rax
lea rcx, [rbx - 0x10]
mov edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x140174432
call fcn.14013d2a0
test r14, r14
je 0x140174454
mov edx, 0x5c
xor r8d, r8d
mov rcx, rdi
call sym.SystemInformer.exe_PhFindLastCharInStringRef
cmp rax, 0xffffffffffffffff
lea ecx, [rax + 1]
cmove ecx, ebp
mov dword [r14], ecx
mov rbx, qword [rsp + 0x48]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140174480
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r13
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov r13, rdx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
cmp dword [0x1402b5e88], 0x3e
jb 0x14017455a
nop dword [rax + rax]
test r13, r13
je 0x14017455a
mov rax, qword [r13]
xor ebx, ebx
mov r8d, ebx
test rax, rax
je 0x140174514
mov r9, qword [r13 + 8]
shr rax, 1
lea r10, [r9 + rax*2]
cmp r9, r10
je 0x140174514
nop word [rax + rax]
movzx edx, word [r9]
lea eax, [rdx - 0x61]
cmp ax, 0x19
lea ecx, [rdx - 0x20]
cmova ecx, edx
imul r8d, r8d, 0x1003f
add r9, 2
add r8d, ecx
cmp r9, r10
jne 0x1401744f0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
add rax, 0x10
mov r15, qword [rax]
cmp r15, rax
je 0x140174676
nop word [rax + rax]
cmp dword [r15 + 0x108], r8d
je 0x14017466d
mov r15, qword [r15]
cmp r15, rax
jne 0x140174540
jmp 0x140174676
mov rax, qword gs:[0x30]
xor ebx, ebx
mov qword [rsp + 0x28], r12
mov r15d, ebx
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov r12, qword [rax]
cmp r12, rax
je 0x140174668
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], r14
nop
movzx eax, word [r12 + 0x58]
mov rbx, qword [r12 + 0x60]
test r13, r13
je 0x14017464f
mov rsi, qword ds:[r13]
cmp rax, rsi
jb 0x1401746af
mov r14, qword [r13 + 8]
mov rcx, rsi
shr rcx, 4
test rcx, rcx
je 0x14017460a
nop dword [rax]
movdqu xmm1, xmmword [r14]
movdqu xmm0, xmmword [rbx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x14017469d
add rbx, 0x10
add r14, 0x10
sub rcx, 1
jne 0x1401745e0
shr rsi, 1
and esi, 7
test rsi, rsi
je 0x14017464f
sub r14, rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
movzx ebp, word [r14 + rbx]
cmp cx, bp
je 0x140174645
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx ecx, bp
movzx edi, ax
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
nop
cmp di, ax
jne 0x1401746af
add rbx, 2
sub rsi, 1
jne 0x140174620
mov r15, r12
mov rbp, qword [rsp + 0x58]
xor ebx, ebx
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
test r15, r15
je 0x140174676
mov rbx, qword [r15 + 0x30]
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov rax, rbx
add rsp, 0x30
pop r15
pop r13
pop rbx
ret
and esi, 0xf
shl rcx, 4
add rsi, rcx
shr rsi, 1
jmp 0x140174610
mov r12, qword [r12]
cmp r12, qword [rsp + 0x50]
jne 0x1401745a0
nop
jmp 0x140174652
Function at 0x1401746e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
mov eax, 0x5a4d
movzx r10d, r8w
mov r11, rdx
cmp word [rcx], ax
jne 0x140174741
mov r9d, dword ds:[rcx + 0x3c]
lea eax, [r9 - 1]
cmp eax, 0x7ffffffd
ja 0x140174741
cmp dword [r9 + rcx], 0x4550
jne 0x140174741
lea rdx, ds:[rcx + 0x88]
add rdx, r9
mov eax, dword [rdx]
test eax, eax
je 0x140174741
cmp dword [rdx + 4], 0
je 0x140174741
lea r8, [rcx + rax]
mov word [rsp + 0x20], r10w
mov r9, r11
call fcn.140174840
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x140174760
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x10000
jae 0x140173974
movzx r8d, dx
xor edx, edx
jmp 0x140174760
xor r8d, r8d
jmp 0x140174760
mov qword ss:[rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, rcx
mov r9, rcx
and rax, 0xfffffffffffffff1
movzx ebx, r8w
mov rdi, rdx
xorps xmm1, xmm1
and ecx, 0xf
je 0x1401747a2
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
je 0x14017479e
mov eax, ecx
shr rax, 1
jmp 0x1401747e3
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x1401747d5
nop dword [rax]
nop word [rax + rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x1401747c0
sub rax, r9
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
mov qword [rsp + 0x28], r9
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140174480
test rax, rax
jne 0x14017480a
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
movzx r8d, bx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1401746e0
Function at 0x140175220
Capabilities:
Parse pe header

Disassembly:
push rbp
push r12
push r13
push r14
sub rsp, 0x48
mov eax, 0x5a4d
mov r12, r9
mov r14, r8
mov r13, rdx
mov rbp, rcx
cmp word [rcx], ax
je 0x140175259
mov eax, 0xc000012f
lfence
add rsp, 0x48
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, dword ds:[rcx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140175404
cmp dword [rcx + rbp], 0x4550
mov eax, ecx
jne 0x140175404
mov ecx, dword [rcx + rbp + 0x90]
test ecx, ecx
je 0x1401753f0
cmp dword [rax + rbp + 0x94], 0
je 0x1401753f0
cmp dword [rcx + rbp + 0xc], 0
mov qword [rsp + 0x80], rsi
lea rsi, [rcx + rbp]
mov qword [rsp + 0x40], r15
mov r15d, 0xc0000001
je 0x1401753d4
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x88], rdi
mov eax, dword [rsi]
test eax, eax
je 0x1401753c7
mov ecx, dword [rsi + 0xc]
lea rdi, [rax + rbp]
mov ebx, dword [rsi + 0x10]
add rcx, rbp
mov rdx, r13
add rbx, rbp
call fcn.1401eb994
test eax, eax
jne 0x1401753b9
mov rax, qword [rdi]
test rax, rax
je 0x1401753b9
mov qword [rsp + 0x90], 8
sub rdi, rbx
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x30], rbx
test rax, rax
js 0x140175348
add rax, 2
mov r8, r14
add rax, rbp
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140175344
inc rax
test ecx, ecx
jne 0x140175330
test edx, edx
je 0x140175358
mov rax, qword [rdi + rbx + 8]
add rbx, 8
test rax, rax
jne 0x140175313
jmp 0x1401753b9
lea rax, ds:[rsp + 0x70]
mov r9d, 4
lea r8, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov r15d, eax
test eax, eax
js 0x1401753b9
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x70]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov qword [rbx], r12
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
add rsi, 0x14
cmp dword [rsi + 0xc], 0
jne 0x1401752c6
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov eax, r15d
mov r15, qword [rsp + 0x40]
add rsp, 0x48
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 0xc0000020
lfence
add rsp, 0x48
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 0xc000007b
lfence
add rsp, 0x48
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1401772c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov qword [rsp + 0x40], r8
xor ebx, ebx
mov qword [rsp + 0x38], 4
mov edi, r9d
mov qword [rsp + 0x48], rbx
mov rbp, rcx
lea r9, [rsp + 0x28]
lea rdx, [rsp + 0x38]
mov rcx, rsi
lea r8d, [rbx + 3]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14017733e
lfence
mov rdx, qword [rsp + 0x28]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14017733e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_LoadMenuIndirectW]
mov rbx, rax
nop
cmp edi, 0xffffffff
je 0x140177352
mov edx, edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetSubMenu]
jmp 0x140177355
mov rax, rbx
mov rdx, rax
mov rcx, rbp
call fcn.140177000
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyMenu]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140179ee0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
sub rsp, 0x38
mov rsi, rcx
call fcn.140179d60
mov rbx, rax
test rax, rax
jne 0x140179f03
mov eax, 0xc0000135
add rsp, 0x38
pop rsi
pop rbx
ret
mov r8, qword [0x1402bff50]
mov qword [rsp + 0x50], rbp
xor ebp, ebp
mov qword [rsp + 0x68], rdi
lea rdi, [rax + 0x3c]
mov qword [rsp + 0x30], r14
mov r14d, 0x5a4d
test r8, r8
jne 0x140179f81
cmp word [rax], r14w
jne 0x140179f77
mov ecx, dword [rdi]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140179f77
cmp dword [rcx + rbx], 0x4550
jne 0x140179f77
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140179f77
cmp dword [rdx + 4], ebp
je 0x140179f77
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, str.PowerGetActiveScheme
mov rcx, rbx
call fcn.140174840
mov r8, rax
jmp 0x140179f7a
mov r8, rbp
mov qword [0x1402bff50], r8
mov rax, qword [0x1402bff48]
test rax, rax
jne 0x140179fe8
cmp word [rbx], r14w
jne 0x140179fde
mov ecx, dword [rdi]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140179fde
cmp dword [rcx + rbx], 0x4550
jne 0x140179fde
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140179fde
cmp dword [rdx + 4], ebp
je 0x140179fde
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, str.PowerReadSecurityDescriptor
mov rcx, rbx
call fcn.140174840
mov r8, qword [0x1402bff50]
jmp 0x140179fe1
mov rax, rbp
mov qword [0x1402bff48], rax
mov r14, qword ss:[rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
test r8, r8
je 0x14017a093
test rax, rax
je 0x14017a093
lea rdx, ds:[rsp + 0x60]
xor ecx, ecx
mov rax, r8
call qword [str.PB__]
test eax, eax
je 0x14017a037
mov ecx, eax
add rsp, 0x38
pop rsi
pop rbx
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x58]
mov rax, qword [0x1402bff48]
mov ecx, 0xe
call qword [str.PB__]
mov ebx, eax
test eax, eax
jne 0x14017a076
test rsi, rsi
je 0x14017a06b
mov rcx, qword [rsp + 0x58]
call sym.SystemInformer.exe_PhCreateString
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword ds:[rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, ebx
add rsp, 0x38
pop rsi
pop rbx
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus
mov eax, 0xc000007a
add rsp, 0x38
pop rsi
pop rbx
ret
Function at 0x14017a0a0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
sub rsp, 0x38
mov rbp, rcx
call fcn.140179d60
mov rbx, rax
test rax, rax
jne 0x14017a0c3
mov eax, 0xc0000135
add rsp, 0x38
pop rbp
pop rbx
ret
mov r8, qword [0x1402bff50]
mov qword [rsp + 0x50], rsi
xor esi, esi
mov qword [rsp + 0x60], rdi
lea rdi, [rax + 0x3c]
mov qword [rsp + 0x30], r14
mov r14d, 0x5a4d
test r8, r8
jne 0x14017a141
cmp word [rax], r14w
jne 0x14017a137
mov ecx, dword [rdi]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14017a137
cmp dword [rcx + rbx], 0x4550
jne 0x14017a137
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14017a137
cmp dword [rdx + 4], esi
je 0x14017a137
lea r8, [rbx + rax]
mov word [rsp + 0x20], si
lea r9, str.PowerGetActiveScheme
mov rcx, rbx
call fcn.140174840
mov r8, rax
jmp 0x14017a13a
mov r8, rsi
mov qword [0x1402bff50], r8
mov rax, qword [0x1402bff60]
test rax, rax
jne 0x14017a1a8
cmp word [rbx], r14w
jne 0x14017a19e
mov ecx, dword [rdi]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14017a19e
cmp dword [rcx + rbx], 0x4550
jne 0x14017a19e
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14017a19e
cmp dword [rdx + 4], esi
je 0x14017a19e
lea r8, [rbx + rax]
mov word [rsp + 0x20], si
lea r9, str.PowerWriteSecurityDescriptor
mov rcx, rbx
call fcn.140174840
mov r8, qword [0x1402bff50]
jmp 0x14017a1a1
mov rax, rsi
mov qword [0x1402bff60], rax
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
test r8, r8
je 0x14017a227
test rax, rax
je 0x14017a227
lea rdx, [rsp + 0x58]
xor ecx, ecx
mov rax, r8
call qword [str.PB__]
test eax, eax
je 0x14017a1e5
mov ecx, eax
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
pop rbp
pop rbx
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus
test rbp, rbp
je 0x14017a1ee
mov rsi, qword [rbp + 8]
mov rdx, qword [rsp + 0x58]
mov r8, rsi
mov rax, qword [0x1402bff60]
mov ecx, 0xe
call qword [str.PB__]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, ebx
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
pop rbp
pop rbx
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus
mov rsi, qword [rsp + 0x50]
mov eax, 0xc000007a
add rsp, 0x38
pop rbp
pop rbx
ret
Function at 0x14017d3e0
Capabilities:
Map section object

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
mov dword [rsp + 0x48], 2
lea rax, [r11 + 0x20]
mov rbx, rdx
mov qword [r11 + 0x20], 1
xor edx, edx
lea r8, [r11 + 0x18]
mov dword [rsp + 0x40], edx
xor r9d, r9d
mov dword [rsp + 0x38], 2
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rdx
mov qword [r11 - 0x38], rdx
mov qword [r11 + 0x18], rdx
lea rdx, [r9 - 1]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
jns 0x14017d43b
lfence
add rsp, 0x50
pop rbx
ret
mov rdx, qword [rsp + 0x70]
mov r8, rbx
mov rcx, 0xffffffffffffffff
call sym.SystemInformer.exe_PhGetProcessMappedFileName
mov rdx, qword ds:[rsp + 0x70]
mov rcx, 0xffffffffffffffff
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x140180e00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov ebx, edx
mov r12, rcx
mov r14d, edx
mov rdx, qword [0x1402bfc98]
mov edi, r8d
lea rcx, [rbx*8]
call sym.SystemInformer.exe_PhCreateObject
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r15, rax
test ebx, ebx
je 0x140180f74
mov qword [rsp + 0x40], rbp
mov ebp, edi
mov qword [rsp + 0x48], rsi
mov rsi, rax
shl rbp, 3
nop dword [rax + rax]
mov rdx, qword [0x1402bfc98]
mov rcx, rbp
call sym.SystemInformer.exe_PhCreateObject
mov ecx, dword [0x1402c2bec]
mov rdi, rax
lfence
cmp ecx, 0x40
jae 0x140180e98
mov rax, qword gs:[0x30]
mov rbx, qword [rax + rcx*8 + 0x1480]
jmp 0x140180ea1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rdi, rdi
je 0x140180f46
mov eax, dword [rbx]
cmp eax, 0x40
jae 0x140180ebd
mov qword [rbx + rax*8 + 8], rdi
inc dword [rbx]
jmp 0x140180f46
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x140180ef3
lea edx, [rcx + 4]
mov dword [rbx + 0x20c], 0x40
mov rcx, qword [0x1402bfe50]
mov r8d, 0x200
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 0x140180f36
add eax, eax
mov r8, rcx
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 0x20c], eax
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
inc dword [rbx + 0x208]
mov r8, rbp
mov qword [rsi], rdi
xor edx, edx
mov rcx, rdi
call fcn.1401dff50
add rsi, 8
sub r14, 1
jne 0x140180e60
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov qword [r12], r15
add rsp, 0x20
pop r15
pop r14
pop r12
ret