Function at 0x4292e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, 0xa000000
push esi
mov esi, ecx
mov dword [ebp - 8], 0x40000000
push edi
mov edi, 0x8000000
mov ecx, 0x20000000
cmp dword [esi + 0x898], 0
cmovne edi, eax
xor eax, eax
cmp byte [ebx + 0x13], al
cmovne eax, ecx
or edi, eax
cmp dword [esi + 0x8e0], 0
je 0x429373
cmp dword [ebx + 4], 0
jl 0x429373
jg 0x429331
cmp dword [ebx], 0x80000
jb 0x429373
mov ecx, dword [esi + 0x6a4]
xor eax, eax
mov edx, dword [esi + 0x6a0]
and ecx, 0x40
or eax, ecx
jne 0x429352
test dword [esi + 0x8dc], 0x2000
jne 0x429373
and edx, 0x200000
or edx, 0
je 0x42936c
test byte [esi + 0x8dc], 0x10
je 0x42936c
cmp dword [ebx + 8], 3
jne 0x429373
mov ecx, 1
jmp 0x429375
xor ecx, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
cmp eax, 4
je 0x429385
cmp eax, 9
jne 0x4293ae
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x60], 0
je 0x4293ae
cmp dword [eax + 0x6c], 0
je 0x4293ae
cmp dword [esi + 0x890], 0
je 0x4293ae
mov edx, dword [esi + 0x8a4]
or edx, 0x400c0000
mov dword [ebp - 8], edx
jmp 0x4293b3
mov edx, 0x40000000
mov eax, dword [esi + 0x8e0]
or eax, edi
test ecx, ecx
mov cl, byte [ebx + 0x10]
cmove eax, edi
mov byte [ebp + 0x13], cl
mov ecx, eax
or ecx, 0x200000
cmp byte [ebp + 0x13], 0
cmove ecx, eax
cmp dword [esi + 0xc], 0
mov eax, ecx
mov dword [ebp - 4], eax
je 0x429403
test byte [esi + 8], 4
mov dword [ebp - 4], eax
je 0x429403
cmp byte [ebx + 0x12], 0
mov dword [ebp - 4], eax
jne 0x429403
cmp byte [ebp + 0x13], 0
mov dword [ebp - 4], eax
jne 0x429403
or eax, 0x4000000
mov dword [ebp - 4], eax
push 0x100
push ecx
push eax
push 2
push ecx
mov ecx, dword [esi + 0x844]
push 3
call fcn.0045cff0
mov edi, eax
add esp, 0x18
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp edi, 0xffffffff
jne 0x429519
cmp dword [esi + 0x7a0], 0
jne 0x429443
cmp dword [esi + 0x890], 0
je 0x4294ce
cmp dword [esi + 0x890], 0
je 0x42949e
cmp byte [ebx + 0x12], 0
je 0x429472
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x429472
mov ecx, dword [esi + 0x844]
cmp word [ecx + eax*2], 0x3a
jne 0x429472
xor edx, edx
mov byte [ebp + 0x13], 1
mov word [ecx + eax*2], dx
jmp 0x429476
mov byte [ebp + 0x13], 0
mov ecx, dword [esi + 0x844]
mov edx, 1
call fcn.0045ca10
cmp byte [ebp + 0x13], 0
je 0x42949e
mov ecx, dword [ebx + 0xc]
mov edx, 0x3a
mov eax, dword [esi + 0x844]
mov word [eax + ecx*2], dx
mov eax, dword [esi + 0x7a0]
mov edx, dword [ebp - 8]
or eax, 1
push eax
push ecx
push dword [ebp - 4]
push 2
push ecx
mov ecx, dword [esi + 0x844]
push 3
call fcn.0045cff0
mov edi, eax
add esp, 0x18
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp edi, 0xffffffff
jne 0x429519
mov dl, byte [ebx + 0x12]
test dl, dl
je 0x4294e5
mov eax, dword [esi + 0x6a0]
and eax, 0x40000000
or eax, 0
je 0x42950e
mov ecx, dword [esi + 0x85c]
test dl, dl
mov eax, dword [esi + 0x844]
push 0
lea eax, [eax + ecx*2]
mov ecx, str.CreateFile
push eax
mov eax, str.CreateFile_st_
cmove eax, ecx
mov ecx, esi
push eax
call fcn.0041a620
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebx + 0x10], 0
je 0x42957a
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 8]
push 0
push edx
push 0
mov ecx, dword [eax + 0x74]
mov eax, dword [esi + 0xdc0]
push 0
push ecx
mov dword [ebp + 8], ecx
push dword [eax + 0x1c]
push 0x900a4
push edi
call dword [sym.imp.KERNEL30.dll_DeviceIoControl]
test eax, eax
jne 0x429603
mov ecx, dword [esi + 0x85c]
push eax
mov eax, dword [esi + 0x844]
lea eax, [eax + ecx*2]
mov ecx, esi
push eax
push str.WriteReparsePoint_File_
call fcn.0041a620
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0xc], 0
je 0x4295b3
mov ecx, dword [esi + 0x8e0]
mov eax, dword [ebp - 4]
test eax, ecx
jne 0x4295b3
push 0
or ecx, eax
push ecx
push 2
push 0
push 3
push dword [ebp - 8]
push dword [esi + 0x844]
call dword [sym.imp.KERNEL30.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4295b3
mov eax, dword [ebp + 8]
mov edi, dword [eax]
test byte [esi + 0x8dc], 0x10
je 0x4295c9
sub esp, 0x20
mov ecx, edi
call fcn.0045fc00
add esp, 0x20
push dword [ebp - 4]
mov eax, dword [ebp + 0xc]
push ecx
push dword [ebp - 8]
mov ecx, esi
push ebx
push eax
push edi
call fcn.0042a510
cmp dword [ebp - 0xc], 0
mov esi, eax
je 0x429608
mov eax, dword [ebp + 8]
cmp edi, dword [eax]
je 0x429608
cmp edi, 0xffffffff
je 0x429608
push edi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc