Function at 0x100ae7b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024ccd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.1001a380
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
jne 0x100ae80a
lea eax, [ebp - 0x24]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFileSystemUtils::MyGetTempPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 4
test al, al
jne 0x100ae80a
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x24]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x10321488]
test al, 1
jne 0x100ae832
or eax, 1
push 0
mov dword [0x10321488], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov eax, dword [0x10321488]
add esp, 8
push esi
mov esi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push edi
test al, 2
jne 0x100ae85d
or eax, 2
mov dword [0x10321488], eax
call esi
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [0x10321488]
mov dword [0x10321490], edx
jmp 0x100ae863
mov edx, dword [0x10321490]
test al, 4
jne 0x100ae883
or eax, 4
mov dword [0x10321488], eax
call esi
cdq
mov ecx, 0x1388
idiv ecx
mov eax, edx
mov edx, dword [0x10321490]
jmp 0x100ae888
mov eax, dword [0x1032148c]
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], cx
mov esi, dword [ebp + 0x10]
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0xc]
lea ecx, [eax + 1]
mov dword [0x1032148c], ecx
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100ae8b9
mov eax, dword [edi]
push ecx
push edx
push eax
lea eax, [ebp - 0x3c]
push str._sD._.03d._.03d
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0x14
cmp dword [ebp - 0x2c], 0
je 0x100ae9ab
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x54]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x100ae91b
mov ecx, esi
call fcn.1001a5a0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x54]
call fcn.1001a5a0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100ae92d
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100ae95e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100ae9ab
mov edx, dword [0x10321490]
mov eax, dword [0x1032148c]
inc edx
mov dword [0x10321490], edx
jmp 0x100ae8a3
push 0x10267444
push esi
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::TrimRight_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
mov ecx, dword [esi + 0x10]
add esp, 8
test ecx, ecx
je 0x100ae9a5
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x100ae994
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x100ae987
mov esi, dword [esi]
mov dword [esi + ecx*2], 0x5c
mov byte [ebp + 0xb], 1
jmp 0x100ae9af
push 0x5c
mov byte [ebp + 8], 0
push dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.1001d8e0
mov byte [ebp + 0xb], 1
jmp 0x100ae9af
mov byte [ebp + 0xb], 0
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
lea ecx, [ebp - 0x24]
call fcn.1001a5a0
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc