joyce8/EMBER2024-capa huggingface dataset:
Function at 0x161bc
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 0x16307
dec eax
dec eax
je 0x161ea
sub eax, 0xc
je 0x161f9
dec eax
je 0x1623a
sub eax, 3
jne 0x162f3
push dword [ebp + 0x10]
push esi
push edi
call fcn.0001602e
jmp 0x16311
push esi
push edi
push dword [ebp + 8]
call sub.TDI.SYS_TdiMapUserRequest
test eax, eax
jge 0x1623a
cmp dword [esi + 0xc], 0x210203
jne 0x162f3
mov esi, dword [esi + 0x10]
test esi, esi
je 0x162f3
mov dword [esi], 0x1607a
and dword [edi + 0x18], 0
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x16311
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x10]
cmp eax, 2
jne 0x162dc
movzx eax, byte [esi + 1]
cmp eax, 6
jg 0x162a9
je 0x1629d
dec eax
je 0x16291
dec eax
je 0x16282
dec eax
je 0x16273
dec eax
jne 0x162f3
push dword [ebp + 0x10]
push esi
push edi
call fcn.0001af26
jmp 0x16311
push dword [ebp + 0x10]
push esi
push edi
call fcn.0001a71e
jmp 0x16311
push dword [ebp + 0x10]
push esi
push edi
call fcn.0001ab9c
jmp 0x16311
push dword [ebp + 0x10]
push esi
push edi
call fcn.0001aaae
jmp 0x16311
push dword [ebp + 0x10]
push esi
push edi
call fcn.0001ad10
jmp 0x16311
sub eax, 7
je 0x162d0
dec eax
je 0x162c4
sub eax, 0x127ffc
jne 0x162f3
push dword [ebp + 0x10]
push esi
push edi
call fcn.000160c8
jmp 0x16311
push dword [ebp + 0x10]
push esi
push edi
call fcn.00017f42
jmp 0x16311
push dword [ebp + 0x10]
push esi
push edi
call fcn.0001816a
jmp 0x16311
cmp eax, 1
jne 0x162f3
cmp byte [esi + 1], 0xb
jne 0x162f3
push dword [ebp + 0x10]
push esi
push edi
call fcn.00016ac8
jmp 0x16311
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 0x16311
push dword [ebp + 0x10]
push esi
push edi
call fcn.00015fb8
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x16ac8
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, 0x2ae10
call ebx
mov byte [ebp + 0xf], al
mov eax, dword [edi + 0x18]
cdq
push edx
push eax
push dword [0x2ae38]
call fcn.00011072
test eax, eax
je 0x16c43
push esi
lea esi, [eax - 8]
lea ecx, [esi + 0x1ac]
mov dword [ebp - 8], ecx
call ebx
mov ecx, dword [edi + 4]
xor ebx, ebx
sub ecx, ebx
je 0x16c09
dec ecx
je 0x16bdc
dec ecx
dec ecx
je 0x16baf
dec ecx
je 0x16b7c
dec ecx
je 0x16b49
dec ecx
dec ecx
je 0x16b3d
dec ecx
jne 0x16c37
mov dword [ebp - 4], 0xc0000184
jmp 0x16c37
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x16b6b
mov dword [esi + 0x108], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x10c], ecx
mov dword [edi + 8], 0x17406
jmp 0x16c26
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
jmp 0x16c37
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x16b9e
mov dword [esi + 0xf0], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xf4], ecx
mov dword [edi + 8], 0x18bae
jmp 0x16c26
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
jmp 0x16c37
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x16bce
mov dword [esi + 0xe0], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xe4], ecx
mov dword [edi + 8], 0x172b4
jmp 0x16c26
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
jmp 0x16c37
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x16bfb
mov dword [esi + 0xd0], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xd4], ecx
mov dword [edi + 8], 0x1bac0
jmp 0x16c26
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
jmp 0x16c37
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x16c2b
mov dword [esi + 0xc8], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xcc], ecx
mov dword [edi + 8], 0x1b02e
mov dword [edi + 0xc], esi
jmp 0x16c37
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, 0x2ae10
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor eax, eax
cmp dword [ebp - 4], eax
pop edi
pop ebx
jge 0x16c6f
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 0x16c82
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 0x17f42
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.000142e4
test al, al
jne 0x17f6e
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 0x1809a
push ebx
push esi
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push edi
mov ecx, 0x2ae10
call esi
mov byte [ebp - 1], al
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
cdq
push edx
push eax
push dword [0x2ae1c]
call fcn.00011072
mov edi, dword [ebp + 8]
test eax, eax
je 0x1806d
lea ebx, [eax - 8]
test byte [ebx + 0x38], 2
je 0x1806d
cmp byte [ebx + 0xd9], 0
jne 0x1806d
mov eax, dword [ebp + 0xc]
test byte [eax + 8], 0x80
je 0x17ff6
push 0
push ebx
call fcn.0001770a
test eax, eax
jne 0x17ff6
mov dl, byte [ebp - 1]
mov ecx, 0x2ae10
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 0x18097
call fcn.000142e4
test al, al
je 0x1809e
cmp byte [ebx + 0x139], 0
jne 0x1809e
cmp byte [ebx + 0xd7], 0
je 0x1809e
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, 0x180c6
lea ecx, [edi + 0x38]
xchg dword [ecx], eax
push 0
mov esi, 0x103
push ebx
mov dword [edi + 0x18], esi
call fcn.0001b65a
mov dword [ebp - 8], esi
mov dl, byte [ebp - 1]
mov ecx, 0x2ae10
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0x103
cmp dword [ebp - 8], eax
je 0x18097
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, 0x2ae10
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 0x17fe7
Function at 0x1816a
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.000142e4
test al, al
jne 0x18196
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 0x182e5
push ebx
push esi
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push edi
mov ecx, 0x2ae10
call esi
mov byte [ebp - 1], al
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
cdq
push edx
push eax
push dword [0x2ae1c]
call fcn.00011072
mov edi, dword [ebp + 8]
mov ebx, eax
test ebx, ebx
je 0x182b8
mov eax, dword [ebp + 0xc]
add eax, 4
je 0x181f4
test byte [eax + 4], 0x20
je 0x181f4
mov dl, byte [ebp - 1]
mov ecx, 0x2ae10
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov edx, edi
inc byte [edx + 0x23]
add dword [edx + 0x60], 0x24
jmp 0x182d9
test byte [ebx + 0x30], 2
je 0x182b8
cmp byte [ebx + 0xd1], 0
jne 0x182b8
call fcn.000142e4
test al, al
je 0x182e9
cmp byte [ebx + 0x130], 0
jne 0x182e9
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, 0x180c6
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.00014f02
test eax, eax
jge 0x182b8
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, 0x2ae10
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0x103
cmp dword [ebp - 8], eax
je 0x182e2
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, 0x2ae10
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 0x182e2
Function at 0x190c0
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 0x190e5
mov dword [ebp + 8], 0xc0000141
jmp 0x19276
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
je 0x190d9
mov eax, dword [edi + 0xf0]
mov ecx, dword [edi + 0xf4]
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
cmp eax, edx
je 0x190d9
lea eax, [edi + 0x170]
push esi
mov esi, dword [eax]
mov dword [ebp - 0x10], eax
cmp esi, edx
je 0x1926e
cmp esi, eax
je 0x1926e
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
cmp dword [esi + 0xc], edx
jl 0x19268
cmp dword [esi + 0x9c], edx
je 0x19268
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
lea ecx, [edi + 0x1ac]
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 0x191d7
push esi
call fcn.00011d38
mov ecx, dword [ebp - 4]
mov eax, 0xc0000141
mov dword [ebp + 8], eax
test ecx, ecx
je 0x19275
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.000142f0
jmp 0x19275
mov eax, 0xc000021b
cmp dword [ebp + 8], eax
jne 0x191e7
and dword [ebp - 8], 0
jmp 0x191f6
cmp dword [ebp + 8], 0
jne 0x191f6
cmp dword [ebp - 8], 0
jne 0x191f6
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x9c]
cmp dword [ebp - 8], eax
jae 0x1922a
cmp dword [ebp - 4], 0
je 0x1922a
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 0x19233
push esi
call fcn.00011d38
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 4], 0
je 0x19275
push eax
push dword [ebp - 4]
call fcn.00018f2a
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 0x19275
push esi
call fcn.00011d38
mov dword [ebp + 8], 0xc0000141
pop esi
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret 8
Function at 0x19284
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 + 0x1ac]
mov dword [ebp - 8], ecx
call ebx
mov byte [ebp + 0xb], al
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x19387
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x19387
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebp + 0x10]
jne 0x19387
lea eax, [esi + 0x170]
cmp dword [eax], eax
je 0x19387
push edi
jmp 0x19352
lea ecx, [esi + 0x170]
cmp dword [ecx], ecx
je 0x1935c
mov edi, dword [eax]
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [ecx + 4], eax
cmp edi, eax
je 0x19352
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.00018f2a
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 0x19386
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x19386
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x19386
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebp + 0x10]
jne 0x19386
lea eax, [esi + 0x178]
cmp dword [eax], eax
jne 0x192dd
lea edi, [esi + 0x170]
jmp 0x19375
lea eax, [ebp + 0xb]
push eax
push esi
call fcn.000190c0
mov dword [ebp - 4], eax
test eax, eax
jl 0x1937b
cmp dword [edi], edi
jne 0x19364
jmp 0x19386
cmp eax, 0xc000021b
jne 0x19386
and dword [ebp - 4], 0
pop edi
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x193b8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
cmp eax, dword [ebp + 0xc]
jne 0x193b8
cmp ecx, dword [ebp + 0x10]
jne 0x193b8
cmp dword [ebp - 4], 0
jl 0x193b8
add esi, 0x170
cmp dword [esi], esi
jne 0x193b8
push ecx
push eax
push 0xc
call fcn.00014f02
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

Function at 0x19786
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.00019718
mov byte [esi], 0x80
pop esi
pop ebp
ret 4
Function at 0x1bf08
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 6]
and dword [ebp - 4], 0
push ebx
push esi
movzx esi, al
shr eax, 8
shl esi, 8
push edi
mov edi, dword [ebp + 0x14]
add esi, eax
mov eax, dword [edi]
and dword [edi], 0
mov dword [ebp + 0x14], eax
lea eax, [ecx + 0xc]
lea edx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x1bf38
sub eax, edx
add eax, 0x11
cmp eax, dword [ebp + 0xc]
jae 0x1bfdc
test byte [ecx + 3], 0xf
lea edx, [eax + ecx]
jne 0x1bfdc
and dword [ebp + 8], 0
test esi, esi
jbe 0x1bfdc
mov ax, word [edx]
movzx cx, byte [edx + 1]
shl ax, 8
xor cx, ax
mov eax, 0xc000
mov ebx, eax
and cx, bx
cmp ax, cx
jne 0x1bfdc
lea ecx, [edx + 2]
movzx eax, word [ecx]
mov ebx, eax
and ebx, 0xff
shl ebx, 8
shr eax, 8
add eax, ebx
cmp eax, 5
jne 0x1bfb5
movzx eax, word [ecx + 8]
mov edx, eax
and edx, 0xff
shl edx, 8
shr eax, 8
add edx, ecx
lea edx, [eax + edx + 0xa]
jmp 0x1bfd4
cmp eax, 1
jne 0x1bfdc
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x14]
jae 0x1bfdc
mov ecx, dword [ecx + 0xa]
mov ebx, dword [ebp + 0x10]
mov dword [ebx + eax*4], ecx
add edx, 0x10
inc eax
mov dword [ebp - 4], eax
mov dword [edi], eax
inc dword [ebp + 8]
cmp dword [ebp + 8], esi
jb 0x1bf62
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x1c9b0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
cmp al, 2
ja 0x1ca3e
push ebx
push edi
push dword [str.dEqN]
mov edi, 0x400
push edi
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
test ebx, ebx
je 0x1ca3c
push esi
push edi
push 0
push ebx
call sub.ntoskrnl.exe_memset
mov esi, dword [ebp + 8]
mov eax, esi
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1c9f1
sub eax, ecx
cmp eax, edi
jb 0x1ca0c
mov ecx, 0xff
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x1ca25
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1ca11
sub eax, edx
push eax
push esi
push ebx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
push ebx
push 0x1c6ae
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
pop esi
pop edi
pop ebx
leave
ret 4

Function at 0x1d4d8
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 0x29d40
call dword [sym.imp.ntoskrnl.exe_KeQuerySystemTime]
xor eax, eax
push eax
push 0x1d392
push eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
leave
ret

Function at 0x1d550
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
xor eax, eax
push eax
push 0x1d506
push eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
leave
ret
Function at 0x1ded4
Capabilities:
Complete processing asynchronous io request

Disassembly:
push 0x68
push KeInitializeMutex
call fcn.00020abc
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x48], esi
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
push esi
push ebx
push 1
push ebx
push ebx
push ebx
push ebx
push edi
push 3
call dword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov esi, eax
cmp esi, ebx
jne 0x1df21
mov edi, 0xc000009a
jmp 0x1e06f
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x38]
call dword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x1df17
mov dword [ebp - 4], ebx
push 2
push ebx
push eax
call dword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 0x34], 1
push 0xe
pop eax
mov word [ebp - 0x30], ax
push 2
pop eax
mov word [ebp - 0x2e], ax
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x2a], ebx
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0x16
lea eax, [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov ecx, 0x1deaa
mov eax, ecx
test eax, eax
mov eax, dword [esi + 0x60]
je 0x1dfa7
sub eax, 0x24
mov dword [eax + 0x1c], ecx
lea ecx, [ebp - 0x74]
mov dword [eax + 0x20], ecx
mov byte [eax + 3], 0xe0
jmp PsSetLoadImageNotifyRoutine
sub eax, 0x24
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov byte [eax + 3], bl
mov eax, dword [esi + 0x60]
sub eax, 0x24
mov byte [eax], 0xf
mov byte [eax + 1], 0xa
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 8]
mov dword [eax + 0x18], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], edx
lea edx, [ebp - 0x64]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x20
mov eax, dword [ebp - 0x38]
mov dword [esi + 4], eax
mov edx, esi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov edi, eax
cmp edi, 0x103
jne 0x1e035
mov dword [ebp - 0x44], 0xfd050f80
or dword [ebp - 0x40], 0xffffffff
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
cmp eax, 0x102
jne 0x1e035
push esi
call dword [sym.imp.ntoskrnl.exe_IoCancelIrp]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp IoCancelIrp
cmp edi, ebx
je 0x1e07b
cmp edi, 0x103
jne 0x1e080
mov eax, dword [ebp - 0x48]
mov edi, dword [eax]
mov eax, edi
call fcn.00020b04
ret 0x18
Function at 0x1e306
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x27424]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
xor eax, eax
mov word [ebp - 0x128], ax
lea edi, [ebp - 0x126]
stosd dword es:[edi], eax
push 0x118
stosw word es:[edi], ax
lea eax, [ebp - 0x11c]
push 0
push eax
mov dword [ebp - 0x120], 0x11c
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0x22396
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
test eax, eax
je 0x1e380
lea ecx, [ebp - 0x120]
push ecx
call eax
jmp 0x1e39d
push 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 0x11c], 5
mov eax, dword [ebp - 0x118]
jne 0x1e3e0
test eax, eax
jne 0x1e3bc
mov dword [0x28b18], 1
jmp 0x1e439
cmp eax, 1
jne 0x1e3cd
mov dword [0x28b18], 2
jmp 0x1e439
cmp eax, 2
jne 0x1e439
xor ecx, ecx
cmp word [ebp - 0xc], cx
setne cl
add ecx, 3
jmp 0x1e400
push 6
pop ecx
cmp dword [ebp - 0x11c], ecx
jne 0x1e439
test eax, eax
jne 0x1e3fb
mov dword [0x28b18], 4
jmp 0x1e439
cmp eax, 1
jne 0x1e408
mov dword [0x28b18], ecx
jmp 0x1e439
cmp eax, 2
jne 0x1e419
mov dword [0x28b18], 7
jmp 0x1e439
cmp eax, 3
jne 0x1e42a
mov dword [0x28b18], 8
jmp 0x1e439
cmp eax, 4
jne 0x1e439
mov dword [0x28b18], 9
push dword [ebp - 0x114]
push eax
push dword [ebp - 0x11c]
push 0x2238c
push dword [ebp + 0xc]
push ebx
call fcn.0001e2a6
mov ecx, dword [ebp - 4]
mov eax, dword [0x28b18]
add esp, 0x18
pop edi
xor ecx, ebp
pop ebx
call fcn.00020898
leave
ret 8