Function at 0x7c814289
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
cmp dword [esi], edi
jne 0x7c8160e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push 0x60
push 1
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x20], 0x18
push esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
cmp ebx, edi
jge 0x7c8160e8
cmp ebx, 0xc0000034
jne 0x7c845f39
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
lea eax, [esi + 8]
cmp dword [eax], edi
mov dword [ebp + 0x10], eax
je 0x7c829fb7
push 5
push 0x18
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ebx, eax
cmp ebx, edi
jl 0x7c845f9e
cmp dword [ebp - 0x2c], edi
jl 0x7c816129
jg 0x7c829fda
cmp dword [ebp - 0x30], 0xffffffff
ja 0x7c829fda
mov ecx, dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov byte [eax + 1], 1
mov byte [eax], 1
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
mov byte [eax + 2], 3
mov ecx, dword [ecx]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
xor ebx, ebx
jmp 0x7c8142ed
push dword [esi]
push 0x8000000
push 2
push edi
push edi
push 4
push eax
call dword [sym.imp.ntdll.dll_NtCreateSection]
mov ebx, eax
cmp ebx, edi
jge 0x7c8160f6
jmp 0x7c845f92
or dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], edi
jmp 0x7c816129
test al, 0x69
push es
ljmp 0x3adb
and esi, dword [ebp + 0x3adb989d]
push ecx
dec ebx
imul ebx, dword [esi], 0xffffff88
cdq
jnp 0x7c845f82
inc ebp
nop
xchg edi, eax
jg 0x7c845f65
lodsd eax, dword [esi]
mov ebp, 0x177aebba
call 0xb8535121
por mm3, qword [esi]
push ds
add dword [ebp + 0x383e2258], ebp
jecxz 0x7c845f18
invalid
fst dword [ecx + 0x6e]
mov word [edx + 0x4c2786af], ds
imul ebp, dword [edi - 0x6ec445d2], 0x58
mov edx, 0x1658913b
xchg ecx, eax
pop eax
push ss
ror byte [edi], cl
push ds
xchg esp, eax
div dword [edi + 0x7f]
insb byte es:[edi], dx
sub al, 0xd8
aas
clc
mov esi, 0x70d780e1
add byte [0x74d5d15f], ch
cdq
adc ebx, dword [eax - 0x2ddfc33a]
jb 0x7c845efb
cmp al, 0x20
sal byte [edx - 0x6f], cl
sub al, 0xc6
jno 0x7c845f1f
ja 0x7c845fb8
stosd dword es:[edi], eax
lcall 0xf679, 0x1bfd0fbc
push ss
jecxz 0x7c845eff
nop
xlatb
mov dl, 3
sub byte [eax], ch
retf
invalid
test byte ss:[ebx + 0x12bbe157], bh
jl 0x7c845f92
mov ebp, 0xda2db1a8
mov esi, 0xe10dde90
mov ebx, 0x7ba555ae
lcall 0xbf11, 0x504cb716
xor ch, byte [edi + 0x579f0562]
sub eax, 0xde90beda
or eax, 0x55aebbe1
movsd dword es:[edi], dword [esi]
jnp 0x7c845f45
push ss
mov bh, 0x4c
push eax
adc dword [edi + 0x562af32], edi
lahf
push edi
je 0x7c84602e
jne 0x7c845f47
lea ecx, [edx]
int 0x9d
or cl, ch
popfd
salc
sub eax, dword [esi - 0x79]
mov ch, 0x1f
adc bh, al
shl byte [esp + ebx*2 - 0x1f], 0xd2
test dword [esi - 0x5f], eax
std
dec esi
mov bh, 0xbe
std
inc eax
call 0x42fb782c
in al, 0xae
invalid
mov al, byte [0x42bffead]
mov word [ecx], gs
sti
or ebp, dword [ecx]
cmp byte [ecx + 0x3e], 0xf6
iretd