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

Disassembly:
push 0x25c
mov eax, 0x10113ae2
call fcn.1006051e
mov edi, ecx
test edi, edi
jne 0x1006a9f8
xor al, al
jmp 0x1006ade6
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x21c]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, 0x104
test eax, eax
je 0x1006aa43
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1006aa57
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1006aa57
push ecx
push 0x10133a0c
push ecx
mov edx, esi
lea ecx, [ebp - 0x21c]
call fcn.10060ad8
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x250]
call fcn.100026e3
push ecx
push edi
push ecx
mov edx, esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x21c]
call fcn.10060ad8
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x21c]
push 0x10133a14
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x258]
call fcn.100026e3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 0x258]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.10008889
push 0x5c
pop esi
cmp ax, si
jne 0x1006ab06
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x258]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.10004d45
push eax
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.100052b3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x254]
lea ecx, [ecx - 0x10]
call fcn.10002a86
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x250]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.10008889
cmp ax, si
jne 0x1006ab60
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x250]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.10004d45
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 3
call fcn.100052b3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x254]
add ecx, 0xfffffff0
call fcn.10002a86
push ecx
push 7
push 0x10133a20
push 5
mov edx, 0x10134ee0
lea ecx, [ebp - 0x234]
call fcn.1008d148
add esp, 0x10
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x1006ab89
mov eax, dword [eax]
push ecx
push ecx
mov edx, eax
lea ecx, [ebp - 0x260]
call fcn.10010040
pop ecx
pop ecx
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.100054c2
push 0x1013588c
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x268]
call fcn.10001f50
pop ecx
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x254]
call fcn.1000816c
pop ecx
mov byte [ebp - 4], 8
mov edx, dword [eax]
mov ecx, dword [ebp - 0x258]
call fcn.1006adec
mov ecx, dword [ebp - 0x254]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.10002a86
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.10002a86
test esi, esi
je 0x1006adba
push ecx
push dword [ebp - 0x250]
mov edx, 0x104
push ecx
lea ecx, [ebp - 0x21c]
call fcn.10060ad8
push dword [ebp - 0x260]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call esi
push ecx
push 7
push 0x10133a20
push 0x11
mov edx, str.H8dMG
lea ecx, [ebp - 0x24c]
call fcn.1008d148
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x1006ac66
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push eax
call esi
lea ecx, [ebp - 0x24c]
call fcn.100054c2
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.100026e3
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x25c]
call fcn.10008840
test eax, eax
je 0x1006adac
call fcn.100029f0
push eax
lea ecx, [ebp - 0x254]
call fcn.1000281b
push ecx
push 7
mov esi, 0x10133a20
mov byte [ebp - 4], 0xa
push esi
push 5
mov edx, 0x10134ea0
lea ecx, [ebp - 0x24c]
call fcn.1008d148
add esp, 0x10
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x1006ace3
mov eax, dword [eax]
push ecx
push ecx
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.10010040
pop ecx
pop ecx
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xd
call fcn.100054c2
push ecx
push 7
push esi
push 9
mov edx, 0x10134e80
lea ecx, [ebp - 0x234]
call fcn.1008d148
add esp, 0x10
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x1006ad28
mov eax, dword [eax]
push dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.10008c51
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x234]
call fcn.100054c2
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x21c]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x25c]
lea edx, [ebp - 0x21c]
push ebx
call fcn.100077cc
test eax, eax
jne 0x1006ad7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1006ad96
push ecx
lea eax, [ebp - 0x21c]
mov edx, 0x104
push eax
push ecx
mov ecx, edi
call fcn.10060ad8
mov bl, 1
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.10002a86
lea ecx, [esi - 0x10]
call fcn.10002a86
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.10002a86
mov ecx, dword [ebp - 0x260]
lea ecx, [ecx - 0x10]
call fcn.10002a86
mov ecx, dword [ebp - 0x258]
add ecx, 0xfffffff0
call fcn.10002a86
mov ecx, dword [ebp - 0x250]
add ecx, 0xfffffff0
call fcn.10002a86
mov al, bl
call fcn.100604c8
ret