Function at 0x300150e5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x30015147
jmp 0x300153c6
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
je 0x3001515a
jmp 0x300153c1
lea edx, [ebp - 0x10]
push edx
push 0x30037eb8
push 1
push 0
push 0x30037dc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x3001517b
jmp 0x300153bc
lea eax, [ebp - 0xc]
push eax
push 0x300381b8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
call dword [edx]
test eax, eax
je 0x30015198
jmp 0x300153b7
lea ecx, [ebp - 0x28]
push ecx
push 4
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x300151af
jmp 0x300153b2
lea edx, [ebp - 4]
push edx
push 0x30037e68
push 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
call dword [edx + 0x14]
test eax, eax
je 0x300151d3
jmp 0x300153ad
lea ecx, [ebp - 0x1c]
push ecx
push 0x40
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x300151f0
jmp 0x300153a8
push 0
lea edx, [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
call dword [ecx + 0xc]
test eax, eax
jne 0x300152f8
lea eax, [ebp - 0x130]
push eax
push 0x2000
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x2c]
test eax, eax
jne 0x300152dc
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.300153cf
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.3001a890
add esp, 8
test eax, eax
jne 0x300152dc
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.3001548d
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x30015287
jmp 0x300153a3
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 0x14]
test eax, eax
je 0x300152a0
jmp 0x3001539e
push 0
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.30016730
add esp, 0xc
push 1
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 0x18]
test eax, eax
je 0x300152d3
jmp 0x30015399
mov dword [ebp - 0x14], 1
jmp 0x300152f8
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
call dword [edx + 0x14]
mov dword [ebp - 0x24], 0
jmp 0x300151f0
cmp dword [ebp - 0x18], 0
je 0x3001530e
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [eax + 0x14]
cmp dword [ebp - 0x24], 0
je 0x30015324
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
call dword [ecx + 0x14]
cmp dword [ebp - 0x1c], 0
je 0x30015336
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
call dword [ecx + 8]
cmp dword [ebp - 4], 0
je 0x30015348
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 0x3001535a
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x10], 0
je 0x3001536c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x28], 0
je 0x30015382
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
call dword [edx + 0x14]
cmp dword [ebp - 0x20], 0
je 0x30015394
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
jmp 0x300153cb
jmp 0x300152f8
jmp 0x300152f8
jmp 0x300152f8
jmp 0x300152f8
jmp 0x300152f8
jmp 0x300152f8
jmp 0x300152f8
jmp 0x300152f8
jmp 0x300152f8
jmp 0x300152f8
mov esp, ebp
pop ebp
ret