Function at 0x100aac20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec9fd
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x101170e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x470], edi
mov esi, dword [ebp + 8]
lea eax, [edi + 0x480]
mov dword [ebp - 0x484], esi
mov ecx, eax
mov dword [ebp - 0x478], 1
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x47c], eax
jb 0x100aac85
mov ecx, dword [eax]
xor edx, edx
xorps xmm0, xmm0
mov word [ecx], dx
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 4], ecx
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x478], 1
test cl, 2
je 0x100aafac
test ecx, 0x100
jne 0x100aafac
mov ecx, dword [edi + 0x74]
test cl, 1
je 0x100aaf2c
cmp dword [edi + 0x70], 0x24
jb 0x100aad54
mov eax, dword [edi + 0x184]
lea edx, [edi + 0x174]
mov dword [ebp - 0x464], eax
lea ecx, [edi + 0x15c]
mov eax, SysReAllocString
sub eax, dword [ecx + 0x10]
cmp eax, dword [ebp - 0x464]
jb 0x100ab26c
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x100aad0c
mov eax, dword [ecx]
cmp dword [edx + 0x14], 8
jb 0x100aad14
mov edx, dword [edx]
push dword [ebp - 0x464]
push edx
push dword [ecx + 0x10]
push eax
push ecx
push dword [ebp - 0x484]
lea ecx, [ebp - 0x440]
call fcn.1000d2f0
lea eax, [ebp - 0x440]
mov dword [ebp - 0x478], 3
push eax
mov ecx, esi
call fcn.1000d550
lea ecx, [ebp - 0x440]
jmp 0x100aafa1
mov eax, dword [edi + 0xc0]
lea ecx, [edi + 0xb0]
mov dword [ebp - 0x460], eax
lea edx, [edi + 0x144]
mov eax, SysReAllocString
mov dword [ebp - 0x464], ecx
mov ecx, dword [edx + 0x10]
sub eax, dword [ebp - 0x460]
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x468], ecx
cmp eax, ecx
jb 0x100ab271
cmp dword [edi + 0xc4], 0x10
jb 0x100aada9
mov ecx, dword [edi + 0xb0]
mov dword [ebp - 0x464], ecx
cmp dword [edx + 0x14], 0x10
jb 0x100aadb7
mov edx, dword [edx]
mov dword [ebp - 0x46c], edx
mov ecx, dword [ebp - 0x468]
lea edx, [ebp - 0x440]
add ecx, dword [ebp - 0x460]
mov eax, 0xf
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x474], edx
movups xmmword [ebp - 0x440], xmm0
cmp ecx, eax
jbe 0x100aae41
mov eax, dword [ebp - 0x468]
add eax, dword [ebp - 0x460]
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x100aae10
mov eax, SysReAllocString
jmp 0x100aae1a
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x480], eax
lea ecx, [ebp - 0x440]
inc eax
push eax
call fcn.1000ad40
mov edx, eax
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x440], edx
mov edx, dword [ebp - 0x468]
add edx, dword [ebp - 0x460]
push dword [ebp - 0x460]
mov ecx, dword [ebp - 0x464]
mov dword [ebp - 0x430], edx
mov edx, dword [ebp - 0x474]
push ecx
push edx
mov dword [ebp - 0x42c], eax
call fcn.10088a20
push dword [ebp - 0x468]
mov eax, dword [ebp - 0x474]
add eax, dword [ebp - 0x460]
push dword [ebp - 0x46c]
push eax
call fcn.10088a20
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp - 0x474]
add ecx, dword [ebp - 0x460]
mov dword [ebp - 0x478], 5
mov byte [eax + ecx], 0
push 0
lea eax, [ebp - 0x440]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.1000ef00
add esp, 0x24
mov ecx, esi
push eax
call fcn.1000d550
lea ecx, [ebp - 0x458]
call fcn.10002420
mov ecx, dword [ebp - 0x42c]
mov edi, dword [ebp - 0x470]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x100aafa6
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100aaf20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ab276
push ecx
push edx
call fcn.10084de4
add esp, 8
jmp 0x100aafa6
test cl, 2
je 0x100aafa6
mov ecx, dword [edi + 0xcc]
test cl, 1
je 0x100aaf5d
cmp dword [edi + 0xd0], 0x14
jbe 0x100aaf55
lea eax, [edi + 0x12c]
mov ecx, esi
push eax
call fcn.1000c310
jmp 0x100aafa6
lea eax, [edi + 0xfc]
jmp 0x100aaf81
test cl, 2
je 0x100aafa6
cmp dword [edi + 0xd0], 0x14
jbe 0x100aaf7b
lea eax, [edi + 0x114]
mov ecx, esi
push eax
call fcn.1000c310
jmp 0x100aafa6
lea eax, [edi + 0xe4]
push 0
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.1000ef00
add esp, 0xc
mov ecx, esi
push eax
call fcn.1000d550
lea ecx, [ebp - 0x458]
call fcn.10002420
lea eax, [edi + 0x480]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x100aafce
cmp eax, esi
je 0x100ab24d
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x100aafc5
mov ecx, dword [esi]
push edx
push ecx
mov ecx, eax
jmp 0x100ab248
cmp dword [edi + 0x414], 0
je 0x100ab031
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10088fa0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push dword [edi + 0x414]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x100ab031
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ab013
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000c740
mov edx, dword [esi + 0x10]
test edx, edx
je 0x100ab056
mov ecx, dword [ebp - 0x47c]
cmp ecx, esi
je 0x100ab24d
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100ab050
mov eax, dword [esi]
push edx
jmp 0x100ab247
test byte [edi + 0x30], 1
je 0x100ab1d0
mov eax, dword [edi + 0x60]
push 0x20a
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10088fa0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0
push 0x104
push eax
push dword [ebp - 0x470]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListEx]
test eax, eax
je 0x100ab0c4
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ab0a6
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000c740
cmp dword [esi + 0x10], 0
jne 0x100ab1d0
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x100ab1d0
push 0x108
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.10088fa0
mov eax, dword [ebp - 0x46c]
lea edx, [ebp - 0x11c]
add esp, 0xc
mov ecx, dword [eax]
push edx
push 0x8000
push dword [ebp - 0x470]
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x100ab1c4
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x100ab1b3
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x440], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ab154
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.10010000
push 0
lea eax, [ebp - 0x440]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.1000ef00
add esp, 0xc
mov ecx, esi
push eax
call fcn.1000d550
lea ecx, [ebp - 0x458]
call fcn.10002420
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0
call fcn.100023d0
jmp 0x100ab1c4
test eax, eax
jne 0x100ab1c4
push dword [ebp - 0x118]
mov ecx, esi
call fcn.1000edf0
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esi + 0x10]
test edx, edx
jne 0x100ab038
test dword [edi + 0x30], 0x200
je 0x100ab230
cmp dword [edi + 0x37c], edx
je 0x100ab1fc
lea eax, [edi + 0x36c]
mov ecx, esi
push eax
call fcn.1000c310
jmp 0x100ab230
cmp dword [edi + 0x364], 0
je 0x100ab230
push 0
lea eax, [edi + 0x354]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.1000ef00
add esp, 0xc
mov ecx, esi
push eax
call fcn.1000d550
lea ecx, [ebp - 0x458]
call fcn.10002420
mov ecx, dword [ebp - 0x47c]
cmp ecx, esi
je 0x100ab24d
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100ab244
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.1000c740
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.1008511a
mov esp, ebp
pop ebp
ret 4
call fcn.1000ad20
call fcn.1000ad20
call fcn.1008ca42
int3