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

Disassembly:
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x27390
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
jne 0x2d268
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
je 0x27451
jmp 0x2d26b

Function at 0x28064
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x10
pop ecx
lea edi, [eax + 0x10]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
rep movsd dword es:[edi], dword [esi]
and dword [eax + 0x4c], 0
pop edi
mov dword [eax + 0x48], 0x1c0
pop esi
pop ebp
ret 8

Function at 0x280c9
Capabilities:
Complete processing asynchronous io request

Disassembly:
push 0x14
pop esi
xor ebx, ebx
cmp edi, esi
jb 0x280bd
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [edx], esi
mov eax, esi
jmp 0x28100
push 4
mov dword [edx], esi
pop eax
jmp 0x28100
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [0x516a0]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
je 0x280f9
mov eax, dword [ecx + 0x60]
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
movzx eax, byte [eax + 1]
sub eax, 8
je 0x280a5
dec eax
dec eax
je 0x3a2ef
mov ebx, 0xc0000010
xor eax, eax
mov dl, 2
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
cmp edi, 4
jae 0x3a2fe
mov ebx, 0xc0000023
jmp 0x280fe
mov eax, dword [edx]
mov dword [0x54904], eax
xor ebx, ebx
jmp 0x280fe
Function at 0x29761
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [edi + 0x1c], 0
cmp dword [eax + 8], 4
mov ebx, dword [edi + 0xc]
jb 0x3a2a5
mov si, word [ebx]
mov ax, word [ebx + 2]
cmp si, ax
jb 0x3a2a5
cmp ax, 0x401
mov edx, dword [0x59b20]
jb 0x297a8
movzx ecx, si
cmp ecx, edx
jbe 0x297c0
mov ecx, 0xc000
cmp ax, cx
jb 0x3a21e
cmp si, 0xfffe
ja 0x3a21e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0x12801c
jne 0x2983c
push 0x10
push 0x74504354
push 8
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTagPriority]
mov esi, eax
test esi, esi
je 0x29833
mov ax, word [ebx]
mov word [esi + 4], ax
mov ax, word [ebx + 2]
mov edi, 0x50180
mov ecx, edi
mov word [esi + 6], ax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [0x4fffc]
mov dword [esi], ecx
mov dword [0x4fffc], esi
mov dl, al
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov dword [edi + 0x18], esi
mov dl, 2
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
mov dword [ebp - 4], 0xc000009a
jmp 0x2981a
cmp dword [0x4fffc], 0
jne 0x3a234
jmp 0x2981a
cmp edx, ecx
jb 0x3a299
cmp ax, 0x401
jb 0x3a299
cmp si, 0xfffe
jbe 0x297c0
jmp 0x3a299
mov edi, 0x50180
mov ecx, edi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [0x4fffc]
mov byte [ebp + 0xf], al
mov eax, ecx
mov edx, eax
mov dword [ebp - 4], 0xc000000d
jmp 0x3a26e
mov si, word [ebx + 2]
cmp si, word [eax + 6]
ja 0x3a26a
mov si, word [ebx]
cmp si, word [eax + 4]
jae 0x3a274
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x3a291
jmp 0x3a257
push 0
cmp edx, ecx
mov ecx, dword [eax]
push eax
jne 0x3a285
mov dword [0x4fffc], ecx
jmp 0x3a287
mov dword [edx], ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [ebp - 4], 0
mov dl, byte [ebp + 0xf]
jmp 0x2980f
mov dword [ebp - 4], 0xc000000d
jmp 0x2981a
mov eax, 0xc000000d
mov dword [edi + 0x18], eax
mov esi, eax
jmp 0x29820

Function at 0x29850
Capabilities:
Install driver

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
mov edi, dword [ebp + 8]
push 0x11
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0x298fa
lea eax, [ebp - 0x1c]
push eax
call esi
push 0x2996a
lea eax, [ebp - 0x14]
push eax
call esi
mov edi, dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
xor esi, esi
push esi
push esi
push esi
push 3
push esi
push 0x80
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
mov ebx, 0xc0000000
push ebx
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
jne 0x3e063
Function at 0x2b3cb
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov cx, word [ebp + 0x28]
mov word [eax], cx
mov cx, 0x800
mov dh, cl
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
test esi, esi
push edi
mov dl, ch
mov word [eax + 2], dx
mov cl, byte [ebx + 0x6b]
mov byte [eax + 4], cl
mov cx, word [ebp + 0x14]
mov byte [eax + 5], 4
mov word [eax + 6], cx
lea edx, [eax + 8]
jne 0x2b40b
lea esi, [ebx + 0x64]
movzx ecx, byte [ebx + 0x6b]
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx eax, byte [ebx + 0x6b]
mov esi, dword [ebp + 0x18]
add edx, eax
mov eax, dword [ebp + 0x24]
mov dword [edx], eax
movzx ecx, byte [ebx + 0x6b]
add edx, 4
test esi, esi
mov edi, edx
je 0x2ba11
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0x2c], 0
movzx eax, byte [ebx + 0x6b]
mov ecx, dword [ebp + 0x20]
mov dword [eax + edx], ecx
je 0x2b466
cmp byte [ebx + 0x6a], 0
jne 0x2d60d
movzx eax, byte fs:[0x51]
push dword [ebp + 0xc]
shl eax, 6
mov esi, eax
mov eax, dword [ebx + 0x60]
add eax, esi
inc dword [eax]
mov eax, dword [ebx + 0x10]
push dword [eax + 4]
call dword [eax + 0x30]
mov edi, eax
cmp edi, 0x103
jne 0x2d614
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x28
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x2b44c
mov edi, 0xc0010011
jmp 0x2d640
mov eax, dword [ebx + 0x60]
add eax, esi
dec dword [eax]
test edi, edi
jne 0x2d62a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
add dword [ebx + 0x54], eax
jmp 0x2d640
cmp edi, 0xc000009a
jne 0x2d63a
inc dword [ebx + 0x11c]
jmp 0x2d640
inc dword [ebx + 0x120]
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.NDIS.SYS_NdisUnchainBufferAtFront]
push dword [ebp + 0x28]
call fcn.00013960
push dword [ebp + 0xc]
call dword [sym.imp.NDIS.SYS_NdisFreePacket]
jmp 0x2b494

Function at 0x2bf1e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
and dword [ecx + 0x1c], 0
mov dl, 2
mov dword [ecx + 0x18], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop ebp
ret 0xc
Function at 0x2ca2b
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [edi + 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], fcn.000148bc
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
lea ebx, [esi + 0x38]
mov ecx, 0x20a30
xchg dword [ebx], ecx
cmp byte [esi + 0x24], 0
mov dl, al
jne 0x3a183
mov ecx, dword [esi + 0x60]
or byte [ecx + 3], 1
mov ecx, dword [ebp + 8]
inc dword [edi + 4]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push dword [esi + 4]
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
add eax, 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0002c8c0
mov ecx, 0x103
cmp eax, ecx
jne 0x3a16e
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [ebp + 0xc]
and byte [ecx + 3], 0xfe
push 0
push eax
push esi
call fcn.000148bc
jmp 0x2caac
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
call edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov ecx, dword [ebp + 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
xor ecx, ecx
xchg dword [ebx], ecx
mov ecx, dword [ebp + 8]
and dword [esi + 0x1c], 0
mov ebx, 0xc0000120
mov dl, al
mov dword [esi + 0x18], ebx
call edi
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
jmp 0x2caac
Function at 0x40305
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
push esi
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
jmp 0x40330
lea esi, [eax - 0x58]
mov edx, dword [esi + 0x40]
cmp edx, dword [ebp + 8]
jne 0x4032e
mov edx, dword [esi + 0x34]
cmp edx, dword [ebp + 0xc]
je 0x40344
mov eax, dword [eax]
cmp eax, ecx
jne 0x4031b
mov ecx, dword [ebp + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
xor al, al
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [ecx], eax
mov dword [eax + 4], ecx
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
mov ecx, dword [ebp + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
push 2
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
and dword [esi + 0x1c], 0
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], 0xc0000120
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov al, 1
jmp 0x4033f
Function at 0x42546
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
cmp dword [ecx + 8], 4
push ebx
mov ebx, dword [ecx + 4]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
jae 0x42576
mov eax, 0xc000000d
mov dword [edi + 0x18], eax
mov esi, eax
jmp 0x42690
mov eax, dword [eax]
mov ecx, 0x4fb80
mov dword [ebp + 8], eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
movzx ecx, byte [ebp + 0xa]
movzx edx, byte [ebp + 0xb]
add edx, ecx
mov ecx, dword [ebp + 8]
movzx esi, ch
add edx, esi
movzx esi, cl
add edx, esi
mov esi, dword [0x51bb4]
dec esi
and edx, esi
mov esi, dword [0x51bb8]
mov esi, dword [esi + edx*4]
jmp 0x425be
test byte [esi + 0x14], 1
je 0x425bc
cmp dword [esi + 4], ecx
je 0x425c2
mov esi, dword [esi]
test esi, esi
jne 0x425b1
mov dl, al
mov ecx, 0x4fb80
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
test esi, esi
je 0x42683
lea ecx, [esi + 0x20]
mov dword [ebp - 0xc], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
test byte [esi + 0x14], 1
mov byte [ebp + 0xf], al
je 0x42675
mov eax, dword [ebp + 8]
cmp dword [esi + 4], eax
jne 0x42675
push 4
pop eax
cmp ebx, eax
jae 0x4260c
and dword [edi + 0x1c], 0
mov dword [ebp - 4], 0xc0000023
jmp 0x42675
jne 0x42629
mov ecx, dword [esi + 0xb8]
mov edx, dword [edi + 0xc]
lea ecx, [ecx*4 + 8]
mov dword [edx], ecx
mov dword [ebp - 4], 0x80000005
jmp 0x42672
mov esi, dword [esi + 0xa4]
mov eax, dword [edi + 0xc]
xor edx, edx
shr ebx, 2
cmp esi, edx
mov dword [ebp - 8], ebx
je 0x4266d
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 8]
mov ecx, dword [esi + ecx*4]
jmp 0x42657
cmp edx, dword [ebp - 8]
jae 0x42666
mov ebx, dword [ecx + 8]
mov dword [eax + edx*4], ebx
mov ecx, dword [ecx]
inc edx
test ecx, ecx
jne 0x42649
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x20
jae 0x4266d
jmp 0x42641
mov dword [ebp - 4], 0x80000005
mov eax, edx
shl eax, 2
mov dword [edi + 0x1c], eax
mov dl, byte [ebp + 0xf]
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x4268a
mov dword [ebp - 4], 0xc000000d
mov esi, dword [ebp - 4]
mov dword [edi + 0x18], esi
mov dl, 2
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x428c9
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
cmp edx, 0x38
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
jb 0x429a8
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
test esi, esi
mov dword [ebp + 8], eax
je 0x429a8
cmp esi, 0x2762762
ja 0x429a8
mov eax, esi
imul eax, eax, 0x34
add eax, 4
cmp edx, eax
jb 0x429a8
mov edi, esi
shl edi, 2
cmp dword [ecx + 4], edi
mov dword [ebp - 8], edi
jae 0x42930
mov eax, 0xc0000023
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov esi, eax
jmp 0x429b0
push 0x10
push 0x69504354
push edi
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTagPriority]
test eax, eax
mov dword [ebp - 4], eax
jne 0x4294e
mov esi, 0xc000009a
jmp 0x429ad
and dword [ebp + 0xc], 0
test esi, esi
jbe 0x4297e
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
push 4
push dword [ebp + 8]
call fcn.000426a8
mov edx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add dword [ebp + 8], 0x34
cmp dword [ebp + 0xc], esi
mov dword [ecx + edx*4], eax
jb 0x4295f
mov esi, dword [ebp - 4]
mov ecx, edi
mov edi, dword [ebx + 0xc]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 8]
mov dword [ebx + 0x1c], eax
jmp 0x429ad
mov esi, 0xc000000d
mov dword [ebx + 0x18], esi
mov dl, 2
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x429c8
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0x34
push esi
mov esi, dword [ebp + 8]
push edi
jae 0x429e2
mov eax, 0xc000000d
jmp 0x429ed
mov eax, dword [esi + 0xc]
push 5
push eax
call fcn.000426a8
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], eax
mov edi, eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x42b10
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, 0x4fe90
xor ecx, ecx
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp ecx, 0x4c
mov ebx, 0xc000000d
jb 0x42b98
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x42b75
cmp eax, 0x1af286b
ja 0x42b97
dec eax
shl eax, 4
add eax, 0x38
cmp ecx, eax
jb 0x42b97
cmp dword [esi + 0x24], 2
je 0x42b6b
test byte [esi + 4], 1
je 0x42b6b
push dword [esi + 0x30]
push dword [esi + 8]
call fcn.00041712
push 6
push esi
call fcn.00042a09
jmp 0x42b95
cmp dword [esi + 0x24], 2
jne 0x42b97
push dword [esi + 0x30]
push dword [esi + 8]
call fcn.00041712
cmp eax, 0x2b04
jne 0x42b8f
xor eax, eax
push eax
call fcn.0002342e
mov ebx, eax
pop esi
mov eax, dword [ebp + 8]
mov dl, 2
mov ecx, eax
mov dword [eax + 0x18], ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
or eax, 0xffffffff
lock xadd dword [edi], eax
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x42bbc
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 4
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0xc]
jb 0x42c32
cmp dword [eax + 4], 4
jb 0x42c32
mov eax, dword [edi]
push ebx
mov ebx, 0x4fb80
mov ecx, ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push 0
push 0x20
push 0
push dword [ebp + 0xc]
mov byte [ebp + 0xb], al
call fcn.00011f9a
test eax, eax
je 0x42c1a
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x88]
mov dword [edi], eax
and dword [esi + 0x18], 0
mov dword [esi + 0x1c], 4
xor edi, edi
jmp 0x42c24
mov eax, 0xc000023c
mov dword [esi + 0x18], eax
mov edi, eax
mov dl, byte [ebp + 0xb]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
pop ebx
jmp 0x42c3c
mov eax, 0xc000000d
mov dword [esi + 0x18], eax
mov edi, eax
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x42fe7
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 4
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0xc000000d
jb 0x4309d
cmp dword [eax + 4], 0x20
jb 0x4309d
push edi
mov edi, dword [esi]
mov ecx, 0x4fb80
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [0x51ab4]
test ecx, ecx
je 0x4308f
cmp dword [ecx + 0x88], edi
je 0x43039
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4302b
test ecx, ecx
je 0x4308f
mov edx, dword [ecx + 0x160]
and dword [ebp - 4], 0
mov dword [esi], edx
mov edx, dword [ecx + 0x164]
mov dword [esi + 4], edx
mov edx, dword [ecx + 0x170]
mov dword [esi + 8], edx
mov edx, dword [ecx + 0x174]
mov dword [esi + 0xc], edx
mov edx, dword [ecx + 0x158]
mov dword [esi + 0x10], edx
mov edx, dword [ecx + 0x15c]
mov dword [esi + 0x14], edx
mov edx, dword [ecx + 0x168]
mov dword [esi + 0x18], edx
mov ecx, dword [ecx + 0x16c]
mov dword [esi + 0x1c], ecx
mov dword [ebx + 0x1c], 0x20
mov dl, al
mov ecx, 0x4fb80
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
pop edi
mov esi, dword [ebp - 4]
mov dl, 2
mov ecx, ebx
mov dword [ebx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x47d9c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 5]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov edi, 0x4fb80
mov ecx, edi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp - 1], al
mov eax, dword [0x50560]
mov ecx, 0x50560
cmp eax, ecx
je 0x47dea
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x18]
lea esi, [eax - 0x58]
cmp dword [esi + 0x40], edx
jne 0x47de4
mov ebx, dword [esi + 0x34]
cmp ebx, dword [ebp + 0x10]
je 0x47e0a
mov eax, dword [eax]
cmp eax, ecx
jne 0x47dd4
mov dl, byte [ebp - 1]
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push dword [ebp - 5]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov eax, 0xc000000d
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [ecx], eax
push 0
mov dword [eax + 4], ecx
call fcn.00040aa3
mov dl, byte [ebp - 1]
mov ecx, edi
mov ebx, eax
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
push dword [ebp - 5]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ecx], ebx
mov dword [eax + 0x1c], 4
xor eax, eax
jmp 0x47e03
Function at 0x47f81
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
push edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov eax, dword [0x50570]
mov edi, 0x50570
jmp 0x47fe1
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 4]
cmp ecx, dword [ebp + 8]
jne 0x47fdf
mov edx, dword [eax + 8]
mov esi, dword [eax]
xor ecx, ecx
add edx, 0x38
xchg dword [edx], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0xc]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [ecx], eax
mov dword [ebp - 8], eax
mov eax, esi
jmp 0x47fe1
mov eax, dword [eax]
cmp eax, edi
jne 0x47faa
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov esi, dword [ebp - 0xc]
jmp 0x48018
mov edi, dword [esi + 8]
mov eax, esi
mov esi, dword [esi]
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [edi + 0x1c], 0
mov dl, 2
mov ecx, edi
mov dword [edi + 0x18], 0xc0000120
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea eax, [ebp - 0xc]
cmp esi, eax
jne 0x47ff3
pop edi
pop esi
leave
ret 4

Function at 0x48080
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov eax, dword [0x50550]
mov ecx, 0x50550
cmp eax, ecx
je 0x480d2
mov esi, dword [ebp + 8]
cmp dword [eax + 0x10], esi
je 0x480b9
mov eax, dword [eax]
cmp eax, ecx
je 0x480d5
jmp 0x480a9
mov ebx, dword [eax + 8]
mov dword [ebp - 4], eax
xor ecx, ecx
lea edx, [ebx + 0x38]
xchg dword [edx], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
jmp 0x480d5
mov esi, dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
cmp dword [ebp - 4], edi
jne 0x480f6
push edi
push dword [esi + 0x10]
mov edi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call edi
push 0
push esi
call edi
jmp 0x4814d
push dword [ebp + 0xc]
call fcn.0002342e
mov edi, dword [ebx + 0xc]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x1c], eax
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edi, edi
push edi
push dword [eax + 0x10]
call esi
push edi
push dword [ebp - 4]
call esi
push edi
push dword [ebp + 8]
call esi
cmp dword [ebp + 0xc], edi
je 0x48143
mov dword [ebx + 0x1c], edi
mov dl, 2
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
pop ebx
leave
ret 8