Function at 0x4259b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
call fcn.00401100
mov edi, eax
add esp, 4
test edi, edi
jne 0x4259e6
mov eax, 0x300
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
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
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x100
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x425b9e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x425b9e
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
movq qword [ebp - 0x38], xmm0
mov esi, 0x30a
movq qword [ebp - 0x30], xmm0
movq qword [ebp - 0x28], xmm0
push 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], 0x101fffff
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x425b51
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x425b37
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x425b15
push 0
push dword [ebp - 0x14]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x425b07
lea eax, [ebp - 0x44]
push eax
push edi
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x425af9
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x18]
jmp 0x425b67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:Error_in_crateing_SLCache_folder:_error_code__d
jmp 0x425b21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:Error_in_crateing_SLCache_folder:_SetSecurityDescriptorDacl:_error_code__d
jmp 0x425b21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:Error_in_crateing_SLCache_folder:_InitializeSecurityDescriptor:_error_code__d
push 2
call fcn.0041f8e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x18]
jmp 0x425b67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:Error_in_crateing_SLCache_folder:_LocalAlloc:_error_code__d
push 2
call fcn.0041f8e0
mov esi, 0x30a
jmp 0x425b64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:Error_in_crateing_SLCache_folder:_SetEntriesInAcl:_error_code__d
push 2
call fcn.0041f8e0
add esp, 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x425b75
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x425b83
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edi
call fcn.005864b7
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:Error_in_AllocateAndInitializeSid:_error_code__d
push 2
call fcn.0041f8e0
push edi
call fcn.005864b7
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
mov eax, 0x30a
pop esi
call fcn.00586d1b
mov esp, ebp
pop ebp
ret