joyce8/EMBER2024-capa huggingface dataset:
Function at 0x21e80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
xor ecx, ecx
push ecx
xor eax, eax
push ecx
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
mov word [esp + 0x18], cx
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp byte [0x2a780], 0
je 0x21ed2
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x2a780
mov dword [0x2a784], eax
mov dword [0x2a788], eax
mov dword [0x2a78c], eax
mov dword [0x2a790], eax
push 0x11b3c
lea eax, [esp + 0x14]
push eax
call esi
push 0x11b4c
lea ecx, [esp + 0xc]
push ecx
call esi
cmp dword [esp + 4], 5
jbe 0x21f3a
lea edx, [esp + 8]
push edx
call dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
test eax, eax
je 0x21f3a
mov ecx, dword [ebp + 8]
push 0
push 0x2a798
push 0
push ecx
lea edx, [esp + 0x20]
push edx
push 0x217f0
call eax
jmp 0x21f4c
push 0x2a798
push 0
push 0x217f0
call dword [sym.imp.ntoskrnl.exe_CmRegisterCallback]
mov esi, eax
mov byte [0x2a780], 1
test esi, esi
jge 0x21f5e
call fcn.00021fa0
cmp dword [esp + 4], 5
ja 0x21f89
call fcn.00021900
mov dword [0x2a6fc], eax
test eax, eax
je 0x21f89
mov ecx, dword [eax + 0x9c]
mov dword [0x2a7a0], ecx
mov dword [eax + 0x9c], 0x219b0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x22ac0
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
test ebx, ebx
je 0x22ae1
mov ecx, 0x5a4d
cmp word [ebx], cx
jne 0x22ae1
mov edi, dword [ebx + 0x3c]
add edi, ebx
cmp dword [edi], 0x4550
je 0x22ae8
pop edi
xor eax, eax
pop ebx
ret 4
push esi
mov esi, dword [edi + 0x50]
cmp esi, eax
jae 0x22af2
mov esi, eax
push ebp
push 0x70656472
push esi
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebp, eax
test ebp, ebp
je 0x22b62
push esi
push 0
push ebp
call sub.ntoskrnl.exe_memset
mov edx, dword [edi + 0x104]
add esp, 0xc
push edx
push ebx
push ebp
call sub.ntoskrnl.exe_memcpy
xor eax, eax
add esp, 0xc
xor ebx, ebx
cmp ax, word [edi + 6]
jae 0x22b59
lea esi, [edi + 0x10c]
mov edx, dword [esi]
mov ecx, dword [esi - 4]
add edx, dword [esp + 0x14]
mov eax, dword [esi - 8]
push ecx
push edx
add eax, ebp
push eax
call sub.ntoskrnl.exe_memcpy
movzx ecx, word [edi + 6]
inc ebx
add esp, 0xc
add esi, 0x28
cmp ebx, ecx
jb 0x22b34
mov eax, ebp
pop ebp
pop esi
pop edi
pop ebx
ret 4
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
ret 4
Function at 0x22be0
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
cmp ebx, ebp
je 0x22cc6
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x22cc6
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x22cc6
cmp dword [eax + 0x74], 1
jbe 0x22cc6
mov ecx, dword [eax + 0x80]
cmp ecx, ebp
je 0x22cc6
mov eax, dword [eax + 0x84]
add ecx, ebx
cmp ecx, ebp
je 0x22cc6
cmp eax, ebp
je 0x22cc6
cmp dword [ecx + 0x10], ebp
push esi
push edi
lea edi, [ecx + 0x10]
je 0x22cb2
lea ebx, [ebx]
mov esi, dword [edi - 4]
add esi, ebx
push 0x11b78
push esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call sub.ntoskrnl.exe__stricmp
add esp, 8
test eax, eax
jne 0x22c80
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0001a480
jmp 0x22c90
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0001a6f0
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x22cbc
cmp dword [esp + 0x10], ebp
je 0x22cbc
lea eax, [edi - 0x10]
push ebx
call fcn.00022b70
test al, al
je 0x22cbc
add edi, 0x14
cmp dword [edi], ebp
jne 0x22c50
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 4
pop ebp
xor al, al
pop ebx
pop ecx
ret 4

Function at 0x22f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x22fdf
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x22fdf
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
jne 0x22fdf
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x22f74
cmp eax, 0x20b
jne 0x22fdf
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x14], eax
jmp 0x22f7f
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x14], 0
cmp dword [ecx], 0x4550
jne 0x22fea
cmp dword [ecx + 0x74], 5
jbe 0x22fea
mov eax, dword [ecx + 0xa0]
test eax, eax
je 0x22fea
add eax, esi
mov ebx, dword [ecx + 0xa4]
je 0x22fea
test ebx, ebx
je 0x22fea
xor edi, edi
sub esi, edx
sbb edi, dword [esp + 0x14]
lea ecx, [ecx]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
add ecx, dword [ebp + 8]
push edi
sub ebx, edx
push esi
add eax, 8
add edx, 0xfffffff8
push eax
shr edx, 1
push edx
push ecx
call fcn.00022cd0
test eax, eax
je 0x22fdf
test ebx, ebx
jne 0x22fb0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, byte [ecx + 0x16]
pop edi
not al
pop esi
and al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x23260
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x120a4
lea edx, [esp + 0x1c]
xor ecx, ecx
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov edi, 0x1000
mov word [esp + 0x20], cx
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov ebp, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
lea esp, [esp]
push 0x73726973
push edi
push 1
call ebp
mov esi, eax
test esi, esi
je 0x232f8
push edi
push 0
push esi
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push edi
push esi
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov ebx, eax
test ebx, ebx
jge 0x23304
mov edi, dword [esp + 0x10]
push 0x73726973
push esi
add edi, 0x20
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp ebx, 0xc0000004
je 0x232a0
push 0x73726973
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebx, dword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
mov edi, esi
lea esp, [esp]
mov eax, dword [edi + 0x44]
test eax, eax
je 0x2332d
cmp eax, 4
je 0x2332d
push 1
lea ecx, [edi + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
call ebx
test al, al
jne 0x23337
mov eax, dword [edi]
test eax, eax
je 0x2334c
add edi, eax
jmp 0x23310
mov eax, dword [esp + 0x24]
mov ebx, dword [edi + 0x44]
test eax, eax
je 0x23350
mov ecx, dword [edi + 0xdc]
mov dword [eax], ecx
jmp 0x23350
mov ebx, dword [esp + 0x14]
push 0x73726973
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret 4
Function at 0x24190
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push esi
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edi, 0x1000
lea esp, [esp]
push 0x73726973
push edi
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
je 0x24204
push edi
push 0
push esi
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push edi
push esi
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov ebx, eax
test ebx, ebx
jge 0x24210
mov edi, dword [esp + 0x10]
push 0x73726973
push esi
add edi, 0x20
call ebp
cmp ebx, 0xc0000004
je 0x241b0
push 0x73726973
push esi
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov edx, dword [esp + 0x1c]
mov eax, esi
cmp dword [esi + 0x44], edx
je 0x2422d
jmp 0x24220
mov ecx, dword [eax]
test ecx, ecx
je 0x24247
add eax, ecx
cmp dword [eax + 0x44], edx
jne 0x24220
mov edi, dword [eax + 0xdc]
push 0x73726973
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov edi, dword [esp + 0x14]
push 0x73726973
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x24260
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push esi
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edi, 0x1000
lea esp, [esp]
push 0x73726973
push edi
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
je 0x242c8
lea eax, [esp + 0x10]
push eax
push edi
push esi
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov ebx, eax
test ebx, ebx
jge 0x242d4
mov edi, dword [esp + 0x10]
push 0x73726973
push esi
add edi, 0x20
call ebp
cmp ebx, 0xc0000004
je 0x24280
push 0x73726973
push esi
call ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov edx, dword [esp + 0x1c]
mov eax, esi
cmp dword [esi + 0x44], edx
je 0x242ed
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x24304
add eax, ecx
cmp dword [eax + 0x44], edx
jne 0x242e0
mov edi, dword [eax + 0x48]
push 0x73726973
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov edi, dword [esp + 0x14]
push 0x73726973
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x24810
Capabilities:
Create thread

Disassembly:
sub esp, 0x24
push esi
push edi
push eax
xor esi, esi
push ecx
push esi
push esi
lea edx, [esp + 0x20]
push edx
push 0x1fffff
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x18
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0x200
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, esi
jl 0x24897
mov edx, dword [sym.imp.ntoskrnl.exe_PsThreadType]
mov eax, dword [edx]
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push 0x1fffff
push ecx
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov edx, dword [esp + 8]
push edx
mov edi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp edi, esi
jl 0x24897
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x24
ret
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret
Function at 0x24c70
Capabilities:
Attach user process memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x28c60
push 0x28930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], 0x1000
mov dword [ebp - 0x44], esi
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x74], al
push 0x2f
push esi
lea eax, [ebp - 0x73]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
cmp dword [0x2aa64], esi
jne 0x24cf5
call fcn.00024bc0
cmp dword [0x2aa64], esi
jne 0x24cf5
mov eax, 0xc0000001
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov eax, dword [0x299e0]
cmp eax, esi
jne 0x24d26
call fcn.0001c0a0
mov eax, dword [0x299e0]
cmp eax, esi
jne 0x24d26
mov dword [ebp - 0x24], 0xc0000001
jmp 0x24e3c
push 0x40
push 0x3000
lea ecx, [ebp - 0x28]
push ecx
push esi
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
call eax
mov dword [ebp - 0x24], eax
cmp eax, esi
jl 0x24e3c
mov dword [ebp - 0x24], 0xc0000001
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x14], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x10], esi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 8], edx
mov ebx, dword [ebp - 0x20]
add ebx, 0x15
mov ecx, 0xfa
mov esi, 0x24c50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x2aa64]
mov edi, dword [ebp + 0xc]
mov byte [eax + edi + 0x16], 1
mov esi, dword [ebp - 0x20]
mov eax, dword [0x29944]
test eax, eax
jne 0x24da8
call fcn.0001c0a0
mov eax, dword [0x29944]
test eax, eax
je 0x24dbc
push esi
push 1
push ebx
push 0
push 0x24c40
push 0
push edi
lea ecx, [ebp - 0x74]
push ecx
call eax
mov eax, dword [0x29978]
test eax, eax
jne 0x24dd3
call fcn.0001c0a0
mov eax, dword [0x29978]
test eax, eax
je 0x24e33
push 0
push 0
push 0
lea edx, [ebp - 0x74]
push edx
call eax
test al, al
je 0x24e33
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x14], 0
jne 0x24df8
mov eax, 0xc8
call fcn.0001b250
jmp 0x24de3
mov eax, 0x320
call fcn.0001b250
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x24e11
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov dword [ebp - 0x24], 0
jmp 0x24e33
mov dword [ebp - 4], 0xffffffff
xor esi, esi
cmp dword [ebp - 0x20], esi
je 0x24e6c
mov dword [ebp - 0x28], esi
mov eax, dword [0x29a14]
cmp eax, esi
jne 0x24e5b
call fcn.0001c0a0
mov eax, dword [0x29a14]
cmp eax, esi
je 0x24e6c
push 0x8000
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
call eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x265d0
Capabilities:
Create device object

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x12280
lea eax, [esp + 8]
push eax
call esi
mov edx, dword [esp + 0x18]
push 0x2ab14
push 0
push 0x100
push 0x9c40
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x26647
push 0x122e0
lea eax, [esp + 0x10]
push eax
call esi
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
test esi, esi
jge 0x26645
mov eax, dword [0x2ab14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov dword [0x2ab14], 0
mov eax, esi
pop esi
add esp, 0x10
ret 4
Function at 0x266bd
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x60]
push esi
push edi
lea edi, [ebx + 0x1c]
mov dword [edi], 0
movzx eax, byte [edx]
sub eax, 0
mov esi, 0xc0000002
je 0x266cc
sub eax, 2
je 0x266cc
sub eax, 0xc
jne case.0x2681c.1673486111
mov eax, dword [edx + 0xc]
mov ecx, eax
cmp ecx, 0x9c4060d4
ja 0x26779
je 0x26745
cmp ecx, 0x9c40208c
ja 0x2671e
je 0x26710
add ecx, 0x63bfe000
cmp ecx, 0x88
ja case.0x2681c.1673486111
movzx eax, byte [ecx + 0x26888]
jmp dword [eax*4 + 0x26874]
mov ecx, dword [ebx + 0xc]
mov dword [ecx], 0x1020005
mov dword [edi], 4
xor esi, esi
xor dl, dl
mov ecx, ebx
mov dword [ebx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x2ab14]
mov edx, dword [ebx + 0xc]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
jmp 0x266c6
mov ecx, dword [ebx + 0xc]
push edi
push ecx
call fcn.000269a0
mov esi, eax
jmp case.0x2681c.1673486111
mov edx, dword [ebx + 0xc]
push edi
call fcn.00026a40
mov esi, eax
jmp case.0x2681c.1673486111
mov ecx, dword [ebx + 0xc]
push edi
push ecx
call fcn.00026ad0
mov esi, eax
jmp case.0x2681c.1673486111
cmp ecx, 0x9c4060cc
ja 0x2673d
je 0x26745
cmp ecx, 0x9c402090
je 0x2673a
cmp ecx, 0x9c4060c4
je 0x26745
jmp case.0x2681c.1673486111
hlt
cmp ecx, 0x9c4060d0
jne case.0x2681c.1673486111
mov esi, dword [ebx + 0xc]
mov edx, dword [edx + 8]
mov ecx, dword [esi]
mov dword [esp + 0xc], edx
cmp eax, 0x9c4060cc
je 0x26765
push edx
call fcn.00026b70
mov esi, eax
jmp case.0x2681c.1673486111
push ecx
call dword [sym.imp.HAL.dll_READ_PORT_UCHAR]
mov edx, dword [esp + 0xc]
mov byte [esi], al
mov dword [edi], edx
jmp 0x266cc
cmp ecx, 0x9c40a0dc
ja 0x26806
je case.0x2681c.1673486112
cmp ecx, 0x9c40a0c8
ja 0x267e1
je case.0x2681c.1673486112
cmp ecx, 0x9c406104
je 0x267c2
cmp ecx, 0x9c406144
jne case.0x2681c.1673486111
cmp dword [edx + 8], 8
mov esi, dword [edx + 4]
mov eax, dword [ebx + 0xc]
jne 0x26854
push eax
call fcn.00026c00
mov esi, eax
jmp case.0x2681c.1673486111
cmp dword [edx + 8], 0x10
mov eax, dword [edx + 4]
mov esi, dword [ebx + 0xc]
jne 0x26854
push edi
push eax
push esi
call fcn.00026cd0
mov esi, eax
jmp case.0x2681c.1673486111
cmp ecx, 0x9c40a0d8
jne case.0x2681c.1673486111
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
cmp eax, 0x9c40a0d8
je 0x26823
push edx
call fcn.00026bc0
mov esi, eax
jmp case.0x2681c.1673486111
add ecx, 0x63bf5f20
cmp ecx, 0x6c
ja case.0x2681c.1673486111
movzx ecx, byte [ecx + 0x26928]
jmp dword [ecx*4 + 0x26914]
movzx eax, byte [ecx + 4]
push eax
push edx
call dword [sym.imp.HAL.dll_WRITE_PORT_UCHAR]
jmp 0x266cc
mov edx, dword [edx + 8]
mov ecx, dword [ebx + 0xc]
cmp edx, 8
jb 0x26854
push edx
mov eax, edi
call fcn.00026c80
mov esi, eax
jmp case.0x2681c.1673486111
mov dword [edi], 0
mov esi, 0xc000000d
jmp case.0x2681c.1673486111
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0xc]
push ecx
mov eax, edi
call fcn.000247d0
mov esi, eax
jmp case.0x2681c.1673486111
Function at 0x266e6
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x60]
push esi
push edi
lea edi, [ebx + 0x1c]
mov dword [edi], 0
movzx eax, byte [edx]
sub eax, 0
mov esi, 0xc0000002
je 0x266cc
sub eax, 2
je 0x266cc
sub eax, 0xc
jne case.0x2681c.1673486111
mov eax, dword [edx + 0xc]
mov ecx, eax
cmp ecx, 0x9c4060d4
ja 0x26779
je 0x26745
cmp ecx, 0x9c40208c
ja 0x2671e
je 0x26710
add ecx, 0x63bfe000
cmp ecx, 0x88
ja case.0x2681c.1673486111
movzx eax, byte [ecx + 0x26888]
jmp dword [eax*4 + 0x26874]
mov ecx, dword [ebx + 0xc]
mov dword [ecx], 0x1020005
mov dword [edi], 4
xor esi, esi
xor dl, dl
mov ecx, ebx
mov dword [ebx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x2ab14]
mov edx, dword [ebx + 0xc]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
jmp 0x266c6
mov ecx, dword [ebx + 0xc]
push edi
push ecx
call fcn.000269a0
mov esi, eax
jmp case.0x2681c.1673486111
mov edx, dword [ebx + 0xc]
push edi
call fcn.00026a40
mov esi, eax
jmp case.0x2681c.1673486111
mov ecx, dword [ebx + 0xc]
push edi
push ecx
call fcn.00026ad0
mov esi, eax
jmp case.0x2681c.1673486111
cmp ecx, 0x9c4060cc
ja 0x2673d
je 0x26745
cmp ecx, 0x9c402090
je 0x2673a
cmp ecx, 0x9c4060c4
je 0x26745
jmp case.0x2681c.1673486111
hlt
cmp ecx, 0x9c4060d0
jne case.0x2681c.1673486111
mov esi, dword [ebx + 0xc]
mov edx, dword [edx + 8]
mov ecx, dword [esi]
mov dword [esp + 0xc], edx
cmp eax, 0x9c4060cc
je 0x26765
push edx
call fcn.00026b70
mov esi, eax
jmp case.0x2681c.1673486111
push ecx
call dword [sym.imp.HAL.dll_READ_PORT_UCHAR]
mov edx, dword [esp + 0xc]
mov byte [esi], al
mov dword [edi], edx
jmp 0x266cc
cmp ecx, 0x9c40a0dc
ja 0x26806
je case.0x2681c.1673486112
cmp ecx, 0x9c40a0c8
ja 0x267e1
je case.0x2681c.1673486112
cmp ecx, 0x9c406104
je 0x267c2
cmp ecx, 0x9c406144
jne case.0x2681c.1673486111
cmp dword [edx + 8], 8
mov esi, dword [edx + 4]
mov eax, dword [ebx + 0xc]
jne 0x26854
push eax
call fcn.00026c00
mov esi, eax
jmp case.0x2681c.1673486111
cmp dword [edx + 8], 0x10
mov eax, dword [edx + 4]
mov esi, dword [ebx + 0xc]
jne 0x26854
push edi
push eax
push esi
call fcn.00026cd0
mov esi, eax
jmp case.0x2681c.1673486111
cmp ecx, 0x9c40a0d8
jne case.0x2681c.1673486111
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
cmp eax, 0x9c40a0d8
je 0x26823
push edx
call fcn.00026bc0
mov esi, eax
jmp case.0x2681c.1673486111
add ecx, 0x63bf5f20
cmp ecx, 0x6c
ja case.0x2681c.1673486111
movzx ecx, byte [ecx + 0x26928]
jmp dword [ecx*4 + 0x26914]
movzx eax, byte [ecx + 4]
push eax
push edx
call dword [sym.imp.HAL.dll_WRITE_PORT_UCHAR]
jmp 0x266cc
mov edx, dword [edx + 8]
mov ecx, dword [ebx + 0xc]
cmp edx, 8
jb 0x26854
push edx
mov eax, edi
call fcn.00026c80
mov esi, eax
jmp case.0x2681c.1673486111
mov dword [edi], 0
mov esi, 0xc000000d
jmp case.0x2681c.1673486111
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0xc]
push ecx
mov eax, edi
call fcn.000247d0
mov esi, eax
jmp case.0x2681c.1673486111
Function at 0x2685e
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x60]
push esi
push edi
lea edi, [ebx + 0x1c]
mov dword [edi], 0
movzx eax, byte [edx]
sub eax, 0
mov esi, 0xc0000002
je 0x266cc
sub eax, 2
je 0x266cc
sub eax, 0xc
jne case.0x2681c.1673486111
mov eax, dword [edx + 0xc]
mov ecx, eax
cmp ecx, 0x9c4060d4
ja 0x26779
je 0x26745
cmp ecx, 0x9c40208c
ja 0x2671e
je 0x26710
add ecx, 0x63bfe000
cmp ecx, 0x88
ja case.0x2681c.1673486111
movzx eax, byte [ecx + 0x26888]
jmp dword [eax*4 + 0x26874]
mov ecx, dword [ebx + 0xc]
mov dword [ecx], 0x1020005
mov dword [edi], 4
xor esi, esi
xor dl, dl
mov ecx, ebx
mov dword [ebx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x2ab14]
mov edx, dword [ebx + 0xc]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
jmp 0x266c6
mov ecx, dword [ebx + 0xc]
push edi
push ecx
call fcn.000269a0
mov esi, eax
jmp case.0x2681c.1673486111
mov edx, dword [ebx + 0xc]
push edi
call fcn.00026a40
mov esi, eax
jmp case.0x2681c.1673486111
mov ecx, dword [ebx + 0xc]
push edi
push ecx
call fcn.00026ad0
mov esi, eax
jmp case.0x2681c.1673486111
cmp ecx, 0x9c4060cc
ja 0x2673d
je 0x26745
cmp ecx, 0x9c402090
je 0x2673a
cmp ecx, 0x9c4060c4
je 0x26745
jmp case.0x2681c.1673486111
hlt
cmp ecx, 0x9c4060d0
jne case.0x2681c.1673486111
mov esi, dword [ebx + 0xc]
mov edx, dword [edx + 8]
mov ecx, dword [esi]
mov dword [esp + 0xc], edx
cmp eax, 0x9c4060cc
je 0x26765
push edx
call fcn.00026b70
mov esi, eax
jmp case.0x2681c.1673486111
push ecx
call dword [sym.imp.HAL.dll_READ_PORT_UCHAR]
mov edx, dword [esp + 0xc]
mov byte [esi], al
mov dword [edi], edx
jmp 0x266cc
cmp ecx, 0x9c40a0dc
ja 0x26806
je case.0x2681c.1673486112
cmp ecx, 0x9c40a0c8
ja 0x267e1
je case.0x2681c.1673486112
cmp ecx, 0x9c406104
je 0x267c2
cmp ecx, 0x9c406144
jne case.0x2681c.1673486111
cmp dword [edx + 8], 8
mov esi, dword [edx + 4]
mov eax, dword [ebx + 0xc]
jne 0x26854
push eax
call fcn.00026c00
mov esi, eax
jmp case.0x2681c.1673486111
cmp dword [edx + 8], 0x10
mov eax, dword [edx + 4]
mov esi, dword [ebx + 0xc]
jne 0x26854
push edi
push eax
push esi
call fcn.00026cd0
mov esi, eax
jmp case.0x2681c.1673486111
cmp ecx, 0x9c40a0d8
jne case.0x2681c.1673486111
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
cmp eax, 0x9c40a0d8
je 0x26823
push edx
call fcn.00026bc0
mov esi, eax
jmp case.0x2681c.1673486111
add ecx, 0x63bf5f20
cmp ecx, 0x6c
ja case.0x2681c.1673486111
movzx ecx, byte [ecx + 0x26928]
jmp dword [ecx*4 + 0x26914]
movzx eax, byte [ecx + 4]
push eax
push edx
call dword [sym.imp.HAL.dll_WRITE_PORT_UCHAR]
jmp 0x266cc
mov edx, dword [edx + 8]
mov ecx, dword [ebx + 0xc]
cmp edx, 8
jb 0x26854
push edx
mov eax, edi
call fcn.00026c80
mov esi, eax
jmp case.0x2681c.1673486111
mov dword [edi], 0
mov esi, 0xc000000d
jmp case.0x2681c.1673486111
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0xc]
push ecx
mov eax, edi
call fcn.000247d0
mov esi, eax
jmp case.0x2681c.1673486111