Function at 0x443560
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x443568
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.rtl160.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x4436f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov edx, dword [edx]
call sub.rtl160.bpl__System__UStrEqual_qqrv
jne 0x4435bc
mov edx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov edx, dword [edx]
mov ecx, 3
mov eax, dword [ebp - 4]
call fcn.00443394
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System_Sysutils_ExcludeTrailingPathDelimiter_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call sub.rtl160.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call sub.rtl160.bpl__System_Sysutils_ExcludeTrailingPathDelimiter_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call sub.rtl160.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrLen_qqrx20System_UnicodeString
cmp eax, 3
jl 0x4436dd
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov edx, eax
lea eax, [ebp - 0x18]
call sub.rtl160.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov eax, dword [ebp - 0x18]
mov dl, 1
call sub.rtl160.bpl__System_Sysutils_DirectoryExists_qqrx20System_UnicodeStringo
test al, al
jne 0x4436dd
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System_Sysutils_ExtractFilePath_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrEqual_qqrv
je 0x4436dd
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call sub.rtl160.bpl__System_Sysutils_ExtractFilePath_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System_Sysutils_ExtractFilePath_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x24]
pop edx
call fcn.00443560
push 0
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov esi, eax
push esi
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x443695
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x443695
call sub.kernel32.dll_GetLastError_1
mov edx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov edx, dword [edx]
mov ecx, eax
mov eax, dword [ebp - 4]
call fcn.00443394
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call sub.rtl160.bpl__System_Sysutils_ExcludeTrailingPathDelimiter_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
call sub.rtl160.bpl__System_Sysutils_ExtractFileName_qqrx20System_UnicodeString
xor edx, edx
mov eax, dword [ebp - 0xc]
call sub.rtl160.bpl__System_Sysutils_StrToIntDef_qqrx20System_UnicodeStringi
mov ebx, eax
test ebx, ebx
jle 0x4436dd
push ebx
push esi
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x4436dd
call sub.kernel32.dll_GetLastError_1
mov edx, dword [sym.imp.rtl160.bpl__System_Sysutils_EmptyStr]
mov edx, dword [edx]
mov ecx, eax
mov eax, dword [ebp - 4]
call fcn.00443394
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4436ff
lea eax, [ebp - 0x28]
mov edx, 0xa
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
ret