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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x3001f3dc
test cl, cl
lea eax, [eax - 4]
je 0x3001f420
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3001f420
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3001f420
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3001f420
lea eax, [eax + 1]
jmp 0x3001f3dc
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3001f42f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3001f456
cmp word [eax], 0
je 0x3001f44f
lea eax, [eax + 2]
test eax, 3
je 0x3001f456
jmp 0x3001f43d
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x3001f491
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3001f456
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x3001f491
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x3001f491
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3001f456
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3002138d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
cmp si, 0xffff
push edi
mov dword [ebp - 4], edx
je 0x30021402
test si, 0x3ff
je 0x30021402
push dword [ebp + 8]
call fcn.30021317
test eax, eax
jne 0x3002140b
movzx edi, si
mov esi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
push eax
push eax
push 0x58
push edi
call esi
test eax, eax
je 0x3002140b
lea eax, [ebp - 0x24]
push 0x20
push eax
push 0x58
push edi
call esi
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x44]
push 3
lea ecx, [ebp - 0x14]
call fcn.3002128d
test eax, eax
je 0x300213fa
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x44]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x3002140b
mov eax, dword [ebp - 4]
mov byte [eax], 1
jmp 0x30021405
mov byte [edx], 1
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
pop esi
leave
ret 4

Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4062a3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4062c8
mov eax, dword [0x40a8a8]
cmp eax, 0xffffffff
je 0x4062bf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a8], 0xffffffff
jmp 0x40633b
cmp dword [0x42f760], ebx
je 0x40633b
cmp byte [0x42f360], bl
je 0x406307
cmp dword [0x40a8a8], 0xffffffff
jne 0x406310
push 4
push 0x40000000
push 0x42f360
call fcn.00405c7f
cmp eax, 0xffffffff
mov dword [0x40a8a8], eax
je 0x40633b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a8], 0xffffffff
je 0x40633b
push esi
mov esi, 0x42ff80
push 0x40aaf0
push esi
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp + 8]
push ebx
push eax
push esi
call sub.KERNEL32.dll_lstrlenA
push eax
push esi
push dword [0x40a8a8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064e3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ddbc], 0
push esi
jne 0x40651a
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 0x4064f4
mov dword [ecx*4 + 0x42ddb8], eax
inc ecx
cmp ecx, 0x100
jl 0x4064ef
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40654b
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 + 0x42ddb8]
xor eax, esi
inc ecx
dec edx
jne 0x40652d
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x28ca6edc
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x190b0fdb
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x11188
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
test al, al
je 0x111a1
xor eax, eax
jmp 0x112ed
mov eax, dword [ebp + 0x14]
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [ebp - 8], esi
mov byte [ebp - 1], 0
mov dword [eax], esi
cmp dword [ebp + 0xc], esi
je 0x11206
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push 0xf003f
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, esi
jl 0x112e8
mov byte [ebp - 1], 1
jmp 0x1120c
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov edi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, 0x21eae
cmp eax, 0xc0000023
je 0x11244
cmp eax, 0x80000005
jne 0x11269
push ebx
push dword [ebp - 0x10]
push 0
call edi
mov esi, eax
test esi, esi
je 0x112cd
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push 2
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
jl 0x112cb
mov eax, dword [esi + 4]
cmp eax, 2
je 0x1128c
cmp eax, 7
je 0x1128c
cmp eax, 1
je 0x1128c
push ebx
push dword [esi + 8]
push 1
call edi
mov dword [ebp - 8], eax
jmp 0x112ab
mov eax, dword [esi + 8]
inc eax
push ebx
inc eax
push eax
push 1
call edi
mov ecx, dword [esi + 8]
inc ecx
inc ecx
push ecx
push 0
push eax
mov dword [ebp - 8], eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x112cb
push dword [esi + 8]
lea eax, [esi + 0xc]
push eax
push dword [ebp - 8]
call sub.ntoskrnl.exe_memcpy
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
test esi, esi
pop ebx
je 0x112d9
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp byte [ebp - 1], 0
je 0x112e8
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 0x10
Function at 0x14068
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edi, 0x2aea0
xor ebx, ebx
mov ecx, edi
mov esi, eax
mov dword [ebp - 4], ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
cmp byte [0x2aeb0], bl
je 0x140a6
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0xc0000010
mov dword [ebp - 4], 1
jmp 0x140b9
mov dword [0x2aeb4], esi
mov esi, dword [ebp + 8]
mov byte [0x2aeb0], 1
mov dword [esi + 0x18], ebx
mov dl, al
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp dword [esi + 0x18], ebx
jne 0x140cd
call fcn.00016c8c
xor dl, dl
mov ecx, esi
mov dword [esi + 0x1c], ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
cmp dword [ebp - 4], ebx
je 0x140e6
push 0x221ba
jmp 0x140eb
push 0x221a4
call fcn.0001c9b0
push ebx
call fcn.0001f09c
mov eax, dword [esi + 0x18]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x14206
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebx
mov ebx, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push esi
mov esi, 0x2aea0
mov ecx, esi
call ebx
mov ecx, dword [0x2ae50]
mov dl, al
cmp ecx, 0x2ae50
je 0x14274
push edi
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [eax], edi
mov dword [edi + 4], eax
lea edi, [ecx - 0x58]
xor eax, eax
lea ecx, [edi + 0x38]
xchg dword [ecx], eax
test eax, eax
je 0x14265
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [edi + 0x1c], 0
xor dl, dl
mov ecx, edi
mov dword [edi + 0x18], 0xc0000120
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, esi
call ebx
mov dl, al
mov ecx, dword [0x2ae50]
cmp ecx, 0x2ae50
jne 0x1422a
pop edi
mov ecx, esi
pop esi
pop ebx
jmp dword [sym.imp.HAL.dll_KfReleaseSpinLock]

Function at 0x14592
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]
mov esi, dword [edi + 0xc]
test esi, esi
je 0x145fa
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0x20
jb 0x145fa
cmp dword [0x274d0], 0
mov ebx, 0x274b8
jne 0x145d0
push 0
push 0x640000
push 0x274d0
call fcn.000143fa
test eax, eax
jl 0x145ea
cmp dword [0x274b8], 0
jne 0x1460a
push 0
push 0x40000
push ebx
call fcn.000143fa
test eax, eax
jge 0x1460a
push 0x274d0
call fcn.0001451c
push ebx
call fcn.0001451c
and dword [edi + 0x1c], 0
mov eax, 0xc0000001
mov dword [edi + 0x18], eax
mov esi, eax
jmp 0x1464d
mov eax, dword [0x274d4]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [0x274e0]
mov dword [esi + 8], eax
mov eax, dword [0x274e4]
mov dword [esi + 0xc], eax
mov eax, dword [0x274bc]
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov eax, dword [0x274c8]
mov dword [esi + 0x18], eax
mov eax, dword [0x274cc]
mov dword [esi + 0x1c], eax
xor esi, esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], 0x20
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x14dce
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 [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ebx, 0x2ae10
push edi
mov ecx, ebx
call esi
mov edi, 0x2aea0
jmp 0x14ec5
mov ecx, dword [edx]
mov dword [0x2ae50], ecx
mov dword [ecx + 4], eax
cmp edx, eax
je 0x14ed4
add edx, 0xffffffa8
lea ecx, [edx + 0x58]
mov dword [ebp - 0xc], edx
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
xor ecx, ecx
add edx, 0x38
xchg dword [edx], ecx
test ecx, ecx
je 0x14ed4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 4]
test byte [eax + 6], 5
mov dword [ebp - 0x10], ecx
je 0x14e39
mov eax, dword [eax + 0xc]
jmp 0x14e49
push 0x10
xor ecx, ecx
push ecx
push ecx
push 1
push ecx
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov dword [ebp - 8], eax
test eax, eax
je 0x14e99
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 8
jb 0x14e99
push dword [0x274e0]
push dword [0x274d8]
call fcn.00014b88
mov ecx, dword [ebp - 8]
and dword [ecx + 4], 0
mov dl, byte [ebp - 1]
mov dword [ecx], eax
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov dl, byte [ebp - 2]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp - 0xc]
and dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 8
jmp 0x14eb9
mov dl, byte [ebp - 1]
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov dl, byte [ebp - 2]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], 0xc000009a
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, ebx
call esi
mov ecx, edi
mov byte [ebp - 2], al
call esi
mov byte [ebp - 1], al
mov eax, 0x2ae50
mov edx, dword [0x2ae50]
cmp edx, eax
jne 0x14df2
mov dl, byte [ebp - 1]
mov esi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, edi
call esi
mov dl, byte [ebp - 2]
mov ecx, ebx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x1503e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.0001d674
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ebx, 0x2ae10
mov ecx, ebx
call esi
mov edi, 0x2aea0
mov ecx, edi
mov byte [ebp - 2], al
call esi
and dword [0x2aeb4], 0
mov byte [ebp - 1], al
mov byte [0x2aeb0], 0
call fcn.00014106
mov dl, byte [ebp - 1]
mov esi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, edi
call esi
mov dl, byte [ebp - 2]
mov ecx, ebx
call esi
call fcn.00014206
call fcn.00014136
push 0x274d0
call fcn.0001451c
push 0x274b8
call fcn.0001451c
mov ecx, dword [ebp + 8]
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
push 1
call fcn.0001f09c
push 0x221d2
call fcn.0001c9b0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x150e2
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 + 4]
test byte [eax + 6], 5
push edi
je 0x150fc
mov ebx, dword [eax + 0xc]
jmp 0x1510e
push 0x10
xor ecx, ecx
push ecx
push ecx
push 1
push ecx
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov ebx, eax
test ebx, ebx
je 0x151f2
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 8
jb 0x151f2
mov edi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, 0x2ae10
call edi
mov ecx, 0x2aea0
mov byte [ebp + 0xf], al
call edi
push dword [0x274e0]
mov byte [ebp + 0xb], al
push dword [0x274d8]
call fcn.00014b88
and dword [ebx + 4], 0
mov dword [ebx], eax
cmp byte [esi + 0x24], 0
mov edi, 0x103
je 0x15173
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
test eax, eax
je 0x15173
mov dword [ebp - 4], 0xc0000120
jmp 0x151b9
mov eax, dword [ebx]
or eax, dword [ebx + 4]
jne 0x151b5
mov edx, 0x2ae50
cmp dword [0x2ae50], edx
jne 0x151b5
mov eax, dword [esi + 0x60]
or byte [eax + 3], 1
mov dword [esi + 0x18], edi
mov ecx, dword [0x2ae54]
lea eax, [esi + 0x58]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [ecx], eax
mov dword [0x2ae54], eax
mov eax, 0x14284
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
mov dword [ebp - 4], edi
jmp 0x151b9
and dword [ebp - 4], 0
mov dl, byte [ebp + 0xb]
mov ebx, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, 0x2aea0
call ebx
mov dl, byte [ebp + 0xf]
mov ecx, 0x2ae10
call ebx
mov ebx, dword [ebp - 4]
cmp ebx, edi
je 0x151ee
xor dl, dl
mov ecx, esi
mov dword [esi + 0x1c], 8
mov dword [esi + 0x18], ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
jmp 0x15206
mov edi, 0xc000009a
xor dl, dl
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1575c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 4]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
xor edi, edi
test byte [eax + 6], 5
je 0x1577d
mov eax, dword [eax + 0xc]
jmp 0x1578b
push 0x10
push edi
push edi
push 1
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
cmp eax, edi
je 0x157b5
cmp ebx, 8
jb 0x157b5
push dword [eax]
push dword [0x274c0]
call fcn.00015622
xor dl, dl
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x157c9
mov edi, 0xc000009a
xor dl, dl
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x15afe
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 0x15b44
cmp dword [eax + 8], 0x11
jb 0x15b44
cmp edi, 0x11
jb 0x15b44
push ecx
call fcn.00013e54
mov dword [esi + 0x18], eax
test eax, eax
jl 0x15b44
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 0x15b32

Function at 0x15b5a
Capabilities:
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
cmp dword [0x27b38], esi
jne 0x15ba2
push 0x221de
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov dword [0x27b38], eax
cmp eax, esi
jne 0x15ba2
mov eax, 0xc0000001
jmp 0x15c5c
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
cmp eax, esi
jl 0x15c5c
push edi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov edi, eax
cmp edi, esi
jge 0x15bdd
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
jmp 0x15c5b
push ebx
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1b
push dword [ebp - 8]
call dword [0x27b38]
mov ebx, eax
cmp ebx, 0xc0000004
jne 0x15c3d
push 0x32544c46
push dword [ebp - 4]
push esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
cmp edi, esi
je 0x15c3d
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push 0x1b
push dword [ebp - 8]
call dword [0x27b38]
mov ebx, eax
cmp ebx, esi
jl 0x15c35
cmp dword [ebp - 4], esi
je 0x15c35
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor ebx, ebx
jmp 0x15c3d
push esi
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebp - 8], esi
je 0x15c4b
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [ebp - 0xc]
cmp ecx, esi
je 0x15c58
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x15c66
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]
mov eax, dword [edi + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 4]
call fcn.0001f0e4
mov ebx, eax
test ebx, ebx
je 0x15cd9
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x15c8b
sub eax, edx
cmp eax, esi
jae 0x15cc6
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x15c9d
sub eax, esi
push eax
push ebx
push dword [ebp + 8]
call sub.ntoskrnl.exe_memcpy
mov eax, ebx
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x15cb8
sub eax, ecx
mov dword [edi + 0x1c], eax
jmp 0x15cdd
dec esi
push esi
push ebx
push dword [ebp + 8]
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov dword [edi + 0x1c], esi
jmp 0x15cdd
and dword [edi + 0x1c], 0
and dword [edi + 0x18], 0
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x15d90
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], edi
cmp eax, edi
je 0x15e27
cmp dword [ecx + 8], 4
jb 0x15e27
lea ecx, [ebp + 8]
push ecx
push dword [eax]
call fcn.00015b5a
test eax, eax
jl 0x15e27
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x15e27
cmp dword [ebx + 4], edi
je 0x15e1e
movzx eax, word [ebx]
test ax, ax
je 0x15e1e
movzx edi, ax
inc edi
inc edi
cmp edi, dword [ebp + 0xc]
jbe 0x15e10
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc0000017
mov dword [esi + 0x18], eax
mov ebx, eax
xor dl, dl
mov ecx, esi
mov dword [esi + 0x1c], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
push ebx
mov eax, edi
shr eax, 1
push eax
push dword [ebp - 4]
call fcn.00015cfa
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor ebx, ebx
mov dword [esi + 0x18], ebx
jmp 0x15dfa
Function at 0x15e34
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 0x15ec6
dec edx
dec edx
je 0x15ebd
dec edx
je 0x15eb4
dec edx
je 0x15eab
sub edx, 0xa
jne 0x15e73
mov edx, dword [eax + 0xc]
sub edx, 0x12c800
je 0x15ea2
sub edx, 0xf3994
je 0x15e99
sub edx, 4
je 0x15e90
sub edx, 4
je 0x15e87
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x15ecd
push eax
push ecx
call fcn.00015c66
jmp 0x15ecd
push eax
push ecx
call fcn.00015d90
jmp 0x15ecd
push eax
push ecx
call fcn.00015afe
jmp 0x15ecd
push eax
push ecx
call fcn.00014592
jmp 0x15ecd
push eax
push ecx
call fcn.0001575c
jmp 0x15ecd
push eax
push ecx
call fcn.000150e2
jmp 0x15ecd
push eax
push ecx
call fcn.0001503e
jmp 0x15ecd
push eax
push ecx
call fcn.00014068
pop ebp
ret 8

Function at 0x160c8
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.000142e4
test al, al
je 0x1619e
test ebx, ebx
je 0x1619e
cmp dword [ebp + 0xc], 0x1c
jb 0x1619e
mov ecx, 0x2ae10
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 0xf], al
mov eax, dword [esi + 0x18]
cdq
push edx
push eax
push dword [0x2ae1c]
call fcn.00011072
test eax, eax
je 0x16174
mov ebx, dword [ebx + 0x10]
dec ebx
je 0x16167
dec ebx
je 0x1615e
dec ebx
je 0x16155
dec ebx
je 0x1614c
dec ebx
je 0x16143
dec ebx
jne 0x16174
test byte [eax + 0x13c], 0x20
jmp 0x1616e
test byte [eax + 0x13c], 0x10
jmp 0x1616e
test byte [eax + 0x13c], 8
jmp 0x1616e
test byte [eax + 0x13c], 4
jmp 0x1616e
test byte [eax + 0x13c], 2
jmp 0x1616e
test byte [eax + 0x13c], 1
je 0x16174
mov byte [ebp + 0xb], 1
mov dl, byte [ebp + 0xf]
mov ecx, 0x2ae10
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp + 0xb], 0
je 0x1619e
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 0x161b0
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