Function at 0x1006ba40
Capabilities:
Get common file path
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x1009bc4e
mov eax, dword fs:[0]
push eax
sub esp, 0x5d8
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x5d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x5ec]
mov dword fs:[0], eax
mov esi, dword [esp + 0x5fc]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x5f4], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
call fcn.1006ae80
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
push 0x2b0
lea eax, [esp + 0x28]
push ebx
mov edi, 1
push eax
mov dword [esp + 0x600], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ebx
call sub.MSVCR80.dll_memset
push 0x208
lea ecx, [esp + 0x3ee]
push ebx
push ecx
mov word [esp + 0x3f4], bx
call sub.MSVCR80.dll_memset
push 0x104
lea edx, [esp + 0x2f1]
push ebx
push edx
mov byte [esp + 0x2f8], bl
call sub.MSVCR80.dll_memset
add esp, 0x24
push ebx
push 5
lea eax, [esp + 0x3e4]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x200
push 0x2b4
lea ecx, [esp + 0x28]
push ecx
push ebx
lea edx, [esp + 0x3ec]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x54
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x5f4], edi
je 0x1006bb50
mov ecx, eax
call fcn.1006a1a0
mov edi, eax
jmp 0x1006bb52
xor edi, edi
lea eax, [esp + 0x3dc]
mov byte [esp + 0x5f4], bl
mov dword [esp + 0x14], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006bb67
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x3e0]
push eax
lea ecx, [esp + 0x2dc]
push ecx
push 0xfde9
call fcn.1007db60
add esp, 0x10
lea edx, [esp + 0x2d4]
push edx
lea ecx, [edi + 0x1c]
call dword [0x1009e138]
push 0x105
lea eax, [esp + 0x2d8]
push ebx
push eax
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x38]
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x1006bbc2
sub eax, ecx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2dc]
push edx
push 0xfde9
call fcn.1007db60
add esp, 0x10
lea eax, [esp + 0x2d4]
push eax
mov ecx, edi
call dword [0x1009e138]
push 0x100ace90
lea ecx, [edi + 0x38]
call dword [0x1009e138]
mov edi, dword [esi + 4]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
mov ecx, esi
call fcn.10010cc0
push 1
mov ecx, esi
mov ebp, eax
call fcn.1006af30
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
push ebx
mov dword [eax], ebp
push ebx
lea eax, [esp + 0x3e4]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x200
push 0x2b4
lea ecx, [esp + 0x28]
push ecx
push ebx
lea edx, [esp + 0x3ec]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x54
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x5f4], 2
je 0x1006bc88
mov ecx, eax
call fcn.1006a1a0
mov edi, eax
jmp 0x1006bc8a
xor edi, edi
push 0x105
lea eax, [esp + 0x2d8]
push ebx
push eax
mov byte [esp + 0x600], bl
mov dword [esp + 0x20], edi
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x3e8]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006bcb5
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x3e0]
push ecx
lea edx, [esp + 0x2dc]
push edx
push 0xfde9
call fcn.1007db60
add esp, 0x10
lea eax, [esp + 0x2d4]
push eax
lea ecx, [edi + 0x1c]
call dword [0x1009e138]
push 0x105
lea ecx, [esp + 0x2d8]
push ebx
push ecx
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x38]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006bd10
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2dc]
push eax
push 0xfde9
call fcn.1007db60
add esp, 0x10
lea ecx, [esp + 0x2d4]
push ecx
mov ecx, edi
call dword [0x1009e138]
push 0x100ace90
lea ecx, [edi + 0x38]
call dword [0x1009e138]
mov edi, dword [esi + 4]
mov eax, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
push eax
push edi
mov ecx, esi
call fcn.10010cc0
push 1
mov ecx, esi
mov ebp, eax
call fcn.1006af30
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov eax, esi
mov ecx, dword [esp + 0x5ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5d4]
xor ecx, esp
call fcn.10090524
add esp, 0x5e4
ret