Function at 0x38528
Capabilities:
Get file attributes

Disassembly:
push 0x64
push 0x1ab40
call fcn.000124c0
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov edi, 0xfffe
mov eax, edi
mov word [ebp - 0x42], ax
mov ebx, 0x73535349
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.00037d68
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
mov eax, dword [ebp + 8]
movzx eax, word [eax]
inc eax
inc eax
mov word [ebp - 0x4a], ax
push ebx
lea eax, [ebp - 0x4c]
push eax
call fcn.00037d68
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
mov word [ebp - 0x3a], di
push ebx
lea eax, [ebp - 0x3c]
push eax
call fcn.00037d68
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
push ebx
push 0x1005e
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [ebp - 0x30], eax
cmp eax, esi
je 0x387b5
mov dword [ebp - 0x74], 0x18
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], 0x200
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
push 0x1f0003
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwCreateEvent]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
push dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x5c
push 0x7e
push edi
call fcn.000381d4
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
mov eax, dword [ebp - 0x28]
sub eax, edi
sar eax, 1
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.000140b8
cmp eax, esi
mov dword [ebp - 0x1c], eax
jl 0x387b5
push 0x2cde8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00014186
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
mov dword [ebp - 0x74], 0x18
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], 0x240
lea eax, [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
push 0x100
push esi
push esi
push esi
push esi
push 0x20
xor edi, edi
inc edi
push edi
push edi
push 0x80
push esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x100001
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
cmp dword [ebp - 0x20], esi
je 0x387b5
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x38700
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x28]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x5c
pop eax
mov ecx, dword [ebp - 0x24]
mov word [ecx], ax
jmp 0x3870d
push dword [ebp - 0x28]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
lea eax, [ebp - 0x54]
push eax
push edi
push 3
push 0x1005e
mov edi, dword [ebp - 0x30]
push edi
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_ZwQueryDirectoryFile]
mov dword [ebp - 0x1c], eax
cmp eax, 0x103
jne 0x38748
push esi
push 1
push dword [ebp - 0x2c]
call dword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
jmp 0x3874c
cmp eax, esi
jl 0x387b5
push dword [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
mov dword [ebp - 0x20], esi
push dword [edi + 0x3c]
add edi, 0x5e
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.000142a8
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x387b5
cmp dword [ebp - 0x24], esi
je 0x387b5
push 0x3dc44
lea eax, [ebp - 0x3c]
push eax
call fcn.00014122
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x5c
push 0x7e
push edi
call fcn.000381d4
mov dword [ebp - 0x1c], eax
cmp eax, esi
jge 0x387ce
add edi, 2
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.00014122
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], esi
call fcn.000387f0
mov dword [ebp - 4], 0xfffffffe
mov edi, 0x3bdd4
jmp 0x3889d
mov eax, dword [ebp - 0x28]
sub eax, edi
sar eax, 1
dec eax
push eax
add edi, 2
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.00014236
jmp 0x3864c
cmp dword [ebp - 0x1c], esi
jl 0x388be
push dword [ebp + 0xc]
push 0x156
push edi
push 0x3dba6
push esi
push 0x65
call dword [sym.imp.ntoskrnl.exe_DbgPrintEx]
add esp, 0x18
jmp 0x388db
push dword [ebp + 8]
push dword [ebp - 0x1c]
push 0x15a
push edi
push 0x3db50
push esi
push 0x65
call dword [sym.imp.ntoskrnl.exe_DbgPrintEx]
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
call fcn.00012505
ret 0xc