Function at 0x287a1
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x24]
cmp edi, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 2], bl
mov esi, 0x4fc00
jne 0x32113
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0xc], ebx
call fcn.0005a5d8
test eax, eax
je 0x32301
push dword [ebp + 0x10]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x10]
push eax
call fcn.0005a921
test eax, eax
je 0x28e38
push 0x28e56
call sub.ntoskrnl.exe_wcslen
mov edi, eax
shl edi, 1
mov dword [ebp - 0x20], edi
mov dword [esp], 0x28e76
call sub.ntoskrnl.exe_wcslen
pop ecx
mov ecx, dword [ebp + 8]
movzx esi, word [ecx]
shl eax, 1
sub esi, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
add eax, dword [0x518c8]
add esi, edi
lea edi, [eax + esi + 4]
push edi
call fcn.00026dcb
mov ebx, eax
test ebx, ebx
je 0x28e38
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x32144
push ebx
call fcn.00026d5e
mov edi, dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
lea eax, [ebx + 0x100]
push eax
call edi
xor eax, eax
xor ecx, ecx
cmp dword [ebp - 0x7c], ecx
mov dword [ebx + 0x1ac], ecx
setne al
mov dword [ebx + 0x1a0], ecx
dec eax
mov dword [ebx + 0xa8], eax
lea eax, [ebx + 0x198]
mov dword [eax], eax
mov dword [ebx + 0x19c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebx + 0x1a4], eax
lea eax, [ebx + 0x1b0]
push eax
mov dword [ebx + 0x1a8], ecx
call edi
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 0x14]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0xc], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x14], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebx + 0x20], ecx
mov ecx, dword [eax]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0x18], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [eax + 0x34]
mov dword [ebx + 0x28], ecx
mov ecx, dword [eax + 0x38]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [eax + 0x3c]
mov dword [ebx + 0x30], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebx + 0x38], ecx
mov ecx, dword [eax + 0x68]
mov dword [ebx + 0x3c], ecx
mov ecx, dword [eax + 0x40]
mov dword [ebx + 0x34], ecx
mov ecx, dword [eax + 0x60]
mov dword [ebx + 0x40], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebx + 0x44], ecx
mov ecx, dword [eax + 0x78]
mov dword [ebx + 0x48], ecx
mov ecx, dword [eax + 0x7c]
mov dword [ebx + 0x4c], ecx
mov ecx, dword [eax + 0x88]
mov dword [ebx + 0x178], ecx
xor edi, edi
mov dword [ebx + 0x84], edi
mov ecx, dword [eax + 4]
sub ecx, 0x14
mov dword [ebx + 0xac], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 0xb0], ecx
mov ecx, dword [eax + 0x44]
shr ecx, 1
and ecx, 1
mov dword [ebx + 0xb4], ecx
mov ecx, dword [eax + 0x84]
mov dword [ebx + 0x148], ecx
test byte [eax + 0x44], 0x20
jne 0x32169
push 4
pop edx
test byte [eax + 0x44], dl
jne 0x32179
test byte [eax + 0x44], 8
jne 0x32184
mov ecx, dword [eax + 0x80]
mov dword [ebx + 0x140], ecx
mov ecx, dword [eax + 0x48]
mov dword [ebx + 0xb8], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebx + 0xbc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0xd8], ecx
mov ecx, dword [eax + 0x44]
inc dword [ebx + 0xd0]
mov dword [ebx + 0xe0], ecx
mov byte [ebx + 0x92], 1
mov byte [ebx + 0x93], 0
mov dword [ebx + 0x98], edi
mov dword [ebx + 0x9c], edi
mov ecx, dword [eax + 0x50]
mov dword [ebx + 0x10c], ecx
mov ecx, dword [eax + 0x54]
mov dword [ebx + 0x110], ecx
mov ecx, dword [eax + 0x70]
mov dword [ebx + 0x114], ecx
mov ecx, dword [eax + 0x74]
mov dword [ebx + 0x118], ecx
mov ecx, dword [eax + 0x58]
mov dword [ebx + 0x104], ecx
mov eax, dword [eax + 0x5c]
mov dword [ebx + 0x108], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x12c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x130], eax
mov al, byte [ebp - 0x30]
mov byte [ebx + 0x134], al
mov al, byte [ebp - 0x2f]
mov byte [ebx + 0x135], al
mov al, byte [ebp - 0x2e]
mov byte [ebx + 0x13b], al
lea eax, [ebx + 0xc0]
mov dword [eax], edx
mov ecx, dword [0x51910]
cmp ecx, edx
jb 0x321ac
mov eax, dword [0x518c8]
mov ecx, dword [ebp + 0x10]
add eax, ebx
mov dword [ebx + 0xe8], eax
lea eax, [ebx + 0xe4]
and word [eax], 0
mov dx, word [ecx]
push ecx
add dx, 2
lea edi, [ebx + 0xe6]
push eax
mov word [edi], dx
call dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
movzx eax, word [edi]
add eax, dword [0x518c8]
mov word [ebx + 0xf4], si
add esi, 2
mov word [ebx + 0xf6], si
add eax, ebx
mov esi, 0x4fc00
mov ecx, esi
mov dword [ebx + 0xf8], eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x18]
shr eax, 1
lea eax, [ecx + eax*2]
push eax
call fcn.00029223
mov dl, byte [ebp - 1]
mov ecx, esi
mov dword [ebx + 0x17c], eax
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov edi, dword [ebx + 0xf8]
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shr ecx, 2
mov esi, 0x28e8a
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [eax]
sub ecx, dword [ebp - 0x18]
mov esi, dword [eax + 4]
add esi, dword [ebp - 0x18]
mov edi, dword [ebx + 0xf8]
add edi, dword [ebp - 0x20]
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 eax, dword [ebp - 0x70]
mov dword [ebx + 0x50], eax
mov ecx, dword [ebp - 0x70]
lea esi, [ebp - 0x6c]
lea edi, [ebx + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x70]
lea esi, [ebp - 0x58]
lea edi, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x7c], eax
cmp dword [ebp - 0x44], 0
jne 0x28e21
push dword [ebx + 0xb0]
mov byte [ebx + 0x13a], 1
call fcn.00025e67
mov dword [ebx + 0x7c], eax
cmp dword [ebp + 0xc], 0
jne 0x321c7
mov al, byte [ebp - 0x40]
push dword [ebp + 0x10]
mov byte [ebx + 0x80], al
mov al, byte [ebp - 0x3f]
mov byte [ebx + 0x81], al
mov al, byte [ebx + 0xb4]
and al, 1
mov byte [ebp + 8], al
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
xor esi, esi
mov word [ebx + 0x82], si
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.0005acab
cmp eax, esi
mov dword [ebp - 8], eax
je 0x28e2d
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x8c], eax
mov al, byte [ebp + 0x2c]
mov byte [ebx + 0x90], al
mov al, byte [ebp + 0x30]
mov byte [ebx + 0x91], al
mov eax, dword [sym.imp.ntoskrnl.exe_KeNumberProcessors]
movsx eax, byte [eax]
mov dword [ebx + 0x180], eax
mov eax, dword [ebp + 0x24]
cmp eax, esi
jne 0x28c07
push esi
push 1
push 0x51b28
call dword [sym.imp.ntoskrnl.exe_RtlFindClearBitsAndSet]
cmp eax, 0xffffffff
je 0x28e2d
mov ecx, dword [0x4ff0c]
inc eax
shl ecx, 0x10
or eax, ecx
mov dword [ebx + 0x88], eax
cmp dword [ebp - 0x14], esi
jbe 0x28e45
xor eax, eax
test esi, esi
sete al
push 0
mov dword [ebp + 0x2c], eax
push dword [ebp + 0x2c]
mov eax, dword [ebp - 8]
lea eax, [eax + esi*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
bswap ecx
push ecx
bswap eax
push eax
push ebx
push dword [ebp + 0x20]
lea eax, [ebp - 0x7c]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push eax
call fcn.000277e5
mov edi, eax
test edi, edi
je 0x32235
push dword [ebp + 0x2c]
xor eax, eax
mov ax, word [edi + 0x16]
push eax
push dword [ebp - 0x10]
call fcn.000290ef
test eax, eax
jl 0x32211
cmp dword [ebp + 0x2c], 0
je 0x28c76
mov dword [ebp - 0x1c], edi
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x28c16
push dword [ebp - 0x10]
call fcn.0005a741
mov esi, 0x4fc00
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [0x51b34]
test ecx, ecx
mov byte [ebp - 1], al
mov edx, ecx
je 0x28cb6
mov eax, dword [ebx + 0x88]
cmp dword [ecx + 0x88], eax
ja 0x28cb6
mov edx, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x28ca6
mov dword [ebx], ecx
mov dword [edx], ebx
mov dl, byte [ebp - 1]
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
inc dword [0x51b30]
lea eax, [ebx + 0xdc]
push eax
lea eax, [ebx + 0xf4]
push eax
call sub.TDI.SYS_TdiRegisterDeviceObject
mov eax, dword [ebp + 0x20]
push dword [eax]
call dword [eax + 0x30]
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
cmp byte [ebp - 0x2d], 0
mov edx, 0x200
jne 0x28d0c
mov ecx, dword [ebx + 0xb4]
test cl, 1
jne 0x28d0c
or ecx, edx
mov dword [ebx + 0xb4], ecx
test dword [ebx + 0xb4], edx
mov dword [ebx + 0x144], 1
je 0x28d60
cmp dword [ebx + 0x34], 0
je 0x28d60
mov dl, al
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push 1
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x10114
push 0
push dword [ebx + 4]
call dword [ebx + 0x34]
mov ecx, esi
mov dword [ebp + 0x2c], eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
cmp dword [ebp + 0x2c], 0
jne 0x28d60
cmp dword [ebp - 0x2c], 1
je 0x3230b
mov dl, al
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp - 2], 0
jne 0x32317
test byte [ebx + 0xb4], 4
jne 0x323f6
and dword [ebp + 0x2c], 0
cmp dword [ebp - 0x14], 0
mov edi, dword [ebx + 0xa4]
jbe 0x28dd9
test edi, edi
je 0x28dd9
push 1
lea eax, [ebx + 0xf4]
push eax
lea eax, [ebx + 0xe4]
push eax
lea eax, [edi + 0xa8]
push eax
xor eax, eax
mov ax, word [edi + 0x16]
push eax
push dword [edi + 0x1c]
push dword [edi + 8]
push dword [edi + 4]
call fcn.0002327e
cmp dword [edi + 4], 0
jne 0x32462
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ebp - 0x14]
mov edi, dword [edi + 0x10]
jb 0x28d91
xor edi, edi
push edi
push dword [ebp - 8]
mov dword [ebx + 0x13c], edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebp - 0x1c], edi
je 0x28e07
cmp dword [ebx + 0x144], edi
je 0x3246d
push 0x2b12
push ebx
call fcn.00025eb3
cmp dword [ebp - 0x24], edi
je 0x28e4d
cmp dword [ebx + 0x144], edi
je 0x324df
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x2c
mov byte [ebx + 0x13a], 0
jmp 0x28b63
mov esi, dword [ebx + 0xa4]
jmp 0x32298
push dword [ebp - 0x10]
call fcn.0005a741
jmp 0x322de
mov edi, dword [ebp - 0x28]
jmp 0x28c7c
push ebx
call fcn.0002342d
jmp 0x28e18
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [0x51b34]
jmp 0x32131
cmp dword [ecx + 0x88], edi
je 0x321b3
mov ecx, dword [ecx]
cmp ecx, ebx
jne 0x32123
mov dl, al
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x287c7
movzx eax, word [eax]
push 0x10
inc eax
push 0x77494354
inc eax
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTagPriority]
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x2886b
jmp 0x28e2d
or byte [ebx + 0xb5], 1
mov byte [ebp - 2], 1
jmp 0x28978
or dword [ebx + 0xb4], edx
jmp 0x28984
or dword [ebx + 0xb4], 8
test byte [eax + 0x44], 0x10
mov ecx, dword [ebx + 0xb4]
je 0x2898e
or ecx, 0x80
mov dword [ebx + 0xb4], ecx
jmp 0x2898e
mov dword [eax], ecx
jmp 0x28a57
mov dl, al
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0xc000000d
jmp 0x28e1a
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc]
mov dword [ebx + 0xf0], edi
mov cx, word [eax]
mov word [ebx + 0xec], cx
mov cx, word [eax]
add cx, 2
mov word [ebx + 0xee], cx
movzx ecx, word [eax]
mov esi, dword [eax + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx eax, word [eax]
mov ecx, dword [ebp - 0xc]
shr eax, 1
and word [ecx + eax*2], 0
jmp 0x28b6d
push 0
push 0
lea eax, [ebx + 0xf8]
push eax
push 1
push 1
push 0xc0001068
push dword [0x51724]
call sub.TDI.SYS_CTELogEvent
jmp 0x28c6d
cmp dword [ebp - 0x1c], 0
je 0x28e2d
push dword [ebx + 4]
call dword [ebx + 0x14]
jmp 0x28e2d
mov edi, 0x4fc00
mov ecx, edi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
test esi, esi
mov byte [ebp - 1], al
je 0x322a3
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x2c], eax
xor eax, eax
push eax
push eax
mov dword [esi + 0x88], eax
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea eax, [ebp - 1]
push eax
lea edi, [esi + 0xb3]
push esi
mov byte [edi], 1
call fcn.000438c7
or byte [esi + 0x15], 1
mov esi, dword [ebp + 0x2c]
mov byte [edi], 0
cmp dword [ebx + 0xa0], 0
je 0x322ad
jmp 0x3224a
mov dl, al
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor edi, edi
push edi
push ebx
or esi, 0xffffffff
push esi
push esi
push esi
call fcn.000413e1
push edi
push ebx
push esi
push esi
push edi
call fcn.000413e1
cmp dword [ebp - 0xc], edi
je 0x28e38
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x28e38
xor esi, esi
cmp dword [ebp - 8], esi
je 0x322ef
push esi
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push ebx
call fcn.0002342d
cmp ebx, esi
je 0x32301
push esi
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0x2b2a
jmp 0x28e1a
and dword [ebx + 0x144], 0
jmp 0x28d60
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
movzx ecx, byte [edi + 6]
mov byte [ebp - 1], al
movzx eax, byte [edi + 7]
add eax, ecx
movzx ecx, byte [edi + 4]
add eax, ecx
movzx ecx, byte [edi + 5]
add eax, ecx
mov ecx, dword [0x51c34]
dec ecx
and eax, ecx
mov ecx, dword [0x51c38]
lea edx, [ecx + eax*4]
mov ecx, dword [edx]
jmp 0x32356
cmp ecx, edi
je 0x3235c
mov edx, ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x32360
jmp 0x3234e
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebx + 0x88]
or byte [edi + 0x14], 1
or dword [edi + 8], 0xffffffff
bswap eax
mov dword [edi + 4], eax
movzx ecx, byte [edi + 6]
movzx eax, byte [edi + 7]
mov edx, dword [0x51c38]
add eax, ecx
movzx ecx, byte [edi + 4]
add eax, ecx
movzx ecx, byte [edi + 5]
add ecx, eax
mov eax, dword [0x51c34]
dec eax
and eax, ecx
mov eax, dword [edx + eax*4]
mov dl, byte [ebp - 1]
mov dword [edi], eax
mov eax, dword [0x51c34]
dec eax
and eax, ecx
mov ecx, dword [0x51c38]
mov dword [ecx + eax*4], edi
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push dword [edi + 4]
call fcn.000233b4
push edi
call fcn.000249c4
cmp dword [ebx + 0x144], 0
je 0x323d6
push 0x2b12
jmp 0x323db
push 0x2b11
push ebx
call fcn.00025eb3
call fcn.0002393a
push 0
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x28e4d
push 1
or byte [edi + 0x14], 1
or dword [edi + 8], 0xffffffff
lea eax, [ebx + 0xf4]
push eax
lea eax, [ebx + 0xe4]
push eax
lea eax, [edi + 0xa8]
push eax
xor eax, eax
mov ax, word [edi + 0x16]
mov dword [edi + 0xc], ebx
push eax
push dword [edi + 0x1c]
push 0xffffffffffffffff
push dword [edi + 4]
call fcn.0002327e
push edi
call fcn.000249c4
cmp dword [ebx + 0x144], 0
je 0x32442
push 0x2b12
jmp 0x32447
push 0x2b11
push ebx
call fcn.00025eb3
push 0
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call fcn.0002393a
jmp 0x28e4d
push edi
call fcn.000249c4
jmp 0x28dcb
xor eax, eax
cmp dword [0x51c34], edi
mov dword [ebp + 0x30], eax
jbe 0x28e07
mov ecx, dword [0x51c38]
mov edi, dword [ecx + eax*4]
jmp 0x324c6
mov ax, word [edi + 0x14]
test al, 1
je 0x324c4
cmp dword [edi + 0xc], ebx
jne 0x324c4
movzx ecx, ax
test ecx, 0xffffffef
je 0x324c4
test al, 8
je 0x324c4
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
or byte [edi + 0x14], 0x40
mov byte [ebp + 0x2f], al
xor eax, eax
push eax
push eax
lea ecx, [ebp + 0x2f]
push ecx
push eax
push eax
push edi
call fcn.000259c0
mov edi, dword [edi]
test edi, edi
jne 0x32489
mov eax, dword [ebp + 0x30]
inc eax
cmp eax, dword [0x51c34]
mov dword [ebp + 0x30], eax
jae 0x28e07
jmp 0x3247e
cmp byte [ebx + 0x137], 0
je 0x28e4d
call fcn.0002842f
test al, al
jne 0x28e4d
push ebx
call fcn.00041d14
test eax, eax
je 0x28e4d
mov word [ebx + 0x152], 0xf0
jmp 0x28e18