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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ba81
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x10097048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x23c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea edi, [esi + 0x18]
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x100092cb
test eax, eax
jne 0x100092df
push 0x27
push str.C:WorkExcel_DNAExcelDnaSourceExcelDna.HostTempDir.cpp
push str.__dwRetVal___MAX_PATH__dwRetVal__0____Failure:_GetTempPath_
call fcn.10041deb
add esp, 0xc
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x21c], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009306
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.10008770
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
push dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.1000c030
add esp, 0xc
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
cmp edi, eax
je 0x10009390
mov ecx, edi
call fcn.100015ef
mov eax, dword [ebp - 0x234]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
nop word [eax + eax]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.100015ef
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.100015ef
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100093b8
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, esi
call fcn.1000a4b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
je 0x100093f8
cmp eax, 0x720
je 0x100093f8
push 0x15
push str.C:WorkExcel_DNAExcelDnaSourceExcelDna.HostTempDir.cpp
push str._s__RPC_S_OK__s__RPC_S_UUID_LOCAL_ONLY____Failure:_UuidCreate_
call fcn.10041deb
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
je 0x10009424
push 0x19
push str.C:WorkExcel_DNAExcelDnaSourceExcelDna.HostTempDir.cpp
push str.s__RPC_S_OK___Failure:_UuidToString_
call fcn.10041deb
add esp, 0xc
mov edx, dword [ebp - 0x234]
mov ecx, edx
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x23c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009453
sub ecx, dword [ebp - 0x23c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x254]
call fcn.10008770
lea eax, [ebp - 0x234]
mov dword [ebp - 0x238], 1
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x270]
push edi
push eax
call fcn.1000c030
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 5
cmp esi, edi
je 0x100094e0
mov ecx, esi
call fcn.100015ef
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
nop word [eax + eax]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x270]
call fcn.100015ef
mov eax, 1
mov dword [ebp - 0x238], eax
and eax, 0xfffffffe
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.100015ef
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000951c
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000953d
push 0x30
push str.C:WorkExcel_DNAExcelDnaSourceExcelDna.HostTempDir.cpp
push str.b___Failure:_CreateDirectory_
call fcn.10041deb
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100398db
mov esp, ebp
pop ebp
ret 4