Function at 0x431e00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d43bf
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0xd4]
call fcn.0042fbd0
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0
call fcn.004310a0
mov dword [ebp - 0xe4], vtable.ATL::CAccessToken.0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
push ecx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.00431410
sub esp, 0xc
lea ecx, [ebp - 0xe4]
call fcn.00431240
sub esp, 8
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0xe4]
push eax
call fcn.004326c0
mov ebx, dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
test edi, edi
je 0x431eed
cmp byte [ebp - 0x8c], 0
je 0x431eed
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
setne al
test al, al
je 0x431eed
push 0
push 0
push 0
lea eax, [ebp - 0xd0]
push eax
push 1
push 4
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x11c], 0
mov dword [ebp - 0x118], 2
mov dword [ebp - method.ATL::CDacl.virtual_0], vtable.ATL::CDacl.0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
push ecx
push 0xf003f
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x124]
call fcn.00430350
test al, al
jne 0x431f61
xor esi, esi
jmp 0x4320ab
test edi, edi
je 0x432166
push 0
lea ecx, [ebp - 0x124]
call fcn.00430140
push eax
push 0
push 0
push 4
push 4
push edi
call ebx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
test al, al
je 0x432166
lea ecx, [ebp - 0x74]
call fcn.0042fbd0
mov dword [ebp - 0x100], 0
mov byte [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 2
mov dword [ebp - method.ATL::CDacl.virtual_0], vtable.ATL::CDacl.0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.004314d0
push str.Everyone
lea ecx, [ebp - 0x74]
call fcn.0042fe90
test al, al
je 0x432025
push ecx
push 0xf003f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x104]
call fcn.00430350
push ecx
push str.System
lea ecx, [ebp - 0x74]
call fcn.0042fe90
test al, al
je 0x43204c
push ecx
push 0xf003f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x104]
call fcn.00430350
push ecx
push str.Administrators
lea ecx, [ebp - 0x74]
call fcn.0042fe90
test al, al
je 0x432073
push ecx
push 0xf003f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x104]
call fcn.00430350
push 0
lea ecx, [ebp - 0x104]
call fcn.00430140
push eax
push 0
push 0
push 4
push 4
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x104]
call fcn.004302e0
lea ecx, [ebp - 0x74]
call fcn.0042fca0
mov esi, 1
lea ecx, [ebp - 0x124]
call fcn.004302e0
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], vtable.ATL::CAccessToken.0
test ecx, ecx
je 0x4320ec
test eax, eax
je 0x4320e2
push ecx
push eax
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xdc], 0
test eax, eax
je 0x432101
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
push 4
push dword [ebp - 0xd8]
call fcn.004a579e
push dword [ebp - 0x12c]
mov dword [ebp - 0xd8], 0
mov dword [ebp - method.ATL::CTokenGroups.virtual_0], vtable.ATL::CTokenGroups.0
call fcn.004af691
add esp, 0xc
lea ecx, [ebp - 0x15c]
call fcn.00432670
lea ecx, [ebp - 0xd4]
call fcn.0042fca0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4320a6
cmp eax, 3
je 0x4320a6
xor esi, esi
jmp 0x4320ab