Function at 0x483f50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x780784]
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 - 0x1c], 0
mov dword [ebp - 0x18], 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 - 0x4c], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x3c], xmm0
call fcn.004948e0
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
test esi, esi
jne 0x483fc9
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
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 0x4841f7
cmp dword [ebp - 0x1c], edi
je 0x4841f7
lea eax, [ebp - 0x18]
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 0x4841e9
cmp dword [ebp - 0x18], edi
je 0x4841e9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x101fffff
push eax
push 1
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 5
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x48407a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_create_ACL:_error_code__d
jmp 0x484203
push dword [ebp - 0x18]
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 0x4840ca
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 [0x76c548]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.0054e4f0
mov esi, dword [ebp - 0x50]
jmp 0x484217
push dword [ebp - 0x18]
push 1
push 3
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_AddMandatoryAce]
test eax, eax
jne 0x484106
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdobeGCData_folder:_Failed_to_add_mandatory_ACE:_error_code__d
push dword [0x76c548]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.0054e4f0
mov esi, dword [ebp - 0x50]
jmp 0x484217
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x48413d
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 [0x76c548]
push 2
push str.AdobeGCServiceUtilityLog
push esi
call fcn.0054e4f0
mov esi, dword [ebp - 0x50]
jmp 0x484217
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x484158
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_initialize_security_descriptor:_error_code__d
jmp 0x4841c4
push 0
push dword [ebp - 0x20]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x484178
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_set_DACL:_error_code__d
jmp 0x4841c4
push 0
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorSacl]
test eax, eax
jne 0x484196
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GC_local_storage:_Failed_to_set_SACL:_error_code__d
jmp 0x4841c4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0xc
push eax
push dword [ebp - 0x50]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4841dd
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 [0x76c548]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.0054e4f0
add esp, 0x18
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x50]
jmp 0x48421c
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 0x484203
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 [0x76c548]
push 2
push str.AdobeGCServiceUtilityLog
push 0
call fcn.0054e4f0
add esp, 0x18
xor bl, bl
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x48422a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x484235
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x484243
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x484251
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call fcn.0061de50
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret