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

Disassembly:
push 0xffffffffffffffff
push 0x1009bcbe
mov eax, dword fs:[0]
push eax
sub esp, 0x5dc
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x5d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x5f0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x600]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x5f8], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
call fcn.1006ae80
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
push 0x2b0
lea eax, [esp + 0x2c]
push ebx
mov esi, 1
push eax
mov dword [esp + 0x604], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebx
call sub.MSVCR80.dll_memset
push 0x208
lea ecx, [esp + 0x3f2]
push ebx
push ecx
mov word [esp + 0x3f8], bx
call sub.MSVCR80.dll_memset
push 0x104
lea edx, [esp + 0x2f5]
push ebx
push edx
mov byte [esp + 0x2fc], bl
call sub.MSVCR80.dll_memset
add esp, 0x24
push ebx
push 5
lea eax, [esp + 0x3e8]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x200
push 0x2b4
lea ecx, [esp + 0x2c]
push ecx
push ebx
lea edx, [esp + 0x3f0]
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 + 0x5f8], esi
je 0x1006bec0
mov ecx, eax
call fcn.1006a1a0
mov esi, eax
jmp 0x1006bec2
xor esi, esi
lea eax, [esp + 0x3e0]
mov byte [esp + 0x5f8], bl
mov dword [esp + 0x14], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006bed7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x3e4]
push eax
lea ecx, [esp + 0x2e0]
push ecx
push 0xfde9
call fcn.1007db60
add esp, 0x10
lea edx, [esp + 0x2d8]
push edx
lea ecx, [esi + 0x1c]
call dword [0x1009e138]
push 0x105
lea eax, [esp + 0x2dc]
push ebx
push eax
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x3c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006bf32
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2e0]
push edx
push 0xfde9
call fcn.1007db60
lea eax, [esp + 0x2e8]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1006bf66
sub eax, edx
mov ecx, esi
je 0x1006bf7f
lea eax, [esp + 0x2d8]
push eax
jmp 0x1006bf84
push str.Documents
call dword [0x1009e138]
push 0x100ace90
lea ecx, [esi + 0x38]
call dword [0x1009e138]
mov esi, dword [ebp + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
push esi
mov ecx, ebp
call fcn.10010cc0
push 1
mov ecx, ebp
mov edi, eax
call fcn.1006af30
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
push ebx
mov dword [eax], edi
push ebx
lea eax, [esp + 0x3e8]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x200
push 0x2b4
lea ecx, [esp + 0x2c]
push ecx
push ebx
lea edx, [esp + 0x3f0]
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 + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x5f8], 2
je 0x1006c016
mov ecx, eax
call fcn.1006a1a0
mov esi, eax
jmp 0x1006c018
xor esi, esi
push 0x105
lea eax, [esp + 0x2dc]
push ebx
push eax
mov byte [esp + 0x604], bl
mov dword [esp + 0x20], esi
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x3ec]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006c043
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x3e4]
push ecx
lea edx, [esp + 0x2e0]
push edx
push 0xfde9
call fcn.1007db60
add esp, 0x10
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esi + 0x1c]
call dword [0x1009e138]
push 0x105
lea ecx, [esp + 0x2dc]
push ebx
push ecx
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x3c]
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006c0a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x2e0]
push eax
push 0xfde9
call fcn.1007db60
lea eax, [esp + 0x2e8]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1006c0d4
sub eax, edx
je 0x1006c0eb
lea ecx, [esp + 0x2d8]
push ecx
jmp 0x1006c0f0
push str.Desktop
mov ecx, esi
call dword [0x1009e138]
push 0x100ace90
lea ecx, [esi + 0x38]
call dword [0x1009e138]
mov esi, dword [ebp + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
push esi
mov ecx, ebp
call fcn.10010cc0
push 1
mov ecx, ebp
mov edi, eax
call fcn.1006af30
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, ebp
mov ecx, dword [esp + 0x5f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5d8]
xor ecx, esp
call fcn.10090524
add esp, 0x5e8
ret