Function at 0x4c11d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x7f3784]
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.004cfbd0
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x4c1249
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063bad7
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 0x4c1477
cmp dword [ebp - 0x20], edi
je 0x4c1477
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 0x4c1469
cmp dword [ebp - 0x1c], edi
je 0x4c1469
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 0x4c12fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_create_ACL:_error_code__d
jmp 0x4c1483
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 0x4c134a
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 [0x7c4568]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.005645a0
mov esi, dword [ebp - 0x18]
jmp 0x4c1497
push dword [ebp - 0x1c]
push 1
push 3
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_AddMandatoryAce]
test eax, eax
jne 0x4c1386
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdobeGCData_folder:_Failed_to_add_mandatory_ACE:_error_code__d
push dword [0x7c4568]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.005645a0
mov esi, dword [ebp - 0x18]
jmp 0x4c1497
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x4c13bd
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 [0x7c4568]
push 2
push str.AdobeGCServiceUtilityLog
push esi
call fcn.005645a0
mov esi, dword [ebp - 0x18]
jmp 0x4c1497
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x4c13d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_initialize_security_descriptor:_error_code__d
jmp 0x4c1444
push 0
push dword [ebp - 0x24]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x4c13f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_set_DACL:_error_code__d
jmp 0x4c1444
push 0
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorSacl]
test eax, eax
jne 0x4c1416
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_set_SACL:_error_code__d
jmp 0x4c1444
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 0x4c145d
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 [0x7c4568]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.005645a0
add esp, 0x18
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x18]
jmp 0x4c149c
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 0x4c1483
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 [0x7c4568]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.005645a0
add esp, 0x18
xor bl, bl
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4c14aa
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x4c14b5
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4c14c3
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c14d1
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call fcn.00665390
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0063bad7
mov esp, ebp
pop ebp
ret