Function at 0x30015529
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov dword [ebp - 0x330], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x334], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], 0
cmp dword [ebp + 0xc], 0
je 0x30015585
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
lea ecx, [ebp - 0x330]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x3001559b
jmp 0x300157f0
lea edx, [ebp - 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
je 0x300155ae
jmp 0x300157eb
lea eax, [ebp - 0x118]
push eax
push 0x30037eb8
push 1
push 0
push 0x30037dc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x300155d2
jmp 0x300157e6
lea ecx, [ebp - 0xc]
push ecx
push 0x300381b8
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x118]
push ecx
call dword [eax]
test eax, eax
je 0x300155f5
jmp 0x300157e1
push 0
lea edx, [ebp - 0x324]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.30016730
add esp, 0xc
push 0
lea ecx, [ebp - 0x324]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [eax + 0x14]
test eax, eax
je 0x30015628
jmp 0x300157dc
lea edx, [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x118]
push edx
call dword [ecx + 0x10]
lea eax, [ebp - 0x334]
push eax
push 4
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x3001565b
jmp 0x300157d7
mov ecx, dword [ebp - 0x334]
push ecx
mov edx, dword [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x330]
push eax
call fcn.300157f9
add esp, 0xc
test eax, eax
jne 0x30015681
jmp 0x300157d2
cmp dword [ebp + 0xc], 0
je 0x30015718
lea ecx, [ebp - 4]
push ecx
push 0x30037e68
push 0
mov edx, dword [ebp - 0x334]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
call dword [ecx + 0x14]
test eax, eax
je 0x300156b2
jmp 0x300157cd
mov eax, dword [ebp - 0x334]
push eax
call fcn.3001544e
add esp, 4
mov ecx, dword [ebp - 0x32c]
add ecx, eax
mov dword [ebp - 0x328], ecx
lea edx, [ebp - 0x114]
push edx
push 0x2000
mov eax, dword [ebp - 0x328]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 0x2c]
test eax, eax
je 0x300156f7
jmp 0x300157c8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x328]
push eax
mov ecx, dword [ebp - 0x330]
push ecx
call fcn.300153cf
add esp, 0x10
mov dword [ebp - 0x11c], 1
cmp dword [ebp - 0x32c], 0
je 0x30015744
mov edx, dword [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x330]
push edx
call dword [ecx + 0x14]
cmp dword [ebp - 4], 0
je 0x30015756
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x30015768
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x118], 0
je 0x30015783
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x118]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x334], 0
je 0x300157a5
mov eax, dword [ebp - 0x334]
push eax
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x330]
push eax
call dword [edx + 0x14]
cmp dword [ebp - 0x330], 0
je 0x300157c0
mov ecx, dword [ebp - 0x330]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x330]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x11c]
jmp 0x300157f5
jmp 0x30015722
jmp 0x30015722
jmp 0x30015722
jmp 0x30015722
jmp 0x30015722
jmp 0x30015722
jmp 0x30015722
jmp 0x30015722
jmp 0x30015722
mov esp, ebp
pop ebp
ret