Function at 0x432050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d322f
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.0042fe20
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0
call fcn.004312f0
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.00431660
sub esp, 0xc
lea ecx, [ebp - 0xe4]
call fcn.00431490
sub esp, 8
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0xe4]
push eax
call fcn.00432910
mov ebx, dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
test edi, edi
je 0x43213d
cmp byte [ebp - 0x8c], 0
je 0x43213d
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
setne al
test al, al
je 0x43213d
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.004305a0
test al, al
jne 0x4321b1
xor esi, esi
jmp 0x4322fb
test edi, edi
je 0x4323b6
push 0
lea ecx, [ebp - 0x124]
call fcn.00430390
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 0x4323b6
lea ecx, [ebp - 0x74]
call fcn.0042fe20
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.00431720
push str.Everyone
lea ecx, [ebp - 0x74]
call fcn.004300e0
test al, al
je 0x432275
push ecx
push 0xf003f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x104]
call fcn.004305a0
push ecx
push str.System
lea ecx, [ebp - 0x74]
call fcn.004300e0
test al, al
je 0x43229c
push ecx
push 0xf003f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x104]
call fcn.004305a0
push ecx
push str.Administrators
lea ecx, [ebp - 0x74]
call fcn.004300e0
test al, al
je 0x4322c3
push ecx
push 0xf003f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x104]
call fcn.004305a0
push 0
lea ecx, [ebp - 0x104]
call fcn.00430390
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.00430530
lea ecx, [ebp - 0x74]
call fcn.0042fef0
mov esi, 1
lea ecx, [ebp - 0x124]
call fcn.00430530
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], vtable.ATL::CAccessToken.0
test ecx, ecx
je 0x43233c
test eax, eax
je 0x432332
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 0x432351
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
push 4
push dword [ebp - 0xd8]
call fcn.004a5035
push dword [ebp - 0x12c]
mov dword [ebp - 0xd8], 0
mov dword [ebp - method.ATL::CTokenGroups.virtual_0], vtable.ATL::CTokenGroups.0
call fcn.004ae6e1
add esp, 0xc
lea ecx, [ebp - 0x15c]
call fcn.004328c0
lea ecx, [ebp - 0xd4]
call fcn.0042fef0
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.004a474b
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4322f6
cmp eax, 3
je 0x4322f6
xor esi, esi
jmp 0x4322fb