joyce8/EMBER2024-capa huggingface dataset:
Function at 0x131a4
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
rcl bh, 5
bsf bx, bx
mov ebx, dword [ebp - 0x1ac]
cmc
clc
pushfd
clc
add ecx, edi
lea esp, [esp + 0x40]
jno 0x27e00
movzx di, dl
mov edi, dword [ebp - 0x1a8]
pushal
lea esp, [esp + 0x20]
jmp fcn.000379fe
push esp
not di
call fcn.0001ff94

Function at 0x13287
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
mov byte [esp + 4], ah
call fcn.0003fb7a
mov byte [esp], cl
push esi
stosd dword es:[edi], eax
mov word [esp], bx
pushfd
jmp fcn.0002deaf

Function at 0x13419
Capabilities:
Hash data using murmur3

Disassembly:
movzx edi, byte [eax]
stc
stc
shl esi, 8
jmp loc.0002c061

Function at 0x13612
Capabilities:
Find process by pid

Disassembly:
push 0x18
push 0x176c8
call fcn.00016cd0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1c], ebx
push 0x438
push ebx
mov esi, dword [ebp + 0x14]
push esi
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [esi + 0x12]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x208
mov word [ebp - 0x26], ax
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 8]
add edi, 0xffffffd0
push edi
mov ebx, dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
call ebx
test al, al
je 0x136be
test edi, edi
je 0x136be
cmp word [edi + 2], 0
jle 0x136be
cmp word [edi], 5
jne 0x136be
push dword [edi + 4]
call ebx
test al, al
je 0x136be
cmp dword [edi + 4], 0
je 0x136be
mov edi, dword [edi + 4]
cmp word [edi + 2], 0
jbe 0x136be
lea eax, [ebp - 0x20]
push eax
push 0x20a
lea ebx, [esi + 0x12]
push ebx
push edi
call dword [sym.imp.ntoskrnl.exe_ObQueryNameString]
test eax, eax
jl 0x136be
push ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov dword [ebp - 4], 0xfffffffe
jmp 0x136d8
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x21c], eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
je 0x13744
push dword [ebp - 0x1c]
call fcn.00013582
mov edi, eax
cmp edi, ebx
je 0x1373b
movzx ecx, word [edi]
mov eax, 0x208
mov edx, eax
cmp cx, dx
jae 0x13720
movzx eax, cx
push eax
push dword [edi + 4]
lea eax, [esi + 0x22c]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
push ebx
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp word [esi + 0x12], bx
jne 0x1374e
xor eax, eax
jmp 0x13777
push esi
call fcn.0001354c
mov byte [esi + 0x10], 2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
cdq
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], edx
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x228], eax
xor eax, eax
inc eax
call fcn.00016d15
ret 0x10
Function at 0x13b45
Capabilities:
Hash data using murmur3

Disassembly:
pushfd
lea ecx, [ecx + eax + 0x18]
mov word [esp + 4], sp
mov byte [esp], dh
call fcn.0002dbb6

Function at 0x13b57
Capabilities:
Hash data using murmur3

Disassembly:
lea esp, [esp + 0x58]
jne 0x214b3
aas
shl ah, 6
sub ecx, ecx
mov al, 0x3f
lea eax, [ebp - 0x87]
pushal
xor si, 0x8bd3
btr esi, ebp
xadd di, si
movzx esi, byte [eax - 1]
call fcn.00013419
movzx ax, al
mov dword [ebp - 0x38], ebx
seto al
seta al
seto ah
mov dword [ebp - 0x34], ebx
lea eax, [esi + 0x2c485828]
mov ah, 0x9e
mov eax, dword [ebp + 8]
pushal
call fcn.00024179

Function at 0x13c24
Capabilities:
Hash data using murmur3

Disassembly:
lea esp, [esp + 0x4c]
jne 0x36614
clc
xor ecx, ecx
bts ax, si
lea eax, [ebp - 0xf7]
sar di, cl
adc di, 0x9fac
movzx esi, byte [eax - 1]
stc
call fcn.0003fb5e
push dword [esp + 8]
lea esp, [esp + 0x14]
leave
push ecx
pushfd
push 0xc0f40c93
push dword [esp]
push dword [esp + 0x10]
ret 0x1c

Function at 0x13d98
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x17888]
cmp eax, 0xffffffff
jl 0x13dbd
cmp eax, 3
jle 0x13db7
cmp eax, 4
jne 0x13dbd
pop ebp
jmp fcn.00013ce2
pop ebp
jmp fcn.00013d2e
pop ebp
ret 4

Function at 0x14202
Capabilities:
Get system information on windows

Disassembly:
push 0x18
push 0x17748
call fcn.00016cd0
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push eax
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x1423e
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x142ee
add eax, eax
push eax
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, ebx
je 0x14230
mov eax, dword [ebp - 0x1c]
add eax, eax
push eax
push ebx
push edi
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
add eax, eax
push eax
push edi
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, ebx
jl 0x142b6
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
cmp eax, dword [edi]
jae 0x142b6
imul eax, eax, 0x11c
lea esi, [eax + edi + 4]
push dword [ebp + 8]
movzx ecx, word [esi + 0x1a]
add ecx, eax
lea eax, [ecx + edi + 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
pop ecx
pop ecx
test eax, eax
jne 0x142bf
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x142da
inc dword [ebp - 0x20]
jmp 0x1427a
cmp edi, ebx
je 0x142e6
push ebx
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
cmp dword [ebp - 0x24], ebx
setne al
call fcn.00016d15
ret 8
Function at 0x147ea
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
lea esp, [esp + 0x28]
je 0x346a0
cmp dx, bp
sub eax, ecx
pushfd
lea esp, [esp + 4]
je 0x2eccc
bt dx, di
jl 0x32d67
sub eax, ecx
pushfd
pushal
jmp loc.0002818c
sub eax, 4
mov byte [esp], 0x7a
push dword [esp]
pushal
jmp 0x11e74
test dh, al
sub eax, ecx
pushfd
lea esp, [esp + 0xc]
je 0x28db0
pushal
sub eax, ecx
jmp 0x23126
push dword [ebp + 0x10]
pop dword [esp + 0x38]
pushfd
call fcn.0002a50d
call fcn.000193ef
pushfd
push dword [ebp + 0x18]
pop dword [esp]
pushfd
mov byte [esp], dl
push dword [ebp + 0x14]
pop dword [esp]
call fcn.0003ff61
mov word [esp], bx
mov word [esp + 8], 0xe0d
lea esp, [esp + 0x54]
jb 0x3e0a1
cmc
cmp ax, 0xe537
call fcn.0001c20d
jmp 0x3cba5
jmp 0x2c270
pushal
pushal
mov dword [esp + 4], 0x33c46c32
push dword [ebp + 0x18]
pop dword [esp + 0x3c]
push 0xcb75354a
mov word [esp], 0xa4ef
push dword [ebp + 0x14]
pop dword [esp + 0x3c]
jmp 0x22cf0
call fcn.0002d099
jmp 0x26b92
pushfd
pushfd
jmp 0x19406
push 0x889c669
mov word [esp], 0x82a1
push dword [ebp + 0x18]
pop dword [esp]
jmp 0x28c59
pushal
pushal
push dword [ebp + 0x14]
pop dword [esp + 0x3c]
pushfd
push dword [ebp + 0x10]
pop dword [esp + 0x3c]
push 0x979f2fd
push dword [ebp + 0xc]
pop dword [esp + 0x3c]
lea esp, [esp + 0x3c]
jp 0x2d999
pushfd
push dword [esp]
lea esp, [esp + 8]
call fcn.0002a55e
push ebp
lea esp, [esp + 4]
jmp fcn.0002d8e8
not dx
mov ecx, dword [ebp - 0x1ac]
pushal
inc dx
lea edx, [ebp*4 + 0x7acd20dc]
jmp 0x13bcd

Function at 0x1505a
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
pop ebp
ret 4
Function at 0x1509e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14c
push ebx
push esi
xor edx, edx
lea ecx, [eax + 0x1d]
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x14c], esi
inc edx
add ecx, 4
cmp edx, 0x10
jl 0x150b4
push 0x40
lea ecx, [ebp - 0x144]
pop edx
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx - 8]
xor esi, dword [ecx]
add ecx, 4
dec edx
rol esi, 1
mov dword [ecx + 0x34], esi
jne 0x150eb
mov esi, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
and dword [ebp + 8], 0
mov dword [ebp - 4], esi
mov esi, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
mov edi, ecx
not edi
and edi, dword [ebp - 4]
mov ebx, edx
and ebx, ecx
or edi, ebx
rol esi, 5
add esi, edi
mov edi, dword [ebp + 8]
add esi, dword [ebp + edi*4 - 0x14c]
mov edi, dword [ebp - 0xc]
inc dword [ebp + 8]
lea esi, [esi + edi + 0x5a827999]
mov edi, dword [ebp - 4]
ror ecx, 2
cmp dword [ebp + 8], 0x14
mov dword [ebp - 4], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
jl 0x1511c
mov dword [ebp + 8], 0x14
mov ebx, dword [ebp - 4]
xor ebx, edx
xor ebx, ecx
rol esi, 5
add esi, ebx
mov ebx, dword [ebp + 8]
add esi, dword [ebp + ebx*4 - 0x14c]
inc dword [ebp + 8]
lea esi, [esi + edi + 0x6ed9eba1]
mov edi, dword [ebp - 4]
ror ecx, 2
cmp dword [ebp + 8], 0x28
mov dword [ebp - 4], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
jl 0x15169
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], 0x28
mov edi, edx
or edi, ecx
and edi, dword [ebp - 4]
mov ebx, edx
and ebx, ecx
or edi, ebx
mov ebx, dword [ebp + 8]
add edi, dword [ebp + ebx*4 - 0x14c]
rol esi, 5
add esi, dword [ebp - 0xc]
inc dword [ebp + 8]
lea esi, [edi + esi - 0x70e44324]
mov edi, dword [ebp - 4]
ror ecx, 2
push 0x3c
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
pop edi
cmp dword [ebp + 8], edi
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
jl 0x151aa
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
xor edi, edx
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x14c]
mov ebx, dword [ebp - 4]
rol esi, 5
add esi, dword [ebp - 0xc]
inc dword [ebp + 8]
ror ecx, 2
cmp dword [ebp + 8], 0x50
mov dword [ebp - 4], edx
lea esi, [edi + esi - 0x359d3e2a]
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
jl 0x151f0
mov edi, dword [eax]
add edi, esi
mov esi, dword [eax + 4]
add esi, ecx
mov ecx, dword [eax + 8]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax], edi
pop edi
add ecx, ebx
and dword [eax + 0x5c], 0
mov dword [eax + 4], esi
pop esi
mov dword [eax + 0x10], ecx
pop ebx
leave
ret 4
Function at 0x15435
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
mov byte [esp], 0xc6
lea esp, [esp + 0xc]
je 0x25b9c
dec ah
mov eax, dword [edi]
pushal
call fcn.0001a2fb

Function at 0x15630
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, edx
mov byte [esp + 4], dh
cmp cl, 0x5e
call fcn.00036f1e
lea esp, [esp + 0x28]
je 0x2a4bf
call fcn.000371c2
clc
call fcn.00030eb7
pushfd
push dword [ebp + 0x18]
pop dword [esp]
jmp 0x128ef
pushfd
mov dword [esp], esi
pushfd
lea esp, [esp + 4]
call fcn.0002a13a
cmp si, si
clc
push 0x8e2f9f98
call fcn.00030d5a
jg 0x17e9f
push 0x6b382998
pushfd
push dword [ebp + 0x18]
pop dword [esp + 4]
pushal
pushfd
mov word [esp + 8], dx
mov byte [esp], 0xf8
push dword [ebp + 0x14]
pop dword [esp + 0x24]
pushal
pushfd
lea esp, [esp + 0x48]
jae 0x2750b
pushfd
mov dword [esp], esi
call fcn.00011e51
lea esp, [esp + 0x58]
jne 0x273f1
movsx ecx, al
mov cl, 0x3d
call fcn.0002d97f
Function at 0x1578c
Capabilities:
Attach user process memory

Disassembly:
push 0x74
push 0x177d8
call fcn.00016cd0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x48], 0x18
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], 0x200
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x1f0fff
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
test eax, eax
je 0x157e2
xor eax, eax
jmp 0x158fb
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
mov eax, dword [sym.imp.ntoskrnl.exe_PsProcessType]
push dword [eax]
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov dword [ebp + 8], eax
cmp eax, ebx
jl 0x158ef
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [ebp - 4], ebx
push 1
mov edi, 0x1000
push edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov dword [ebp - 0x84], ebx
mov eax, esi
and eax, 0xfff
lea ecx, [eax + 0xfff]
shr ecx, 0xc
lea ecx, [ecx*4 + 0x20]
mov word [ebp - 0x80], cx
xor ecx, ecx
mov word [ebp - 0x7e], cx
and esi, 0xfffff000
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], edi
push ebx
push ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov byte [ebp - 0x19], 1
push 0x20
push ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov dword [ebp - 0x24], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
jmp 0x158b5
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp dword [ebp - 0x24], ebx
je 0x158d4
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
cmp byte [ebp - 0x19], bl
je 0x158e6
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
push dword [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp + 8]
call fcn.00016d15
ret 0x10
Function at 0x15a8c
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00015908
xor esi, esi
cmp eax, esi
jl 0x15b3d
push ebx
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov ebx, dword [ebp - 8]
push esi
push esi
push 0x60
push 5
push esi
push 6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x10000000
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x240
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov edi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push esi
push dword [ebp - 0xc]
mov dword [ebp + 8], eax
call edi
push esi
push ebx
call edi
mov eax, dword [ebp + 8]
cmp eax, esi
pop edi
pop ebx
jl 0x15b3d
push esi
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push dword [ebp + 0xc]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x15b48
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor esi, esi
push esi
push esi
push 0x60
push 1
push esi
push 6
lea eax, [ebp - 8]
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10000000
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0x240
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, esi
jl 0x15bc7
push esi
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push eax
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x15f54
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call esi
xor edi, edi
push edi
push edi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x28]
push eax
push 6
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0x240
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, edi
jl 0x15fd0
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
push 3
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop edi
pop esi
leave
ret 0x10

Function at 0x15fdc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call edi
push esi
push esi
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], eax
push esi
lea eax, [ebp - 0x30]
push eax
push 0x20019
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0x240
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, esi
jl 0x160e4
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call edi
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
lea eax, [ebp - 4]
push eax
push esi
push esi
push 1
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call edi
mov dword [ebp + 0xc], eax
cmp eax, 0xc0000023
je 0x16067
cmp eax, 0x80000005
jne 0x160d8
mov eax, dword [ebp - 4]
push ebx
push esi
push eax
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
cmp ebx, esi
je 0x160d7
push dword [ebp + 8]
push esi
push ebx
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push ebx
push 1
push eax
push dword [ebp - 8]
call edi
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x160cf
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x160cf
mov eax, dword [ebp + 0x14]
cmp dword [ebx + 0xc], eax
jb 0x160c8
push eax
mov eax, dword [ebx + 8]
add eax, ebx
push eax
push dword [ebp + 0x10]
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
jmp 0x160cf
mov dword [ebp + 0xc], 0xc000009a
push esi
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop ebx
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
leave
ret 0x10
Function at 0x161c6
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push 0x30
push 0x177f8
call fcn.00016cd0
xor esi, esi
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [ebp + 8], eax
cmp eax, esi
jge 0x161f2
xor eax, eax
jmp 0x16347
mov eax, dword [0x17888]
cmp eax, 0xffffffff
jne 0x16207
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x161eb
movzx edi, word [eax*2 + 0x1788c]
add edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_ExAcquireRundownProtection]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp ebx, esi
jne 0x1624e
mov dword [ebp + 8], 0xc0000001
jmp 0x1631d
mov dword [ebp - 4], esi
push esi
push esi
push ebx
call dword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [ebp - 4], 0xfffffffe
push 0x10
push esi
push esi
push 1
push esi
push ebx
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x16290
mov dword [ebp + 8], 0xc0000001
push ebx
call dword [sym.imp.ntoskrnl.exe_MmUnlockPages]
push ebx
call dword [sym.imp.ntoskrnl.exe_IoFreeMdl]
jmp 0x1631d
push esi
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [ebp - 0x28], eax
cmp eax, esi
jne 0x162ab
mov dword [ebp + 8], 0xc0000001
jmp 0x162f0
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
jmp 0x162f0
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
jmp 0x1627d
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_ExReleaseRundownProtection]
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [ebp + 8]
sub eax, 0xc0000001
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
call fcn.00016d15
ret 0xc

Function at 0x16741
Capabilities:
Hash data using murmur3

Disassembly:
pushal
lea esp, [esp + 0x24]
jne 0x1b634

Function at 0x167b0
Capabilities:
Hash data using murmur3

Disassembly:
dec eax
mov word [esp + 4], sp
lea esp, [esp + 0x28]
je 0x36cb2
call fcn.0002fc67