Function at 0x4410f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc747
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.0049ac40
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 0x4412a0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call esi
test eax, eax
je 0x4412a0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x230]
call fcn.0042cce0
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043ba80
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4411d5
mov eax, dword [eax]
push eax
call fcn.004454ce
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x4411f9
push dword [ebp - 0x248]
call fcn.00473980
add esp, 4
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043ba80
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x44121d
mov eax, dword [eax]
push eax
call fcn.004454ce
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x441241
push dword [ebp - 0x248]
call fcn.00473980
add esp, 4
lea eax, [ebp + 0x38]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043ba80
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x441265
mov eax, dword [eax]
push eax
call fcn.004454ce
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x441285
push dword [ebp - 0x248]
call fcn.00473980
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 8
jb 0x4412a0
push dword [ebp - 0x230]
call fcn.00473980
add esp, 4
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0x2e
push eax
lea ecx, [ebp + 8]
call fcn.00410b90
push eax
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp + 8]
call fcn.004106c0
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.0049ac40
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 2
push 0
call edi
test eax, eax
js 0x4413d9
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call esi
test eax, eax
je 0x4413d9
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x230]
call fcn.0042cce0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043ba80
add esp, 4
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x268]
mov ecx, eax
mov dword [ebp - 0x268], 0
call fcn.0043d0b0
cmp dword [ebp - 0x234], 8
jb 0x4413a1
push dword [ebp - 0x248]
call fcn.00473980
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 0x4413d9
push dword [ebp - 0x230]
call fcn.00473980
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0049ac40
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
push 0xb
push 0
call edi
test eax, eax
js 0x4414fd
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x268]
call esi
test eax, eax
je 0x4414fd
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x230]
call fcn.0042cce0
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043ba80
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x44147e
mov eax, dword [eax]
push eax
call fcn.004454ce
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x234], 8
jb 0x4414a2
push dword [ebp - 0x248]
call fcn.00473980
add esp, 4
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0043ba80
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x4414c6
mov eax, dword [eax]
push eax
call fcn.004454ce
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x4414e6
push dword [ebp - 0x248]
call fcn.00473980
add esp, 4
cmp dword [ebp - 0x21c], 8
jb 0x4414fd
push dword [ebp - 0x230]
call fcn.00473980
add esp, 4
cmp dword [ebp - 0x24c], 8
jb 0x441514
push dword [ebp - 0x260]
call fcn.00473980
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 0x441542
push dword [ebp + 8]
call fcn.00473980
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 0x441567
push dword [ebp + 0x20]
call fcn.00473980
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 0x44158c
push dword [ebp + 0x38]
call fcn.00473980
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.004921c3
mov esp, ebp
pop ebp
ret