joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1312a
Capabilities:
Encode data using xor

Disassembly:
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 0x1313e
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 0x13175
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 0x131a6
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 0x131f3
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 0x13234
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 0x1327a
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 0x15d86
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x60]
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0x18]
push dword [edi + 0x18]
call fcn.00015a95
test dword [edi + 8], 0x2000
je 0x15dc9
test byte [0x1f0b4], 2
je 0x15de6
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
push str.SFilter_SfDisplayCreateFileName:_Opened__08x:_08x__wZ__FID__n
jmp 0x15dde
test byte [0x1f0b4], 2
je 0x15de6
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
push str.SFilter_SfDisplayCreateFileName:_Opened__08x:_08x__wZ_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call fcn.00015bf5
pop edi
pop esi
leave
ret 4
Function at 0x1632e
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x60]
push esi
mov esi, dword [eax + 0x18]
push edi
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call sub.ntoskrnl.exe_memset
and dword [ebp + 0x14], 0
add esp, 0xc
call fcn.0002892b
call fcn.00028f9b
mov edi, eax
test esi, esi
je 0x163ee
call fcn.00028961
test eax, eax
je 0x163ee
movzx eax, word [esi + 0x30]
test ax, ax
jbe 0x163ee
mov esi, dword [esi + 0x34]
test esi, esi
je 0x163ee
movzx eax, ax
push eax
lea eax, [ebp - 0x404]
push esi
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
call dword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
push eax
call sub.ntoskrnl.exe_PsGetProcessImageFileName
cmp dword [edi + 0x1454], 0
mov dword [ebp - 4], eax
jbe 0x163ee
mov esi, edi
push esi
call sub.ntoskrnl.exe_wcslen
pop ecx
test eax, eax
jbe 0x163da
lea eax, [ebp - 0x404]
push esi
push eax
call sub.ntoskrnl.exe_wcsstr
pop ecx
pop ecx
test eax, eax
jne 0x163f8
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
add esi, 0x208
cmp eax, dword [edi + 0x1454]
jb 0x163bc
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x18
cmp dword [ebp + 0x14], 0
jne 0x16443
call fcn.00028985
test eax, eax
jne 0x16443
push dword [ebp - 4]
call fcn.0002898b
push eax
call sub.ntoskrnl.exe__stricmp
pop ecx
pop ecx
test eax, eax
je 0x163ee
push dword [ebp - 4]
call fcn.00028a43
push eax
call sub.ntoskrnl.exe__stricmp
pop ecx
pop ecx
test eax, eax
je 0x163ee
push dword [ebp - 4]
call fcn.000289f5
push eax
call sub.ntoskrnl.exe__stricmp
pop ecx
pop ecx
test eax, eax
je 0x163ee
and dword [ebx + 0x1c], 0
mov esi, 0xc000000d
xor dl, dl
mov ecx, ebx
mov dword [ebx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
xor eax, eax
inc eax
jmp 0x163f1

Function at 0x2aca5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.00029525
mov esi, dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor eax, eax
inc eax
xor edi, edi
push edi
push eax
mov ebx, 0x1f120
push ebx
mov dword [0x1de9c], eax
call esi
push edi
push 1
push 0x20a00
call esi
push edi
push 0x2abb9
push edi
push edi
push edi
mov esi, 0x1fffff
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
jl 0x2ad1e
push edi
push 0x1de98
push edi
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
jl 0x2ad15
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, 1
jmp 0x2ad20
push edi
push edi
push ebx
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2bc2b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x2bc3b
or eax, 0xffffffff
jmp 0x2bc5e
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push dword [ebp + 8]
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, esi
jl 0x2bc5e
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x2c094
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x28]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x28]
mov ebx, 0x94
add eax, ebx
push eax
push 0
push edi
push esi
call fcn.00016499
test al, al
jne 0x2c0c8
mov eax, 0xc0000001
jmp 0x2c12c
test byte [edi + 0x1c], 4
je 0x2c0d2
or dword [esi + 0x1c], 4
test byte [edi + 0x1c], 0x10
je 0x2c0dc
or dword [esi + 0x1c], 0x10
and dword [ebp + 0xc], 0
mov eax, dword [ebp - 4]
add eax, 4
push eax
push edi
push esi
call fcn.0002c04b
mov dword [ebp + 8], eax
test eax, eax
jge 0x2c133
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov dword [ebp - 0xc], 0xffb3b4c0
call dword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 8
jb 0x2c0e0
push dword [ebp + 8]
mov eax, dword [edi + 0x28]
add eax, ebx
push eax
push 0
push edi
push esi
call fcn.0001649e
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
push eax
mov eax, dword [edi + 0x28]
add eax, ebx
mov ebx, dword [ebp - 4]
push eax
add ebx, 4
push dword [ebx]
push edi
push esi
call fcn.0001649e
and dword [esi + 0x1c], 0xffffff7f
test byte [0x1f0b4], 1
je 0x2c16f
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push dword [ebx]
push str.SFilter_SfAttachToMountedDevice:_____________Attaching_to_volume_________p___wZ__n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
xor eax, eax
jmp 0x2c12c

Function at 0x2c49a
Capabilities:
Complete processing asynchronous io request
Print debug messages

Disassembly:
test byte [0x1f0b4], 1
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [ebx + 0x28]
push edi
mov edi, dword [esp + 0x14]
je 0x2c4c6
push dword [edi + 0x18]
lea eax, [esi + 0xc]
push eax
push ebx
push str.SFilter_SfFsControlLoadFileSystem:___________Detaching_from_recognizer___p___wZ___status_08x_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
mov eax, dword [edi + 0x18]
test eax, eax
jge 0x2c4e2
cmp eax, 0xc000010e
je 0x2c4e2
lea eax, [esi + 4]
push eax
push dword [eax]
push ebx
call fcn.0002c04b
jmp 0x2c4e9
push ebx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov esi, dword [edi + 0x18]
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x2c539
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0x10]
jmp 0x2c563
mov eax, dword [esi + 8]
cmp eax, dword [0x1f0ac]
jne 0x2c55e
mov eax, dword [esi + 0x28]
test eax, eax
je 0x2c55e
cmp dword [eax], 0x746c4653
je 0x2c569
mov edi, esi
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x2c544
jmp 0x2c5b1
test byte [0x1f0b4], 1
mov ecx, eax
je 0x2c5a3
mov eax, dword [esi + 0x2c]
test eax, eax
jbe 0x2c589
cmp eax, 0x3a
jae 0x2c589
mov eax, dword [eax*4 + 0x17920]
jmp 0x2c58e
mov eax, str._Unknown_
push eax
lea eax, [ecx + 0xc]
push eax
push dword [ecx + 4]
push str.SFilter_SfDetachFromFileSystemDevice:________Detaching_from_file_system__p___wZ____s__n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
push edi
call dword [sym.imp.ntoskrnl.exe_IoDetachDevice]
push esi
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
pop edi
pop esi
ret 4

Function at 0x2c5d7
Capabilities:
Complete processing asynchronous io request
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax + 0x28]
mov eax, dword [ebx + 0x60]
mov ecx, dword [edi + 8]
mov esi, dword [ecx + 0x24]
mov eax, dword [eax + 4]
cmp esi, eax
je 0x2c611
test byte [0x1f0b4], 1
je 0x2c611
push esi
push eax
push dword [esi + 8]
push str.SFilter_SfFsControlMountVolume:______________VPB_in_IRP_stack_changed____p_IRPVPB_p_VPB_p_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
mov eax, dword [ebx + 0x18]
test eax, eax
jl 0x2c68e
mov ecx, 0x1f0e0
call dword [sym.imp.HAL.dll_ExAcquireFastMutex]
lea eax, [ebp + 0xc]
push eax
push dword [esi + 8]
call fcn.0002c5b6
test al, al
jne 0x2c64d
push dword [ebp + 0x10]
push dword [esi + 8]
call fcn.0002c094
test eax, eax
jge 0x2c681
push dword [ebp + 0x10]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x2c681
test byte [0x1f0b4], 1
mov esi, dword [ebp + 0xc]
je 0x2c670
mov eax, dword [esi + 0x28]
add edi, 0xc
push edi
push dword [eax + 4]
push str.SFilter_SfFsControlMountVolume_______________Mount_volume_failure_for____p___wZ___already_attached_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
push dword [ebp + 0x10]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ecx, 0x1f0e0
call dword [sym.imp.HAL.dll_ExReleaseFastMutex]
jmp 0x2c6b5
test byte [0x1f0b4], 1
je 0x2c6ac
push eax
add edi, 0xc
push edi
push dword [ebp + 8]
push str.SFilter_SfFsControlMountVolume:______________Mount_volume_failure_for____p___wZ___status_08x_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
push dword [ebp + 0x10]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov esi, dword [ebx + 0x18]
xor dl, dl
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x2c6cb
Capabilities:
Create device object
Print debug messages

Disassembly:
push 0xa8
push 0x18358
call fcn.0001661c
lea eax, [ebp - 0x24]
push eax
xor ebx, ebx
push ebx
push ebx
mov edi, dword [ebp + 8]
push dword [edi + 8]
call dword [0x1f08c]
mov esi, eax
cmp esi, ebx
jge 0x2c8df
add dword [ebp - 0x24], 8
push 0x746c4653
mov eax, dword [ebp - 0x24]
shl eax, 2
push eax
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x2c720
mov eax, 0xc000009a
jmp 0x2c8e1
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x24]
shl ecx, 2
push ecx
push eax
push dword [edi + 8]
call dword [0x1f08c]
mov esi, eax
cmp esi, ebx
jl 0x2c8d5
xor edi, edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x24]
jae 0x2c8d3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
lea esi, [eax + edi*4]
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x2c8a5
mov edx, dword [eax + 0x2c]
cmp edx, dword [ecx + 0x2c]
jne 0x2c8a5
push ebx
push eax
call fcn.0002c5b6
test al, al
jne 0x2c8a5
push dword [ebp + 0xc]
push dword [esi]
call fcn.00015a72
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
ja 0x2c8a5
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
call dword [0x1f098]
cmp eax, ebx
jl 0x2c8a5
lea eax, [ebp - 0x1d]
push eax
push dword [ebp - 0x1c]
call fcn.0002c22f
cmp eax, ebx
jl 0x2c813
cmp byte [ebp - 0x1d], bl
je 0x2c813
test byte [0x1f0b4], 0x20
jne 0x2c813
xor eax, eax
mov word [ebp - 0x38], ax
mov eax, 0x80
mov word [ebp - 0x36], ax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
call fcn.00015a32
test byte [0x1f0b4], 1
je 0x2c8a5
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
push str.SFilter_SfEnumerateFileSystemVolumes_________Not_attaching_to_Volume_____p___wZ___shadow_copy_volume_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
jmp 0x2c8a5
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
mov eax, dword [esi]
push dword [eax + 0x2c]
push ebx
mov eax, dword [0x1f0b8]
add eax, 0x98
push eax
push dword [0x1f0ac]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, ebx
jl 0x2c8a5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x28]
mov dword [eax], 0x746c4653
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
lea ecx, [eax + 0xc]
xor edx, edx
mov word [ecx], dx
mov edx, 0x80
mov word [ecx + 2], dx
add eax, 0x14
mov dword [ecx + 4], eax
push ecx
push dword [ebp - 0x1c]
call fcn.00015a32
mov ecx, 0x1f0e0
call dword [sym.imp.HAL.dll_ExAcquireFastMutex]
push ebx
push dword [esi]
call fcn.0002c5b6
push dword [ebp - 0x28]
test al, al
jne 0x2c894
push dword [esi]
call fcn.0002c094
cmp eax, ebx
jge 0x2c89a
push dword [ebp - 0x28]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov ecx, 0x1f0e0
call dword [sym.imp.HAL.dll_ExReleaseFastMutex]
or dword [ebp - 4], 0xffffffff
call fcn.0002c8b9
inc edi
jmp 0x2c741
xor esi, esi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, esi
call fcn.00016657
ret 8
Function at 0x2c8e9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [0x1f0b4], 1
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x28]
je 0x2c911
lea eax, [ebx + 0xc]
push eax
push str.SFilter_SfFscontrolLoadFileSystem:___________Loading_File_System__Detaching_from___wZ__n
call sub.ntoskrnl.exe_DbgPrint
pop ecx
pop ecx
mov eax, dword [0x1f0a4]
cmp eax, 5
jne 0x2c926
cmp dword [0x1f0a8], 1
jae 0x2c928
cmp eax, eax
jbe 0x2c993
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x60]
push 0x1c
lea edi, [eax - 0x24]
push eax
push edi
call sub.ntoskrnl.exe_memcpy
mov byte [edi + 3], 0
mov eax, dword [esi + 0x60]
sub eax, 0x24
lea ecx, [ebp - 0x10]
mov dword [eax + 0x1c], 0x159c7
mov dword [eax + 0x20], ecx
mov byte [eax + 3], 0xe0
mov ecx, dword [ebx + 4]
add esp, 0xc
mov edx, esi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
cmp eax, 0x103
jne 0x2c988
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
push esi
push dword [ebp + 8]
call fcn.0002c49a
jmp 0x2ca12
push 0x746c4653
push 0x1c
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
jne 0x2c9b4
mov edx, dword [ebp + 0xc]
inc byte [edx + 0x23]
add dword [edx + 0x60], 0x24
jmp 0x2ca09
and dword [esi], 0
and dword [esi + 0x18], 0
mov dword [esi + 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [esi + 8], 0x15df8
mov dword [esi + 0xc], esi
mov dword [esi + 0x14], edi
mov eax, dword [edi + 0x60]
push 0x1c
lea ecx, [eax - 0x24]
push eax
push ecx
mov dword [ebp + 0xc], ecx
call sub.ntoskrnl.exe_memcpy
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], 0
mov eax, dword [edi + 0x60]
sub eax, 0x24
add esp, 0xc
mov dword [eax + 0x1c], 0x159c7
mov dword [eax + 0x20], esi
mov byte [eax + 3], 0xe0
push dword [ebx + 4]
call dword [sym.imp.ntoskrnl.exe_IoDetachDevice]
mov edx, edi
mov ecx, dword [ebx + 4]
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x2ca19
Capabilities:
Create device object
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
cmp eax, 8
je 0x2ca3f
cmp eax, 3
je 0x2ca3f
cmp eax, 0x14
je 0x2ca3f
xor eax, eax
jmp 0x2cc00
xor eax, eax
mov word [ebp - 8], ax
mov eax, 0x80
mov word [ebp - 6], ax
lea eax, [ebp - 0x94]
mov dword [ebp - 4], eax
push str.FileSystemFs_Rec
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 8]
push eax
push dword [edi + 8]
call fcn.00015a32
test byte [0x1f0b4], 0x10
jne 0x2ca8f
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
je 0x2ca38
push esi
lea eax, [ebp + 8]
push eax
mov eax, dword [0x1f0b8]
xor esi, esi
push esi
push esi
push dword [edi + 0x2c]
add eax, 0x98
push esi
push eax
push dword [0x1f0ac]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, esi
jl 0x2cbff
mov eax, dword [edi + 0x28]
add eax, 0x94
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
call fcn.00016499
test al, al
jne 0x2cadf
mov eax, 0xc0000001
jmp 0x2cbff
test byte [edi + 0x1c], 4
je 0x2caec
mov eax, dword [ebp + 8]
or dword [eax + 0x1c], 4
test byte [edi + 0x1c], 0x10
je 0x2caf9
mov eax, dword [ebp + 8]
or dword [eax + 0x1c], 0x10
mov eax, 0x100
test dword [edi + 0x20], eax
je 0x2cb09
mov ecx, dword [ebp + 8]
or dword [ecx + 0x20], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x28]
push ebx
lea ecx, [esi + 4]
push ecx
push edi
push eax
mov dword [ebp - 0xc], ecx
call fcn.0002c04b
mov ebx, eax
test ebx, ebx
jl 0x2cbc1
push dword [ebp + 0xc]
lea ebx, [esi + 0xc]
mov dword [esi], 0x746c4653
xor eax, eax
mov word [ebx], ax
mov eax, 0x80
add esi, 0x14
push ebx
mov word [ebx + 2], ax
mov dword [ebx + 4], esi
call dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov eax, dword [ebp + 8]
and dword [eax + 0x1c], 0xffffff7f
test byte [0x1f0b4], 1
je 0x2cb8f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
test eax, eax
jbe 0x2cb7a
cmp eax, 0x3a
jae 0x2cb7a
mov eax, dword [eax*4 + 0x17920]
jmp 0x2cb7f
mov eax, str._Unknown_
push eax
push ebx
push edi
push str.SFilter_SfAttachToFileSystemDevice:__________Attaching_to_file_system____p___wZ____s__n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
mov eax, dword [0x1f0a4]
cmp eax, 5
jne 0x2cba4
cmp dword [0x1f0a8], 1
jae 0x2cba6
cmp eax, eax
jbe 0x2cbe3
lea eax, [ebp - 8]
push eax
push edi
call fcn.0002c6cb
mov ebx, eax
test ebx, ebx
jge 0x2cbe3
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ntoskrnl.exe_IoDetachDevice]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [edi + 0x28]
push ebx
add eax, 0x94
push eax
push 0
push edi
push dword [ebp + 8]
call fcn.0001649e
mov eax, ebx
jmp 0x2cbfe
mov eax, dword [edi + 0x28]
push 0
add eax, 0x94
push eax
mov eax, dword [ebp - 0xc]
push dword [eax]
push edi
push dword [ebp + 8]
call fcn.0001649e
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret 8
Function at 0x2cc05
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
xor eax, eax
mov word [ebp - 8], ax
mov eax, 0x80
mov word [ebp - 6], ax
lea eax, [ebp - 0x88]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.00015a32
test byte [0x1f0b4], 1
je 0x2cc7b
mov eax, dword [esi + 0x2c]
test eax, eax
jbe 0x2cc52
cmp eax, 0x3a
jae 0x2cc52
mov eax, dword [eax*4 + 0x17920]
jmp 0x2cc57
mov eax, str._Unknown_
cmp byte [ebp + 0xc], 0
mov ecx, str.Activating_file_system
jne 0x2cc67
mov ecx, str.Deactivating_file_system
push eax
lea eax, [ebp - 8]
push eax
push esi
push ecx
push str.SFilter_SfFsNotification:_____________________s____p___wZ____s__n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
cmp byte [ebp + 0xc], 0
je 0x2cc8d
lea eax, [ebp - 8]
push eax
push esi
call fcn.0002ca19
jmp 0x2cc93
push esi
call fcn.0002c539
pop esi
leave
ret 8
Function at 0x2d06d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
mov edi, eax
xor eax, eax
mov word [ebp - 8], ax
mov ax, word [edi]
add ax, 0x18
mov word [ebp - 6], ax
movzx eax, ax
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
xor esi, esi
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x2d0a7
mov eax, 0xc000009a
jmp 0x2d192
push ebx
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
push str.Parameters
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
push 0x38
lea eax, [ebp - 0x40]
push esi
push eax
call sub.ntoskrnl.exe_memset
mov edi, dword [sym.imp.ntoskrnl.exe_RtlQueryRegistryValues]
add esp, 0xc
push 0x24
pop ebx
push esi
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x3c], ebx
push esi
mov dword [ebp - 0x38], str.Port
mov dword [ebp - 0x34], 0x1f110
call edi
test eax, eax
jge 0x2d105
mov dword [0x1f110], 0x50
push 0x38
lea eax, [ebp - 0x40]
push esi
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push esi
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x3c], ebx
push esi
mov dword [ebp - 0x38], str.ClientPort
mov dword [ebp - 0x34], 0x1f104
call edi
test eax, eax
jge 0x2d13f
mov dword [0x1f104], 0x1f90
push 0x38
lea eax, [ebp - 0x40]
push esi
push eax
call sub.ntoskrnl.exe_memset
push 8
mov dword [ebp - 0x3c], ebx
mov ebx, 0x1f108
push esi
push ebx
mov dword [ebp - 0x38], str.DocumentRoot
mov dword [ebp - 0x34], ebx
call sub.ntoskrnl.exe_memset
add esp, 0x18
push esi
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
push esi
call edi
test eax, eax
jge 0x2d185
push str.__c:www
push ebx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret