joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422aa4], 0
push esi
jne 0x405cc3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c9d
mov dword [ecx*4 + 0x422aa0], eax
inc ecx
cmp ecx, 0x100
jl 0x405c98
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cf4
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422aa0]
xor eax, esi
inc ecx
dec edx
jne 0x405cd6
pop edi
not eax
pop esi
ret 0xc

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x13960
Capabilities:
Install driver

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, edx
and edi, 0xfffff000
mov esi, dword [edi]
movzx eax, byte [esi + 0x1b]
inc eax
shl eax, 6
mov ecx, eax
mov eax, esi
sub eax, ecx
cmp dword [edx + 0x10], edi
jne 0x3e0d3
cmp word [edx + 4], 0x20
jne 0x3e0d3
mov ecx, dword [edx + 0xc]
lea ebx, [edx + 0x20]
cmp ecx, ebx
jne 0x3e0d3
mov ecx, dword [edx + 0x18]
add ecx, dword [edx + 0x10]
cmp ecx, dword [edx + 0xc]
jne 0x3e0d3
mov eax, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ebx, dword [ebp + 8]
cmp eax, dword [ebx + 8]
mov ecx, dword [ecx]
jne 0x14fe9
cmp eax, dword [esi + 0x14]
jl 0x139ec
jg 0x14fd2
cmp ecx, dword [esi + 0x10]
ja 0x14fd2
movzx ebx, word [edi + 0xe]
mov dword [edi + 0x18], ecx
xor ecx, ecx
mov dword [edi + 0x1c], eax
lea eax, [esi + 0x20]
inc ecx
lock xadd dword [eax], ecx
lea ecx, [edi + 0x10]
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
test ebx, ebx
jne 0x18322
cmp dword [ebp - 4], ebx
jne 0x18322
pop edi
pop esi
pop ebx
leave
ret 4
mov dword [ebp - 4], 1
jmp 0x139ec
push esi
call fcn.00013b65
jmp 0x1838b
pause
jmp 0x139c1
movzx eax, byte fs:[0x51]
movzx ecx, byte [esi + 0x1b]
cmp eax, ecx
jne 0x18394
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
mov byte [ebp + 0xb], al
movzx eax, byte fs:[0x51]
movzx ecx, byte [esi + 0x1b]
cmp eax, ecx
jne 0x1838b
test ebx, ebx
je 0x18381
cmp word [edi + 0xe], 0
je 0x18381
cmp word [edi + 0x14], 0
je 0x18381
lea eax, [edi + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
xor ebx, ebx
mov word [edi + 0xe], bx
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [ecx], eax
dec word [esi + 0x18]
mov dword [esi + 4], eax
cmp dword [ebp - 4], 0
jne 0x14fde
mov cl, byte [ebp + 0xb]
call dword [sym.imp.HAL.dll_KfLowerIrql]
test ebx, ebx
je 0x13a1a
mov byte [esi + 0x1a], 1
jmp 0x13a1a
Function at 0x13a26
Capabilities:
Install driver

Disassembly:
mov ax, word [edi + 0xc]
mov ecx, dword [ebp + 8]
cmp ax, word [ecx + 6]
jne 0x13ade
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [esi], edx
mov dword [edx + 4], esi
lea edx, [esi + 8]
mov eax, dword [edx + 4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov dword [edx + 4], ecx
mov word [edi + 0xe], 1
inc word [esi + 0x18]
jmp 0x13ade
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
and dword [eax], 0
push ebx
push esi
push edi
movzx eax, byte fs:[0x51]
lea esi, [eax + 1]
shl esi, 6
add esi, dword [ebp + 8]
cmp byte [esi + 0x1a], 0
jne 0x13b4a
mov eax, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
mov ecx, dword [ecx]
jne 0x14f65
cmp eax, dword [esi + 0x14]
jl 0x13a83
jg 0x13b55
cmp ecx, dword [esi + 0x10]
ja 0x13b55
mov edi, dword [esi]
cmp edi, esi
je 0x14f4d
add edi, 0xfffffffc
lea ecx, [edi + 0x10]
call dword [sym.imp.ntoskrnl.exe_InterlockedPopEntrySList]
test eax, eax
je 0x14ed0
mov ebx, eax
mov ecx, edi
mov eax, 0xfffff000
and ecx, eax
cmp edi, ecx
jne 0x3e0c3
cmp esi, dword [edi]
jne 0x3e0c3
cmp word [edi + 0xe], 0
jne 0x3e0c3
mov ecx, ebx
and ecx, eax
cmp ecx, edi
jne 0x3e0c3
cmp word [edi + 0x14], 0
je 0x1391d
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
ja 0x15003
and dword [ebx], 0
mov eax, dword [ebp + 8]
movzx eax, word [eax + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
cmp word [esi + 0x18], 0x40
jbe 0x13a50
push esi
call fcn.00013b65
jmp 0x13a83
push edi
push dword [ebp + 8]
call fcn.00014e5b
jmp 0x13aa1
push esi
push dword [ebp + 8]
call fcn.00014ee3
mov ebx, eax
test ebx, ebx
jne 0x13ade
jmp 0x13b05
pause
jmp 0x13a58
mov dword [esi + 0x24], eax
jmp 0x13af0
mov edi, dword [ebp + 8]
push 0x44
push edi
push esi
push esi
push 0x1200c8
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call sub.ntoskrnl.exe_ZwDeviceIoControlFile
mov ecx, dword [ebp - 4]
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebx
leave
ret 4
cmp eax, esi
jne 0x298ac
jmp 0x2988a
push esi
push edi
push ebx
push 2
push 0xc2
call dword [sym.imp.ntoskrnl.exe_KeBugCheckEx]
push eax
push esi
push edx
push 3
push 0xc2
call dword [sym.imp.ntoskrnl.exe_KeBugCheckEx]
lea eax, [ebp - 0x1c]
push eax
call sub.ntoskrnl.exe_ZwLoadDriver
cmp eax, esi
jne 0x298ac
push esi
push esi
push esi
push 3
push esi
push 0x80
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 4]
push eax
call edi
jmp 0x298b3
Function at 0x148bc
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0x18]
push edi
mov edi, dword [eax + 0xc]
mov byte [ebp - 1], 0
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
test eax, eax
je 0x165ef
lea ecx, [edi + 0x24]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
dec dword [edi + 4]
je 0x3a039
mov ebx, dword [ebp + 0xc]
mov ecx, 0xc0000120
cmp ebx, ecx
je 0x3a042
cmp byte [esi + 0x24], 0
jne 0x20b9e
cmp byte [edi + 8], 0
jne 0x20b9e
mov dl, al
lea ecx, [edi + 0x24]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp - 1], 0
jne 0x3a053
mov eax, dword [ebp + 0x10]
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
jmp 0x148e4
and dword [ebp + 0x10], 0
mov ebx, ecx
mov dword [esi + 0x18], ecx
jmp 0x1491a
mov byte [ebp - 1], 1
jmp 0x148f6
cmp dword [ebp + 0x10], 0
je 0x14906
xor ebx, ebx
jmp 0x1491a
push 0
push 0
add edi, 0xc
push edi
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
jmp 0x1492f

Function at 0x14950
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x24]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov esi, dword [ebp + 0xc]
cmp byte [esi + 0x24], 0
mov dl, al
jne 0x20a10
cmp byte [edi + 9], 0
jne 0x20a10
mov ecx, dword [esi + 0x60]
or byte [ecx + 3], 1
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
inc dword [edi + 4]
xor ecx, ecx
mov eax, 0x4fb00
inc ecx
lock xadd dword [eax], ecx
inc ecx
je 0x14991
mov dword [esi + 0x44], ecx
xor ecx, ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x40], ecx
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [esi + 0x1c], 0
mov edi, 0xc0000120
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x149b8
Function at 0x1657a
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
and dword [esi + 0x1c], 0
mov ecx, dword [edx + 0xc]
mov eax, 0x128010
cmp ecx, eax
push edi
ja 0x296e2
je 0x29710
sub ecx, 0x120003
jne 0x1ba23
push edx
push esi
call fcn.0001901d
pop edi
pop esi
leave
ret 8
sub ecx, 0x25
je 0x1ba3d
sub ecx, 0x2c
je 0x3a4e2
sub ecx, 0x7fb0
jne 0x3a4cc
push edx
push esi
call fcn.0001b89d
jmp 0x165b5
sub ecx, 0x128014
je 0x29710
sub ecx, 4
je 0x29704
sub ecx, 4
jne 0x3a541
push edx
push esi
call fcn.00029721
jmp 0x165b5
push edx
push esi
call fcn.0005bd92
jmp 0x165b5
push edx
push esi
call fcn.0005bd35
jmp 0x165b5
sub ecx, 4
je 0x3a4d6
sub ecx, 4
jne 0x3a54f
push edx
push esi
call fcn.0005bcca
jmp 0x165b5
cmp dword [edx + 8], 0xc
jb 0x3a53a
cmp dword [edx + 4], 0x3c
jb 0x3a53a
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 4]
push ebx
mov ebx, dword [edx]
mov dword [ebp - 4], eax
mov ax, word [edx + 8]
push 0xf
mov word [ebp + 0xc], ax
mov ax, word [edx + 0xa]
pop ecx
mov word [ebp + 8], ax
push dword [ebp + 8]
xor eax, eax
push dword [ebp + 0xc]
mov edi, edx
push ebx
push dword [ebp - 4]
rep stosd dword es:[edi], eax
push edx
call fcn.00049b18
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xffffffc4
add ecx, 0x3c
mov dword [esi + 0x1c], ecx
pop ebx
mov dword [esi + 0x18], eax
mov edi, eax
jmp 0x3a557
mov eax, 0xc000000d
jmp 0x3a533
sub ecx, 4
je 0x296f8
sub ecx, 4
je 0x3a568
mov edi, 0xc0000002
mov dword [esi + 0x18], edi
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x165b5
push edx
push esi
call fcn.0004c074
jmp 0x165b5
Function at 0x16718
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [0x5171c]
push ebx
push esi
push edi
je 0x3a574
cmp eax, dword [0x51720]
je 0x1fcc5
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 0x60]
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0x10]
cmp ecx, 2
jne 0x1682d
mov cl, byte [edi + 1]
cmp cl, 7
je 0x167af
cmp cl, 8
jne 0x1a35b
push edi
push esi
call fcn.0002c9ff
pop edi
pop esi
pop ebx
pop ebp
ret 8
push edi
push esi
call fcn.0001c645
jmp 0x16768
push edi
push esi
call fcn.0001741e
jmp 0x16768
cmp ecx, 1
jne 0x1a390
mov cl, byte [edi + 1]
cmp cl, 7
je 0x1fca1
cmp cl, 9
je 0x1687a
cmp cl, 0xa
je 0x3a582
cmp cl, 0xb
jne 0x1deb8
push edi
push esi
call fcn.0005a1be
mov edi, eax
and dword [esi + 0x1c], 0
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x16768
push edi
push esi
call fcn.0001a0e6
jmp 0x16768
movzx ecx, cl
dec ecx
jne 0x1a36d
push edi
push esi
call fcn.0001b6f4
jmp 0x16860
dec ecx
je 0x1e021
dec ecx
je 0x1ba49
dec ecx
je 0x1fcb9
dec ecx
je 0x1fcad
dec ecx
je 0x1b0c4
mov al, byte [edi + 1]
cmp al, 0xc
jne 0x3a58e
push edi
push esi
call fcn.0001e90e
jmp 0x16768
push edi
push esi
call fcn.0001b0e7
jmp 0x16768
mov ebx, dword [eax + 0xc]
push 0x20a3a
push esi
push ebx
call fcn.00014950
test eax, eax
jl 0x16768
push edi
push esi
push ebx
call fcn.0001be6c
test eax, eax
je 0x16799
jmp 0x16768
cmp cl, 3
je 0x1fb7c
cmp cl, 6
jmp 0x1a38a
push edi
push esi
call fcn.0001e032
jmp 0x16768
mov eax, dword [eax + 0xc]
push 0x20a3a
push esi
push eax
call fcn.00014950
test eax, eax
jl 0x16768
jmp 0x16799
push edi
push esi
call fcn.0001fc25
jmp 0x16768
push edi
push esi
call fcn.0004bf9b
jmp 0x16768
push edi
push esi
call fcn.0004bf2b
jmp 0x16768
push dword [ebp + 0xc]
push eax
call fcn.00059e85
jmp 0x16768
push dword [ebp + 0xc]
push eax
call fcn.0005b9b3
jmp 0x16768
push edi
push esi
call fcn.0004c002
jmp 0x16768
jbe 0x3a59d
cmp al, 0xe
mov edi, 0xc0000002
jbe 0x16862
mov edi, 0xc0000010
jmp 0x16862
Function at 0x1741e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x18]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebx]
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], fcn.000148bc
mov dword [ebp - 8], esi
mov dword [ebp + 0xc], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
lea ecx, [esi + 0x38]
mov edx, 0x20a3a
xchg dword [ecx], edx
cmp byte [esi + 0x24], 0
jne 0x3a19a
mov ecx, dword [esi + 0x60]
or byte [ecx + 3], 1
inc dword [ebx + 4]
xor ecx, ecx
mov edx, 0x4fb00
inc ecx
lock xadd dword [edx], ecx
inc ecx
je 0x1746e
and dword [esi + 0x40], 0
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp + 0xc]
mov dl, al
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push dword [esi + 4]
xor eax, eax
mov ax, word [edi + 8]
push dword [edi + 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00017c02
mov ecx, 0x103
cmp eax, ecx
jne 0x3a17f
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret 8
and byte [edi + 3], 0xfe
test eax, eax
jne 0x3a18c
push dword [edi + 4]
jmp 0x3a18e
push 0
push eax
push esi
call fcn.000148bc
jmp 0x174b4
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov dl, al
call edi
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
xor edx, edx
lea ecx, [esi + 0x38]
xchg dword [ecx], edx
mov ecx, dword [ebp + 0xc]
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 0x174b4
Function at 0x19d67
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
and dword [ebp - 0xc], 0
mov dword [ebp - 8], ecx
push ebx
mov ebx, dword [eax + 0xc]
mov edx, ecx
push esi
mov esi, dword [0x51b30]
shr ecx, 2
push edi
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 0x4fc00
dec esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 0xf], al
mov eax, esi
imul eax, eax, 0x104
lea ecx, [eax + 4]
cmp ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
ja 0x319bc
mov dword [ebx], esi
mov eax, dword [0x51b34]
test eax, eax
je 0x19e33
and dword [ebp - 4], 0
lea edx, [ebx + 4]
mov dword [ebp - 8], edx
cmp eax, 0x514c0
je 0x19e2d
movzx ecx, word [eax + 0xf4]
mov esi, dword [eax + 0xf8]
lea edi, [edx + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [eax + 0xf4]
shr ecx, 1
add ecx, dword [ebp - 4]
add dword [ebp - 4], 0x82
and word [ebx + ecx*2 + 8], 0
mov ecx, dword [eax + 0x88]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
add edx, 0x104
mov dword [ebp - 8], edx
mov eax, dword [eax]
test eax, eax
jne 0x19dd8
mov esi, dword [ebp + 8]
mov dword [esi + 0x1c], ecx
mov edi, dword [ebp - 0xc]
mov dl, byte [ebp + 0xf]
mov ecx, 0x4fc00
mov dword [esi + 0x18], edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], 0x80000005
jmp 0x19e39

Function at 0x1b89d
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
cmp ecx, 0x18
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0xc]
jb 0x23d48
add ecx, 0xffffffe8
cmp ecx, dword [edi + 0x14]
jb 0x23d48
mov eax, dword [eax + 0x10]
dec eax
je 0x1b8dc
dec eax
jne 0x23d41
cmp dword [ebx + 0xc], 0x120028
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
je 0x1dec9
push 0
push esi
push edx
call fcn.00014950
test eax, eax
jl 0x1b92e
mov dword [ebp - 0xc], fcn.000148bc
mov dword [ebp - 8], esi
push dword [edi + 0x14]
lea eax, [edi + 0x18]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.0001b93a
mov ecx, eax
mov eax, 0x103
cmp ecx, eax
je 0x1b92e
and byte [ebx + 3], 0xfe
push 0
push ecx
push esi
call fcn.000148bc
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [edi]
cmp eax, 0x400
je 0x1b8ee
cmp eax, 0x401
je 0x1b8ee
jmp 0x3a27f
dec eax
je 0x1b8dc
mov edi, 0xc000000d
mov dword [esi + 0x18], edi
jmp 0x3a289
mov eax, 0xc0000022
mov dword [esi + 0x18], eax
mov edi, eax
and dword [esi + 0x1c], 0
mov ecx, esi
mov dl, 2
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x1b92e
Function at 0x1e90e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0xc]
lea ebx, [edi + 4]
mov edx, dword [ebx]
dec edx
mov dword [ebp - 0x14], fcn.000148bc
mov dword [ebp - 0x10], esi
je 0x1e9b7
dec edx
je 0x1e9b7
dec edx
jne 0x1e99f
cmp dword [eax + 0x10], 2
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
je 0x3a3db
push 0
push esi
push ecx
call fcn.00014950
test eax, eax
jl 0x1e998
mov edx, dword [esi + 4]
push edx
call fcn.000165c0
push dword [ebp - 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edx
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0001e9c3
mov ecx, eax
mov eax, 0x103
cmp ecx, eax
je 0x1e998
push dword [ebp - 8]
and byte [edi + 3], 0xfe
push ecx
push esi
call fcn.000148bc
pop edi
pop esi
pop ebx
leave
ret 8
dec edx
jne 0x3a396
cmp dword [eax + 0x10], 2
jne 0x3a3d4
mov dword [ebp - 4], 1
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
jmp 0x1e954
dec edx
je 0x1e9b7
sub edx, 5
je 0x3a3bf
mov edi, 0xc0000002
and dword [esi + 0x1c], 0
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x1e998
mov eax, dword [eax + 0x10]
cmp eax, 2
je 0x1e9b0
cmp eax, 1
je 0x1e9b7
mov edi, 0xc000000d
jmp 0x3a3a7
mov dword [ebp - 4], 1
jmp 0x1e954
Function at 0x1fe95
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
xor edi, edi
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov eax, dword [0x505f8]
mov ecx, 0x505f8
cmp eax, ecx
je 0x1fedb
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp + 8]
jne 0x37d9c
mov esi, dword [eax + 8]
mov edi, eax
xor ecx, ecx
lea edx, [esi + 0x38]
xchg dword [edx], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
test edi, edi
je 0x37da3
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00020527
push 0
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ebx, eax
call edi
push 0
push dword [ebp + 8]
call edi
and dword [esi + 0x18], 0
mov dl, 2
mov ecx, esi
mov dword [esi + 0x1c], ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop ebx
pop edi
pop esi
leave
ret 0x14
mov eax, dword [eax]
jmp 0x1feb5
push edi
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1ff27

Function at 0x2208e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
xor bl, bl
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
cmp ecx, edi
je 0x220c5
lea edx, [ecx - 0x58]
cmp edx, esi
je 0x220b8
mov ecx, dword [ecx]
jmp 0x220a9
mov ecx, dword [esi + 0x58]
mov edi, dword [esi + 0x5c]
mov dword [edi], ecx
mov dword [ecx + 4], edi
mov bl, 1
mov ecx, dword [ebp + 0x10]
mov dl, al
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor eax, eax
mov al, byte [esi + 0x25]
push eax
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
test bl, bl
je 0x220f5
and dword [esi + 0x1c], 0
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], 0xc0000120
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc