Function at 0x432270
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffccc
push ebx
xor edx, edx
mov dword [ebp - 0x334], edx
mov dword [ebp - 0x328], edx
mov dword [ebp - 0x32c], edx
mov dword [ebp - 0x330], edx
mov dword [ebp - 0x324], edx
mov dword [ebp - 0x320], edx
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x318], edx
mov dword [ebp - 0x31c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4324fa
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x4323a6
lea eax, [ebp - 0x20a]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
test eax, eax
jbe 0x43239a
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call sub.rtl160.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
cmp dword [ebx], 0
je 0x4324b1
push 0
mov eax, dword [ebx]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CreateDirectoryW
mov eax, dword [ebx]
call sub.rtl160.bpl__System__UStrLen_qqrx20System_UnicodeString
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x432332
mov eax, ebx
mov edx, 0x432514
call sub.rtl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
push dword [ebx]
lea edx, [ebp - 0x31c]
xor eax, eax
call fcn.00431e40
mov eax, dword [ebp - 0x31c]
lea edx, [ebp - 0x318]
call fcn.00431ef4
mov eax, dword [ebp - 0x318]
lea edx, [ebp - 0x314]
call fcn.0043206c
push dword [ebp - 0x314]
push 0x432524
mov eax, ebx
mov edx, 3
call sub.rtl160.bpl__System__UStrCatN_qqrv
push 0
mov eax, dword [ebx]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CreateDirectoryW
mov eax, ebx
mov edx, 0x432514
call sub.rtl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x4324b1
mov eax, ebx
call sub.rtl160.bpl__System__UStrClr_qqrpv
jmp 0x4324b1
lea eax, [ebp - 0x30f]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x4324aa
lea eax, [ebp - 0x320]
lea edx, [ebp - 0x30f]
mov ecx, 0x105
push 0
call sub.rtl160.bpl__System__LStrFromArray_qqrr27System__AnsiStringT_us_i0__pcius
mov edx, dword [ebp - 0x320]
mov eax, ebx
call sub.rtl160.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
cmp dword [ebx], 0
je 0x4324b1
push 0
lea eax, [ebp - 0x324]
mov edx, dword [ebx]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x324]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebx]
call sub.rtl160.bpl__System__UStrLen_qqrx20System_UnicodeString
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x43242f
mov eax, ebx
mov edx, 0x432514
call sub.rtl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
push dword [ebx]
lea edx, [ebp - 0x330]
xor eax, eax
call fcn.00431e40
mov eax, dword [ebp - 0x330]
lea edx, [ebp - 0x32c]
call fcn.00431ef4
mov eax, dword [ebp - 0x32c]
lea edx, [ebp - 0x328]
call fcn.0043206c
push dword [ebp - 0x328]
push 0x432524
mov eax, ebx
mov edx, 3
call sub.rtl160.bpl__System__UStrCatN_qqrv
push 0
lea eax, [ebp - 0x334]
mov edx, dword [ebx]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x334]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_CreateDirectoryA
mov eax, ebx
mov edx, 0x432514
call sub.rtl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x4324b1
mov eax, ebx
call sub.rtl160.bpl__System__UStrClr_qqrpv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432501
lea eax, [ebp - 0x334]
call sub.rtl160.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x330]
mov edx, 3
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x324]
mov edx, 2
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x31c]
mov edx, 3
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
ret