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

Disassembly:
push 0xffffffffffffffff
push 0x1009c67e
mov eax, dword fs:[0]
push eax
sub esp, 0x5d8
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0x5d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
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.1006b6d0
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 0x1006c3e0
mov ecx, eax
call fcn.1006a9c0
mov edi, eax
jmp 0x1006c3e2
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 0x1006c3f7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x3e0]
push eax
lea ecx, [esp + 0x2dc]
push ecx
push 0xfde9
call fcn.1007e4c0
add esp, 0x10
lea edx, [esp + 0x2d4]
push edx
lea ecx, [edi + 0x1c]
call dword [0x1009f138]
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 0x1006c452
sub eax, ecx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2dc]
push edx
push 0xfde9
call fcn.1007e4c0
add esp, 0x10
lea eax, [esp + 0x2d4]
push eax
mov ecx, edi
call dword [0x1009f138]
push 0x100ae02c
lea ecx, [edi + 0x38]
call dword [0x1009f138]
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.10010d50
push 1
mov ecx, esi
mov ebp, eax
call fcn.1006b780
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 0x1006c518
mov ecx, eax
call fcn.1006a9c0
mov edi, eax
jmp 0x1006c51a
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 0x1006c545
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x3e0]
push ecx
lea edx, [esp + 0x2dc]
push edx
push 0xfde9
call fcn.1007e4c0
add esp, 0x10
lea eax, [esp + 0x2d4]
push eax
lea ecx, [edi + 0x1c]
call dword [0x1009f138]
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 0x1006c5a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2dc]
push eax
push 0xfde9
call fcn.1007e4c0
add esp, 0x10
lea ecx, [esp + 0x2d4]
push ecx
mov ecx, edi
call dword [0x1009f138]
push 0x100ae02c
lea ecx, [edi + 0x38]
call dword [0x1009f138]
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.10010d50
push 1
mov ecx, esi
mov ebp, eax
call fcn.1006b780
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.10090e24
add esp, 0x5e4
ret