Function at 0x440c90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc1b7
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], 2
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0049a790
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x264]
add esp, 0xc
push eax
push 0x10
push 0
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
js 0x440e5f
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call esi
test eax, eax
je 0x440e5f
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x440d59
jmp 0x440d50
add eax, 2
cmp word [eax], 0
jne 0x440d50
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00416ad0
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043b590
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x440d94
mov eax, dword [eax]
push eax
call fcn.00444f9e
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x440db8
push dword [ebp - 0x248]
call fcn.00473460
add esp, 4
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043b590
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x440ddc
mov eax, dword [eax]
push eax
call fcn.00444f9e
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x440e00
push dword [ebp - 0x248]
call fcn.00473460
add esp, 4
lea eax, [ebp + 0x38]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043b590
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x440e24
mov eax, dword [eax]
push eax
call fcn.00444f9e
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x440e44
push dword [ebp - 0x248]
call fcn.00473460
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 8
jb 0x440e5f
push dword [ebp - 0x230]
call fcn.00473460
add esp, 4
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0x2e
push eax
lea ecx, [ebp + 8]
call fcn.00410b80
push eax
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp + 8]
call fcn.004106b0
xor eax, eax
mov byte [ebp - 4], 8
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0049a790
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 2
push 0
call edi
test eax, eax
js 0x440fb5
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call esi
test eax, eax
je 0x440fb5
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x440f19
lea ecx, [ecx]
add eax, 2
cmp word [eax], 0
jne 0x440f10
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00416ad0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043b590
add esp, 4
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x268]
mov ecx, eax
mov dword [ebp - 0x268], 0
call fcn.0043cc10
cmp dword [ebp - 0x234], 8
jb 0x440f7d
push dword [ebp - 0x248]
call fcn.00473460
add esp, 4
xor eax, eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x440fb5
push dword [ebp - 0x230]
call fcn.00473460
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0049a790
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
push 0xb
push 0
call edi
test eax, eax
js 0x4410f3
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x268]
call esi
test eax, eax
je 0x4410f3
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x441039
add eax, 2
cmp word [eax], 0
jne 0x441030
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00416ad0
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043b590
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x441074
mov eax, dword [eax]
push eax
call fcn.00444f9e
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x234], 8
jb 0x441098
push dword [ebp - 0x248]
call fcn.00473460
add esp, 4
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043b590
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x4410bc
mov eax, dword [eax]
push eax
call fcn.00444f9e
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x4410dc
push dword [ebp - 0x248]
call fcn.00473460
add esp, 4
cmp dword [ebp - 0x21c], 8
jb 0x4410f3
push dword [ebp - 0x230]
call fcn.00473460
add esp, 4
cmp dword [ebp - 0x24c], 8
jb 0x44110a
push dword [ebp - 0x260]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x441138
push dword [ebp + 8]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x44115d
push dword [ebp + 0x20]
call fcn.00473460
add esp, 4
xor eax, eax
mov dword [ebp + 0x34], 7
cmp dword [ebp + 0x4c], 8
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
jb 0x441182
push dword [ebp + 0x38]
call fcn.00473460
add esp, 4
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.00491c63
mov esp, ebp
pop ebp
ret