Function at 0x43ae40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x492ff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
xor ebx, ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x70]
push ecx
mov dword [esi], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], 1
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bl
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], 5
call edi
test eax, eax
jne 0x43afa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call fcn.0043a9f0
cmp dword [eax + 0x1c], 3
jl 0x43af7a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push str.._sourcesHelpers.cpp
call fcn.00413880
mov dword [esp + 0xd0], ebx
push 0x8f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push str.CreateSecureFolder
call fcn.00413880
mov byte [esp + 0xf0], 1
mov ecx, dword [esi]
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x4b]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], eax
push ecx
lea edx, [esp + 0x60]
lea eax, [esp + 0x58]
push 3
mov byte [esp + 0x53], bl
mov dword [esp + 0x64], str.AllocateAndInitializeSid_failed_for_the_Everyone_group:
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_unsigned_long_int__class_Nvidia::Logging::Chain_char_const_____57___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
mov dword [esp + 0x58], eax
call fcn.0043a9f0
mov dword [esp + 0xf8], 0xffffffff
mov ecx, eax
call fcn.0043a890
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x43af92
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor al, al
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x68]
push ecx
call edi
test eax, eax
jne 0x43b0b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call fcn.0043a9f0
cmp dword [eax + 0x1c], 3
jl 0x43b079
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.._sourcesHelpers.cpp
call fcn.00413880
mov dword [esp + 0xd0], 2
push 0x99
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CreateSecureFolder
call fcn.00413880
mov byte [esp + 0xf0], 3
mov ecx, dword [esi]
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x4b]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x50], eax
push ecx
lea edx, [esp + 0x50]
lea eax, [esp + 0x58]
push 3
mov byte [esp + 0x53], bl
mov dword [esp + 0x54], str.AllocateAndInitializeSid_failed_for_the_Administrators_group:
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_unsigned_long_int__class_Nvidia::Logging::Chain_char_const_____63___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
mov dword [esp + 0x68], eax
call fcn.0043a9f0
mov dword [esp + 0xf8], 0xffffffff
mov ecx, eax
call fcn.0043a890
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp eax, ebx
je 0x43b093
push eax
call esi
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x43b09e
push eax
call esi
xor al, al
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x40
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.00472830
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add esp, 0xc
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x50]
push ecx
mov eax, 2
mov dword [esp + 0xa8], edx
push ebx
lea edx, [esp + 0x70]
push edx
push eax
mov dword [esp + 0x78], SysReAllocStringLen
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 5
mov dword [esp + 0x98], 0x10000000
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], eax
mov byte [esp + 0x1f], bl
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x43b44a
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x43b398
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x43b331
mov eax, dword [esp + 0x50]
push ebx
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x43b2c7
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x5c], 0xc
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43b25d
call fcn.0043a9f0
cmp dword [eax + 0x1c], 6
jl 0x43b253
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.._sourcesHelpers.cpp
call fcn.00413880
mov dword [esp + 0xd0], 4
push 0xc4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CreateSecureFolder
call fcn.00413880
mov byte [esp + 0xf0], 5
lea edx, [ebp + 8]
mov dword [esp + 0x54], edx
lea eax, [esp + 0x4b]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], ecx
push edx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x58]
push 6
mov byte [esp + 0x53], bl
mov dword [esp + 0x54], str.Secured_strong_ACLs_on:
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_wchar_t_const__const_const___class_Nvidia::Logging::Chain_char_const_____25___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
mov dword [esp + 0x68], ecx
call fcn.0043a9f0
mov dword [esp + 0xf8], 0xffffffff
mov ecx, eax
call fcn.0043a890
mov byte [esp + 0xf], 1
jmp 0x43b505
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call fcn.0043a9f0
cmp dword [eax + 0x1c], 3
jl 0x43b505
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.._sourcesHelpers.cpp
call fcn.00413880
mov dword [esp + 0xd0], 6
push 0xca
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CreateSecureFolder
call fcn.00413880
mov byte [esp + 0xf0], 7
mov dword [esp + 0x4c], str.CreateDirectory_failed:
mov dword [esp + 0x5c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_unsigned_long_int__class_Nvidia::Logging::Chain_char_const_____25___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
jmp 0x43b3fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call fcn.0043a9f0
cmp dword [eax + 0x1c], 3
jl 0x43b505
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.._sourcesHelpers.cpp
call fcn.00413880
mov dword [esp + 0xd0], 8
push 0xd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CreateSecureFolder
call fcn.00413880
mov byte [esp + 0xf0], 9
mov dword [esp + 0x4c], str.SetSecurityDescriptorDacl_failed_with_error:
mov dword [esp + 0x5c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_unsigned_long_int__class_Nvidia::Logging::Chain_char_const_____46___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
jmp 0x43b3fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call fcn.0043a9f0
cmp dword [eax + 0x1c], 3
jl 0x43b505
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.._sourcesHelpers.cpp
call fcn.00413880
mov dword [esp + 0xd0], 0xa
push 0xd6
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CreateSecureFolder
call fcn.00413880
mov byte [esp + 0xf0], 0xb
mov dword [esp + 0x4c], str.InitializeSecurityDescriptor_failed_with_error:
mov dword [esp + 0x5c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_unsigned_long_int__class_Nvidia::Logging::Chain_char_const_____49___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
jmp 0x43b3fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call fcn.0043a9f0
cmp dword [eax + 0x1c], 3
jl 0x43b505
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.._sourcesHelpers.cpp
call fcn.00413880
mov dword [esp + 0xd0], 0xc
push 0xdc
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CreateSecureFolder
call fcn.00413880
mov byte [esp + 0xf0], 0xd
mov dword [esp + 0x4c], str.LocalAlloc_failed_with_error:
mov dword [esp + 0x5c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_unsigned_long_int__class_Nvidia::Logging::Chain_char_const_____31___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
mov edx, dword [esi]
mov dword [esp + 0x54], edx
lea eax, [esp + 0x4a]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], ecx
push edx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x58]
push 3
mov dword [esp + 0x60], eax
mov byte [esp + 0x52], bl
mov dword [esp + 0x68], ecx
call fcn.0043a9f0
mov dword [esp + 0xf8], 0xffffffff
mov ecx, eax
call fcn.0043a890
jmp 0x43b505
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call fcn.0043a9f0
cmp dword [eax + 0x1c], 3
jl 0x43b503
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.._sourcesHelpers.cpp
call fcn.00413880
mov dword [esp + 0xd0], 0xe
push 0xe2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.CreateSecureFolder
call fcn.00413880
mov byte [esp + 0xf0], 0xf
mov edx, dword [esi]
mov dword [esp + 0x54], edx
lea eax, [esp + 0x4a]
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x68]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x50], ecx
push edx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x58]
push 3
mov byte [esp + 0x52], bl
mov dword [esp + 0x54], str.SetEntriesInAcl_failed_with_error:
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_unsigned_long_int__class_Nvidia::Logging::Chain_char_const_____36___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType____.0
mov dword [esp + 0x74], ecx
call fcn.0043a9f0
mov dword [esp + 0xf8], 0xffffffff
mov ecx, eax
call fcn.0043a890
mov edi, dword [esp + 0x28]
jmp 0x43b505
mov edi, ebx
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp eax, ebx
je 0x43b516
push eax
call esi
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x43b521
push eax
call esi
mov eax, dword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, ebx
je 0x43b532
push eax
call esi
cmp edi, ebx
je 0x43b539
push edi
call esi
mov ecx, dword [esp + 0xac]
mov al, byte [esp + 0xf]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret