Function at 0x435510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc397
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4f54d8]
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.0048bcb0
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 0x4356df
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call esi
test eax, eax
je 0x4356df
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 0x4355d9
jmp 0x4355d0
add eax, 2
cmp word [eax], 0
jne 0x4355d0
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041bc60
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0042e7f0
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x435614
mov eax, dword [eax]
push eax
call fcn.00437cfc
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x435638
push dword [ebp - 0x248]
call fcn.00464c00
add esp, 4
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0042e7f0
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x43565c
mov eax, dword [eax]
push eax
call fcn.00437cfc
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x435680
push dword [ebp - 0x248]
call fcn.00464c00
add esp, 4
lea eax, [ebp + 0x38]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0042e7f0
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x4356a4
mov eax, dword [eax]
push eax
call fcn.00437cfc
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x4356c4
push dword [ebp - 0x248]
call fcn.00464c00
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 8
jb 0x4356df
push dword [ebp - 0x230]
call fcn.00464c00
add esp, 4
sub esp, 8
mov dword [ebp - 0x264], 0x2e
lea eax, [ebp - 0x264]
lea ecx, [ebp + 8]
push eax
call fcn.00410f30
push eax
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp + 8]
call fcn.00411180
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.0048bcb0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 2
push 0
call edi
test eax, eax
js 0x435835
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call esi
test eax, eax
je 0x435835
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 0x435799
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x435790
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041bc60
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0042e7f0
add esp, 4
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x268]
mov ecx, eax
mov dword [ebp - 0x268], 0
call fcn.00435a20
cmp dword [ebp - 0x234], 8
jb 0x4357fd
push dword [ebp - 0x248]
call fcn.00464c00
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 0x435835
push dword [ebp - 0x230]
call fcn.00464c00
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0048bcb0
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
push 0xb
push 0
call edi
test eax, eax
js 0x435973
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x268]
call esi
test eax, eax
je 0x435973
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 0x4358b9
add eax, 2
cmp word [eax], 0
jne 0x4358b0
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041bc60
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0042e7f0
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x4358f4
mov eax, dword [eax]
push eax
call fcn.00437cfc
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x234], 8
jb 0x435918
push dword [ebp - 0x248]
call fcn.00464c00
add esp, 4
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0042e7f0
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x43593c
mov eax, dword [eax]
push eax
call fcn.00437cfc
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x43595c
push dword [ebp - 0x248]
call fcn.00464c00
add esp, 4
cmp dword [ebp - 0x21c], 8
jb 0x435973
push dword [ebp - 0x230]
call fcn.00464c00
add esp, 4
cmp dword [ebp - 0x24c], 8
jb 0x43598a
push dword [ebp - 0x260]
call fcn.00464c00
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 0x4359b8
push dword [ebp + 8]
call fcn.00464c00
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 0x4359dd
push dword [ebp + 0x20]
call fcn.00464c00
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 0x435a02
push dword [ebp + 0x38]
call fcn.00464c00
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.00482fe3
mov esp, ebp
pop ebp
ret