Function at 0x462230
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x738844]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
push eax
mov bl, 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor edi, edi
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x100
mov dword [ebp - 0x14], 0
mov word [ebp - 0x10], 0x1000
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.0046dbc0
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x4622a9
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d2f07
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4624d7
cmp dword [ebp - 0x20], edi
je 0x4624d7
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1000
push 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4624c9
cmp dword [ebp - 0x1c], edi
je 0x4624c9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x101fffff
push eax
push 1
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 5
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x46235a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_create_ACL:_error_code__d
jmp 0x4624e3
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
lea esi, [eax + 0x13]
and esi, 0xfffffffc
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 2
mov edi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x4623aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_initialize_ACL_for_SACL:_error_code__d
push dword [0x720650]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.004ffb60
mov esi, dword [ebp - 0x18]
jmp 0x4624f7
push dword [ebp - 0x1c]
push 1
push 3
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_AddMandatoryAce]
test eax, eax
jne 0x4623e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdobeGCData_folder:_Failed_to_add_mandatory_ACE:_error_code__d
push dword [0x720650]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.004ffb60
mov esi, dword [ebp - 0x18]
jmp 0x4624f7
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x46241d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_allocate_memory_for_security_descriptor:_error_code__d
push dword [0x720650]
push 2
push str.AdobeGCServiceUtilityLog
push esi
call fcn.004ffb60
mov esi, dword [ebp - 0x18]
jmp 0x4624f7
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x462438
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_initialize_security_descriptor:_error_code__d
jmp 0x4624a4
push 0
push dword [ebp - 0x24]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x462458
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_set_DACL:_error_code__d
jmp 0x4624a4
push 0
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorSacl]
test eax, eax
jne 0x462476
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_set_SACL:_error_code__d
jmp 0x4624a4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0xc
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4624bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_create_GC_local_storage:_error_code__d
push dword [0x720650]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.004ffb60
add esp, 0x18
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x18]
jmp 0x4624fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Error_in_AllocateAndInitializeSid_for_SECURITY_MANDATORY_LOW_RID:_error_code__d
jmp 0x4624e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Error_in_AllocateAndInitializeSid_for_SECURITY_WORLD_RID:_error_code__d
push dword [0x720650]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.004ffb60
add esp, 0x18
xor bl, bl
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46250a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x462515
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x462523
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x462531
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call fcn.005fd500
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005d2f07
mov esp, ebp
pop ebp
ret