Function at 0x4bfa70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x7ef784]
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.004ce360
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x4bfae9
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006391b7
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 0x4bfd17
cmp dword [ebp - 0x20], edi
je 0x4bfd17
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 0x4bfd09
cmp dword [ebp - 0x1c], edi
je 0x4bfd09
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 0x4bfb9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_create_ACL:_error_code__d
jmp 0x4bfd23
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 0x4bfbea
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 [0x7c0568]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.00562650
mov esi, dword [ebp - 0x18]
jmp 0x4bfd37
push dword [ebp - 0x1c]
push 1
push 3
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_AddMandatoryAce]
test eax, eax
jne 0x4bfc26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdobeGCData_folder:_Failed_to_add_mandatory_ACE:_error_code__d
push dword [0x7c0568]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.00562650
mov esi, dword [ebp - 0x18]
jmp 0x4bfd37
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x4bfc5d
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 [0x7c0568]
push 2
push str.AdobeGCServiceUtilityLog
push esi
call fcn.00562650
mov esi, dword [ebp - 0x18]
jmp 0x4bfd37
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x4bfc78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_initialize_security_descriptor:_error_code__d
jmp 0x4bfce4
push 0
push dword [ebp - 0x24]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x4bfc98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_set_DACL:_error_code__d
jmp 0x4bfce4
push 0
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorSacl]
test eax, eax
jne 0x4bfcb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_set_SACL:_error_code__d
jmp 0x4bfce4
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 0x4bfcfd
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 [0x7c0568]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.00562650
add esp, 0x18
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x18]
jmp 0x4bfd3c
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 0x4bfd23
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 [0x7c0568]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.00562650
add esp, 0x18
xor bl, bl
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4bfd4a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x4bfd55
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4bfd63
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4bfd71
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call fcn.00662a80
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006391b7
mov esp, ebp
pop ebp
ret