Function at 0x435200
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
call fcn.00442a40
mov edi, eax
add esp, 4
test edi, edi
jne 0x43523b
mov eax, 0x500
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov word [ebp - 0xc], 0x100
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x435413
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x435413
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x2c], eax
mov esi, 0x501
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esi
push eax
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
push eax
push 1
mov dword [ebp - 0x48], 0x101fffff
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x30], 5
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x4353b7
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x435390
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x435361
push 0
push dword [ebp - 0x14]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x435353
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0xc
push eax
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x435345
push esi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x1c]
jmp 0x4353da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_creating_AdobeGCData_folder:_error_code__d
jmp 0x43536d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_creating_AdobeGCData_folder:_SetSecurityDescriptorDacl:_error_code__d
jmp 0x43536d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_creating_AdobeGCData_folder:_InitializeSecurityDescriptor:_error_code__d
push 0
push 4
push str.AGSService
push dword [0x679bb8]
call fcn.00496770
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x1c]
jmp 0x4353da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_creating_AdobeGCData_folder:_LocalAlloc:_error_code__d
push 0
push 4
push str.AGSService
push dword [0x679bb8]
call fcn.00496770
mov esi, 0x501
jmp 0x4353d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_creating_AdobeGCData_folder:_SetEntriesInAcl:_error_code__d
push 0
push 4
push str.AGSService
push dword [0x679bb8]
call fcn.00496770
add esp, 0x18
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4353e8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4353f6
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edi
call fcn.0058d115
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_in_AllocateAndInitializeSid:_error_code__d
push 0
push 4
push str.AGSService
push dword [0x679bb8]
call fcn.00496770
push edi
call fcn.0058d115
mov ecx, dword [ebp - 8]
add esp, 0x1c
xor ecx, ebp
mov eax, 0x501
pop edi
pop esi
call fcn.00562e44
mov esp, ebp
pop ebp
ret 4