joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40987c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409930
jmp 0x409925
cmp dword [esi + 0x10], 0x1000
jne 0x409911
test byte [esi + 0x15], 1
jne 0x409911
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4098d0
cmp eax, 2
je 0x4098d0
cmp eax, 0x10
je 0x4098d0
cmp eax, 0x20
jne 0x4098e5
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4098e5
mov bl, 1
xor ebp, ebp
jmp 0x4098f6
mov eax, dword [esi]
add eax, ebp
call fcn.00409874
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4098e9
test bl, bl
je 0x409911
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409930
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4098a8
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x369a2888
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x20895c21
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1141e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
push edi
mov edi, dword [eax + 4]
test ecx, ecx
je 0x11464
cmp dword [eax + 8], 0x11
jb 0x11464
cmp edi, 0x11
jb 0x11464
push ecx
call fcn.00017b62
mov dword [esi + 0x18], eax
test eax, eax
jl 0x11464
mov dword [esi + 0x1c], edi
xor edi, edi
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
and dword [esi + 0x1c], 0
mov eax, 0xc0000001
mov dword [esi + 0x18], eax
mov edi, eax
jmp 0x11452

Function at 0x1147a
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x60]
movzx edx, byte [eax]
sub edx, 0
je 0x114f0
dec edx
dec edx
je 0x114e7
dec edx
je 0x114de
dec edx
je 0x114d5
sub edx, 0xa
jne 0x114af
mov edx, dword [eax + 0xc]
cmp edx, 0x12c800
je 0x114cc
cmp edx, 0x220194
je 0x114c3
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x114f7
push eax
push ecx
call fcn.0001141e
jmp 0x114f7
push eax
push ecx
call fcn.00018278
jmp 0x114f7
push eax
push ecx
call fcn.00019418
jmp 0x114f7
push eax
push ecx
call fcn.00018db8
jmp 0x114f7
push eax
push ecx
call fcn.00018d26
jmp 0x114f7
push eax
push ecx
call fcn.00017d76
pop ebp
ret 8

Function at 0x116f2
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xc]
mov dword [ebp + 0xc], eax
mov byte [ebp + 0xb], 0
call fcn.00017fca
test al, al
je 0x117c8
test ebx, ebx
je 0x117c8
cmp dword [ebp + 0xc], 0x1c
jb 0x117c8
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 0xf], al
mov eax, dword [esi + 0x18]
cdq
push edx
push eax
push dword [0x1c31c]
call fcn.00011072
test eax, eax
je 0x1179e
mov ebx, dword [ebx + 0x10]
dec ebx
je 0x11791
dec ebx
je 0x11788
dec ebx
je 0x1177f
dec ebx
je 0x11776
dec ebx
je 0x1176d
dec ebx
jne 0x1179e
test byte [eax + 0x13c], 0x20
jmp 0x11798
test byte [eax + 0x13c], 0x10
jmp 0x11798
test byte [eax + 0x13c], 8
jmp 0x11798
test byte [eax + 0x13c], 4
jmp 0x11798
test byte [eax + 0x13c], 2
jmp 0x11798
test byte [eax + 0x13c], 1
je 0x1179e
mov byte [ebp + 0xb], 1
mov dl, byte [ebp + 0xf]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp + 0xb], 0
je 0x117c8
and dword [edi + 0x1c], 0
and dword [edi + 0x18], 0
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x117da
mov ecx, dword [ebp + 0x10]
inc byte [edi + 0x23]
add dword [edi + 0x60], 0x24
mov edx, edi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x117e6
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 0x60]
movzx eax, byte [esi]
sub eax, 0
je 0x1192d
sub eax, 0xe
je 0x1181f
dec eax
je 0x11860
sub eax, 3
jne 0x11919
push dword [ebp + 0x10]
push esi
push edi
call fcn.00011658
jmp 0x11937
push esi
push edi
push dword [ebp + 8]
call sub.TDI.SYS_TdiMapUserRequest
test eax, eax
jge 0x11860
cmp dword [esi + 0xc], 0x210203
jne 0x11919
mov esi, dword [esi + 0x10]
test esi, esi
je 0x11919
mov dword [esi], 0x116a4
and dword [edi + 0x18], 0
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x11937
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x10]
cmp eax, 2
jne 0x11902
movzx eax, byte [esi + 1]
cmp eax, 6
jg 0x118cf
je 0x118c3
dec eax
je 0x118b7
dec eax
je 0x118a8
dec eax
je 0x11899
dec eax
jne 0x11919
push dword [ebp + 0x10]
push esi
push edi
call fcn.0001350c
jmp 0x11937
push dword [ebp + 0x10]
push esi
push edi
call fcn.00012c5a
jmp 0x11937
push dword [ebp + 0x10]
push esi
push edi
call fcn.000130d8
jmp 0x11937
push dword [ebp + 0x10]
push esi
push edi
call fcn.00012fea
jmp 0x11937
push dword [ebp + 0x10]
push esi
push edi
call fcn.000132f6
jmp 0x11937
sub eax, 7
je 0x118f6
dec eax
je 0x118ea
sub eax, 0x127ffc
jne 0x11919
push dword [ebp + 0x10]
push esi
push edi
call fcn.000116f2
jmp 0x11937
push dword [ebp + 0x10]
push esi
push edi
call fcn.00014e74
jmp 0x11937
push dword [ebp + 0x10]
push esi
push edi
call fcn.00014ff8
jmp 0x11937
cmp eax, 1
jne 0x11919
cmp byte [esi + 1], 0xb
jne 0x11919
push dword [ebp + 0x10]
push esi
push edi
call fcn.000121cc
jmp 0x11937
mov ecx, dword [ebp + 0x10]
inc byte [edi + 0x23]
add dword [edi + 0x60], 0x24
mov edx, edi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x11937
push dword [ebp + 0x10]
push esi
push edi
call fcn.000115e2
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x121cc
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, 0x1c310
call ebx
mov byte [ebp + 0xf], al
mov eax, dword [edi + 0x18]
cdq
push edx
push eax
push dword [0x1c338]
call fcn.00011072
test eax, eax
je 0x12347
push esi
lea esi, [eax - 8]
lea ecx, [esi + 0x1a8]
mov dword [ebp - 8], ecx
call ebx
mov ecx, dword [edi + 4]
xor ebx, ebx
sub ecx, ebx
je 0x1230d
dec ecx
je 0x122e0
dec ecx
dec ecx
je 0x122b3
dec ecx
je 0x12280
dec ecx
je 0x1224d
dec ecx
dec ecx
je 0x12241
dec ecx
jne 0x1233b
mov dword [ebp - 4], 0xc0000184
jmp 0x1233b
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x1226f
mov dword [esi + 0x108], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x10c], ecx
mov dword [edi + 8], 0x14358
jmp 0x1232a
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
jmp 0x1233b
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x122a2
mov dword [esi + 0xf0], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xf4], ecx
mov dword [edi + 8], 0x1598e
jmp 0x1232a
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
jmp 0x1233b
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x122d2
mov dword [esi + 0xe0], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xe4], ecx
mov dword [edi + 8], 0x14206
jmp 0x1232a
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
jmp 0x1233b
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x122ff
mov dword [esi + 0xd0], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xd4], ecx
mov dword [edi + 8], 0x13f92
jmp 0x1232a
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
jmp 0x1233b
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x1232f
mov dword [esi + 0xc8], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xcc], ecx
mov dword [edi + 8], 0x13614
mov dword [edi + 0xc], esi
jmp 0x1233b
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov ecx, dword [ebp - 8]
mov dl, al
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
pop esi
mov dl, byte [ebp + 0xf]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor eax, eax
cmp dword [ebp - 4], eax
pop edi
pop ebx
jge 0x12373
mov ecx, dword [ebp + 8]
xor dl, dl
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x12386
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
inc byte [edx + 0x23]
add dword [edx + 0x60], 0x24
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
leave
ret 0xc
Function at 0x14e74
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
call fcn.00017fca
test al, al
jne 0x14ea0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
inc byte [edx + 0x23]
add dword [edx + 0x60], 0x24
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x14fcc
push ebx
push esi
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push edi
mov ecx, 0x1c310
call esi
mov byte [ebp - 1], al
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
cdq
push edx
push eax
push dword [0x1c31c]
call fcn.00011072
mov edi, dword [ebp + 8]
test eax, eax
je 0x14f9f
lea ebx, [eax - 8]
test byte [ebx + 0x38], 2
je 0x14f9f
cmp byte [ebx + 0xd9], 0
jne 0x14f9f
mov eax, dword [ebp + 0xc]
test byte [eax + 8], 0x80
je 0x14f28
push 0
push ebx
call fcn.0001465a
test eax, eax
jne 0x14f28
mov dl, byte [ebp - 1]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, edi
xor esi, esi
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x18], esi
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
jmp 0x14fc9
call fcn.00017fca
test al, al
je 0x14fd0
cmp byte [ebx + 0x139], 0
jne 0x14fd0
cmp byte [ebx + 0xd7], 0
je 0x14fd0
lea ecx, [ebx + 0x13c]
call esi
lea ecx, [edi + 0x58]
lea esi, [ebx + 0xec]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov dword [ecx], esi
mov dword [edx], ecx
mov dword [esi + 4], ecx
mov dl, al
lea ecx, [ebx + 0x13c]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [edi + 0x60]
or byte [eax + 3], 1
mov eax, 0x14162
lea ecx, [edi + 0x38]
xchg dword [ecx], eax
push 0
mov esi, 0x103
push ebx
mov dword [edi + 0x18], esi
call fcn.00013c40
mov dword [ebp - 8], esi
mov dl, byte [ebp - 1]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0x103
cmp dword [ebp - 8], eax
je 0x14fc9
mov ecx, dword [ebp + 0x10]
inc byte [edi + 0x23]
add dword [edi + 0x60], 0x24
mov edx, edi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dl, byte [ebp - 1]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, edi
and dword [ecx + 0x1c], 0
mov eax, 0xc0000184
mov dword [ecx + 0x18], eax
mov esi, eax
jmp 0x14f19
Function at 0x14ff8
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
call fcn.00017fca
test al, al
jne 0x15024
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
inc byte [edx + 0x23]
add dword [edx + 0x60], 0x24
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x15173
push ebx
push esi
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push edi
mov ecx, 0x1c310
call esi
mov byte [ebp - 1], al
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
cdq
push edx
push eax
push dword [0x1c31c]
call fcn.00011072
mov edi, dword [ebp + 8]
mov ebx, eax
test ebx, ebx
je 0x15146
mov eax, dword [ebp + 0xc]
add eax, 4
je 0x15082
test byte [eax + 4], 0x20
je 0x15082
mov dl, byte [ebp - 1]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov edx, edi
inc byte [edx + 0x23]
add dword [edx + 0x60], 0x24
jmp 0x15167
test byte [ebx + 0x30], 2
je 0x15146
cmp byte [ebx + 0xd1], 0
jne 0x15146
call fcn.00017fca
test al, al
je 0x15177
cmp byte [ebx + 0x131], 0
jne 0x15177
lea ecx, [ebx + 0x134]
mov dword [ebp + 8], ecx
call esi
lea ecx, [ebx + 0x104]
mov edx, dword [ecx + 4]
lea esi, [edi + 0x58]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [edx], esi
mov dword [ecx + 4], esi
mov ecx, dword [ebp + 8]
mov dl, al
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [edi + 0x60]
or byte [eax + 3], 1
and dword [edi + 0x1c], 0
lea ecx, [edi + 0x38]
mov eax, 0x14162
xchg dword [ecx], eax
mov dword [ebp + 0xc], eax
mov eax, 0x103
mov dword [edi + 0x18], eax
push dword [ebx + 0x24]
mov dword [ebp - 8], eax
push dword [ebx + 0x20]
push 3
call fcn.00018bea
test eax, eax
jge 0x15146
mov ecx, dword [ebp + 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebx], ecx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dl, al
mov dword [esi + 4], esi
mov dword [esi], esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x38]
xchg dword [eax], ecx
and dword [edi + 0x18], 0
and dword [ebp - 8], 0
mov dl, byte [ebp - 1]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0x103
cmp dword [ebp - 8], eax
je 0x15170
inc byte [edi + 0x23]
add dword [edi + 0x60], 0x24
mov edx, edi
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dl, byte [ebp - 1]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, edi
and dword [ecx + 0x1c], 0
mov esi, 0xc0000184
xor dl, dl
mov dword [ecx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
jmp 0x15170
Function at 0x15754
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x58], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x5c], edi
call fcn.00017fca
test al, al
jne 0x15789
mov ecx, edi
jmp 0x15886
push 0x4b
lea eax, [ebp - 0x50]
push 0
push eax
call sub.ntoskrnl.exe_memset
mov edi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
add esp, 0xc
push 0xe
pop eax
push 2
mov word [ebp - 0x50], ax
pop eax
mov ecx, 0x1c310
mov word [ebp - 0x4e], ax
call edi
mov byte [ebp - 0x51], al
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
push dword [0x1c338]
call fcn.00011072
test eax, eax
je 0x1586b
lea ebx, [eax - 8]
lea eax, [ebp - 0x4e]
push eax
push 1
push ebx
call fcn.00019776
test al, 1
je 0x1580e
mov dl, byte [ebp - 0x51]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [esi + 0x1c], 0
mov edi, 0xc0000141
xor dl, dl
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x15895
test al, 2
je 0x1586b
cmp byte [ebx + 0x165], 0
jne 0x1586b
lea ecx, [ebx + 0x1a8]
call edi
lea ecx, [esi + 0x58]
lea edi, [ebx + 0x178]
mov dl, al
mov eax, dword [edi + 4]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov dword [edi + 4], ecx
lea ecx, [ebx + 0x1a8]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [esi + 0x60]
or byte [eax + 3], 1
mov eax, 0x161b2
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
push 3
mov edi, 0x103
push ebx
mov dword [esi + 0x18], edi
call fcn.00012412
mov dword [ebp - 0x58], edi
mov dl, byte [ebp - 0x51]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0x103
cmp dword [ebp - 0x58], eax
je 0x15895
mov ecx, dword [ebp - 0x5c]
inc byte [esi + 0x23]
add dword [esi + 0x60], 0x24
mov edx, esi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.000199dd
leave
ret 0xc
Function at 0x15ea0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
cmp edi, edx
jne 0x15ec5
mov dword [ebp + 8], 0xc0000141
jmp 0x16056
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
je 0x15eb9
mov eax, dword [edi + 0xf0]
mov ecx, dword [edi + 0xf4]
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
cmp eax, edx
je 0x15eb9
lea eax, [edi + 0x170]
push esi
mov esi, dword [eax]
mov dword [ebp - 0x10], eax
cmp esi, edx
je 0x1604e
cmp esi, eax
je 0x1604e
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
cmp dword [esi + 0xc], edx
jl 0x16048
cmp dword [esi + 0x9c], edx
je 0x16048
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
lea ecx, [edi + 0x1a8]
mov dword [ebp - 0xc], ecx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [esi + 0x9c]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0x98]
lea ecx, [esi + ecx + 0xa4]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push eax
push dword [esi + 0x10]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp + 8]
call dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebx], al
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x15fb7
push esi
call fcn.00016920
mov ecx, dword [ebp - 4]
mov eax, 0xc0000141
mov dword [ebp + 8], eax
test ecx, ecx
je 0x16055
xor edx, edx
add ecx, 0x38
xchg dword [ecx], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 4]
and dword [eax + 0x1c], 0
push 0
push dword [ebp - 4]
call fcn.00017fd6
jmp 0x16055
mov eax, 0xc000021b
cmp dword [ebp + 8], eax
jne 0x15fc7
and dword [ebp - 8], 0
jmp 0x15fd6
cmp dword [ebp + 8], 0
jne 0x15fd6
cmp dword [ebp - 8], 0
jne 0x15fd6
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x9c]
cmp dword [ebp - 8], eax
jae 0x1600a
cmp dword [ebp - 4], 0
je 0x1600a
sub eax, dword [ebp - 8]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 8]
add dword [esi + 0x98], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
mov dword [eax], esi
jmp 0x16013
push esi
call fcn.00016920
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 4], 0
je 0x16055
push eax
push dword [ebp - 4]
call fcn.00015d0a
mov dl, byte [ebx]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], eax
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp - 4]
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebx], al
jmp 0x16055
push esi
call fcn.00016920
mov dword [ebp + 8], 0xc0000141
pop esi
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret 8
Function at 0x16064
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x1a8]
mov dword [ebp - 8], ecx
call ebx
mov byte [ebp + 0xb], al
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x16167
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x16167
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebp + 0x10]
jne 0x16167
lea eax, [esi + 0x170]
cmp dword [eax], eax
je 0x16167
push edi
jmp 0x16132
lea ecx, [esi + 0x170]
cmp dword [ecx], ecx
je 0x1613c
mov edi, dword [eax]
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [ecx + 4], eax
cmp edi, eax
je 0x16132
add edi, 0xffffffa8
lea eax, [edi + 0x58]
mov dword [eax + 4], eax
mov dword [eax], eax
xor eax, eax
lea ecx, [edi + 0x38]
xchg dword [ecx], eax
lea eax, [esi + 0x170]
push eax
push edi
call fcn.00015d0a
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, dword [ebp - 8]
call ebx
cmp dword [ebp - 4], 0
mov byte [ebp + 0xb], al
jl 0x16166
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x16166
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x16166
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebp + 0x10]
jne 0x16166
lea eax, [esi + 0x178]
cmp dword [eax], eax
jne 0x160bd
lea edi, [esi + 0x170]
jmp 0x16155
lea eax, [ebp + 0xb]
push eax
push esi
call fcn.00015ea0
mov dword [ebp - 4], eax
test eax, eax
jl 0x1615b
cmp dword [edi], edi
jne 0x16144
jmp 0x16166
cmp eax, 0xc000021b
jne 0x16166
and dword [ebp - 4], 0
pop edi
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x16198
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
cmp eax, dword [ebp + 0xc]
jne 0x16198
cmp ecx, dword [ebp + 0x10]
jne 0x16198
cmp dword [ebp - 4], 0
jl 0x16198
add esi, 0x170
cmp dword [esi], esi
jne 0x16198
push ecx
push eax
push 0xc
call fcn.00018bea
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp - 8]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc