Function at 0x23072
Capabilities:
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2a978
push 0x2a536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], eax
or dword [ebp - 0x40], 0xffffffff
or dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x20], eax
and byte [ebp - 0x44], al
mov dword [ebp - 4], eax
mov edi, 0x546b6c42
push edi
push 0x154
push 1
pop ebx
push ebx
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
call esi
mov dword [ebp - 0x34], eax
test eax, eax
je 0x23465
push edi
push 0x400
push ebx
call esi
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x23465
push edi
push 0x18
push ebx
call esi
mov dword [ebp - 0x74], eax
test eax, eax
je 0x23465
push edi
push 8
push ebx
call esi
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x20], eax
je 0x23465
push eax
push eax
push 0x860
push ebx
push 3
push 0x80
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xc0100000
push dword [ebp + 8]
call dword [0x2b54c]
mov dword [ebp - 0x70], eax
cmp eax, 0xc0000022
jne 0x2317d
mov byte [ebp - 0x44], bl
xor eax, eax
push eax
push eax
push 0x860
push ebx
push ebx
push 0x80
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x80100000
push dword [ebp + 8]
call dword [0x2b54c]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x23465
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push 5
push 0x18
push dword [ebp - 0x74]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x74]
add eax, 8
xor ecx, ecx
cmp dword [eax], ecx
jne 0x231b8
cmp dword [eax + 4], ecx
je 0x23465
push ecx
push dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00011c27
mov dword [ebp - 0x48], eax
cmp eax, ebx
je 0x23465
cmp eax, 2
jne 0x23465
or dword [ebp - 0x60], 0xffffffff
and dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0x400
push 4
push 0x1000
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [ebp - 0x70], eax
test eax, eax
jl 0x23210
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x2321c
mov dword [ebp - 0x68], 2
jmp 0x23468
mov dword [ebp - 0x5c], eax
lea ecx, [eax + 4]
mov dword [ebp - 0x80], ecx
lea ecx, [eax + 0xc]
mov dword [ebp - 0x7c], ecx
lea ecx, [eax + 0x14]
mov dword [ebp - 0x30], ecx
add eax, 0x2c
mov dword [ebp - 0x2c], eax
push edi
push 0x400
push ebx
call esi
mov edi, eax
mov dword [ebp - 0x78], edi
test edi, edi
je 0x23465
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push eax
mov esi, dword [ebp + 0x34]
push esi
call fcn.00015c44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.000212fb
test al, al
jne 0x23293
push 0x22fc8
call sub.ntoskrnl.exe_DbgPrint
push esi
push 0x22fd0
call sub.ntoskrnl.exe_DbgPrint
push 0x22ffc
jmp 0x2345d
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x232b0
cmp byte [eax], 0x5c
jne 0x232a3
inc eax
mov dword [ebp - 0x58], eax
test eax, eax
je 0x232b0
cmp byte [eax], 0x5c
jne 0x232b0
inc eax
mov dword [ebp - 0x58], eax
push 0x23000
push esi
call dword [sym.imp.ntoskrnl.exe_strstr]
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
test eax, eax
je 0x232fd
mov ecx, dword [0x2ba98]
test ecx, ecx
jne 0x232e9
lea ecx, [eax + 2]
push ecx
push dword [ebp - 0x50]
dec eax
push eax
push 0x23004
push edi
call dword [sym.imp.ntoskrnl.exe_sprintf]
add esp, 0x14
jmp 0x23337
lea edx, [eax + 2]
push edx
push dword [ebp - 0x50]
movsx eax, byte [eax - 1]
push eax
push ecx
push 0x23014
jmp 0x2332d
cmp dword [ebp - 0x58], 0
je 0x23443
mov eax, dword [ebp - 0x64]
lea ecx, [eax + 0x41]
mov dword [ebp - 0x24], ecx
mov eax, dword [0x2ba98]
test eax, eax
push dword [ebp - 0x58]
push dword [ebp - 0x50]
push ecx
jne 0x23327
push 0x23024
jmp 0x232dd
push eax
push 0x23034
push edi
call dword [sym.imp.ntoskrnl.exe_sprintf]
add esp, 0x18
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.000200ee
mov dword [ebp - 0x70], eax
cmp eax, 0xc0000035
jne 0x23362
push 3
push 0xc0110000
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.0001f3ec
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x38], bl
cmp dword [ebp - 0x70], 0
jne 0x23465
cmp byte [ebp - 0x44], 0
jne 0x233a0
mov edi, dword [ebp + 8]
push dword [edi]
push dword [ebp - 0x40]
call fcn.000158ae
test al, al
je 0x23465
push esi
push 0
push 0x10
push ebx
push dword [edi]
push dword [ebp - 0x40]
call fcn.000123ae
test eax, eax
je 0x233f6
jmp 0x23465
mov esi, dword [ebp + 8]
push dword [esi]
push dword [ebp - 0x40]
call fcn.000158ae
test al, al
je 0x23465
push dword [ebp + 0x34]
push 0
push 0x10
push ebx
push dword [ebp - 0x40]
push dword [esi]
call fcn.000123ae
test eax, eax
jne 0x23465
push edi
push 0x2306c
mov edi, dword [ebp - 0x2c]
push edi
call dword [sym.imp.ntoskrnl.exe_swprintf]
add esp, 0xc
push edi
mov esi, dword [ebp - 0x80]
push esi
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [esi + 4], edi
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], esi
push dword [ebp - 0x40]
call dword [0x2b550]
or dword [ebp - 0x40], 0xffffffff
push dword [ebp - 0x3c]
call dword [0x2b550]
or dword [ebp - 0x3c], 0xffffffff
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x2b54c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], 4
jmp 0x23468
push 0x23044
call sub.ntoskrnl.exe_DbgPrint
push esi
push 0x2304c
call sub.ntoskrnl.exe_DbgPrint
push 0x23068
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
mov dword [ebp - 0x68], ebx
or dword [ebp - 4], 0xffffffff
call fcn.00023488
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x34