joyce8/EMBER2024-capa huggingface dataset:
Function at 0x113d8
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2366c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 0xc]
mov ecx, 0x2366c
cmp eax, ecx
je 0x113fe
mov edx, dword [ebx]
cmp edx, dword [eax - 4]
je 0x11420
mov eax, dword [eax]
cmp eax, ecx
jne 0x113f3
push edi
push 0x206b6444
push 0xc
xor edi, edi
push edi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ecx, eax
cmp ecx, edi
mov dword [ebp + 0xc], ecx
jne 0x11434
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
jmp 0x1147c
and dword [esi + 0x1c], 0
and dword [esi + 0x18], 0
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x11487
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [ecx], eax
mov ebx, 0x2362c
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov edi, dword [0x2366c]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ecx], edi
mov dword [ecx + 4], 0x2366c
mov dword [edi + 4], ecx
mov dword [0x2366c], ecx
mov dl, al
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [esi + 0x1c], 0
and dword [esi + 0x18], 0
mov ecx, esi
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x11490
Capabilities:
Complete processing asynchronous io request

Disassembly:
push esi
mov esi, dword [0x2366c]
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, 0x2366c
cmp esi, ecx
je 0x114b5
mov eax, dword [eax]
cmp dword [esi - 4], eax
je 0x114c9
mov esi, dword [esi]
cmp esi, ecx
jne 0x114aa
and dword [edi + 0x1c], 0
and dword [edi + 0x18], 0
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x114fe
push ebx
mov ebx, 0x2362c
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov dword [esi], ecx
mov dword [ecx + 4], esi
mov dl, al
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [edi + 0x1c], 0
and dword [edi + 0x18], 0
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop ebx
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x11562
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x60]
push ebp
mov ebp, dword [eax + 8]
push esi
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x115de
test ebp, ebp
je 0x115de
cmp ebp, 0x1000
ja 0x115de
push edi
mov ecx, 0x2362c
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov edx, 0x24278
mov byte [esp + 0x18], al
xor eax, eax
mov edi, edx
mov ecx, 0x400
rep stosd dword es:[edi], eax
mov ecx, ebp
mov eax, ecx
shr ecx, 2
mov edi, edx
mov dl, byte [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x2362c
mov dword [0x25278], ebp
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [ebx + 0x1c], 0
and dword [ebx + 0x18], 0
xor dl, dl
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
jmp 0x115f0
and dword [ebx + 0x1c], 0
and dword [ebx + 0x18], 0
xor dl, dl
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x11b2e
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x235f4]
push ebx
push esi
mov esi, dword [ebp + 0xa0]
mov dword [ebp + 0x90], eax
mov eax, dword [esi + 0x60]
mov ebx, dword [eax + 8]
push edi
mov edi, dword [esi + 0xc]
call fcn.0001182e
test ebx, ebx
je 0x11c79
test edi, edi
je 0x11c79
xor edx, edx
mov eax, ebx
mov ecx, 0x12c
div ecx
mov dword [ebp - 0x6c], edi
test eax, eax
jbe 0x11c79
mov dword [ebp - 0x78], eax
push 0x206b6444
push 0x12c
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
test ebx, ebx
je 0x11c70
push 0x4b
pop ecx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
push 0x3e
pop ecx
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x6c]
mov word [ebp - 0x7e], 0x100
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11bc0
mov ecx, dword [ebp - 0x6c]
sub eax, esi
mov word [ebp - 0x80], ax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], eax
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x7c], ecx
mov word [ebp - 0x72], 0xf8
call dword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov ax, word [ebp - 0x74]
mov word [ebx], ax
mov word [ebx + 2], 0xf8
lea edi, [ebx + 8]
mov dword [ebx + 4], edi
movzx ecx, word [ebp - 0x74]
mov esi, dword [ebp - 0x70]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x6c]
add dword [ebp - 0x6c], 0x12c
push 8
add esi, 0x100
pop ecx
lea edi, [ebx + 0x100]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x27af0
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [0x27ae4]
add ebx, 0x124
mov dword [ebx + 4], ecx
mov dword [ebx], 0x27ae0
mov dword [ecx], ebx
mov dl, al
mov ecx, esi
mov dword [0x27ae4], ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov esi, dword [ebp + 0xa0]
dec dword [ebp - 0x78]
jne 0x11b87
call fcn.000118f6
and dword [esi + 0x1c], 0
and dword [esi + 0x18], 0
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.00015822
add ebp, 0x94
leave
ret 8
Function at 0x12a20
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x235f4]
push ebx
push esi
xor esi, esi
cmp dword [0x25278], esi
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
mov dword [ebp - 4], eax
mov ebx, 0x24278
jbe 0x12a69
mov eax, dword [ebp + 8]
push 4
add eax, 0x1c
push eax
push ebx
call edi
cmp eax, 4
je 0x12b5a
add esi, 0x10
add ebx, 0x10
cmp esi, dword [0x25278]
jb 0x12a46
cmp dword [0x27ab0], 0
je 0x12b90
mov ebx, 0x27a8c
push ebx
call dword [sym.imp.ntoskrnl.exe_KeResetEvent]
mov eax, dword [0x25278]
or dword [ebp - 0xc], 0xffffffff
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [0x27ab0]
mov dword [ebp - 0x10], 0xffb3b4c0
mov eax, dword [eax + 0xc]
add esi, 0x1c
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [0x27ab0]
mov dword [eax + 0x1c], 4
mov eax, dword [0x27ab0]
and dword [eax + 0x18], 0
mov ecx, dword [0x27ab0]
xor eax, eax
add ecx, 0x38
xchg dword [ecx], eax
test eax, eax
je 0x12b90
mov ecx, dword [0x27ab0]
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
push eax
push eax
push eax
push ebx
mov dword [0x27ab0], eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
test eax, eax
jne 0x12b90
mov eax, dword [0x25278]
cmp eax, dword [ebp - 8]
je 0x12b90
test eax, eax
mov ebx, 0x25268
je 0x12b19
lea ebx, [eax + 0x24268]
push 4
push esi
push ebx
call edi
cmp eax, 4
jne 0x12b90
mov eax, dword [ebp + 8]
push 6
add eax, 0x16
push eax
lea esi, [ebx + 4]
push esi
call edi
cmp eax, 6
je 0x12b90
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [eax], ecx
lea edi, [eax + 4]
movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
xor eax, eax
cmp dword [ebx + 0xc], 1
setne cl
add ecx, 0x66
mov dword [edx], ecx
jmp 0x12b93
mov eax, dword [ebp + 8]
push 6
add eax, 0x16
push eax
lea esi, [ebx + 4]
push esi
call edi
cmp eax, 6
je 0x12b90
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
lea edi, [eax + 4]
movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
cmp dword [ebx + 0xc], 1
setne al
add eax, 0x66
mov dword [ecx], eax
xor eax, eax
jmp 0x12b93
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00015822
leave
ret 0xc
Function at 0x12fb8
Capabilities:
Complete processing asynchronous io request

Disassembly:
cmp dword [0x2365c], 0x2365c
je 0x13042
mov ecx, dword [0x27ab4]
mov eax, 0x27ab4
cmp ecx, eax
je 0x13042
push ebx
push esi
lea ebx, [ecx - 0x58]
xor edx, edx
lea esi, [ebx + 0x38]
xchg dword [esi], edx
test edx, edx
jne 0x12feb
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x12fd5
jmp 0x13040
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ebp
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov ebp, 0x2362c
push edi
mov ecx, ebp
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov esi, dword [0x23660]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [edi], ecx
mov dword [ecx + 4], edi
mov dl, al
mov ecx, ebp
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov edi, dword [ebx + 0xc]
push 0xa
add esi, 0xffffffe0
pop ecx
rep movsd dword es:[edi], dword [esi]
and dword [ebx + 0x18], 0
xor dl, dl
mov ecx, ebx
mov dword [ebx + 0x1c], 0x28
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop ebp
pop esi
pop ebx
xor eax, eax
ret

Function at 0x1409c
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret 4
Function at 0x14b18
Capabilities:
Get file attributes
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push 0x18
pop edi
push 0x40
pop ebx
xor esi, esi
push esi
push esi
push 0x20
push 1
push 1
push 0x80
mov dword [ebp - 0x28], eax
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x80000000
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, esi
mov dword [ebp - 8], eax
jl 0x14c2e
push 5
push edi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp eax, esi
push dword [ebp + 8]
mov dword [ebp - 8], eax
jge 0x14b9d
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x14c2e
push 0x8000000
push 2
push esi
lea eax, [ebp - 0x30]
push eax
push 4
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
mov edi, dword [sym.imp.ntoskrnl.exe_ZwClose]
jge 0x14bd6
push dword [ebp + 8]
call edi
push 2
push 0x100000
push 1
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
cmp eax, esi
mov dword [ebp - 8], eax
jge 0x14c08
push dword [ebp + 8]
call edi
push dword [ebp - 4]
call edi
jmp 0x14c2e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x14d32
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x235f4]
push esi
mov dword [ebp + 0x3a4], eax
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x3b0]
call sub.ntoskrnl.exe_PsLookupProcessByProcessId
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x14e24
push ebx
push edi
lea eax, [ebp + 0x3b0]
push eax
push edi
push edi
call sub.ntoskrnl.exe_PsGetVersion
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
cmp dword [ebp + 0x3b0], 0x893
jne 0x14d9c
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x1b0]
jmp 0x14daa
mov eax, dword [0x27b38]
cmp eax, edi
je 0x14e08
push dword [ebp - 0x60]
call eax
cmp eax, edi
je 0x14e08
mov ebx, dword [eax + 0x10]
mov eax, dword [ebx + 0x3c]
add ebx, 0x38
cmp word [eax], 0x5c
je 0x14e0b
mov word [ebp - 0x5c], 0x5c
mov word [ebp - 0x5a], 0x3f
mov word [ebp - 0x58], 0x3f
mov word [ebp - 0x56], 0x5c
movzx ecx, word [ebx]
mov esi, dword [ebx + 4]
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov word [ebp - 0x66], 0x200
mov ax, word [ebx]
add ax, 8
mov word [ebp - 0x68], ax
lea ebx, [ebp - 0x68]
jmp 0x14e0b
mov ebx, dword [ebp - 0x60]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
push dword [ebp + 0x3b4]
push ebx
call fcn.00014c78
mov esi, eax
pop ebx
mov ecx, dword [ebp - 0x60]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ecx, dword [ebp + 0x3a4]
pop edi
mov eax, esi
pop esi
call fcn.00015822
add ebp, 0x3a8
leave
ret 8
Function at 0x14e46
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
cmp ebx, ecx
push esi
push edi
je 0x14e71
cmp dword [ebp + 0xc], ecx
je 0x14e71
cmp word [ebx], 0x5a4d
jne 0x14e71
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
je 0x14e82
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, 0xc0000001
pop edi
pop esi
pop ebx
leave
ret 0x10
mov ecx, dword [eax + 0x7c]
mov edx, dword [eax + 0x78]
and dword [ebp - 8], 0
lea eax, [edx + ebx]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
add ecx, ebx
add esi, ebx
add edi, ebx
test eax, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
jbe 0x14e76
mov eax, dword [ebp - 8]
movsx eax, word [edi + eax*2]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + eax*4]
cmp eax, edx
jb 0x14ec8
mov ebx, dword [ebp - 0x10]
add ebx, edx
cmp eax, ebx
jb 0x14f0c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov edx, dword [esi + eax*4]
add edx, dword [ebp + 8]
mov al, byte [edx]
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 1], al
cmp al, byte [ebx]
jne 0x14f00
test al, al
je 0x14efc
mov al, byte [edx + 1]
mov byte [ebp - 1], al
cmp al, byte [ebx + 1]
jne 0x14f00
add dword [ebp - 0xc], 2
inc edx
inc edx
test al, al
jne 0x14ed7
xor eax, eax
jmp 0x14f05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x14f1c
mov edx, dword [ebp - 0x14]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jb 0x14eae
jmp 0x14e76
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
add ecx, dword [ebp + 8]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor eax, eax
jmp 0x14e7b

Function at 0x14f98
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [0x27b4c]
mov eax, dword [esp + 4]
push esi
lea esi, [ecx + eax]
mov ecx, dword [esi]
push edi
xor edx, edx
jmp 0x14fc4
mov edi, dword [0x27b54]
mov eax, ecx
sub eax, dword [0x27b50]
cmp byte [edi + eax], 1
je 0x14fe8
mov ecx, dword [ecx]
inc edx
cmp ecx, esi
jne 0x14fad
push edx
push 0x14f6a
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [esi + 4]
sub eax, dword [0x27b50]
pop ecx
pop ecx
mov ecx, dword [0x27b54]
mov byte [ecx + eax], 1
pop edi
pop esi
ret 4
Function at 0x1521c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x235f4]
push edi
mov dword [ebp - 4], eax
push 0xf
mov byte [ebp - 0x44], 0
pop ecx
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00014f98
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x1525b
push 0x151b2
call sub.ntoskrnl.exe_DbgPrint
pop ecx
jmp 0x15346
lea eax, [ebp - 0x44]
push eax
call fcn.00015172
lea eax, [ebp - 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1526a
push esi
mov esi, dword [sym.imp.ntoskrnl.exe__strnicmp]
sub eax, edx
push eax
lea eax, [ebp - 0x44]
push 0x151fa
push eax
call esi
add esp, 0xc
test eax, eax
je 0x15345
lea eax, [ebp - 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x15297
sub eax, edx
push eax
lea eax, [ebp - 0x44]
push 0x15206
push eax
call esi
add esp, 0xc
test eax, eax
je 0x15345
lea eax, [ebp - 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x152bd
sub eax, edx
push eax
lea eax, [ebp - 0x44]
push 0x15212
push eax
call esi
add esp, 0xc
test eax, eax
je 0x15345
push 0x20736649
push 0x14
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
je 0x15345
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call sub.ntoskrnl.exe_PsGetCurrentProcessId
mov dword [esi], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
push dword [0x27b40]
call sub.ntoskrnl.exe_IoAllocateWorkItem
mov edi, eax
test edi, edi
jne 0x1532b
push eax
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x15345
mov ecx, dword [esi + 8]
mov dword [esi + 4], edi
call dword [sym.imp.ntoskrnl.exe_ObfReferenceObject]
push esi
push 0
push 0x14fee
push edi
call sub.ntoskrnl.exe_IoQueueWorkItem
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.00015822
leave
ret 0xc
Function at 0x15370
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push ebp
lea ebp, [esp - 0xc8]
sub esp, 0x148
mov eax, dword [0x235f4]
push edi
xor edi, edi
push edi
mov dword [ebp + 0xc4], eax
lea eax, [ebp - 0x60]
push eax
push edi
push edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], edi
call sub.ntoskrnl.exe_PsGetVersion
cmp dword [0x27b44], edi
mov dword [ebp - 0x64], edi
jbe 0x1559a
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
push esi
mov esi, 0x27b60
cmp dword [ebp - 0x60], 0x893
push 1
jne 0x153cb
lea eax, [esi + 8]
push eax
jmp 0x153cc
push esi
push dword [ebp + 0xd0]
call ebx
test eax, eax
je 0x153ee
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
add esi, 0x18
cmp eax, dword [0x27b44]
jb 0x153ba
jmp 0x15598
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 0xd4]
call sub.ntoskrnl.exe_PsLookupProcessByProcessId
test eax, eax
jl 0x15598
cmp dword [ebp + 0xdc], edi
je 0x1541b
call dword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
add eax, dword [ebp + 0xdc]
jmp 0x1541e
mov eax, dword [ebp - 0x64]
mov esi, eax
push 0xa
mov edi, 0x15354
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x15598
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
cmp dword [ebp - 0x60], 0x893
jne 0x15474
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x1b0]
mov dword [0x27b4c], 0x270
mov dword [0x27b50], 0x240
mov dword [0x27b54], 0x158
jmp 0x1552e
cmp dword [ebp - 0x60], 0xa28
jne 0x154ae
mov eax, dword [0x27b38]
test eax, eax
je 0x1548e
push dword [ebp - 0x5c]
call eax
mov dword [ebp - 0x68], eax
mov dword [0x27b4c], 0x190
mov dword [0x27b50], 0x22c
mov dword [0x27b54], 0x164
jmp 0x1552b
cmp dword [ebp - 0x60], 0xece
jne 0x15585
mov eax, dword [0x27b38]
test eax, eax
je 0x154cc
push dword [ebp - 0x5c]
call eax
mov dword [ebp - 0x68], eax
mov edx, dword [0x27b3c]
test edx, edx
je 0x15521
push 0x47
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], 0x11c
call edx
cmp word [ebp + 0xbc], 0
jne 0x1550d
mov dword [0x27b4c], 0x170
mov dword [0x27b50], 0x234
jmp 0x15521
mov dword [0x27b4c], 0x180
mov dword [0x27b50], 0x224
mov dword [0x27b54], 0x58
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x15585
mov eax, dword [eax + 0xc]
test eax, eax
je 0x15585
lea edi, [eax + 0xc]
mov esi, dword [edi]
jmp 0x15553
push 1
push 0x27ce0
lea eax, [esi + 0x2c]
push eax
call ebx
test eax, eax
je 0x15559
mov esi, dword [esi]
cmp esi, edi
jne 0x15540
jmp 0x15585
mov esi, dword [esi + 0x18]
test esi, esi
je 0x15585
push 0x15360
push esi
call fcn.00014f38
test eax, eax
je 0x15585
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx + ecx*2]
push dword [ecx*8 + 0x27b74]
push eax
push dword [ebp - 0x5c]
call fcn.0001521c
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov ecx, dword [ebp - 0x5c]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
pop esi
pop ebx
mov ecx, dword [ebp + 0xc4]
pop edi
call fcn.00015822
add ebp, 0xc8
leave
ret 0x10
Function at 0x28000
Capabilities:
Create device object
Create thread

Disassembly:
mov eax, dword [0x235f4]
test eax, eax
mov ecx, 0xbb40e64e
je 0x28012
cmp eax, ecx
jne 0x2802b
mov eax, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov eax, dword [eax]
xor eax, 0x235f4
mov dword [0x235f4], eax
jne 0x2802b
mov dword [0x235f4], ecx
jmp 0x11e94
Function at 0x404820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40837f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov edi, 1
push 0x40ce80
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [str.amp_]
push esi
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::Find
mov ebp, eax
cmp ebp, esi
jge 0x40488c
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00407812
mov dword [esp + 0x10], edi
jmp 0x404972
push ebx
mov bl, 3
cmp ebp, esi
jle 0x4048e5
mov edx, ebp
lea eax, [esp + 0x1c]
sub edx, esi
lea ecx, [esp + 0x34]
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push 0x40cb54
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [str.amp_]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x34]
add esi, ebp
push esi
push edx
call sub.MFC42.DLL_CString::Find
mov ebp, eax
test ebp, ebp
jge 0x40488f
mov edx, dword [esp + 0x34]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop ebx
cmp esi, ecx
jge 0x40495a
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x18]
sub ecx, esi
push ecx
push esi
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00407812
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8